Move each the element-specific styles into separate files

This commit is contained in:
Oliver-Akins 2024-12-30 22:01:44 -07:00
parent ff43ef2eb9
commit 05f111682e
4 changed files with 45 additions and 44 deletions

15
Apps/elements/input.css Normal file
View file

@ -0,0 +1,15 @@
.ripcrypt > .window-content input {
all: revert;
box-sizing: border-box;
border: none;
outline: none;
font-family: inherit;
font-size: inherit;
position: relative;
background: none;
&[type="text"],
&[type="number"] {
border-bottom: 2px dashed purple;
}
}

11
Apps/elements/select.css Normal file
View file

@ -0,0 +1,11 @@
.ripcrypt > .window-content select {
all: revert;
appearance: auto;
box-sizing: border-box;
border: none;
outline: none;
font-family: inherit;
font-size: inherit;
display: flex;
align-items: center;
}

16
Apps/elements/table.css Normal file
View file

@ -0,0 +1,16 @@
.ripcrypt > .window-content table {
all: revert;
box-sizing: border-box;
border-collapse: collapse;
thead, tbody, tr {
all: revert;
}
td, th {
all: revert;
padding: 2px 4px;
font-weight: initial;
text-align: left;
}
}