Add text button styling
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.button {
|
.button {
|
||||||
background: var(--default-button-background);
|
background: var(--default-button-background);
|
||||||
border: var(--default-button-border);
|
border: var(--default-button-border);
|
||||||
font-family: var(--primary-font);
|
font-family: var(--primary-font);
|
||||||
@@ -125,11 +125,20 @@ button.formbutton a {
|
|||||||
.longbutton > a, .widebutton > a {
|
.longbutton > a, .widebutton > a {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.longbutton > a img, .smallbutton > a img, .widebutton > a img {
|
.longbutton > a img, .smallbutton > a img, .widebutton > a img {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button.longbutton.textbutton {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button.longbutton.textbutton a {
|
||||||
|
font-size: 16px;
|
||||||
|
display: inline-block !important;
|
||||||
|
}
|
||||||
|
|
||||||
.button:hover, .button.selected, button.formbutton:hover {
|
.button:hover, .button.selected, button.formbutton:hover {
|
||||||
background: var(--hover-button-background);
|
background: var(--hover-button-background);
|
||||||
border: var(--hover-button-border);
|
border: var(--hover-button-border);
|
||||||
@@ -150,22 +159,22 @@ button.formbutton a {
|
|||||||
display: block;
|
display: block;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button a {
|
.button a {
|
||||||
display: block;
|
display: block;
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton {
|
.popbutton {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton:hover {
|
.popbutton:hover {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton > a {
|
.popbutton > a {
|
||||||
color: var(--main-text);
|
color: var(--main-text);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -174,11 +183,11 @@ button.formbutton a {
|
|||||||
height: 48px;
|
height: 48px;
|
||||||
width: 144px;
|
width: 144px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton > a img {
|
.popbutton > a img {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oddbutton {
|
.oddbutton {
|
||||||
top: 8px;
|
top: 8px;
|
||||||
left: calc(64px + 8px);
|
left: calc(64px + 8px);
|
||||||
@@ -190,24 +199,24 @@ button.formbutton a {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton {
|
.popbutton {
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton:hover {
|
.popbutton:hover {
|
||||||
width: 44px;
|
width: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popbutton a:nth-of-type(2) {
|
.popbutton a:nth-of-type(2) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oddbutton {
|
.oddbutton {
|
||||||
top: calc(64px + 8px);
|
top: calc(64px + 8px);
|
||||||
left: 8px;
|
left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.longbutton.collapse {
|
.longbutton.collapse {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
margin: 2px !important;
|
margin: 2px !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user