caisse-bliss/assets/css/pages/responsive.scss

158 lines
2.2 KiB
SCSS
Raw Normal View History

2018-06-04 13:11:40 +02:00
@media all and(max-width: 1200px) {
2019-06-12 14:13:36 +02:00
nav {
2019-02-22 22:25:39 +01:00
min-width: auto;
}
2019-06-12 14:13:36 +02:00
html, body {
2018-08-27 16:16:54 +02:00
font-size: 1.2rem;
}
.bg-shader {
2019-06-12 14:13:36 +02:00
height: 100%;
min-height: 100vh;
}
2018-08-27 16:16:54 +02:00
.product-values-block {
padding: 1em;
}
2019-06-12 14:13:36 +02:00
#homepage {
.main-section {
2018-08-27 16:16:54 +02:00
padding: 2rem;
}
2019-06-12 14:13:36 +02:00
.btn {
display: block;
2018-08-27 16:16:54 +02:00
width: 100%;
font-size: 1.25em;
}
}
2018-06-04 13:11:40 +02:00
#caisse-now {
.product-box {
width: 100%;
}
2019-06-12 14:13:36 +02:00
2018-06-04 13:11:40 +02:00
.product-button {
min-width: calc(100% - 56px)
}
2019-06-12 14:13:36 +02:00
2018-08-27 16:24:17 +02:00
.listing-products {
.btn, button {
font-size: 1rem;
padding: 0.2em;
border-radius: 0.3em;
}
}
2018-06-04 13:11:40 +02:00
}
}
2019-06-12 14:13:36 +02:00
@media all and(max-width: 1200px) {
#bodyland {
.container {
min-height: 100vh;
width: 80vw;
}
}
#menu-dashboard {
font-size: 1rem;
width: 19vw;
min-width: 200px;
.nav {
min-width: 200px;
}
}
form {
margin-top: 3em;
select {
width: 100%;
margin: 1em 0;
}
+ ul {
margin-top: 1em;
list-style-type: none;
a {
display: block;
.fa {
margin-right: 1em;
}
}
}
}
}
2018-06-04 13:11:40 +02:00
@media all and(max-width: 600px) {
2019-06-12 14:13:36 +02:00
html, body {
font-size: 1rem;
}
#menu-dashboard .nav .logo-home.btn-default {
height: auto;
font-size: 2em;
}
#menu-dashboard {
width: 100vw;
visibility: hidden;
&.shown {
visibility: visible;
}
.nav {
min-width: 200px;
height: 100vh;
overflow: auto;
a {
font-size: 2rem;
}
}
}
2019-06-12 14:20:53 +02:00
.main-section > div {
padding-top: 0;
}
.product-values{
padding: 0;
}
.bigger-text, #homepage, .hint, .product-values-block {
font-size: 1.25rem;
line-height: 2rem;
}
2019-06-12 14:13:36 +02:00
.category-listing {
2019-06-12 14:20:53 +02:00
width: calc(100vw - 4rem);
2019-06-12 14:13:36 +02:00
height: 25vh;
min-height: auto;
float: left;
clear: both;
overflow: auto;
2018-08-27 16:16:54 +02:00
}
2019-06-12 14:13:36 +02:00
.sellings, .client-now {
input {
width: 100%;
font-size: 1.5rem;
padding: 0.5rem;
}
}
.big-footer {
font-size: 1rem;
}
#caisse-now .product-box {
margin-bottom: 0.25rem;
}
#caisse-now .listing-products button {
padding: 0.5rem 1rem;
.express-button {
padding: 0.5rem 1rem;
}
2018-06-04 13:11:40 +02:00
}
}