index.scss 3.1 KB

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