re-nav/source/options/scss/components/editor.scss

64 lines
1.2 KiB
SCSS
Raw Permalink Normal View History

2022-10-27 13:48:34 +00:00
.editor {
align-items: center;
background-color: var(--db-2);
2022-10-27 19:33:46 +00:00
border: 1px solid transparent;
2022-10-27 13:48:34 +00:00
display: flex;
padding: 8px;
2022-10-27 19:33:46 +00:00
&.has-been-edited {
border: 1px solid var(--da-3);
}
2022-10-27 13:48:34 +00:00
.arrow-span {
aspect-ratio: 1;
align-items: center;
display: flex;
height: 100%;
font-weight: bold;
justify-content: center;
}
.button {
aspect-ratio: 1;
height: 100%;
margin-left: 8px;
padding: 0;
&.enabled {
--button-background-color: var(--da-4);
2022-10-27 13:48:34 +00:00
}
&.disabled {
--button-background-color: var(--da-2);
2022-10-27 13:48:34 +00:00
}
2022-11-23 13:14:35 +00:00
&.share {
--button-background-color: var(--da-7);
2022-11-23 13:14:35 +00:00
}
2022-10-27 13:48:34 +00:00
}
.input {
background-color: var(--db-1);
border: 1px solid var(--df-2);
color: var(--df-1);
height: 100%;
padding: 4px;
width: 100%;
}
.select {
appearance: none;
background: url('../../../assets/down-arrow.svg') no-repeat center right;
background-size: 1.5rem;
background-color: var(--db-1);
border: 1px solid var(--df-2);
border-radius: 0;
color: var(--df-1);
cursor: pointer;
height: 100%;
margin-right: 8px;
padding: 4px 24px 4px 4px;
width: fit-content;
}
}