Move each the element-specific styles into separate files
This commit is contained in:
parent
ff43ef2eb9
commit
05f111682e
4 changed files with 45 additions and 44 deletions
15
Apps/elements/input.css
Normal file
15
Apps/elements/input.css
Normal 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
11
Apps/elements/select.css
Normal 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
16
Apps/elements/table.css
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue