forked from indymedia/epicyon
Border radius variable
parent
7654860442
commit
19ae36a161
|
@ -31,6 +31,7 @@
|
||||||
--gallery-border: #ccc;
|
--gallery-border: #ccc;
|
||||||
--gallery-hover: #777;
|
--gallery-hover: #777;
|
||||||
--button-corner-radius: 15px;
|
--button-corner-radius: 15px;
|
||||||
|
--border-radius: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, html {
|
body, html {
|
||||||
|
@ -336,7 +337,7 @@ a:link {
|
||||||
border: 2px solid var(--border-color);
|
border: 2px solid var(--border-color);
|
||||||
background-color: var(--main-bg-color);
|
background-color: var(--main-bg-color);
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
padding: 30px;
|
padding: var(--border-radius);
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
8
theme
8
theme
|
@ -125,6 +125,8 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
||||||
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
||||||
sed -i "s|--button-background:.*|--button-background: #062200;|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|--button-text:.*|--button-text: green;|g" "$filename"
|
||||||
|
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||||
|
sed -i "s|--border-radius:.*|--border-radius: 4px;|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"
|
||||||
|
@ -141,6 +143,8 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
||||||
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
||||||
sed -i "s|--button-background:.*|--button-background: #062200;|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|--button-text:.*|--button-text: green;|g" "$filename"
|
||||||
|
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||||
|
sed -i "s|--border-radius:.*|--border-radius: 4px;|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"
|
||||||
|
@ -157,6 +161,8 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
||||||
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
||||||
sed -i "s|--button-background:.*|--button-background: #062200;|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|--button-text:.*|--button-text: green;|g" "$filename"
|
||||||
|
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||||
|
sed -i "s|--border-radius:.*|--border-radius: 4px;|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"
|
||||||
|
@ -173,6 +179,8 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then
|
||||||
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
sed -i "s|--button-selected:.*|--button-selected: #063200;|g" "$filename"
|
||||||
sed -i "s|--button-background:.*|--button-background: #062200;|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|--button-text:.*|--button-text: green;|g" "$filename"
|
||||||
|
sed -i "s|--button-corner-radius:.*|--button-corner-radius: 4px;|g" "$filename"
|
||||||
|
sed -i "s|--border-radius:.*|--border-radius: 4px;|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"
|
||||||
|
|
Loading…
Reference in New Issue