global.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. @import "./element-ui.scss";
  2. a[href="https://froala.com/wysiwyg-editor"], a[href="https://www.froala.com/wysiwyg-editor?k=u"]{ border:1px solid #eaeaea; background:#fff !important; color:#ccc !important; }
  3. body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,button,input,textarea,th,td { margin:0; padding:0; }
  4. body{ font-size:12px; font-style:normal; font-family:"\5FAE\8F6F\96C5\9ED1", Helvetica, sans-serif,; }
  5. html{ overflow:auto; /* min-width:1000px; */ }
  6. small{ font-size:12px; }
  7. h1{ font-size:18px; }
  8. h2{ font-size:16px; }
  9. h3{ font-size:14px; }
  10. h4,h5,h6{ font-size:100%; }
  11. ul,ol{ list-style:none; }
  12. a{ text-decoration:none; background-color:transparent; }
  13. a:hover,a:active{ outline-width:0; text-decoration:none; }
  14. table{ border-collapse:collapse; border-spacing:0; }
  15. // hr{ border:0; height:1px; }
  16. img{ border-style:none; }
  17. img:not([src]){ display:none; }
  18. svg:not(:root){ overflow:hidden; }
  19. html{ -webkit-touch-callout:none; -webkit-text-size-adjust:100%; }
  20. input,textarea,button,a{ -webkit-tap-highlight-color:rgba(0,0,0,0); }
  21. article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{ display:block; }
  22. audio,canvas,progress,video{ display:inline-block; }
  23. audio:not([controls]),video:not([controls]){ display:none; height:0; }
  24. progress{ vertical-align:baseline; }
  25. mark{ background-color:#ff0; color:#000; }
  26. sub,sup{ position:relative; font-size:75%; line-height:0; vertical-align:baseline; }
  27. sub{ bottom:-0.25em; }
  28. sup{ top:-0.5em; }
  29. button,input,select,textarea{ font-size:100%; outline:0; }
  30. button,input{ overflow:visible; }
  31. button,select{ text-transform:none; }
  32. textarea{ overflow:auto; }
  33. button,html[type="button"],[type="reset"],[type="submit"]{ -webkit-appearance:button; }
  34. button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{ border-style:none; padding:0; }
  35. button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{ outline:1px dotted ButtonText; }
  36. [type="checkbox"],[type="radio"]{ box-sizing:border-box; padding:0; }
  37. [type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{ height:auto; }
  38. [type="search"]{ -webkit-appearance:textfield; outline-offset:-2px; }
  39. [type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{ -webkit-appearance:none; }
  40. ::-webkit-input-placeholder{ color:inherit; opacity:.54; }
  41. ::-webkit-file-upload-button{ -webkit-appearance:button; font:inherit; }
  42. .clear:after{ display:block; height:0; content:""; clear:both; }
  43. .highcharts-range-selector-group{ display:none; }
  44. .highcharts-legend-item tspan{ font-weight:400; }
  45. // 英文图表标识
  46. .chartEn-mark{
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. border-right: 25px solid transparent;
  51. border-top: 21px solid $color-primary;
  52. border-bottom: 21px solid transparent;
  53. border-left: 25px solid $color-primary;
  54. color: white;
  55. height: 0;
  56. width: 0;
  57. white-space: nowrap;
  58. display: flex;
  59. justify-content: flex-end;
  60. align-items: flex-end;
  61. font-size: 16px;
  62. }
  63. .ficc-package {
  64. display: inline-block;
  65. font-size: 12px;
  66. padding:0 5px;
  67. border-radius: 5px;
  68. color: #3994fb;
  69. background-color: #dcecfc;
  70. }
  71. //收缩目录按钮样式
  72. .slide-btn-icon{
  73. padding: 20px 0;
  74. box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
  75. border-radius: 5px;
  76. background-color: #fff;
  77. cursor: pointer;
  78. position: absolute;
  79. top: 50%;
  80. transform: translateY(-50%);
  81. z-index: 99;
  82. &:hover {
  83. background-color: #e0e0e0;
  84. }
  85. }
  86. //图库相关-图表列表 公共样式
  87. .chart-list-item-wrap{
  88. display: flex;
  89. gap: 20px;
  90. flex-wrap: wrap;
  91. overflow-x: hidden;
  92. .chart-list-item{
  93. //width,min-width在页面内设置
  94. background-color: #FFFFFF;
  95. overflow: hidden;
  96. border: 1px solid #EBEEF5;
  97. border-radius: 4px;
  98. .chart-item-top,.chart-item-bottom{
  99. padding:10px;
  100. text-align: left;
  101. }
  102. .chart-item-top{
  103. //ellipsis在页面内设置
  104. font-size: 16px;
  105. font-weight: 600;
  106. box-shadow: 0 3px 6px rgba(37, 37, 239, 0.1);
  107. }
  108. .chart-item-img{
  109. margin:10px;
  110. margin-bottom: 0;
  111. height: 0;
  112. padding-bottom: 67%;
  113. cursor: pointer;
  114. }
  115. .chart-item-bottom{
  116. font-size: 12px;
  117. color: #666;
  118. }
  119. }
  120. }
  121. //el-dialog,适应小屏样式
  122. .fit-screen-dialog{
  123. //max-width在页面设置
  124. width:85vw;
  125. margin-top:6vh;
  126. margin-bottom: 0;
  127. }
  128. //图表底部来源和图表说明
  129. .chart-bottom-insruction-info {
  130. margin-top: 10px;
  131. display: flex;
  132. gap: 0 20px;
  133. .chart-source {
  134. width: 30%;
  135. min-width: 150px;
  136. }
  137. .calendar-cont {
  138. display: block;
  139. margin: 0 auto;
  140. text-align: center;
  141. flex-shrink: 0;
  142. }
  143. .chart-instruction {
  144. flex: 1;
  145. text-align: right;
  146. }
  147. }