forked from extern/the-glorious-startpage
cleanup css variables
This commit is contained in:
parent
91f71eb4e9
commit
96b2e988a2
@ -66,7 +66,7 @@
|
|||||||
z-index: 6 !important;
|
z-index: 6 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
.showRightDashboard {
|
.showRightDashboard {
|
||||||
width: 100vw !important;
|
width: 100vw !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*Decrease scale to 0.85 if width is less than 580px*/
|
/*Decrease scale to 0.85 if width is less than 470px*/
|
||||||
@media screen and (max-width: 469px) and (max-height: 489px) {
|
@media screen and (max-width: 469px) and (max-height: 489px) {
|
||||||
|
|
||||||
.dockContainer {
|
.dockContainer {
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
pointer-events: initial !important;
|
pointer-events: initial !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
#searchBox {
|
#searchBox {
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ select::-ms-expand {
|
|||||||
background: var(--base-focus-bg);
|
background: var(--base-focus-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
.searchEngine {
|
.searchEngine {
|
||||||
width: 96vw;
|
width: 96vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -175,7 +175,7 @@ select::-ms-expand {
|
|||||||
background: var(--panel-bg);
|
background: var(--panel-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
.themeEngine {
|
.themeEngine {
|
||||||
width: 96vw;
|
width: 96vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
#weatherScreen {
|
#weatherScreen {
|
||||||
padding-top: 6vh;
|
padding-top: 6vh;
|
||||||
padding-bottom: 0vh;
|
padding-bottom: 0vh;
|
||||||
@ -211,7 +211,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
|
|
||||||
.weatherForecast {
|
.weatherForecast {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -163,7 +163,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
.weatherSettings {
|
.weatherSettings {
|
||||||
width: 96vw;
|
width: 96vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -2,24 +2,19 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--panel-bg);
|
background: var(--panel-bg);
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
backdrop-filter: blur(var(--blur-strength));
|
backdrop-filter: blur(var(--blur-strength));
|
||||||
|
|
||||||
padding-top: 6vh;
|
padding-top: 40px;
|
||||||
padding-bottom: 6vh;
|
padding-bottom: 6vh;
|
||||||
padding-left: 12vw;
|
padding-left: 12vw;
|
||||||
padding-right: 12vw;
|
padding-right: 12vw;
|
||||||
|
|
||||||
/*Dont increase the geometry by using padding*/
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
/*Disable user touch/select on text elements*/
|
/*Disable user touch/select on text elements*/
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
@ -32,11 +27,11 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
transition: transform var(--transition-speed),
|
transition: transform var(--transition-speed),
|
||||||
opacity var(--transition-speed),
|
opacity var(--transition-speed),
|
||||||
z-index var(--transition-speed);
|
z-index var(--transition-speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
#webMenu {
|
#webMenu {
|
||||||
padding-top: 6vh;
|
padding-top: 6vh;
|
||||||
padding-bottom: 0vh;
|
padding-bottom: 0vh;
|
||||||
@ -45,12 +40,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-height: 799px) {
|
|
||||||
#webMenu {
|
|
||||||
padding-top: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Show web menu*/
|
/*Show web menu*/
|
||||||
.showWebMenu {
|
.showWebMenu {
|
||||||
transform: scale(1) !important;
|
transform: scale(1) !important;
|
||||||
@ -60,7 +49,7 @@
|
|||||||
|
|
||||||
#webMenuContainer {
|
#webMenuContainer {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
max-height: 100%;
|
max-height: 100vh;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@ -88,7 +77,7 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
#webMenuSearchBox {
|
#webMenuSearchBox {
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
}
|
}
|
||||||
@ -111,6 +100,7 @@
|
|||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
flex-grow: 1;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -122,7 +112,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 580px) {
|
@media screen and (max-width: 470px) {
|
||||||
#webMenuList li {
|
#webMenuList li {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
@ -213,27 +203,18 @@
|
|||||||
|
|
||||||
#webMenuListContainer {
|
#webMenuListContainer {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 70vh;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
max-height: 74vh;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
/*scrollbar-width: none !important;
|
|
||||||
-ms-overflow-style: none !important;*/
|
|
||||||
|
|
||||||
/*Fade transparency*/
|
/*Fade transparency*/
|
||||||
/*-webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);*/
|
/*-webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);*/
|
||||||
/*mask-image: linear-gradient(to bottom, black 85%, transparent 100%);*/
|
/*mask-image: linear-gradient(to bottom, black 85%, transparent 100%);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Hide scrollbar*/
|
/*Stretch list item if screen width < 470px*/
|
||||||
/*#webMenuListContainer::-webkit-scrollbar {
|
@media screen and (max-width: 470px) {
|
||||||
display: none;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
/*Stretch list item if screen width < 580px*/
|
|
||||||
@media screen and (max-width: 580px) {
|
|
||||||
#webMenuList {
|
#webMenuList {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user