mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Set media queries to viewport, not device
This commit is contained in:
parent
86ea370cf4
commit
3500ee7b33
17 changed files with 26 additions and 26 deletions
|
@ -87,7 +87,7 @@
|
|||
}
|
||||
|
||||
@media only screen
|
||||
and (max-device-width : 414px) {
|
||||
and (max-width : 414px) {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width : 1024px) {
|
||||
@media only screen and (max-width : 1024px) {
|
||||
position: fixed;
|
||||
height: calc(100vh - #{$headerHeight + $footerHeight});
|
||||
padding-bottom: $footerHeight; // make sure the footer can never overlap the content
|
||||
|
@ -188,7 +188,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
position: relative;
|
||||
padding-left: 84px;
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
@media only screen and (max-width : 768px) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
@ -130,7 +130,7 @@
|
|||
left: 0;
|
||||
top: -7px;
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
@media only screen and (max-width : 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
position: relative;
|
||||
padding-left: 84px;
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
@media only screen and (max-width : 768px) {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@
|
|||
left: 0;
|
||||
top: -7px;
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
@media only screen and (max-width : 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -305,7 +305,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
.top-sections {
|
||||
display: block;
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
|
||||
@media only screen
|
||||
and (max-device-width : 768px) {
|
||||
and (max-width : 768px) {
|
||||
h1.heading {
|
||||
font-size: 18px;
|
||||
min-height: 0;
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
input {
|
||||
&[type="text"], &[type="email"], &[type="password"] {
|
||||
width: 100%;
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
margin-top: 12px;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -330,7 +330,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
form.user-create, form.user-edit {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
@ -363,8 +363,8 @@
|
|||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width : 668px)
|
||||
and (max-device-width : 768px) {
|
||||
and (min-width : 668px)
|
||||
and (max-width : 768px) {
|
||||
.users {
|
||||
flex-direction: column;
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
position: fixed;
|
||||
height: calc(100vh - #{$headerHeight + $footerHeight});
|
||||
padding-bottom: $footerHeight; // make sure the footer can never overlap the content
|
||||
|
|
|
@ -534,7 +534,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
table, tbody, tr {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -369,7 +369,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 768px) {
|
||||
@media only screen and (max-width : 768px) {
|
||||
position: fixed;
|
||||
max-width: 414px;
|
||||
left: auto;
|
||||
|
|
|
@ -361,7 +361,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
position: absolute !important;
|
||||
right: 0;
|
||||
height: $footerHeight;
|
||||
|
@ -423,7 +423,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
flex: 1;
|
||||
|
||||
&::before {
|
||||
|
@ -446,7 +446,7 @@
|
|||
|
||||
@include hasSoftGradientOnTop($colorMainBgr);
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -509,7 +509,7 @@
|
|||
}
|
||||
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
.meta, .title {
|
||||
display: none;
|
||||
}
|
||||
|
@ -531,7 +531,7 @@
|
|||
width: 16px;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 768px) {
|
||||
@media only screen and (max-width: 768px) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 667px) {
|
||||
@media only screen and (max-width: 667px) {
|
||||
display: flex;
|
||||
align-content: stretch;
|
||||
justify-content: flext-start;
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
@include vertical-center();
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width : 667px) {
|
||||
@media only screen and (max-width : 667px) {
|
||||
flex: 0 0 96px;
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
|
|
Loading…
Reference in a new issue