Refactor
Splitting and tidying files
This commit is contained in:
parent
7c4eefd66b
commit
2588ef44ab
14 changed files with 45 additions and 101 deletions
|
@ -1,7 +1,7 @@
|
|||
/* Buttons
|
||||
/* ---------------------------------------------------------- */
|
||||
|
||||
.button {
|
||||
.gh-button {
|
||||
display: inline-block;
|
||||
height: var(--height);
|
||||
padding: 0 2rem;
|
||||
|
@ -19,49 +19,49 @@
|
|||
transition: 0.4s ease;
|
||||
}
|
||||
|
||||
.button.fit {
|
||||
.gh-button.gh-button-fit {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.button.small {
|
||||
.gh-button.gh-button-small {
|
||||
height: calc(var(--height) * 0.9);
|
||||
line-height: calc(var(--height) * 0.9);
|
||||
padding: 0 1.5rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.button.large {
|
||||
.gh-button.gh-button-large {
|
||||
height: calc(var(--height) * 1.14);
|
||||
line-height: calc(var(--height) * 1.14);
|
||||
padding: 0 3rem;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.button.disabled,
|
||||
.button:disabled {
|
||||
.gh-button.gh-button-disabled,
|
||||
.gh-button:disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.button {
|
||||
.gh-button {
|
||||
color: var(--color-primary) !important;
|
||||
background-color: transparent;
|
||||
box-shadow: inset 0 0 0 2px var(--color-primary);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
.gh-button:hover {
|
||||
text-decoration: none;
|
||||
color: color(var(--color-primary) l(-15%)) !important;
|
||||
box-shadow: inset 0 0 0 2px color(var(--color-primary) l(-10%));
|
||||
transition: 0.2s ease;
|
||||
}
|
||||
|
||||
.button.primary {
|
||||
.gh-button.gh-button-primary {
|
||||
color: #fff !important;
|
||||
background-color: var(--color-primary);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.button.primary:hover {
|
||||
.gh-button.gh-button-primary:hover {
|
||||
background-color: color(var(--color-primary) l(-10%));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue