index.scss 3.0 KB

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