index.scss 3.0 KB

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