index.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  17. }
  18. label {
  19. font-weight: 700;
  20. }
  21. html {
  22. height: 100%;
  23. box-sizing: border-box;
  24. }
  25. html.dark .svg-icon, html.dark svg {
  26. fill: var(--el-text-color-regular);
  27. }
  28. #app {
  29. height: 100%;
  30. }
  31. *,
  32. *:before,
  33. *:after {
  34. box-sizing: inherit;
  35. }
  36. .no-padding {
  37. padding: 0px !important;
  38. }
  39. .padding-content {
  40. padding: 4px 0;
  41. }
  42. a:focus,
  43. a:active {
  44. outline: none;
  45. }
  46. a,
  47. a:focus,
  48. a:hover {
  49. cursor: pointer;
  50. color: inherit;
  51. text-decoration: none;
  52. }
  53. div:focus {
  54. outline: none;
  55. }
  56. .fr {
  57. float: right;
  58. }
  59. .fl {
  60. float: left;
  61. }
  62. .pr-5 {
  63. padding-right: 5px;
  64. }
  65. .pl-5 {
  66. padding-left: 5px;
  67. }
  68. .block {
  69. display: block;
  70. }
  71. .pointer {
  72. cursor: pointer;
  73. }
  74. .inlineBlock {
  75. display: block;
  76. }
  77. .clearfix {
  78. &:after {
  79. visibility: hidden;
  80. display: block;
  81. font-size: 0;
  82. content: ' ';
  83. clear: both;
  84. height: 0;
  85. }
  86. }
  87. aside {
  88. background: #eef1f6;
  89. padding: 8px 24px;
  90. margin-bottom: 20px;
  91. border-radius: 2px;
  92. display: block;
  93. line-height: 32px;
  94. font-size: 16px;
  95. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  96. sans-serif;
  97. color: #2c3e50;
  98. -webkit-font-smoothing: antialiased;
  99. -moz-osx-font-smoothing: grayscale;
  100. a {
  101. color: #337ab7;
  102. cursor: pointer;
  103. &:hover {
  104. color: rgb(32, 160, 255);
  105. }
  106. }
  107. }
  108. //main-container全局样式
  109. .app-container {
  110. padding: 20px;
  111. }
  112. // search面板样式
  113. .panel,
  114. .search {
  115. margin-bottom: 0.75rem;
  116. border-radius: 0.25rem;
  117. border: 1px solid var(--el-border-color-light);
  118. background-color: var(--el-bg-color-overlay);
  119. padding: 0.75rem;
  120. transition: all ease 0.3s;
  121. &:hover {
  122. box-shadow: 0 2px 12px #0000001a;
  123. transition: all ease 0.3s;
  124. }
  125. }
  126. .components-container {
  127. margin: 30px 50px;
  128. position: relative;
  129. }
  130. .pagination-container {
  131. margin-top: 30px;
  132. }
  133. .text-center {
  134. text-align: center;
  135. }
  136. .sub-navbar {
  137. height: 50px;
  138. line-height: 50px;
  139. position: relative;
  140. width: 100%;
  141. text-align: right;
  142. padding-right: 20px;
  143. transition: 600ms ease position;
  144. 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%);
  145. .subtitle {
  146. font-size: 20px;
  147. color: #fff;
  148. }
  149. &.draft {
  150. background: #d0d0d0;
  151. }
  152. &.deleted {
  153. background: #d0d0d0;
  154. }
  155. }
  156. .link-type,
  157. .link-type:focus {
  158. color: #337ab7;
  159. cursor: pointer;
  160. &:hover {
  161. color: rgb(32, 160, 255);
  162. }
  163. }
  164. .filter-container {
  165. padding-bottom: 10px;
  166. .filter-item {
  167. display: inline-block;
  168. vertical-align: middle;
  169. margin-bottom: 10px;
  170. }
  171. }