Files
mocoapp-browser-extension/src/css/_button.scss
Manuel Bouza 061a3d9a89 feature/host-overrides (#161)
* 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>
2020-06-15 17:14:31 +02:00

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;
}
}