This commit is contained in:
Panayiotis Lipiridis 2020-12-28 03:56:39 +02:00
parent dc2581a308
commit 154654bb9f
5 changed files with 35 additions and 35 deletions

View file

@ -3,8 +3,8 @@
.excalidraw {
.color-picker {
background: var(--popup-bg-color);
border: 0px solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0px 1px 4px;
border: 0 solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0 1px 4px;
border-radius: 4px;
position: absolute;
@ -24,10 +24,10 @@
}
.color-picker-triangle {
width: 0px;
height: 0px;
width: 0;
height: 0;
border-style: solid;
border-width: 0px 9px 10px;
border-width: 0 9px 10px;
border-color: transparent transparent var(--popup-bg-color);
position: absolute;
top: -10px;
@ -84,12 +84,12 @@
.color-picker-transparent {
border-radius: 4px;
box-shadow: transparentize($oc-black, 0.9) 0px 0px 0px 1px inset;
box-shadow: transparentize($oc-black, 0.9) 0 0 0 1px inset;
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.color-picker-transparent,
@ -104,11 +104,11 @@
width: 1.875rem;
:root[dir="ltr"] & {
border-radius: 4px 0px 0px 4px;
border-radius: 4px 0 0 4px;
}
:root[dir="rtl"] & {
border-radius: 0px 4px 4px 0px;
border-radius: 0 4px 4px 0;
}
color: var(--input-label-color);
@ -165,17 +165,17 @@
font-size: 1rem;
background-color: var(--input-bg-color);
color: var(--text-color-primary);
border: 0px;
border: 0;
outline: none;
height: 1.75em;
box-shadow: var(--input-border-color) 0px 0px 0px 1px inset;
box-shadow: var(--input-border-color) 0 0 0 1px inset;
:root[dir="ltr"] & {
border-radius: 0px 4px 4px 0px;
border-radius: 0 4px 4px 0;
}
:root[dir="rtl"] & {
border-radius: 4px 0px 0px 4px;
border-radius: 4px 0 0 4px;
}
float: left;

View file

@ -4,7 +4,7 @@
.context-menu {
position: relative;
border-radius: 4px;
box-shadow: 0px 3px 10px transparentize($oc-black, 0.8);
box-shadow: 0 3px 10px transparentize($oc-black, 0.8);
padding: 0;
list-style: none;
user-select: none;

View file

@ -9,8 +9,8 @@
.picker {
background: var(--popup-bg-color);
border: 0px solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0px 1px 4px;
border: 0 solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0 1px 4px;
border-radius: 4px;
position: absolute;
}
@ -56,8 +56,8 @@
}
.picker-triangle {
width: 0px;
height: 0px;
width: 0;
height: 0;
position: relative;
top: -10px;
:root[dir="ltr"] & {
@ -73,7 +73,7 @@
content: "";
position: absolute;
border-style: solid;
border-width: 0px 9px 10px;
border-width: 0 9px 10px;
border-color: transparent transparent transparentize($oc-black, 0.9);
top: -1px;
}
@ -82,7 +82,7 @@
content: "";
position: absolute;
border-style: solid;
border-width: 0px 9px 10px;
border-width: 0 9px 10px;
border-color: transparent transparent var(--popup-bg-color);
}
}

View file

@ -59,7 +59,7 @@
&__footer {
position: absolute;
z-index: 100;
bottom: 0px;
bottom: 0;
:root[dir="ltr"] & {
right: 0;
@ -80,7 +80,7 @@
}
:root[dir="ltr"] &.transition-right {
transform: translate(999px, 0px);
transform: translate(999px, 0);
}
:root[dir="rtl"] &.transition-left {