Button background color

main2
Bob Mottram 2019-09-11 21:17:22 +01:00
parent 0a4e5a7e15
commit aefe7894c4
2 changed files with 27 additions and 21 deletions

View File

@ -18,6 +18,9 @@
--text-entry-foreground: #ccc; --text-entry-foreground: #ccc;
--text-entry-background: #111; --text-entry-background: #111;
--time-color: #aaa; --time-color: #aaa;
--button-text: #FFFFFF;
--button-background: #999;
--button-selected: #666;
} }
body, html { body, html {
@ -150,9 +153,9 @@ a:link {
.button { .button {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -166,9 +169,9 @@ a:link {
.buttonunfollow { .buttonunfollow {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -185,7 +188,7 @@ a:link {
border-radius: 4px; border-radius: 4px;
background-color: green; background-color: green;
border: none; border: none;
color: white; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -264,9 +267,9 @@ a:link {
.buttonselected { .buttonselected {
border-radius: 4px; border-radius: 4px;
background-color: #666; background-color: var(--button-selected);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -466,7 +469,7 @@ a:link {
text-align: left; text-align: left;
font-size: 24px; font-size: 24px;
font-weight: bold; font-weight: bold;
color: #666; color: var(--button-selected);
line-height: 40px; line-height: 40px;
} }
@ -480,7 +483,7 @@ a:link {
float: left; float: left;
width: 10%; width: 10%;
height: 30px; height: 30px;
background-color: #999; background-color: var(--button-background);
} }
.question { .question {
@ -780,9 +783,9 @@ input[type=checkbox]
} }
.button { .button {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -795,9 +798,9 @@ input[type=checkbox]
} }
.buttonselected { .buttonselected {
border-radius: 4px; border-radius: 4px;
background-color: #666; background-color: var(--button-selected);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -881,9 +884,9 @@ input[type=checkbox]
} }
.buttonunfollow { .buttonunfollow {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
padding: 10px; padding: 10px;
@ -945,9 +948,9 @@ input[type=checkbox]
} }
.button { .button {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
padding: 10px; padding: 10px;
@ -960,9 +963,9 @@ input[type=checkbox]
} }
.buttonselected { .buttonselected {
border-radius: 4px; border-radius: 4px;
background-color: #666; background-color: var(--button-selected);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
padding: 10px; padding: 10px;
@ -1046,9 +1049,9 @@ input[type=checkbox]
} }
.buttonunfollow { .buttonunfollow {
border-radius: 4px; border-radius: 4px;
background-color: #999; background-color: var(--button-background);
border: none; border: none;
color: #FFFFFF; color: var(--button-text);
text-align: center; text-align: center;
font-size: 30px; font-size: 30px;
padding: 10px; padding: 10px;

3
theme
View File

@ -95,6 +95,9 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
sed -i "s|--main-link-color:.*|--main-link-color: #266020;|g" "$filename" sed -i "s|--main-link-color:.*|--main-link-color: #266020;|g" "$filename"
sed -i "s|--main-visited-color:.*|--main-visited-color: #3c8234;|g" "$filename" sed -i "s|--main-visited-color:.*|--main-visited-color: #3c8234;|g" "$filename"
sed -i "s|--time-color:.*|--time-color: green;|g" "$filename" sed -i "s|--time-color:.*|--time-color: green;|g" "$filename"
sed -i "s|--button-selected:.*|--button-selected: #060200;|g" "$filename"
sed -i "s|--button-background:.*|--button-background: #062200;|g" "$filename"
sed -i "s|--button-text:.*|--button-text: green;|g" "$filename"
sed -i "s|font-family:.*|font-family: Courier;|g" "$filename" sed -i "s|font-family:.*|font-family: Courier;|g" "$filename"
sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename" sed -i "s|background-color: #554;|background-color: #062200;|g" "$filename"
sed -i "s|color: #FFFFFE;|color: green;|g" "$filename" sed -i "s|color: #FFFFFE;|color: green;|g" "$filename"