index.scss 3.1 KB

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