common.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. @import './reset.css';
  2. @fontClr:#333;//通用字体颜色
  3. @txtColor:#666;//正文字体颜色
  4. @mainBg:#fff; //主体背景色
  5. @tabColor: #fff; // 左侧Tab文字颜色
  6. @tabBgColor: #1C6EC3; // 左侧Tab背景颜色
  7. @bgcBlue:#4F9FF3; //背景蓝色
  8. @dangerColor:#FF7F5B; //警惕
  9. @shadowColor:#DEDDDD; //阴影颜色
  10. @linkColor:#1677FF; //链接颜色
  11. @warnColor:#FF8042; //错误提示颜色
  12. @suggerColor:#267FD7; //推送颜色
  13. @treatColor:#1ECEBD; //治疗颜色
  14. @pushBgColor:#E3F0FF; //推送title背景颜色
  15. @markFontColor:#1E1E1E; //着重色
  16. @grayColor:#D1D1D1; //边框
  17. @colorBlue:#267FD7; //hover
  18. @staticMainColor: #2A9BD5; // 静态知识主要颜色
  19. .disCopy {
  20. -webkit-touch-callout: none;
  21. -webkit-user-select: none;
  22. -khtml-user-select: none;
  23. -moz-user-select: none;
  24. -ms-user-select: none;
  25. user-select: none;
  26. }
  27. .ellipsis{
  28. white-space: nowrap;/*强制在一行显示*/
  29. text-overflow:ellipsis;/*设置超出内容显示...*/
  30. overflow: hidden;/*一定不能少 超出的内容进行隐藏*/
  31. }
  32. .clearfix:after{
  33. content: "";
  34. display: block;
  35. height: 0;
  36. clear: both;
  37. visibility: hidden;
  38. }
  39. .clearfix {
  40. zoom: 1;
  41. }
  42. .fl{
  43. float: left;
  44. }
  45. .fr{
  46. float: right;
  47. }
  48. // 文本编辑器返回dom样式
  49. .ql-align-right {
  50. text-align: right;
  51. }
  52. .ql-align-left {
  53. text-align: left;
  54. }
  55. .ql-align-justify {
  56. text-align: justify;
  57. }
  58. .ql-align-center {
  59. text-align: center;
  60. }
  61. .warning-box {
  62. display: none;
  63. position: fixed;
  64. width: 100%;
  65. height: 100%;
  66. top: 0;
  67. left: 0;
  68. .bg {
  69. width: 100%;
  70. height: 100%;
  71. background: #000;
  72. opacity: .3;
  73. z-index: 999;
  74. }
  75. .inner-box {
  76. width: 400px;
  77. background: #fff;
  78. position: absolute;
  79. top: 50%;
  80. left: 50%;
  81. margin: -90px 0 0 -200px;
  82. color: #333;
  83. border-radius: 4px;
  84. }
  85. .title {
  86. border-bottom: 1px #EBEBEB solid;
  87. height: 40px;
  88. line-height: 40px;
  89. span {
  90. margin-left: 20px;
  91. }
  92. i {
  93. margin-left: 322px;
  94. font-size: 16px;
  95. cursor: pointer;
  96. }
  97. }
  98. .content {
  99. padding: 30px 20px;
  100. img {
  101. width: 20px;
  102. height: 20px;
  103. vertical-align: middle;
  104. margin-right: 10px;
  105. }
  106. }
  107. button {
  108. width: 60px;
  109. height: 34px;
  110. background: @staticMainColor;
  111. color: #fff;
  112. text-align: center;
  113. border-radius: 3px;
  114. margin: 0 0 20px 322px;
  115. }
  116. }