index.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. background: #f0f2f5;
  23. }
  24. #app {
  25. height: 100%;
  26. }
  27. *,
  28. *:before,
  29. *:after {
  30. box-sizing: inherit;
  31. }
  32. .no-padding {
  33. padding: 0px !important;
  34. }
  35. .padding-content {
  36. padding: 4px 0;
  37. }
  38. a:focus,
  39. a:active {
  40. outline: none;
  41. }
  42. a,
  43. a:focus,
  44. a:hover {
  45. cursor: pointer;
  46. color: inherit;
  47. text-decoration: none;
  48. }
  49. div:focus {
  50. outline: none;
  51. }
  52. .fr {
  53. float: right;
  54. }
  55. .fl {
  56. float: left;
  57. }
  58. .pr-5 {
  59. padding-right: 5px;
  60. }
  61. .pl-5 {
  62. padding-left: 5px;
  63. }
  64. .block {
  65. display: block;
  66. }
  67. .pointer {
  68. cursor: pointer;
  69. }
  70. .inlineBlock {
  71. display: block;
  72. }
  73. .clearfix {
  74. &:after {
  75. visibility: hidden;
  76. display: block;
  77. font-size: 0;
  78. content: " ";
  79. clear: both;
  80. height: 0;
  81. }
  82. }
  83. aside {
  84. background: #eef1f6;
  85. padding: 8px 24px;
  86. margin-bottom: 20px;
  87. border-radius: 2px;
  88. display: block;
  89. line-height: 32px;
  90. font-size: 16px;
  91. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  92. color: #2c3e50;
  93. -webkit-font-smoothing: antialiased;
  94. -moz-osx-font-smoothing: grayscale;
  95. a {
  96. color: #337ab7;
  97. cursor: pointer;
  98. &:hover {
  99. color: rgb(32, 160, 255);
  100. }
  101. }
  102. }
  103. //main-container全局样式
  104. .app-container {
  105. padding: 20px;
  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. }
  160. .commons-title{
  161. font-size: 14px;
  162. font-weight: 500;
  163. margin-bottom: 20px;
  164. padding-left: 20px;
  165. position: relative;
  166. }
  167. .commons-title::before{
  168. content: '';
  169. display: inline-block;
  170. width: 4px;
  171. height: 14px;
  172. background: #409eff;
  173. margin-right: 10px;
  174. position: absolute;
  175. left: 0;
  176. top:3px;
  177. }
  178. .cp{
  179. cursor: pointer;
  180. }