_responsive.scss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. /* Responsive */
  2. @media screen and (max-width: 576px) {
  3. .row-card-no-pd {
  4. [class*=col-] {
  5. .card {
  6. &:before {
  7. width: calc(100% - 30px) !important;
  8. right: 15px !important;
  9. height: 1px !important;
  10. }
  11. }
  12. &:first-child {
  13. .card {
  14. &:before {
  15. display: none !important;
  16. }
  17. }
  18. }
  19. }
  20. }
  21. }
  22. @media screen and (min-width: 991px) {
  23. .main-panel {
  24. &.full-height {
  25. > .content, > .content-full{
  26. margin-top: 0;
  27. }
  28. .navbar-header {
  29. min-height: 62px;
  30. }
  31. }
  32. }
  33. .logo-header {
  34. line-height: 57px;
  35. }
  36. .toggle-nav-search {
  37. display: none;
  38. }
  39. #search-nav {
  40. display: block !important;
  41. }
  42. .sidebar {
  43. .scroll-element {
  44. opacity: 0;
  45. transition: all .2s;
  46. }
  47. &:hover .scroll-element {
  48. opacity: 1;
  49. }
  50. }
  51. .sidebar[data-background-color] {
  52. &:before {
  53. background: rgba(255, 255, 255, 0.2) !important;
  54. z-index: 1000;
  55. }
  56. }
  57. }
  58. @media screen and (max-width: 991px) {
  59. .main-header[data-background-color] {
  60. .navbar-header {
  61. border-top: 1px solid rgba(0, 0, 0, 0.1);
  62. }
  63. }
  64. .sidebar {
  65. position: fixed;
  66. left: 0 !important;
  67. right: 0;
  68. -webkit-transform: translate3d(-270px, 0, 0);
  69. -moz-transform: translate3d(-270px, 0, 0);
  70. -o-transform: translate3d(-270px, 0, 0);
  71. -ms-transform: translate3d(-270px, 0, 0);
  72. transform: translate3d(-270px, 0, 0) !important;
  73. transition: all .5s;
  74. margin-top: 0px;
  75. &:before {
  76. background: none;
  77. }
  78. }
  79. .nav_open .sidebar {
  80. -webkit-transform: translate3d(0px, 0, 0);
  81. -moz-transform: translate3d(0px, 0, 0);
  82. -o-transform: translate3d(0px, 0, 0);
  83. -ms-transform: translate3d(0px, 0, 0);
  84. transform: translate3d(0px, 0, 0) !important;
  85. border-right: 1px solid $grey-color;
  86. }
  87. .sidebar .sidebar-wrapper {
  88. padding-top: 0px;
  89. .sidebar-content {
  90. padding-top: 0px !important;
  91. }
  92. .scroll-element.scroll-y {
  93. top: 0px !important;
  94. }
  95. }
  96. .nav_open {
  97. overflow: hidden !important;
  98. .wrapper {
  99. overflow-x: hidden;
  100. }
  101. .main-panel, .main-header {
  102. -webkit-transform: translate3d(250px, 0, 0);
  103. -moz-transform: translate3d(250px, 0, 0);
  104. -o-transform: translate3d(250px, 0, 0);
  105. -ms-transform: translate3d(250px, 0, 0);
  106. transform: translate3d(250px, 0, 0) !important;
  107. }
  108. }
  109. .quick_sidebar_open .quick-sidebar {
  110. width: 350px;
  111. }
  112. .main-header {
  113. transition: all .5s;
  114. }
  115. #search-nav {
  116. margin: 0 auto !important;
  117. }
  118. .main-panel {
  119. width: 100%;
  120. transition: all .5s;
  121. .page-header {
  122. .dropdown-menu {
  123. &:after {
  124. right: 16px !important;
  125. }
  126. }
  127. }
  128. }
  129. .page-inner {
  130. padding-right: 15px;
  131. padding-left: 15px;
  132. margin-right: auto;
  133. margin-left: auto;
  134. }
  135. .page-sidebar {
  136. background: #fff;
  137. }
  138. .logo-header {
  139. display: flex;
  140. width: 100% !important;
  141. text-align: left;
  142. position: relative;
  143. padding-left: 15px;
  144. padding-right: 15px;
  145. .logo {
  146. position: absolute;
  147. left: 50%;
  148. transform: translateX(-50%);
  149. }
  150. .navbar-toggler {
  151. height: 100%;
  152. margin-left: 0px !important;
  153. opacity: 1;
  154. display: block;
  155. order: 1;
  156. }
  157. .more {
  158. opacity: 1;
  159. color: #545454;
  160. cursor: pointer;
  161. display: inline-block;
  162. line-height: 56px;
  163. order: 3;
  164. width: unset;
  165. margin-left: auto;
  166. }
  167. .navbar-brand {
  168. position: unset !important;
  169. margin-right: 0px;
  170. }
  171. }
  172. .nav-search {
  173. width: 100%;
  174. margin-right: 0 !important;
  175. }
  176. .navbar-header {
  177. position: absolute;
  178. width: 100%;
  179. transform: translate3d(0, -200px, 0) !important;
  180. transition: all .5s;
  181. }
  182. .topbar_open {
  183. .navbar-header {
  184. transform: translate3d(0, 61px, 0) !important;
  185. padding: 6px;
  186. .navbar-nav {
  187. > .nav-item {
  188. .nav-link {
  189. i {
  190. font-size: 19px;
  191. }
  192. }
  193. &:last-child {
  194. .nav-link {
  195. padding: 0px !important;
  196. }
  197. .quick-sidebar-toggler {
  198. padding-left: 5px !important;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. .toggle-nav-search {
  205. display: list-item;
  206. }
  207. #search-nav {
  208. text-align: center;
  209. width: 100%;
  210. padding: 10px 15px 0px;
  211. order: 1;
  212. }
  213. .main-panel {
  214. transform: translate3d(0, 62px, 0) !important;
  215. }
  216. > .content {
  217. margin-top: 0px !important;
  218. }
  219. }
  220. .nav_open.topbar_open .main-panel {
  221. transform: translate3d(250px, 60px, 0) !important;
  222. }
  223. .navbar-header .navbar-nav {
  224. width: 100%;
  225. flex-direction: row;
  226. justify-content: center;
  227. margin-left: 0px !important;
  228. position: relative;
  229. .dropdown {
  230. position: unset;
  231. }
  232. .dropdown-menu {
  233. position: absolute;
  234. left: 0;
  235. right: 0;
  236. margin: 0 auto;
  237. max-width: 280px;
  238. }
  239. }
  240. .profile-pic span {
  241. display: none;
  242. }
  243. .nav-toggle{
  244. display: none;
  245. }
  246. .page-title{
  247. font-size: 18px;
  248. }
  249. .card {
  250. .card-title {
  251. font-size: 18px;
  252. }
  253. }
  254. .mail-wrapper {
  255. .mail-option {
  256. .email-filters-left {
  257. width: 50%;
  258. .btn-group {
  259. margin-bottom: 10px;
  260. }
  261. }
  262. }
  263. }
  264. /* Dropzone */
  265. .dropzone {
  266. padding: 20px 15px !important;
  267. .dz-message {
  268. .message {
  269. font-size: 23px;
  270. }
  271. .note {
  272. font-size: 15px;
  273. }
  274. }
  275. }
  276. }
  277. @media screen and (min-width: 856px) {
  278. .mail-wrapper {
  279. .aside-nav {
  280. display: block !important;
  281. }
  282. }
  283. }
  284. @media screen and (max-width: 856px) {
  285. .mail-wrapper {
  286. flex-direction: column;
  287. .page-aside {
  288. width: 100%;
  289. height: unset;
  290. min-height: unset;
  291. border-bottom: 1px solid #eee;
  292. border-left: 0;
  293. border-right: 0;
  294. background: $transparent-bg;
  295. padding-top: 0px;
  296. padding-bottom: 0px;
  297. .aside-header {
  298. padding-top: 25px;
  299. padding-bottom: 25px;
  300. background: $grey-color;
  301. }
  302. .aside-nav {
  303. background: $white-color;
  304. padding-top: 15px;
  305. padding-bottom: 15px;
  306. }
  307. }
  308. .mail-content {
  309. width: 100%;
  310. .inbox-head{
  311. flex-direction: column;
  312. align-items: left;
  313. h3 {
  314. font-size: 18px;
  315. }
  316. form {
  317. margin-left: 0px !important;
  318. margin-top: 15px;
  319. }
  320. }
  321. .email-head{
  322. h3 {
  323. font-size: 18px;
  324. }
  325. }
  326. .email-compose-fields {
  327. padding: 20px 15px;
  328. }
  329. }
  330. .mail-option {
  331. flex-direction: column;
  332. .email-filters-left {
  333. width: 100%;
  334. margin-bottom: 10px;
  335. }
  336. }
  337. .toggle-email-nav {
  338. display: inline-block !important;
  339. }
  340. .table-inbox {
  341. tr {
  342. td {
  343. .badge {
  344. margin-top: 5px;
  345. float: left;
  346. }
  347. }
  348. }
  349. }
  350. }
  351. }
  352. @media screen and (max-width: 767px){
  353. .wizard-container {
  354. margin-left: 15px;
  355. margin-right: 15px;
  356. }
  357. .main-panel {
  358. .page-header {
  359. flex-direction: column;
  360. align-items: normal;
  361. position: relative;
  362. min-height: 43px;
  363. justify-content: center;
  364. .breadcrumbs {
  365. margin-left: 0px;
  366. padding-top: 15px;
  367. padding-left: 5px;
  368. padding-bottom: 0px;
  369. border-left: 0px;
  370. }
  371. .btn-group-page-header{
  372. position: absolute;
  373. right: 0px;
  374. }
  375. }
  376. }
  377. .footer .container-fluid{
  378. flex-direction: column;
  379. .copyright {
  380. margin-left: 0 !important;
  381. margin-top: 10px;
  382. margin-bottom: 15px;
  383. }
  384. }
  385. }
  386. @media screen and (max-width: 576px){
  387. #chart-container {
  388. min-height: 250px;
  389. }
  390. .form-check-inline {
  391. display: flex;
  392. flex-direction: column;
  393. align-items: left;
  394. }
  395. #calendar {
  396. .fc-toolbar {
  397. display: flex;
  398. flex-direction: column;
  399. %fc-position-margin {
  400. margin: auto;
  401. margin-bottom: 15px;
  402. }
  403. .fc-left {
  404. @extend %fc-position-margin;
  405. order: 1;
  406. }
  407. .fc-right {
  408. @extend %fc-position-margin;
  409. order: 3;
  410. }
  411. .fc-center {
  412. @extend %fc-position-margin;
  413. order: 2;
  414. }
  415. }
  416. }
  417. .conversations {
  418. .conversations-body {
  419. padding: 1.5rem 1rem;
  420. }
  421. }
  422. }
  423. @media screen and (max-width: 350px){
  424. .quick_sidebar_open .quick-sidebar {
  425. width: 100%;
  426. padding: 20px;
  427. }
  428. }