Update simple-translate.css
This commit is contained in:
parent
302a8cae12
commit
80eb56a8cc
|
@ -1,3 +1,12 @@
|
||||||
|
:root {
|
||||||
|
--main-text: #0c0c0d;
|
||||||
|
--sub-text: #737373;
|
||||||
|
--line: #ededf0;
|
||||||
|
--button: #d7d7db;
|
||||||
|
--highlight: #5595ff;
|
||||||
|
--main-bg: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
#simple-translate-button {
|
#simple-translate-button {
|
||||||
all: initial;
|
all: initial;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@ -21,7 +30,7 @@
|
||||||
|
|
||||||
#simple-translate-panel {
|
#simple-translate-panel {
|
||||||
all: initial;
|
all: initial;
|
||||||
background-color: #fff;
|
background-color: var(--main-bg);
|
||||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
@ -43,13 +52,16 @@
|
||||||
all: initial;
|
all: initial;
|
||||||
font-family: 'Segoe UI', 'San Francisco', 'Ubuntu', 'Fira Sans', 'Roboto', 'Arial', 'Helvetica', sans-serif !important;
|
font-family: 'Segoe UI', 'San Francisco', 'Ubuntu', 'Fira Sans', 'Roboto', 'Arial', 'Helvetica', sans-serif !important;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
display: inline-block;
|
display: block;
|
||||||
|
font-size: inherit;
|
||||||
|
color: var(--main-text);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
#simple-translate-panel p::-moz-selection {
|
#simple-translate-panel p::-moz-selection {
|
||||||
background: #ebebeb;
|
background: var(--line);
|
||||||
|
}
|
||||||
|
|
||||||
#simple-translate-panel .candidate {
|
#simple-translate-panel .candidate {
|
||||||
color: var(--sub-text);
|
color: var(--sub-text);
|
||||||
|
|
Loading…
Reference in a new issue