* configurable host overrides * base host overrides on name of service instead of key and hide the options by default * added unit tests * review changes * Refactor options * Refactor * Update Readme * Pump version and update Changelog Co-authored-by: Tobias Jacksteit <me@xtj7.de>
65 lines
1012 B
SCSS
65 lines
1012 B
SCSS
button.moco-bx-btn {
|
|
display: block;
|
|
padding: 8px 12px;
|
|
margin: 0 auto;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
color: white;
|
|
background-image: none;
|
|
background-color: $green;
|
|
border-color: $green;
|
|
border-radius: 0;
|
|
border-style: solid;
|
|
box-shadow: none;
|
|
font-size: 100%;
|
|
cursor: pointer;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
|
|
&::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
&:hover:not(:disabled) {
|
|
background-color: $green-dark;
|
|
border-color: $green-dark;
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.65;
|
|
cursor: default;
|
|
}
|
|
|
|
&.secondary {
|
|
color: black;
|
|
background-color: #fff;
|
|
border-color: #ccc;
|
|
|
|
&:hover {
|
|
background-color: #f4f4f4;
|
|
border-color: #ccc;
|
|
}
|
|
}
|
|
|
|
& + button {
|
|
margin-left: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.moco-bx-btn__secondary {
|
|
color: $blue;
|
|
border: none;
|
|
background: none;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
color: $blue;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
}
|