web2019/static/css/order-hardware.css

562 lines
10 KiB
CSS
Raw Normal View History

.mobileCloseMenu {
display: flex;
justify-content: flex-end;
padding: 1em 1em 0;
}
.simu-clone {
z-index: 10;
}
.feedback-add-success {
display: 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 - 50px);
}
#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 .panel .control > .crate-mode {
width: 100%;
}
#root-shop .panel .control > .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;
}
}
/*
##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 - 50px);
}
#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;
}
}
/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/
@media (min-width: 481px) and (max-width: 767px) {
.feedback-add-success {
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;
}
.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: .7rem;
}
#root-shop, #root-shop>div {
/*height: calc(100vh - 50px);*/
height: 100%;
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: 1rem;
2019-12-30 18:14:04 +08:00
}
#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,
#root-shop .panel .control > .crate-mode {
width: 100%;
}
#root-shop .panel .control > .crate-mode {
text-align: left;
}
#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: .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;
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: .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%;
}
}
/*
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
.feedback-add-success {
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;
}
.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 - 50px);
}
#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,
#root-shop .panel .control > .crate-mode {
width: 100%;
}
#root-shop .panel .control > .crate-mode {
text-align: left;
}
#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%;
}
2019-12-26 21:57:38 +08:00
#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%;
}
}