_layout.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. /*---Layout---*/
  2. .fixed .wrapper, .main-header .logo, .user-panel {
  3. overflow: hidden;
  4. }
  5. .layout-boxed {
  6. background: $light;
  7. .wrapper {
  8. width: 95%;
  9. max-width: 1440px;
  10. margin: 0 auto;
  11. min-height: $p100;
  12. box-shadow: 0px 2px 5px 0px rgba(19, 23, 38, 0.05);
  13. position: relative;
  14. background: #f4f5f9;
  15. }
  16. }
  17. @media (min-width: 1900px){
  18. .layout-boxed {
  19. .wrapper {
  20. width: 95%;
  21. max-width: 1850px;
  22. }
  23. }
  24. }
  25. .content-wrapper{
  26. @include transition(transform .3s ease-in-out, margin .3s ease-in-out);
  27. margin-left: ($sid-bar-w) + ($default-gutter-width);
  28. z-index: 820;
  29. }
  30. .main-footer{
  31. @include transition(transform .3s ease-in-out, margin .3s ease-in-out);
  32. z-index: 820;
  33. margin-left: ($sid-bar-w);
  34. margin-right: $r-sid-bar-w;
  35. }
  36. .right-bar{
  37. position: fixed;
  38. top: 0;
  39. right: 0;
  40. background: $white;
  41. width: $r-sid-bar-w;
  42. overflow: hidden;
  43. z-index: 99;
  44. height: 100%;
  45. .right-bar-inner{
  46. padding: 20px 20px;
  47. }
  48. .right-bar-btn{
  49. margin: 0;
  50. position: absolute;
  51. right: 0;
  52. }
  53. }
  54. @include screen-md {
  55. .sidebar-collapse .content-wrapper, .sidebar-collapse .main-footer {
  56. margin-left: 0;
  57. }
  58. }
  59. .content-wrapper {
  60. min-height: $p100;
  61. background-color: $wrapper;
  62. @include transition(all .3s ease-in-out);
  63. overflow: hidden;
  64. border-radius: 0;
  65. margin-right: $r-sid-bar-w + 21;
  66. }
  67. @include screen-sm-max {
  68. .content-wrapper {
  69. margin-right: $default-gutter-width /2;
  70. margin-left: $default-gutter-width /2 !important;
  71. }
  72. }
  73. .main-footer{
  74. background-color: rgba($white, 0);
  75. padding: 1.5rem;
  76. border-top: 0px solid lighten($black, 80%);
  77. z-index: 1;
  78. position: relative;
  79. .nav{
  80. margin-top: -7px;
  81. }
  82. }
  83. .fixed{
  84. .left-side{
  85. position: fixed;
  86. }
  87. .main-header{
  88. position: fixed;
  89. z-index: 999;
  90. top: 0;
  91. right: 0;
  92. left: 0;
  93. }
  94. .main-sidebar{
  95. position: fixed;
  96. }
  97. .content-wrapper{
  98. margin-top: $main-hed-nav;
  99. }
  100. .right-side{
  101. margin-top: $main-hed-nav;
  102. }
  103. }
  104. @include screen-sm-max {
  105. .content-wrapper{
  106. margin-left: 0;
  107. }
  108. .main-footer{
  109. margin-left: 0;
  110. text-align: center;
  111. }
  112. .fixed{
  113. .content-wrapper{
  114. margin-top: $hed-max;
  115. }
  116. .right-side {
  117. margin-top: $hed-max;
  118. }
  119. }
  120. }
  121. .fixed{
  122. &layout-boxed{
  123. .wrapper {
  124. max-width: $p100;
  125. }
  126. }
  127. }
  128. .hold-transition .content-wrapper, .hold-transition .left-side, .hold-transition .main-footer, .hold-transition .main-header .logo, .hold-transition .main-header .navbar, .hold-transition .main-sidebar, .hold-transition .menu-open .fa-angle-left, .hold-transition .right-side {
  129. @include transition(none);
  130. }
  131. .content {
  132. min-height: 250px;
  133. padding: ($default-gutter-width / 2) 0 0px 0;
  134. margin-right: auto;
  135. margin-left: auto;
  136. }
  137. .layout-top-nav {
  138. .content-wrapper{
  139. .content {
  140. padding: 10px 0px 0px 0px;
  141. margin-right: auto;
  142. margin-left: auto;
  143. }
  144. }
  145. }
  146. .container{
  147. >.content {
  148. padding: 10px 0px 0px 0px;
  149. >.content-header{
  150. padding-top: 0px;
  151. }
  152. }
  153. >.content-header{
  154. padding: 10px 0px 0px 0px;
  155. }
  156. }
  157. /*---art shape---*/
  158. .art-bg{
  159. top: 0;
  160. left: 0;
  161. width: 100%;
  162. position: fixed;
  163. background-attachment: fixed;
  164. z-index: -1;
  165. min-height: 400px;
  166. img{
  167. left: -2px;
  168. width: 100%;
  169. height: auto;
  170. bottom: -32px;
  171. position: absolute;
  172. transform: scale(1.1,0.8);
  173. transform-origin: bottom;
  174. &.light-img{
  175. display: block;
  176. }
  177. &.dark-img{
  178. display: none;
  179. }
  180. }
  181. }
  182. .dark-skin{
  183. .art-bg {
  184. img{
  185. &.dark-img{
  186. display: block;
  187. }
  188. &.light-img{
  189. display: none;
  190. }
  191. }
  192. }
  193. &.onlyfull{
  194. .art-bg {
  195. .art-img{
  196. display: none;
  197. }
  198. }
  199. }
  200. }
  201. .onlyheader{
  202. .art-bg{
  203. min-height: $main-hed-nav;
  204. .art-img{
  205. display: none;
  206. }
  207. }
  208. }
  209. .onlyfull{
  210. .art-bg{
  211. min-height: 100%;
  212. .art-img{
  213. display: none;
  214. }
  215. }
  216. }
  217. /*#progressbar1, #progressbar2, #progressbar3{
  218. .progressbar-text{
  219. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
  220. border-radius: 100%;
  221. height: 115px;
  222. width: 115px;
  223. line-height: 115px;
  224. font-family: $headingfont !important;
  225. }
  226. }*/
  227. .icon i {
  228. width: 60px;
  229. height: 60px;
  230. text-align: center;
  231. color: #ffffff;
  232. background-color: rgba(255, 255, 255, 0.20);
  233. line-height: 60px;
  234. border-radius: 100%;
  235. margin-right: 30px;
  236. }
  237. .wed-up {
  238. margin-top: -85px;
  239. padding: 30px 50px;
  240. }
  241. .dask{
  242. .fc-today-button{
  243. display: none;
  244. }
  245. .fc-right{
  246. display: none;
  247. }
  248. .fc-toolbar {
  249. .fc-left{
  250. float: right;
  251. }
  252. .fc-center{
  253. float: left;
  254. }
  255. }
  256. }
  257. .dash-chart{
  258. height: 146px !important;
  259. }
  260. @include screen-lg-max {
  261. .right-bar{
  262. right: -$r-sid-bar-w;
  263. -webkit-transition: right .3s ease-in-out;
  264. -o-transition: right .3s ease-in-out;
  265. transition: right .3s ease-in-out;
  266. -webkit-box-shadow: 0px 5px 10px 1px rgba(lighten($black, 30%), 0.2);
  267. -moz-box-shadow: 0px 5px 10px 1px rgba(lighten($black, 30%), 0.2);
  268. box-shadow: 0px 5px 10px 1px rgba(lighten($black, 30%), 0.2);
  269. z-index: 9999;
  270. }
  271. .content-wrapper, .main-header, .main-footer{
  272. margin-right: $default-gutter-width !important;
  273. }
  274. .right-bar-toggle{
  275. .right-bar{
  276. right: 0;
  277. -webkit-transition: right .3s ease-in-out;
  278. -o-transition: right .3s ease-in-out;
  279. transition: right .3s ease-in-out;
  280. z-index: 9999;
  281. }
  282. }
  283. }
  284. @include screen-sm-max {
  285. .main-header{
  286. margin-right: 0 !important;
  287. }
  288. .content-wrapper, .main-footer{
  289. margin-right: $default-gutter-width / 2 !important;
  290. }
  291. }