IDEMPIERE-4529 Set Default Desktop Font size by Screen Width (#365)
This commit is contained in:
parent
d76f731571
commit
4e121d20ee
|
@ -18,15 +18,39 @@ html,body {
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
font-size: 14px;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||||
}
|
}
|
||||||
|
@media screen and (min-device-width: 2500px) {
|
||||||
|
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-device-width: 2499px) {
|
||||||
|
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-device-width: 1899px) {
|
||||||
|
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-device-width: 1399px) {
|
||||||
|
[class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<%-- Mobile/Tablet --%>
|
<%-- Mobile/Tablet --%>
|
||||||
.tablet-scrolling {
|
.tablet-scrolling {
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
.mobile [class*="z-"] {
|
<%-- default font size for mobile --%>
|
||||||
|
.mobile [class*="z-"]:not([class*="z-icon-"]):not([class*="z-group-icon-"]) {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
<%-- the not=xyz is needed to get this selected over standard zk rule --%>
|
||||||
|
.mobile [class*="z-icon-"]:not([class*="xyz"]), .mobile [class*="z-group-icon-"] {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue