index.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. @import './variables.module.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. @import './ruoyi.scss';
  8. body {
  9. height: 100%;
  10. margin: 0;
  11. -moz-osx-font-smoothing: grayscale;
  12. -webkit-font-smoothing: antialiased;
  13. text-rendering: optimizeLegibility;
  14. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  15. }
  16. label {
  17. font-weight: 700;
  18. }
  19. html {
  20. height: 100%;
  21. box-sizing: border-box;
  22. background: #f0f2f5;
  23. }
  24. #app {
  25. height: 100%;
  26. }
  27. *,
  28. *:before,
  29. *:after {
  30. box-sizing: inherit;
  31. }
  32. .no-padding {
  33. padding: 0px !important;
  34. }
  35. .padding-content {
  36. padding: 4px 0;
  37. }
  38. a:focus,
  39. a:active {
  40. outline: none;
  41. }
  42. a,
  43. a:focus,
  44. a:hover {
  45. cursor: pointer;
  46. color: inherit;
  47. text-decoration: none;
  48. }
  49. div:focus {
  50. outline: none;
  51. }
  52. .fr {
  53. float: right;
  54. }
  55. .fl {
  56. float: left;
  57. }
  58. .pr-5 {
  59. padding-right: 5px;
  60. }
  61. .pl-5 {
  62. padding-left: 5px;
  63. }
  64. .block {
  65. display: block;
  66. }
  67. .pointer {
  68. cursor: pointer;
  69. }
  70. .inlineBlock {
  71. display: block;
  72. }
  73. .clearfix {
  74. &:after {
  75. visibility: hidden;
  76. display: block;
  77. font-size: 0;
  78. content: " ";
  79. clear: both;
  80. height: 0;
  81. }
  82. }
  83. aside {
  84. background: #eef1f6;
  85. padding: 8px 24px;
  86. margin-bottom: 20px;
  87. border-radius: 2px;
  88. display: block;
  89. line-height: 32px;
  90. font-size: 16px;
  91. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  92. color: #2c3e50;
  93. -webkit-font-smoothing: antialiased;
  94. -moz-osx-font-smoothing: grayscale;
  95. a {
  96. color: #337ab7;
  97. cursor: pointer;
  98. &:hover {
  99. color: rgb(32, 160, 255);
  100. }
  101. }
  102. }
  103. //main-container全局样式
  104. .app-container {
  105. padding: 10px;
  106. }
  107. .components-container {
  108. margin: 30px 50px;
  109. position: relative;
  110. }
  111. .pagination-container {
  112. margin-top: 30px;
  113. }
  114. .text-center {
  115. text-align: center
  116. }
  117. .sub-navbar {
  118. height: 50px;
  119. line-height: 50px;
  120. position: relative;
  121. width: 100%;
  122. text-align: right;
  123. padding-right: 20px;
  124. transition: 600ms ease position;
  125. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  126. .subtitle {
  127. font-size: 20px;
  128. color: #fff;
  129. }
  130. &.draft {
  131. background: #d0d0d0;
  132. }
  133. &.deleted {
  134. background: #d0d0d0;
  135. }
  136. }
  137. .link-type,
  138. .link-type:focus {
  139. color: #337ab7;
  140. cursor: pointer;
  141. &:hover {
  142. color: rgb(32, 160, 255);
  143. }
  144. }
  145. .filter-container {
  146. padding-bottom: 10px;
  147. .filter-item {
  148. display: inline-block;
  149. vertical-align: middle;
  150. margin-bottom: 10px;
  151. }
  152. }
  153. //refine vue-multiselect plugin
  154. .multiselect {
  155. line-height: 16px;
  156. }
  157. .multiselect--active {
  158. z-index: 1000 !important;
  159. }
  160. .commons-title {
  161. font-size: 14px;
  162. font-weight: bold;
  163. margin-bottom: 20px;
  164. padding-left: 20px;
  165. position: relative;
  166. }
  167. .commons-title::before {
  168. content: '';
  169. display: inline-block;
  170. width: 4px;
  171. height: 16px;
  172. background: #409eff;
  173. margin-right: 5px;
  174. position: absolute;
  175. left: 0;
  176. top: 3px;
  177. }
  178. .cp {
  179. cursor: pointer;
  180. }
  181. // 20223/05/04增加
  182. .public_height_dialog {
  183. height: calc(100vh - 276px);
  184. overflow: auto;
  185. padding-right: 10px;
  186. }
  187. //通用元素需点击类
  188. .el-click {
  189. color: #409eff;
  190. cursor: pointer;
  191. }
  192. // 全局img样式
  193. .pic {
  194. object-fit: contain;
  195. width: 50px;
  196. height: 50px;
  197. cursor: pointer;
  198. vertical-align: middle;
  199. }
  200. // 页面外层盒子类
  201. .pageIndexClass {
  202. padding: 10px !important;
  203. }
  204. // tag类
  205. .tag-active {
  206. background: #98db6b;
  207. color: #fff;
  208. border-radius: 2px;
  209. padding: 4px;
  210. }
  211. .tag-active-1 {
  212. background: #fa9841;
  213. border-radius: 2px;
  214. color: #fff;
  215. padding: 4px;
  216. }
  217. ::-webkit-scrollbar {
  218. /* 垂直滚动条宽度 */
  219. width: 8px !important;
  220. /* 水平滚动条高度 */
  221. height: 8px !important;
  222. }
  223. /* 轨道 */
  224. ::-webkit-scrollbar-track {
  225. border-radius: 10px !important;
  226. background: #ebe9e9;
  227. }
  228. /* 滑块 */
  229. ::-webkit-scrollbar-thumb {
  230. border-radius: 10px !important;
  231. background-color: rgb(206, 206, 206) !important;
  232. }
  233. /* 鼠标悬停在滑块上的样式 */
  234. ::-webkit-scrollbar-thumb:hover {
  235. border-radius: 10px !important;
  236. background-color: rgb(192, 192, 192) !important;
  237. /* 悬停时的滑块背景色 */
  238. }