forked from M-Labs/web2019
679 lines
13 KiB
CSS
679 lines
13 KiB
CSS
.mobileCloseMenu {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 1em 1em 0;
|
|
}
|
|
|
|
.simclone {
|
|
z-index: 10;
|
|
}
|
|
|
|
.feedback-add-success {
|
|
display: none;
|
|
}
|
|
.feedback-add-failure {
|
|
background-color: #c75e5e;
|
|
display: block;
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 1em;
|
|
z-index: 100000;
|
|
color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 5px 3px;
|
|
}
|
|
|
|
#accordion_categories,
|
|
#accordion_categories .accordion-header,
|
|
#accordion_categories .accordion-button,
|
|
#accordion_categories .accordion-item {
|
|
background-color: inherit;
|
|
border: none;
|
|
--bs-accordion-border-width: 0;
|
|
}
|
|
|
|
.accordion-button:focus {
|
|
box-shadow: none;
|
|
border-color: rgba(0,0,0,.125);
|
|
}
|
|
|
|
#accordion_categories .accordion-item:not(:first-child) {
|
|
border-top: thin rgba(255,255, 255, 20%) solid ;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#accordion_categories .accordion-header {
|
|
padding: 0;
|
|
}
|
|
|
|
#accordion_categories .accordion-button:after {
|
|
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
|
|
}
|
|
|
|
#accordion_categories button {
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.75rem;
|
|
padding: .75rem 2rem;
|
|
}
|
|
|
|
#accordion_categories .accordion-body {
|
|
padding: 0;
|
|
}
|
|
|
|
#accordion_categories .accordion-header:hover {
|
|
background-color: #1f4f68;
|
|
transition: 0.3s;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#accordion_categories button:focus,
|
|
#accordion_categories button:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.options-notification {
|
|
width: 5px;
|
|
height: 5px;
|
|
position: relative;
|
|
top: -2.5px;
|
|
right: -2.5px;
|
|
}
|
|
|
|
/*
|
|
##Device = Tablets, Ipads (portrait)
|
|
##Screen = B/w 768px to 1024px
|
|
*/
|
|
@media (min-width: 768px) and (max-width: 1080px) {
|
|
.logo > img {
|
|
height: 20px;
|
|
}
|
|
.navbar {
|
|
padding-top: 5px !important;
|
|
padding-bottom: 5px !important;
|
|
}
|
|
|
|
body {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop, #root-shop>div {
|
|
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
|
|
}
|
|
|
|
#root-shop .productItem {
|
|
padding: 2rem 1rem 1rem;
|
|
}
|
|
|
|
#root-shop .productItem .content img {
|
|
height: 300px;
|
|
}
|
|
|
|
#root-shop .productItem .content .price {
|
|
padding: .5rem;
|
|
}
|
|
|
|
#root-shop .productItem .content h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#root-shop .productItem .content ul {
|
|
font-size: .6rem;
|
|
}
|
|
|
|
#root-shop .panel .control {
|
|
flex-direction: column;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
#root-shop .panel .control > .description,
|
|
#root-shop .crate-mode {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .crate-mode {
|
|
text-align: left;
|
|
}
|
|
|
|
#root-shop .panel .summary {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price table {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-form form {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu,
|
|
#root-shop .mobileCloseMenu {
|
|
display: none !important;
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu button,
|
|
#root-shop .mobileCloseMenu button {
|
|
-webkit-appearance: none !important;
|
|
background: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
#root-shop table {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#root-shop table tr {
|
|
padding: .8em 0;
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price,
|
|
#root-shop .panel .summary>.summary-form {
|
|
width: 100%;
|
|
}
|
|
|
|
#accordion_categories button {
|
|
font-size: 1.5rem;
|
|
padding: .75rem 1rem;
|
|
}
|
|
}
|
|
/*
|
|
##Device = Tablets, Ipads (landscape)
|
|
##Screen = B/w 768px to 1024px
|
|
*/
|
|
@media (min-width: 768px) and (max-width: 1080px) and (orientation: landscape) {
|
|
.logo > img {
|
|
height: 20px;
|
|
}
|
|
.navbar {
|
|
padding-top: 5px !important;
|
|
padding-bottom: 5px !important;
|
|
}
|
|
|
|
body {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop, #root-shop>div {
|
|
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu,
|
|
#root-shop .mobileCloseMenu {
|
|
display: none !important;
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu button,
|
|
#root-shop .mobileCloseMenu button {
|
|
-webkit-appearance: none !important;
|
|
background: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
#root-shop table {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#root-shop table tr {
|
|
padding: .8em 0;
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#root-shop .panel .summary {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price table {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-form form {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price tfoot {
|
|
font-size: .85rem;
|
|
}
|
|
|
|
/*#root-shop .panel .summary>.summary-form form input[type="submit"] {
|
|
margin-bottom: 1em;
|
|
}*/
|
|
#root-shop .panel .summary>.summary-price,
|
|
#root-shop .panel .summary>.summary-form {
|
|
width: 100%;
|
|
}
|
|
|
|
#accordion_categories button {
|
|
font-size: 1.5rem;
|
|
padding: .75rem 1rem;
|
|
}
|
|
}
|
|
/*
|
|
##Device = Low Resolution Tablets, Mobiles (Landscape)
|
|
##Screen = B/w 481px to 767px
|
|
*/
|
|
@media (min-width: 481px) and (max-width: 767px) {
|
|
.feedback-add-success, .feedback-add-failure {
|
|
background-color: green;
|
|
display: block;
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 1em;
|
|
z-index: 100000;
|
|
color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 5px 3px;
|
|
}
|
|
.feedback-add-failure {
|
|
background-color: #c75e5e;
|
|
}
|
|
|
|
.dropdown-item {
|
|
font-size: .75em;
|
|
}
|
|
/*.sticky-top {
|
|
position: fixed;
|
|
}*/
|
|
.logo > img {
|
|
height: 20px;
|
|
}
|
|
.navbar {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
body {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop, #root-shop>div {
|
|
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
|
|
}
|
|
|
|
#root-shop .productItem {
|
|
padding: 1rem .5rem .5rem;
|
|
}
|
|
|
|
#root-shop .productItem .content img {
|
|
height: 230px;
|
|
}
|
|
|
|
#root-shop .productItem .content .price {
|
|
padding: .3rem;
|
|
}
|
|
|
|
#root-shop .productItem .content h3 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#root-shop .productItem .content ul {
|
|
font-size: .5rem;
|
|
}
|
|
|
|
#root-shop .panel {
|
|
padding: 1.3rem;
|
|
}
|
|
|
|
#root-shop .panel .control {
|
|
flex-direction: column;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
#root-shop .panel .control > .description {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel .crate .crate-bar .crate-mode {
|
|
text-align: left;
|
|
width: 50%;
|
|
}
|
|
#root-shop .panel .crate .crate-bar .crate-mode a {
|
|
display: block;
|
|
}
|
|
|
|
#root-shop .panel .summary {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#root-shop .panel h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price table {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-form form {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price tfoot {
|
|
font-size: .85rem;
|
|
}
|
|
|
|
/*#root-shop .panel .summary>.summary-form form input[type="submit"] {
|
|
margin-bottom: 1em;
|
|
}*/
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu {
|
|
background-color: #0d3547;
|
|
border-bottom-right-radius: 30px;
|
|
border-top-right-radius: 30px;
|
|
width: 80px;
|
|
padding: 5px 0 5px 10px;
|
|
margin-bottom: -25px;
|
|
margin-left: -1.3rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu button,
|
|
#root-shop .mobileCloseMenu button {
|
|
-webkit-appearance: none;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
#root-shop table {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#root-shop table tr {
|
|
padding: .8em 0;
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened {
|
|
/*transform: translate3d(0, 0, 0);*/
|
|
transition: left .3s;
|
|
width: 310px;
|
|
left: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened + section.main {
|
|
/*transform: translate3d(310px, 0, 0);*/
|
|
transition: left .3s;
|
|
left: 310px;
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened + section.main:after {
|
|
content: '';
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside {
|
|
/*transform: translate3d(-310px, 0px, 0px);*/
|
|
transition: left .3s;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: -310px;
|
|
width: 310px;
|
|
height: 100%;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside:after {
|
|
width: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside + section.main {
|
|
/*transform: translate3d(0, 0, 0);*/
|
|
transition: left .3s;
|
|
left: 0;
|
|
}
|
|
|
|
#root-shop .layout>section.main {
|
|
flex: 1;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.should-disappear {
|
|
display: none!important;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened {
|
|
overflow: initial;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened > .backlog-container {
|
|
overflow-y: scroll;
|
|
height: 100%;
|
|
}
|
|
#root-shop .panel .summary>.summary-price,
|
|
#root-shop .panel .summary>.summary-form {
|
|
width: 100%;
|
|
}
|
|
|
|
#accordion_categories button {
|
|
font-size: 1rem;
|
|
padding: .5rem 0.5rem;
|
|
}
|
|
}
|
|
/*
|
|
##Device = Most of the Smartphones Mobiles (Portrait)
|
|
##Screen = B/w 320px to 479px
|
|
*/
|
|
@media (min-width: 320px) and (max-width: 480px) {
|
|
.feedback-add-success, .feedback-add-failure {
|
|
background-color: green;
|
|
display: block;
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 1em;
|
|
z-index: 100000;
|
|
color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 5px 3px;
|
|
}
|
|
.feedback-add-failure {
|
|
background-color: #c75e5e;
|
|
}
|
|
|
|
.dropdown-item {
|
|
font-size: .75em;
|
|
}
|
|
/*.sticky-top {
|
|
position: fixed;
|
|
}*/
|
|
.logo > img {
|
|
height: 20px;
|
|
}
|
|
.navbar {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
body {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop, #root-shop>div {
|
|
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
|
|
}
|
|
|
|
#root-shop .productItem {
|
|
padding: 1rem .5rem .5rem;
|
|
}
|
|
|
|
#root-shop .productItem .content .price {
|
|
padding: .3rem;
|
|
}
|
|
|
|
#root-shop .productItem .content h3 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened {
|
|
/*transform: translate3d(0, 0, 0);*/
|
|
transition: left .3s;
|
|
width: 310px;
|
|
left: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened + section.main {
|
|
/*transform: translate3d(310px, 0, 0);*/
|
|
transition: left .3s;
|
|
left: 310px;
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened + section.main:after {
|
|
content: '';
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside {
|
|
/*transform: translate3d(-310px, 0px, 0px);*/
|
|
transition: left .3s;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: -310px;
|
|
width: 310px;
|
|
height: 100%;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside:after {
|
|
width: 0;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside + section.main {
|
|
/*transform: translate3d(0, 0, 0);*/
|
|
transition: left .3s;
|
|
left: 0;
|
|
}
|
|
|
|
#root-shop .layout>section.main {
|
|
flex: 1;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#root-shop .productItem {
|
|
padding: 2rem 1rem 1rem;
|
|
}
|
|
|
|
#root-shop .productItem .content img {
|
|
height: 300px;
|
|
}
|
|
|
|
#root-shop .productItem .content .price {
|
|
padding: .5rem;
|
|
}
|
|
|
|
#root-shop .panel {
|
|
padding: 1.3rem;
|
|
}
|
|
|
|
#root-shop .panel .control {
|
|
flex-direction: column;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
#root-shop .panel h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#root-shop .panel .control > .description {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel .crate .crate-bar .crate-mode {
|
|
text-align: left;
|
|
width: 50%;
|
|
}
|
|
#root-shop .panel .crate .crate-bar .crate-mode a {
|
|
display: block;
|
|
}
|
|
|
|
#root-shop .panel .summary {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price table {
|
|
font-size: .7rem;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-form form {
|
|
width: 100%;
|
|
}
|
|
|
|
#root-shop .panel .summary>.summary-price tfoot {
|
|
font-size: .85rem;
|
|
}
|
|
|
|
/*#root-shop .panel .summary>.summary-form form input[type="submit"] {
|
|
margin-bottom: 1em;
|
|
}*/
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu {
|
|
background-color: #0d3547;
|
|
border-bottom-right-radius: 30px;
|
|
border-top-right-radius: 30px;
|
|
width: 80px;
|
|
padding: 5px 0 5px 10px;
|
|
margin-bottom: 15px;
|
|
margin-left: -1.3rem;
|
|
}
|
|
|
|
#root-shop .mobileBtnDisplaySideMenu button,
|
|
#root-shop .mobileCloseMenu button {
|
|
-webkit-appearance: none;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
#root-shop table {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
#root-shop table tr {
|
|
padding: .8em 0;
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened {
|
|
overflow: initial;
|
|
}
|
|
|
|
#root-shop .layout>aside.aside.menu-opened > .backlog-container {
|
|
overflow-y: scroll;
|
|
height: 100%;
|
|
}
|
|
#root-shop .panel .summary>.summary-price,
|
|
#root-shop .panel .summary>.summary-form {
|
|
width: 100%;
|
|
}
|
|
|
|
#accordion_categories button {
|
|
font-size: 1rem;
|
|
padding: .5rem 0.5rem;
|
|
}
|
|
} |