mirror of
https://github.com/He4eT/tabswiper.git
synced 2026-05-05 00:57:23 +00:00
Initial commit
This commit is contained in:
parent
b47ce482b8
commit
9306068d2a
7 changed files with 478 additions and 0 deletions
57
popup/css/popup.css
Normal file
57
popup/css/popup.css
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
html, body {
|
||||
font-family: sans;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.popup {
|
||||
--color-bg: #eeeeee;
|
||||
--color-text: #333333;
|
||||
--color-accent: #666666;
|
||||
|
||||
--step: 8px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.popup {
|
||||
--color-bg: darkgray;
|
||||
--color-text: white;
|
||||
--color-accent: blue;
|
||||
}
|
||||
}
|
||||
|
||||
/* Controls */
|
||||
|
||||
*:focus-visible {
|
||||
outline-color: var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
outline-style: solid;
|
||||
outline-width: 1px;
|
||||
}
|
||||
|
||||
/* Button */
|
||||
|
||||
button {
|
||||
background: var(--color-bg);
|
||||
|
||||
border-radius: 0;
|
||||
border: 1px solid var(--color-text);
|
||||
|
||||
color: var(--color-text);
|
||||
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
|
||||
padding: var(--step);
|
||||
}
|
||||
|
||||
button:active {
|
||||
border-color: var(--color-accent);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Link */
|
||||
|
||||
a {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue