2020-06-04 02:06:36 +02:00
|
|
|
.dockContainer {
|
|
|
|
background: transparent;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
margin: 0 auto;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
/*On bottom, center horizontally*/
|
|
|
|
left: 50%;
|
|
|
|
-ms-transform: translateX(-50%);
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
|
|
/*Add transition*/
|
|
|
|
transition: opacity var(--transition-speed);
|
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
|
|
|
background: var(--panel-bg);
|
|
|
|
border-radius: var(--rounded-radius);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
padding: 5px;
|
|
|
|
margin: 10px;
|
|
|
|
|
|
|
|
transition: transform var(--transition-speed);
|
|
|
|
z-index: 1 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
2020-06-11 09:03:48 +02:00
|
|
|
/*Translate dock to left side if width <= 470 and height >= 540*/
|
2020-06-13 10:06:29 +02:00
|
|
|
@media screen and (max-width: 470px) and (min-height: 490px) {
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
.dockContainer {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: inline-block !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
opacity: 1;
|
|
|
|
|
2020-06-04 06:47:58 +02:00
|
|
|
position: relative !important;
|
|
|
|
margin:0 auto !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
2020-06-04 06:47:58 +02:00
|
|
|
top: 50% !important;
|
|
|
|
left: 0 !important;
|
|
|
|
bottom: 0 !important;
|
|
|
|
right: 0 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
2020-06-04 06:47:58 +02:00
|
|
|
-webkit-transform: translateY(-50%) !important;
|
|
|
|
transition: opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: inline-block !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin: 5px !important;
|
2020-06-11 09:03:48 +02:00
|
|
|
transform: scale(0.90) !important;
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: transform var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-13 10:06:29 +02:00
|
|
|
|
2020-06-04 06:44:21 +02:00
|
|
|
/*Decrease scale to 0.85 if width is less than 580px*/
|
2020-06-13 10:06:29 +02:00
|
|
|
@media screen and (max-width: 469px) and (max-height: 489px) {
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
.dockContainer {
|
2020-06-04 06:47:58 +02:00
|
|
|
position: absolute !important;
|
|
|
|
background: transparent !important;
|
|
|
|
z-index: 5 !important;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
bottom: 0 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*On bottom, center horizontally*/
|
2020-06-04 06:47:58 +02:00
|
|
|
left: 50% !important;
|
|
|
|
-ms-transform: translateX(-50%) !important;
|
|
|
|
transform: translateX(-50%) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*Add transition*/
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: flex !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin: 5px !important;
|
|
|
|
transform: scale(0.85) !important;
|
|
|
|
transition: transform var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-06-11 09:03:48 +02:00
|
|
|
|
|
|
|
/*Decrease scale to 0.75 if width is less than 380px*/
|
2020-06-13 10:06:29 +02:00
|
|
|
@media screen and (max-width: 380px) and (max-height: 489px) {
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
.dockContainer {
|
2020-06-04 06:47:58 +02:00
|
|
|
position: absolute !important;
|
|
|
|
background: transparent !important;
|
|
|
|
z-index: 5 !important;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
bottom: 0 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*On bottom, center horizontally*/
|
2020-06-04 06:47:58 +02:00
|
|
|
left: 50% !important;
|
|
|
|
-ms-transform: translateX(-50%) !important;
|
|
|
|
transform: translateX(-50%) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*Add transition*/
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: flex !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin: 5px !important;
|
2020-06-11 09:03:48 +02:00
|
|
|
transform: scale(0.75) !important;
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: transform var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-06-11 09:03:48 +02:00
|
|
|
/*Decrease scale to 0.70 if width is less than or equal to 374px and greater than or equal to 320px*/
|
2020-06-13 10:06:29 +02:00
|
|
|
@media screen and (max-width: 350px) and (min-width: 320px) and (max-height: 489px) {
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
.dockContainer {
|
2020-06-04 06:47:58 +02:00
|
|
|
position: absolute !important;
|
|
|
|
background: transparent !important;
|
|
|
|
z-index: 5 !important;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
bottom: 0 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*On bottom, center horizontally*/
|
2020-06-04 06:47:58 +02:00
|
|
|
left: 50% !important;
|
|
|
|
-ms-transform: translateX(-50%) !important;
|
|
|
|
transform: translateX(-50%) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*Add transition*/
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: flex !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
margin: 5px !important;
|
2020-06-11 09:03:48 +02:00
|
|
|
transform: scale(0.70) !important;
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: transform var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-11 09:03:48 +02:00
|
|
|
|
2020-06-04 06:44:21 +02:00
|
|
|
/*Scale to 0 if less than 320px*/
|
2020-06-13 10:06:29 +02:00
|
|
|
@media screen and (max-width: 319px) and (max-height: 489px) {
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
.dockContainer {
|
2020-06-04 06:47:58 +02:00
|
|
|
position: absolute !important;
|
|
|
|
background: transparent !important;
|
|
|
|
z-index: 5 !important;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
bottom: 0 !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*On bottom, center horizontally*/
|
2020-06-04 06:47:58 +02:00
|
|
|
left: 50% !important;
|
|
|
|
-ms-transform: translateX(-50%) !important;
|
|
|
|
transform: translateX(-50%) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
/*Add transition*/
|
2020-06-04 06:47:58 +02:00
|
|
|
transition: opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#dock {
|
2020-06-04 06:47:58 +02:00
|
|
|
display: flex !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
opacity: 0 !important;
|
|
|
|
margin: 5px !important;
|
|
|
|
transform: scale(0.0) !important;
|
|
|
|
transition: transform var(--transition-speed),
|
|
|
|
opacity var(--transition-speed) !important;
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|
2020-06-11 09:03:48 +02:00
|
|
|
}
|