dcat-app.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. // ================================================================================================
  2. // File Name: dcat-bootstrap.scss
  3. // Description: Dcat Admin应用样式
  4. // ----------------------------------------------------------------------------------------------
  5. // Item name: Dcat Admin
  6. // Author: Jqh
  7. // Author URL: https://github.com/jqhph
  8. // ================================================================================================
  9. @import "variables/variables";
  10. // 进度条
  11. @import "./nprogress/NProgress";
  12. // sweetalert弹窗
  13. @import "./sweetalert/sweetalert2";
  14. html body {
  15. background-color: $body-bg;
  16. color: $font-color;
  17. font-size: .95rem;
  18. }
  19. // 字体
  20. body, .header-navbar, .navigation, .breadcrumb, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  21. font-family: $font-family-sans-serif;
  22. }
  23. h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  24. line-height: 1.1
  25. }
  26. .content .content-wrapper {
  27. padding: calc(2.2rem - 0.4rem) 2.1rem 0;
  28. margin-top: 5rem;
  29. }
  30. .navbar-fixed-top {
  31. .content-wrapper {
  32. margin-top: 4rem;
  33. }
  34. }
  35. .content-header {
  36. padding: 0 0 2px;
  37. }
  38. ol, ul, dl {
  39. margin-bottom: 0;
  40. }
  41. // 阴影
  42. .shadow-0 {
  43. box-shadow: none!important;
  44. }
  45. .shadow {
  46. box-shadow: $shadow!important;
  47. }
  48. .shadow-100 {
  49. box-shadow: $shadow-100!important;
  50. }
  51. .shadow-200 {
  52. box-shadow: $shadow-200!important;
  53. }
  54. //small
  55. .font-sm-1{
  56. font-size: 0.7rem !important;
  57. }
  58. .font-sm-2{
  59. font-size: 0.8rem !important;
  60. }
  61. .font-sm-3{
  62. font-size: 0.9rem !important;
  63. }
  64. //medium
  65. .font-md-1{
  66. font-size: 1.1rem !important;
  67. }
  68. .font-md-2{
  69. font-size: 1.2rem !important;
  70. }
  71. .font-md-3{
  72. font-size: 1.3rem !important;
  73. }
  74. .font-md-4{
  75. font-size: 1.4rem !important;
  76. }
  77. .font-md-5{
  78. font-size: 1.5rem !important;
  79. }
  80. //large
  81. .font-lg-1{
  82. font-size: 2rem !important;
  83. }
  84. .font-lg-2{
  85. font-size: 3rem !important;
  86. }
  87. .font-lg-3{
  88. font-size: 4rem !important;
  89. }
  90. .font-lg-4{
  91. font-size: 5rem !important;
  92. }
  93. .font-lg-5{
  94. font-size: 6rem !important;
  95. }
  96. // Font weights
  97. .bold-300 {
  98. font-weight: 300;
  99. }
  100. .bold-400 {
  101. font-weight: 400;
  102. }
  103. .bold-500 {
  104. font-weight: 500;
  105. }
  106. .bold-600 {
  107. font-weight: 600;
  108. }
  109. .bold-700 {
  110. font-weight: 700;
  111. }
  112. // Font style
  113. .text-italic {
  114. font-style: italic;
  115. }
  116. .text-highlight {
  117. padding: 4px 6px;
  118. }
  119. // 颜色class定义
  120. @import "./colors";
  121. // 布局
  122. @import "./components/layout";
  123. // 按钮
  124. @import "./components/button";
  125. // 顶部导航栏
  126. @import "./components/header-navbar";
  127. // 页面头
  128. @import "./components/content-header";
  129. // 表格自定义样式
  130. @import "./components/custom-data-table";
  131. // 表单
  132. @import "./components/form";
  133. // 分页
  134. @import "./components/pagination";
  135. // data-list-view 表格
  136. @import "./components/table";
  137. // grid
  138. @import "./components/grid";
  139. // 下拉菜单
  140. @import "./components/dropdown";
  141. // checkbox
  142. @import "./components/checkbox";
  143. // radio
  144. @import "./components/radio";
  145. // card
  146. @import "./components/card";
  147. // tree jquery.nestable
  148. @import "./components/nestable";
  149. // layer弹窗
  150. @import "./components/layer";
  151. // 滑动面板
  152. @import "./components/slider-panel";
  153. // grid selector
  154. @import "./components/grid-selector";
  155. // box
  156. @import "./components/box";
  157. // label
  158. @import "./components/label";
  159. // tab
  160. @import "./components/tab";
  161. // menu
  162. @import "./components/menu";
  163. // alert
  164. @import "./components/alert";
  165. // code
  166. @import "./components/code";
  167. // link
  168. @import "./components/link";
  169. // img
  170. @import "./components/img";
  171. // popover
  172. @import "./components/popover";
  173. // datetime picker
  174. @import "./components/datetime-picker";