1
Fork 0

Add some input/new topic styling

This commit is contained in:
Bauke 2018-07-01 13:00:56 +02:00
parent 22a824ec25
commit 470ec3b49d
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 34 additions and 5 deletions

View File

@ -156,6 +156,10 @@ body:not(.theme) main,body:not(.theme) #sidebar,body.theme-light main,body.theme
background-color: #44475a;
}
body:not(.theme) fieldset,body.theme-light fieldset,body.theme-dark fieldset,body.theme-black fieldset {
border-color: #6272a4;
}
body:not(.theme) pre,body:not(.theme) code,body.theme-light pre,body.theme-light code,body.theme-dark pre,body.theme-dark code,body.theme-black pre,body.theme-black code {
color: #f8f8f2;
background-color: #282a36;
@ -173,7 +177,7 @@ body:not(.theme) figure,body:not(.theme) section,body.theme-light figure,body.th
border-color: #f8f8f2;
}
body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,body.theme-light input,body.theme-light textarea,body.theme-light .form-input,body.theme-dark input,body.theme-dark textarea,body.theme-dark .form-input,body.theme-black input,body.theme-black textarea,body.theme-black .form-input {
body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,body:not(.theme) .form-input:not(:focus),body.theme-light input,body.theme-light textarea,body.theme-light .form-input,body.theme-light .form-input:not(:focus),body.theme-dark input,body.theme-dark textarea,body.theme-dark .form-input,body.theme-dark .form-input:not(:focus),body.theme-black input,body.theme-black textarea,body.theme-black .form-input,body.theme-black .form-input:not(:focus) {
color: #f8f8f2;
border-color: #6272a4;
background-color: #282a36;
@ -276,6 +280,12 @@ body:not(.theme) .message header,body.theme-light .message header,body.theme-dar
background-color: #282a36;
}
body:not(.theme) .toast,body.theme-light .toast,body.theme-dark .toast,body.theme-black .toast {
color: #f8f8f2;
border-color: #6272a4;
background-color: #282a36;
}
body:not(.theme) .divider,body.theme-light .divider,body.theme-dark .divider,body.theme-black .divider {
border-color: #282a36;
}

View File

@ -1,7 +1,7 @@
/* ==UserStyle==
@name Tildes Dracula
@namespace tildes.net
@version 2.0.3
@version 2.0.4
@author Bauke
@description Dracula theme for Tildes.net
@homepageURL https://gitlab.com/Bauke/styles
@ -167,6 +167,10 @@ body:not(.theme) main,body:not(.theme) #sidebar,body.theme-light main,body.theme
background-color: #44475a;
}
body:not(.theme) fieldset,body.theme-light fieldset,body.theme-dark fieldset,body.theme-black fieldset {
border-color: #6272a4;
}
body:not(.theme) pre,body:not(.theme) code,body.theme-light pre,body.theme-light code,body.theme-dark pre,body.theme-dark code,body.theme-black pre,body.theme-black code {
color: #f8f8f2;
background-color: #282a36;
@ -184,7 +188,7 @@ body:not(.theme) figure,body:not(.theme) section,body.theme-light figure,body.th
border-color: #f8f8f2;
}
body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,body.theme-light input,body.theme-light textarea,body.theme-light .form-input,body.theme-dark input,body.theme-dark textarea,body.theme-dark .form-input,body.theme-black input,body.theme-black textarea,body.theme-black .form-input {
body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,body:not(.theme) .form-input:not(:focus),body.theme-light input,body.theme-light textarea,body.theme-light .form-input,body.theme-light .form-input:not(:focus),body.theme-dark input,body.theme-dark textarea,body.theme-dark .form-input,body.theme-dark .form-input:not(:focus),body.theme-black input,body.theme-black textarea,body.theme-black .form-input,body.theme-black .form-input:not(:focus) {
color: #f8f8f2;
border-color: #6272a4;
background-color: #282a36;
@ -287,6 +291,12 @@ body:not(.theme) .message header,body.theme-light .message header,body.theme-dar
background-color: #282a36;
}
body:not(.theme) .toast,body.theme-light .toast,body.theme-dark .toast,body.theme-black .toast {
color: #f8f8f2;
border-color: #6272a4;
background-color: #282a36;
}
body:not(.theme) .divider,body.theme-light .divider,body.theme-dark .divider,body.theme-black .divider {
border-color: #282a36;
}

View File

@ -12,6 +12,9 @@ body.theme-black
color: $foreground
background-color: $selection
fieldset
border-color: $comment
pre,
code
color: $foreground
@ -30,7 +33,8 @@ body.theme-black
input,
textarea,
.form-input
.form-input,
.form-input:not(:focus)
color: $foreground
border-color: $comment
background-color: $background

View File

@ -4,6 +4,11 @@ body:not(.theme),
body.theme-light,
body.theme-dark,
body.theme-black
.toast
color: $foreground
border-color: $comment
background-color: $background
.divider
border-color: $background

View File

@ -4,7 +4,7 @@
"options": {
"name": "Tildes Dracula",
"namespace": "tildes.net",
"version": "2.0.3",
"version": "2.0.4",
"author": "Bauke",
"description": "Dracula theme for Tildes.net",
"homepageURL": "https://gitlab.com/Bauke/styles",