1
0
Fork 0
web2019/static/css/order-hardware.css

683 lines
14 KiB
CSS
Raw Normal View History

.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 1.5rem;
}
#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;
}
/*
##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 .layout>aside.aside {
min-width: max(300px, 30%);
}
#root-shop .layout>aside.aside .gradient-bottom {
width: inherit;
}
#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: .75rem;
}
#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: 0.8rem;
}
#root-shop .panel .summary>.summary-form form,
#root-shop .panel .summary>.summary-form .order-bar {
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: .2em 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: .8rem;
}
#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: .2em 0;
display: flex !important;
justify-content: space-between;
}
#root-shop .panel .summary {
flex-direction: column;
}
#root-shop .panel .summary>.summary-price table {
font-size: .8rem;
}
#root-shop .panel .summary>.summary-form form,
#root-shop .panel .summary>.summary-form .order-bar {
width: 100%;
}
#root-shop .panel .summary>.summary-price tfoot {
font-size: 1.0rem;
}
/*#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;
}
2019-12-30 18:14:04 +08:00
body {
font-size: .8rem;
}
#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)*/
2019-12-30 18:14:04 +08:00
}
#root-shop .productItem {
padding: 1rem .5rem .5rem;
2019-12-30 18:14:04 +08:00
}
#root-shop .productItem .content img {
height: 230px;
}
#root-shop .productItem .content .price {
padding: .3rem;
}
#root-shop .productItem .content h3 {
font-size: 1.25rem;
2019-12-30 18:14:04 +08:00
}
#root-shop .productItem .content ul {
font-size: .75rem;
2019-12-30 18:14:04 +08:00
}
#root-shop .panel {
padding: 1.3rem;
}
#root-shop .panel .control {
flex-direction: column;
margin-bottom: 1.5rem;
}
#root-shop .panel .control > .description {
2019-12-30 18:14:04 +08:00
width: 100%;
}
#root-shop .panel .crate .crate-bar .crate-mode {
2019-12-30 18:14:04 +08:00
text-align: left;
width: 50%;
}
#root-shop .panel .crate .crate-bar .crate-mode a {
display: block;
2019-12-30 18:14:04 +08:00
}
#root-shop .panel .summary {
flex-direction: column;
}
#root-shop .panel h2 {
font-size: 1.5rem;
}
2019-12-30 18:14:04 +08:00
#root-shop .panel .summary>.summary-price table {
font-size: .8rem;
2019-12-30 18:14:04 +08:00
}
#root-shop .panel .summary>.summary-form form,
#root-shop .panel .summary>.summary-form .order-bar {
2019-12-30 18:14:04 +08:00
width: 100%;
}
#root-shop .panel .summary>.summary-price tfoot {
font-size: 1rem;
2019-12-30 18:14:04 +08:00
}
/*#root-shop .panel .summary>.summary-form form input[type="submit"] {
2019-12-30 18:14:04 +08:00
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-left: -1.3rem;
position: relative;
z-index: 1;
2019-12-30 18:14:04 +08:00
}
#root-shop .mobileBtnDisplaySideMenu button,
#root-shop .mobileCloseMenu button {
-webkit-appearance: none;
background: none;
border: none;
2019-12-30 18:14:04 +08:00
}
#root-shop table {
width: 100%;
max-width: 100%;
}
#root-shop table tr {
padding: .2em 0;
2019-12-30 18:14:04 +08:00
display: flex !important;
justify-content: space-between;
}
#root-shop .layout>aside.aside.menu-opened {
/*transform: translate3d(0, 0, 0);*/
transition: left .3s;
width: min(310px, 60vw);
max-width: 60%;
left: 0;
}
#root-shop .layout>aside.aside.menu-opened + section.main {
/*transform: translate3d(310px, 0, 0);*/
transition: left .3s;
left: min(310px, 60vw);
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;
z-index: 10;
}
#root-shop .layout>aside.aside {
/*transform: translate3d(-310px, 0px, 0px);*/
transition: left .3s;
position: fixed;
z-index: 1;
left: max(-310px, -60vw);
width: min(310px, 60vw);
height: 100%;
}
#root-shop .layout>aside.aside .gradient-bottom {
display: none;
}
#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 > .catalog-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: 1.5rem;
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: .8rem;
}
#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: 1.25rem;
}
#root-shop .layout>aside.aside.menu-opened {
/*transform: translate3d(0, 0, 0);*/
transition: left .3s;
width: min(310px, 90vw);
max-width: 90%;
left: 0;
}
#root-shop .layout>aside.aside.menu-opened + section.main {
/*transform: translate3d(310px, 0, 0);*/
transition: left .3s;
left: min(310px, 90vw);
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: max(-310px, -90vw);
width: min(310px, 90vw);
height: 100%;
}
#root-shop .layout>aside.aside .gradient-bottom {
display: none;
}
#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: .8rem;
}
#root-shop .panel .summary>.summary-form form,
#root-shop .panel .summary>.summary-form .order-bar {
width: 100%;
}
#root-shop .panel .summary>.summary-price tfoot {
font-size: 1rem;
}
/*#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-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%;
}
2019-12-26 21:57:38 +08:00
#root-shop table tr {
padding: .2em 0;
display: flex !important;
justify-content: space-between;
}
#root-shop .layout>aside.aside.menu-opened {
overflow: initial;
}
#root-shop .layout>aside.aside.menu-opened > .catalog-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: 1.5rem;
padding: .5rem 0.5rem;
}
}