sb-admin.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. html {
  2. position: relative;
  3. min-height: 100%;
  4. }
  5. body {
  6. overflow-x: hidden;
  7. }
  8. body.sticky-footer {
  9. margin-bottom: 56px;
  10. }
  11. body.sticky-footer .content-wrapper {
  12. min-height: calc(100vh - 56px - 56px);
  13. }
  14. body.fixed-nav {
  15. padding-top: 56px;
  16. }
  17. .content-wrapper {
  18. min-height: calc(100vh - 56px);
  19. padding-top: 1rem;
  20. }
  21. .scroll-to-top {
  22. position: fixed;
  23. right: 15px;
  24. bottom: 3px;
  25. display: none;
  26. width: 50px;
  27. height: 50px;
  28. text-align: center;
  29. color: white;
  30. background: rgba(52, 58, 64, 0.5);
  31. line-height: 45px;
  32. }
  33. .scroll-to-top:focus, .scroll-to-top:hover {
  34. color: white;
  35. }
  36. .scroll-to-top:hover {
  37. background: #343a40;
  38. }
  39. .scroll-to-top i {
  40. font-weight: 800;
  41. }
  42. .smaller {
  43. font-size: 0.7rem;
  44. }
  45. .o-hidden {
  46. overflow: hidden !important;
  47. }
  48. .z-0 {
  49. z-index: 0;
  50. }
  51. .z-1 {
  52. z-index: 1;
  53. }
  54. #mainNav .navbar-collapse {
  55. overflow: auto;
  56. max-height: 75vh;
  57. }
  58. #mainNav .navbar-collapse .navbar-nav .nav-item .nav-link {
  59. cursor: pointer;
  60. }
  61. #mainNav .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
  62. float: right;
  63. content: '\f107';
  64. font-family: 'FontAwesome';
  65. }
  66. #mainNav .navbar-collapse .navbar-sidenav .nav-link-collapse.collapsed:after {
  67. content: '\f105';
  68. }
  69. #mainNav .navbar-collapse .navbar-sidenav .sidenav-second-level,
  70. #mainNav .navbar-collapse .navbar-sidenav .sidenav-third-level {
  71. padding-left: 0;
  72. }
  73. #mainNav .navbar-collapse .navbar-sidenav .sidenav-second-level > li > a,
  74. #mainNav .navbar-collapse .navbar-sidenav .sidenav-third-level > li > a {
  75. display: block;
  76. padding: 0.5em 0;
  77. }
  78. #mainNav .navbar-collapse .navbar-sidenav .sidenav-second-level > li > a:focus, #mainNav .navbar-collapse .navbar-sidenav .sidenav-second-level > li > a:hover,
  79. #mainNav .navbar-collapse .navbar-sidenav .sidenav-third-level > li > a:focus,
  80. #mainNav .navbar-collapse .navbar-sidenav .sidenav-third-level > li > a:hover {
  81. text-decoration: none;
  82. }
  83. #mainNav .navbar-collapse .navbar-sidenav .sidenav-second-level > li > a {
  84. padding-left: 1em;
  85. }
  86. #mainNav .navbar-collapse .navbar-sidenav .sidenav-third-level > li > a {
  87. padding-left: 2em;
  88. }
  89. #mainNav .navbar-collapse .sidenav-toggler {
  90. display: none;
  91. }
  92. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link {
  93. position: relative;
  94. min-width: 45px;
  95. }
  96. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
  97. float: right;
  98. width: auto;
  99. content: '\f105';
  100. border: none;
  101. font-family: 'FontAwesome';
  102. }
  103. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link .indicator {
  104. position: absolute;
  105. top: 5px;
  106. left: 21px;
  107. font-size: 10px;
  108. }
  109. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown.show > .nav-link:after {
  110. content: '\f107';
  111. }
  112. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown .dropdown-menu > .dropdown-item > .dropdown-message {
  113. overflow: hidden;
  114. max-width: none;
  115. text-overflow: ellipsis;
  116. }
  117. @media (min-width: 992px) {
  118. #mainNav .navbar-brand {
  119. width: 250px;
  120. }
  121. #mainNav .navbar-collapse {
  122. overflow: visible;
  123. max-height: none;
  124. }
  125. #mainNav .navbar-collapse .navbar-sidenav {
  126. position: absolute;
  127. top: 0;
  128. left: 0;
  129. -webkit-flex-direction: column;
  130. -ms-flex-direction: column;
  131. flex-direction: column;
  132. margin-top: 56px;
  133. }
  134. #mainNav .navbar-collapse .navbar-sidenav > .nav-item {
  135. width: 250px;
  136. padding: 0;
  137. }
  138. #mainNav .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
  139. padding: 1em;
  140. }
  141. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level,
  142. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level {
  143. padding-left: 0;
  144. list-style: none;
  145. }
  146. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li,
  147. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li {
  148. width: 250px;
  149. }
  150. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a,
  151. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a {
  152. padding: 1em;
  153. }
  154. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a {
  155. padding-left: 2.75em;
  156. }
  157. #mainNav .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a {
  158. padding-left: 3.75em;
  159. }
  160. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link {
  161. min-width: 0;
  162. }
  163. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
  164. width: 24px;
  165. text-align: center;
  166. }
  167. #mainNav .navbar-collapse .navbar-nav > .nav-item.dropdown .dropdown-menu > .dropdown-item > .dropdown-message {
  168. max-width: 300px;
  169. }
  170. }
  171. #mainNav.fixed-top .sidenav-toggler {
  172. display: none;
  173. }
  174. @media (min-width: 992px) {
  175. #mainNav.fixed-top .navbar-sidenav {
  176. height: calc(100vh - 112px);
  177. }
  178. #mainNav.fixed-top .sidenav-toggler {
  179. position: absolute;
  180. top: 0;
  181. left: 0;
  182. display: flex;
  183. -webkit-flex-direction: column;
  184. -ms-flex-direction: column;
  185. flex-direction: column;
  186. margin-top: calc(100vh - 56px);
  187. }
  188. #mainNav.fixed-top .sidenav-toggler > .nav-item {
  189. width: 250px;
  190. padding: 0;
  191. }
  192. #mainNav.fixed-top .sidenav-toggler > .nav-item > .nav-link {
  193. padding: 1em;
  194. }
  195. }
  196. #mainNav.fixed-top.navbar-dark .sidenav-toggler {
  197. background-color: #212529;
  198. }
  199. #mainNav.fixed-top.navbar-dark .sidenav-toggler a i {
  200. color: #adb5bd;
  201. }
  202. #mainNav.fixed-top.navbar-light .sidenav-toggler {
  203. background-color: #dee2e6;
  204. }
  205. #mainNav.fixed-top.navbar-light .sidenav-toggler a i {
  206. color: rgba(0, 0, 0, 0.5);
  207. }
  208. body.sidenav-toggled #mainNav.fixed-top .sidenav-toggler {
  209. overflow-x: hidden;
  210. width: 55px;
  211. }
  212. body.sidenav-toggled #mainNav.fixed-top .sidenav-toggler .nav-item,
  213. body.sidenav-toggled #mainNav.fixed-top .sidenav-toggler .nav-link {
  214. width: 55px !important;
  215. }
  216. body.sidenav-toggled #mainNav.fixed-top #sidenavToggler i {
  217. -webkit-transform: scaleX(-1);
  218. -moz-transform: scaleX(-1);
  219. -o-transform: scaleX(-1);
  220. transform: scaleX(-1);
  221. filter: FlipH;
  222. -ms-filter: 'FlipH';
  223. }
  224. #mainNav.static-top .sidenav-toggler {
  225. display: none;
  226. }
  227. @media (min-width: 992px) {
  228. #mainNav.static-top .sidenav-toggler {
  229. display: flex;
  230. }
  231. }
  232. body.sidenav-toggled #mainNav.static-top #sidenavToggler i {
  233. -webkit-transform: scaleX(-1);
  234. -moz-transform: scaleX(-1);
  235. -o-transform: scaleX(-1);
  236. transform: scaleX(-1);
  237. filter: FlipH;
  238. -ms-filter: 'FlipH';
  239. }
  240. .content-wrapper {
  241. overflow-x: hidden;
  242. background: white;
  243. }
  244. @media (min-width: 992px) {
  245. .content-wrapper {
  246. margin-left: 250px;
  247. }
  248. }
  249. #sidenavToggler i {
  250. font-weight: 800;
  251. }
  252. .navbar-sidenav-tooltip.show {
  253. display: none;
  254. }
  255. @media (min-width: 992px) {
  256. body.sidenav-toggled .content-wrapper {
  257. margin-left: 55px;
  258. }
  259. }
  260. body.sidenav-toggled .navbar-sidenav {
  261. width: 55px;
  262. }
  263. body.sidenav-toggled .navbar-sidenav .nav-link-text {
  264. display: none;
  265. }
  266. body.sidenav-toggled .navbar-sidenav .nav-item,
  267. body.sidenav-toggled .navbar-sidenav .nav-link {
  268. width: 55px !important;
  269. }
  270. body.sidenav-toggled .navbar-sidenav .nav-item:after,
  271. body.sidenav-toggled .navbar-sidenav .nav-link:after {
  272. display: none;
  273. }
  274. body.sidenav-toggled .navbar-sidenav .nav-item {
  275. white-space: nowrap;
  276. }
  277. body.sidenav-toggled .navbar-sidenav-tooltip.show {
  278. display: flex;
  279. }
  280. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
  281. color: #868e96;
  282. }
  283. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
  284. color: #868e96;
  285. }
  286. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link:hover {
  287. color: #adb5bd;
  288. }
  289. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a,
  290. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a {
  291. color: #868e96;
  292. }
  293. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a:focus, #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a:hover,
  294. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a:focus,
  295. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a:hover {
  296. color: #adb5bd;
  297. }
  298. #mainNav.navbar-dark .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
  299. color: #adb5bd;
  300. }
  301. @media (min-width: 992px) {
  302. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav {
  303. background: #343a40;
  304. }
  305. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a {
  306. color: white !important;
  307. background-color: #495057;
  308. }
  309. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a:focus, #mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a:hover {
  310. color: white;
  311. }
  312. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level,
  313. #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level {
  314. background: #343a40;
  315. }
  316. }
  317. #mainNav.navbar-light .navbar-collapse .navbar-sidenav .nav-link-collapse:after {
  318. color: rgba(0, 0, 0, 0.5);
  319. }
  320. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
  321. color: rgba(0, 0, 0, 0.5);
  322. }
  323. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item > .nav-link:hover {
  324. color: rgba(0, 0, 0, 0.7);
  325. }
  326. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a,
  327. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a {
  328. color: rgba(0, 0, 0, 0.5);
  329. }
  330. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a:focus, #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level > li > a:hover,
  331. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a:focus,
  332. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level > li > a:hover {
  333. color: rgba(0, 0, 0, 0.7);
  334. }
  335. #mainNav.navbar-light .navbar-collapse .navbar-nav > .nav-item.dropdown > .nav-link:after {
  336. color: rgba(0, 0, 0, 0.5);
  337. }
  338. @media (min-width: 992px) {
  339. #mainNav.navbar-light .navbar-collapse .navbar-sidenav {
  340. background: #f8f9fa;
  341. }
  342. #mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a {
  343. color: #000 !important;
  344. background-color: #e9ecef;
  345. }
  346. #mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a:focus, #mainNav.navbar-light .navbar-collapse .navbar-sidenav li.active a:hover {
  347. color: #000;
  348. }
  349. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-second-level,
  350. #mainNav.navbar-light .navbar-collapse .navbar-sidenav > .nav-item .sidenav-third-level {
  351. background: #f8f9fa;
  352. }
  353. }
  354. .card-body-icon {
  355. position: absolute;
  356. z-index: 0;
  357. top: -25px;
  358. right: -25px;
  359. font-size: 5rem;
  360. -webkit-transform: rotate(15deg);
  361. -ms-transform: rotate(15deg);
  362. transform: rotate(15deg);
  363. }
  364. @media (min-width: 576px) {
  365. .card-columns {
  366. column-count: 1;
  367. }
  368. }
  369. @media (min-width: 768px) {
  370. .card-columns {
  371. column-count: 2;
  372. }
  373. }
  374. @media (min-width: 1200px) {
  375. .card-columns {
  376. column-count: 2;
  377. }
  378. }
  379. .card-login {
  380. max-width: 25rem;
  381. }
  382. .card-register {
  383. max-width: 40rem;
  384. }
  385. footer.sticky-footer {
  386. position: absolute;
  387. right: 0;
  388. bottom: 0;
  389. width: 100%;
  390. height: 56px;
  391. background-color: #e9ecef;
  392. line-height: 55px;
  393. }
  394. @media (min-width: 992px) {
  395. footer.sticky-footer {
  396. width: calc(100% - 250px);
  397. }
  398. }
  399. @media (min-width: 992px) {
  400. body.sidenav-toggled footer.sticky-footer {
  401. width: calc(100% - 55px);
  402. }
  403. }