index.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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. @import 'animate.css';
  9. @import 'element-plus/dist/index.css';
  10. body {
  11. height: 100%;
  12. margin: 0;
  13. -moz-osx-font-smoothing: grayscale;
  14. -webkit-font-smoothing: antialiased;
  15. text-rendering: optimizeLegibility;
  16. color: rgba(0, 0, 0, 0.85);
  17. background-color: #ffffff;
  18. font-family:
  19. Helvetica Neue,
  20. Helvetica,
  21. PingFang SC,
  22. Hiragino Sans GB,
  23. Microsoft YaHei,
  24. Arial,
  25. sans-serif;
  26. }
  27. label {
  28. font-weight: 700;
  29. }
  30. html {
  31. height: 100%;
  32. box-sizing: border-box;
  33. }
  34. //html.dark .svg-icon,
  35. //html.dark svg {
  36. // fill: var(--el-text-color-regular);
  37. //}
  38. #app {
  39. height: 100%;
  40. }
  41. *,
  42. *:before,
  43. *:after {
  44. box-sizing: inherit;
  45. }
  46. .no-padding {
  47. padding: 0px !important;
  48. }
  49. .padding-content {
  50. padding: 4px 0;
  51. }
  52. a:focus,
  53. a:active {
  54. outline: none;
  55. }
  56. a,
  57. a:focus,
  58. a:hover {
  59. cursor: pointer;
  60. color: inherit;
  61. text-decoration: none;
  62. }
  63. div:focus {
  64. outline: none;
  65. }
  66. .fr {
  67. float: right;
  68. }
  69. .fl {
  70. float: left;
  71. }
  72. .pr-5 {
  73. padding-right: 5px;
  74. }
  75. .pl-5 {
  76. padding-left: 5px;
  77. }
  78. .block {
  79. display: block;
  80. }
  81. .pointer {
  82. cursor: pointer;
  83. }
  84. .inlineBlock {
  85. display: block;
  86. }
  87. .clearfix {
  88. &:after {
  89. visibility: hidden;
  90. display: block;
  91. font-size: 0;
  92. content: ' ';
  93. clear: both;
  94. height: 0;
  95. }
  96. }
  97. aside {
  98. background: #eef1f6;
  99. padding: 8px 24px;
  100. margin-bottom: 20px;
  101. border-radius: 2px;
  102. display: block;
  103. line-height: 32px;
  104. font-size: 16px;
  105. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  106. sans-serif;
  107. color: #2c3e50;
  108. -webkit-font-smoothing: antialiased;
  109. -moz-osx-font-smoothing: grayscale;
  110. a {
  111. color: #337ab7;
  112. cursor: pointer;
  113. &:hover {
  114. color: rgb(32, 160, 255);
  115. }
  116. }
  117. }
  118. //main-container全局样式
  119. .app-container {
  120. padding: 20px;
  121. }
  122. // search面板样式
  123. .panel,
  124. .search {
  125. margin-bottom: 0.75rem;
  126. border-radius: 0.25rem;
  127. border: 1px solid var(--el-border-color-light);
  128. background-color: var(--el-bg-color-overlay);
  129. padding: 0.75rem;
  130. transition: all ease 0.3s;
  131. &:hover {
  132. box-shadow: 0 2px 12px #0000001a;
  133. transition: all ease 0.3s;
  134. }
  135. }
  136. .components-container {
  137. margin: 30px 50px;
  138. position: relative;
  139. }
  140. .pagination-container {
  141. margin-top: 30px;
  142. }
  143. .text-center {
  144. text-align: center;
  145. }
  146. .sub-navbar {
  147. height: 50px;
  148. line-height: 50px;
  149. position: relative;
  150. width: 100%;
  151. text-align: right;
  152. padding-right: 20px;
  153. transition: 600ms ease position;
  154. 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%);
  155. .subtitle {
  156. font-size: 20px;
  157. color: #fff;
  158. }
  159. &.draft {
  160. background: #d0d0d0;
  161. }
  162. &.deleted {
  163. background: #d0d0d0;
  164. }
  165. }
  166. .link-type,
  167. .link-type:focus {
  168. color: #337ab7;
  169. cursor: pointer;
  170. &:hover {
  171. color: rgb(32, 160, 255);
  172. }
  173. }
  174. .filter-container {
  175. padding-bottom: 10px;
  176. .filter-item {
  177. display: inline-block;
  178. vertical-align: middle;
  179. margin-bottom: 10px;
  180. }
  181. }
  182. .common-select-info {
  183. width: 100%;
  184. height: 40px;
  185. line-height: 40px;
  186. padding: 0 15px;
  187. background: #E6F7FF;
  188. border: 1px solid #BAE7FF;
  189. border-radius: 2px;
  190. display: flex;
  191. justify-content: space-between;
  192. align-items: center;
  193. font-size: 14px;
  194. margin-bottom: 15px;
  195. .info-left {
  196. display: flex;
  197. align-items: center;
  198. .info-icon {
  199. color: #2c81ff;
  200. margin-right: 5px;
  201. }
  202. .info-text1 {
  203. color: rgba(0, 0, 0, 0.65);
  204. }
  205. .info-text2 {
  206. color: #2c81ff;
  207. margin: 0 5px;
  208. }
  209. }
  210. .clear-btn {
  211. color: #2C81FF;
  212. cursor: pointer;
  213. }
  214. }
  215. .common-btn-text-primary {
  216. color: #2C81FF !important;
  217. cursor: pointer;
  218. margin: 0 4px !important;
  219. }
  220. .common-btn-text-danger{
  221. color: #F90000 !important;
  222. cursor: pointer;
  223. margin: 0 4px !important;
  224. }
  225. .common-dialog {
  226. width: 100%;
  227. height: 100%;
  228. position: absolute;
  229. top: 0;
  230. left: 0;
  231. background-color: #ffffff;
  232. display: flex;
  233. justify-content: center;
  234. padding: 0 12px 12px;
  235. z-index: 99;
  236. .common-dialog-content {
  237. border-bottom: 1px solid #e6f2ff;
  238. border-left: 1px solid #e6f2ff;
  239. border-right: 1px solid #e6f2ff;
  240. background-image: linear-gradient(to bottom, #ffffff 0%, #ebf4ff 100%);
  241. width: 100%;
  242. height: 100%;
  243. padding: 16px 24px;
  244. overflow-y: auto;
  245. .common-dialog-title-box {
  246. font-size: 20px;
  247. margin-bottom: 23.5px;
  248. font-weight: 500;
  249. display: flex;
  250. align-items: flex-end;
  251. .common-dialog-title-icon {
  252. width: 16.54px;
  253. height: 19.46px;
  254. background: url('@/assets/images/edit.png') no-repeat;
  255. background-size: 100% 100%;
  256. margin-right: 4px;
  257. margin-bottom: 2px;
  258. }
  259. }
  260. .common-dialog-box {
  261. display: flex;
  262. flex-direction: column;
  263. justify-content: center;
  264. align-items: center;
  265. width: 100%;
  266. .common-form {
  267. width: 980px;
  268. .common-form-row {
  269. display: flex;
  270. align-items: center;
  271. .el-form-item {
  272. flex: 1;
  273. margin-bottom: 20px;
  274. &:nth-child(1) {
  275. margin-right: 10px;
  276. }
  277. &:nth-child(2) {
  278. margin-left: 10px;
  279. }
  280. }
  281. }
  282. }
  283. }
  284. }
  285. }
  286. .common-back-box {
  287. cursor: pointer;
  288. color: rgba(0, 0, 0, 0.45);
  289. font-size: 14px;
  290. margin-bottom: 10px;
  291. .common-back {
  292. width: 13px;
  293. height: 10px;
  294. background: url('@/assets/images/back.png') no-repeat;
  295. background-size: 100% 100%;
  296. display: inline-block;
  297. }
  298. }
  299. .dot-red {
  300. width: 6px;
  301. height: 6px;
  302. border-radius: 50%;
  303. background: #F90000;
  304. display: inline-block;
  305. margin-right: 5px;
  306. }
  307. .dot-green {
  308. width: 6px;
  309. height: 6px;
  310. border-radius: 50%;
  311. background: #61DDA2;
  312. display: inline-block;
  313. margin-right: 5px;
  314. }
  315. .dot-orange {
  316. width: 6px;
  317. height: 6px;
  318. border-radius: 50%;
  319. background: #FFA047;
  320. display: inline-block;
  321. margin-right: 5px;
  322. }
  323. .dot-blue{
  324. width: 6px;
  325. height: 6px;
  326. border-radius: 50%;
  327. background: #2C81FF;
  328. display: inline-block;
  329. margin-right: 5px;
  330. }
  331. .dot-grey {
  332. width: 6px;
  333. height: 6px;
  334. border-radius: 50%;
  335. background: #bfbfbf;
  336. display: inline-block;
  337. margin-right: 5px;
  338. }
  339. .image-table .el-table__cell {
  340. position: static !important;
  341. }