index.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  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 './map.scss';
  9. @import 'animate.css';
  10. @import 'element-plus/dist/index.css';
  11. @font-face {
  12. font-family: "YouSheBiaoTiHei";
  13. src: url('../font/youshebiaotihei.ttf');
  14. font-weight: normal;
  15. font-style: normal;
  16. }
  17. @font-face {
  18. font-family: "BEBAS-1";
  19. src: url('../font/BEBAS-1.ttf');
  20. font-weight: normal;
  21. font-style: normal;
  22. }
  23. @font-face {
  24. font-family: "SourceHanSansCN";
  25. src: url('../font/SourceHanSansCN.ttf');
  26. font-weight: normal;
  27. font-style: normal;
  28. }
  29. body {
  30. height: 100%;
  31. margin: 0;
  32. -moz-osx-font-smoothing: grayscale;
  33. -webkit-font-smoothing: antialiased;
  34. text-rendering: optimizeLegibility;
  35. font-family:
  36. Helvetica Neue,
  37. Helvetica,
  38. PingFang SC,
  39. Hiragino Sans GB,
  40. Microsoft YaHei,
  41. Arial,
  42. sans-serif;
  43. }
  44. label {
  45. font-weight: 700;
  46. }
  47. html {
  48. height: 100%;
  49. box-sizing: border-box;
  50. }
  51. //html.dark .svg-icon,
  52. //html.dark svg {
  53. // fill: var(--el-text-color-regular);
  54. //}
  55. #app {
  56. height: 100%;
  57. }
  58. *,
  59. *:before,
  60. *:after {
  61. box-sizing: inherit;
  62. }
  63. .no-padding {
  64. padding: 0px !important;
  65. }
  66. .padding-content {
  67. padding: 4px 0;
  68. }
  69. a:focus,
  70. a:active {
  71. outline: none;
  72. }
  73. a,
  74. a:focus,
  75. a:hover {
  76. cursor: pointer;
  77. color: inherit;
  78. text-decoration: none;
  79. }
  80. div:focus {
  81. outline: none;
  82. }
  83. .fr {
  84. float: right;
  85. }
  86. .fl {
  87. float: left;
  88. }
  89. .pr-5 {
  90. padding-right: 5px;
  91. }
  92. .pl-5 {
  93. padding-left: 5px;
  94. }
  95. .block {
  96. display: block;
  97. }
  98. .pointer {
  99. cursor: pointer;
  100. }
  101. .inlineBlock {
  102. display: block;
  103. }
  104. .clearfix {
  105. &:after {
  106. visibility: hidden;
  107. display: block;
  108. font-size: 0;
  109. content: ' ';
  110. clear: both;
  111. height: 0;
  112. }
  113. }
  114. aside {
  115. background: #eef1f6;
  116. padding: 8px 24px;
  117. margin-bottom: 20px;
  118. border-radius: 2px;
  119. display: block;
  120. line-height: 32px;
  121. font-size: 16px;
  122. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  123. sans-serif;
  124. color: #2c3e50;
  125. -webkit-font-smoothing: antialiased;
  126. -moz-osx-font-smoothing: grayscale;
  127. a {
  128. color: #337ab7;
  129. cursor: pointer;
  130. &:hover {
  131. color: rgb(32, 160, 255);
  132. }
  133. }
  134. }
  135. //main-container全局样式
  136. .app-container {
  137. padding: 20px;
  138. }
  139. // search面板样式
  140. .panel,
  141. .search {
  142. margin-bottom: 0.75rem;
  143. border-radius: 0.25rem;
  144. border: 1px solid var(--el-border-color-light);
  145. background-color: var(--el-bg-color-overlay);
  146. padding: 0.75rem;
  147. transition: all ease 0.3s;
  148. &:hover {
  149. box-shadow: 0 2px 12px #0000001a;
  150. transition: all ease 0.3s;
  151. }
  152. }
  153. .components-container {
  154. margin: 30px 50px;
  155. position: relative;
  156. }
  157. .pagination-container {
  158. margin-top: 30px;
  159. }
  160. .text-center {
  161. text-align: center;
  162. }
  163. .sub-navbar {
  164. height: 50px;
  165. line-height: 50px;
  166. position: relative;
  167. width: 100%;
  168. text-align: right;
  169. padding-right: 20px;
  170. transition: 600ms ease position;
  171. 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%);
  172. .subtitle {
  173. font-size: 20px;
  174. color: #fff;
  175. }
  176. &.draft {
  177. background: #d0d0d0;
  178. }
  179. &.deleted {
  180. background: #d0d0d0;
  181. }
  182. }
  183. .link-type,
  184. .link-type:focus {
  185. color: #337ab7;
  186. cursor: pointer;
  187. &:hover {
  188. color: rgb(32, 160, 255);
  189. }
  190. }
  191. .filter-container {
  192. padding-bottom: 10px;
  193. .filter-item {
  194. display: inline-block;
  195. vertical-align: middle;
  196. margin-bottom: 10px;
  197. }
  198. }
  199. .gradient-text {
  200. /* 设置字体透明 */
  201. color: transparent;
  202. /* 设置线性渐变,从红色渐变到蓝色 */
  203. background-image: linear-gradient(to bottom, #ffffff 30%, #edf7fe 50%, #5cc4fa 70%, #40a2e7 100%);
  204. /* 使用 -webkit-background-clip 属性将背景剪裁至文本形状 */
  205. -webkit-background-clip: text;
  206. /* 非Webkit内核浏览器需要使用标准前缀 */
  207. background-clip: text;
  208. /* 把当前元素设置为行内块,以便能够应用背景 */
  209. display: inline-block;
  210. font-family: 'YouSheBiaoTiHei';
  211. }
  212. .gradient-text2 {
  213. /* 设置字体透明 */
  214. color: transparent;
  215. /* 设置线性渐变,从红色渐变到蓝色 */
  216. background-image: linear-gradient(to bottom, #fff 50%, #5CC4FA 70%, #40A2E7 100%);
  217. /* 使用 -webkit-background-clip 属性将背景剪裁至文本形状 */
  218. -webkit-background-clip: text;
  219. /* 非Webkit内核浏览器需要使用标准前缀 */
  220. background-clip: text;
  221. /* 把当前元素设置为行内块,以便能够应用背景 */
  222. display: inline-block;
  223. font-family: 'YouSheBiaoTiHei';
  224. }
  225. .gradient-text3 {
  226. font-size: 38px;
  227. color: transparent;
  228. background-image: linear-gradient(to bottom, #ffffff 25%, #2b72d6 100%);
  229. -webkit-background-clip: text;
  230. background-clip: text;
  231. display: inline-block;
  232. }
  233. ::-webkit-scrollbar-thumb {
  234. background-color: #227dfe !important;
  235. }
  236. ::-webkit-scrollbar-track {
  237. background-color: transparent !important;
  238. }
  239. .common-btn-primary {
  240. width: 212px;
  241. height: 136px;
  242. background: url('@/assets/images/common/btnPrimary.png') no-repeat;
  243. background-size: 100% 100%;
  244. color: #ffffff;
  245. display: flex;
  246. justify-content: center;
  247. align-items: center;
  248. cursor: pointer;
  249. font-size: 38px;
  250. }
  251. .common-btn-primary2 {
  252. width: 332px;
  253. height: 72px;
  254. background: url('@/assets/images/common/btnPrimary2.png') no-repeat;
  255. background-size: 100% 100%;
  256. color: #ffffff;
  257. display: flex;
  258. justify-content: center;
  259. align-items: center;
  260. cursor: pointer;
  261. font-size: 38px;
  262. }
  263. .common-btn-primary3 {
  264. width: 244px;
  265. height: 120px;
  266. background: url('@/assets/images/common/btnPrimary3.png') no-repeat;
  267. background-size: 100% 100%;
  268. color: #ffffff;
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. cursor: pointer;
  273. font-size: 38px;
  274. }
  275. .common-btn-danger{
  276. width: 268px;
  277. height: 72px;
  278. background: url('@/assets/images/common/btnDanger.png') no-repeat;
  279. background-size: 100% 100%;
  280. color: #ffffff;
  281. display: flex;
  282. justify-content: center;
  283. align-items: center;
  284. cursor: pointer;
  285. font-size: 38px;
  286. }
  287. .common-btn-danger2{
  288. width: 188px;
  289. height: 56px;
  290. background: url('@/assets/images/common/btnDanger2.png') no-repeat;
  291. background-size: 100% 100%;
  292. color: #ffffff;
  293. display: flex;
  294. justify-content: center;
  295. align-items: center;
  296. cursor: pointer;
  297. font-size: 38px;
  298. }
  299. .common-btn {
  300. width: 148px;
  301. height: 72px;
  302. background: url('@/assets/images/common/btn.png') no-repeat;
  303. background-size: 100% 100%;
  304. color: #ffffff;
  305. display: flex;
  306. justify-content: center;
  307. align-items: center;
  308. cursor: pointer;
  309. font-size: 38px;
  310. }
  311. .common-table {
  312. .table-header {
  313. width: 100%;
  314. min-height: 88px;
  315. background: url('@/assets/images/common/header.png') no-repeat;
  316. background-size: 100% 100%;
  317. display: flex;
  318. align-items: center;
  319. padding: 0 10px;
  320. .td-cursor {
  321. cursor: pointer;
  322. }
  323. }
  324. .tr {
  325. width: 100%;
  326. min-height: 88px;
  327. background: url('@/assets/images/common/tr.png') no-repeat;
  328. background-size: 100% 100%;
  329. display: flex;
  330. align-items: center;
  331. margin-top: 10px;
  332. padding: 22.26px 10px;
  333. .td {
  334. //white-space: nowrap;
  335. //overflow: hidden;
  336. //text-overflow: ellipsis;
  337. }
  338. }
  339. .td {
  340. font-size: 38px;
  341. color: #edfaff;
  342. flex: 1;
  343. padding: 0 8px;
  344. text-align: center;
  345. }
  346. .down-icon {
  347. display: inline-block;
  348. width: 33px;
  349. height: 15px;
  350. background: url('@/assets/images/map/rightMenu/rainMonitor/down.png') no-repeat;
  351. cursor: pointer;
  352. margin-left: 8px;
  353. }
  354. .asc-icon {
  355. display: inline-block;
  356. width: 33px;
  357. height: 33px;
  358. background: url('@/assets/images/common/asc.png') no-repeat;
  359. cursor: pointer;
  360. margin-left: 8px;
  361. }
  362. .desc-icon {
  363. display: inline-block;
  364. width: 33px;
  365. height: 33px;
  366. background: url('@/assets/images/common/desc.png') no-repeat;
  367. cursor: pointer;
  368. margin-left: 8px;
  369. }
  370. .unSort-icon {
  371. display: inline-block;
  372. width: 33px;
  373. height: 32px;
  374. background: url('@/assets/images/common/unSort.png') no-repeat;
  375. background-size: 100% 100%;
  376. cursor: pointer;
  377. margin-left: 8px;
  378. }
  379. }
  380. .common-btn2 {
  381. border: 3px solid #247dff;
  382. border-radius: 8px;
  383. background-color: #19326f;
  384. color: #9bc3ff;
  385. font-size: 38px;
  386. cursor: pointer;
  387. padding: 15px;
  388. }
  389. .danger-tip {
  390. background: url('@/assets/images/common/dangerBg.png') no-repeat;
  391. background-size: 100% 100%;
  392. padding: 23px 18px;
  393. display: flex;
  394. align-items: center;
  395. position: absolute;
  396. top: 260px;
  397. left: 50%;
  398. transform: translateX(-50%);
  399. color: #fff;
  400. font-size: 38px;
  401. z-index: 999;
  402. &::before {
  403. content: '';
  404. display: block;
  405. width: 40px;
  406. height: 41px;
  407. background: url('@/assets/images/common/dangerIcon.png') no-repeat;
  408. background-size: 100% 100%;
  409. margin-right: 23px;
  410. }
  411. }
  412. .common-checked {
  413. width: 32px;
  414. height: 32px;
  415. background: url('@/assets/images/common/checked.png') no-repeat;
  416. background-size: 100% 100%;
  417. cursor: pointer;
  418. }
  419. .common-checked-half {
  420. width: 32px;
  421. height: 32px;
  422. background: url('@/assets/images/common/checked2.png') no-repeat;
  423. background-size: 100% 100%;
  424. cursor: pointer;
  425. }
  426. .common-checked-active {
  427. width: 32px;
  428. height: 32px;
  429. background: url('@/assets/images/common/checked3.png') no-repeat;
  430. background-size: 100% 100%;
  431. cursor: pointer;
  432. }
  433. @keyframes slideLeft{
  434. 0% {
  435. transform: translateX(-80%);
  436. }
  437. 80% {
  438. transform: translateX(92px);
  439. }
  440. 80% {
  441. transform: translateX(0);
  442. }
  443. }
  444. @keyframes slideRight {
  445. 0% {
  446. transform: translateX(100%);
  447. }
  448. 80% {
  449. transform: translateX(-92px);
  450. }
  451. 100% {
  452. transform: translateX(0);
  453. }
  454. }
  455. .success-bg {
  456. background-color: #38c95a;
  457. }
  458. .primary-bg {
  459. background-color: #2c81ff;
  460. }
  461. .processing-bg {
  462. background-color: #ffb000;
  463. }
  464. .common-title-box {
  465. width: 100%;
  466. height: 65px;
  467. background-image: url(@/assets/images/common/titleBox.png);
  468. background-repeat: no-repeat;
  469. background-size: 369px 34px;
  470. background-position: bottom left;
  471. padding-left: 55px;
  472. color: #ffffff;
  473. font-size: 44px;
  474. }
  475. .common-title {
  476. position: absolute;
  477. top: 6px;
  478. left: 141px;
  479. font-size: 60px;
  480. }
  481. .amap-marker {
  482. .amap-icon {
  483. img {
  484. width: 100%;
  485. height: 100%;
  486. }
  487. }
  488. }