public/video-ui/styles/components/_buttons.scss (79 lines of code) (raw):
// -----------------------------------------------------------------------------
// This file contains styles for all buttons.
// -----------------------------------------------------------------------------
button {
// Reset for browser buttons
-webkit-appearance: none;
cursor: pointer;
outline: 0;
border: 0;
background: transparent;
padding: 0;
a {
text-decoration: none;
}
}
.button__active {
@include buttonClass($brandColor, $color500Grey, $color800Grey, $color800Grey);
position: absolute;
right: 50px;
top: 8px;
padding: 10px;
}
.btn {
@include buttonClass($brandColor, $color500Grey, $color800Grey, $color800Grey);
&--pluto {
margin-left: 5px;
padding: 7px;
}
&--list,
&--list-item {
width: 80px;
}
&--list {
@include buttonClass($color200Grey, $color500Grey, $color800Grey, $color800Grey);
}
&--list-item {
margin-top: 5px;
}
&--complete {
background-color: $cGreen33;
}
}
.button__secondary {
@include buttonClass($color800Grey, $color500Grey, $color300Grey, $color800Grey);
&--confirm {
@include buttonClass($cGreen33, $color500Grey, $cWhite, $color800Grey);
}
&--remove {
@include buttonClass($cRedE3, $color500Grey, $cWhite, $color800Grey);
}
&--remove-confirm {
@include buttonClass($mortalDangerColor, $color500Grey, $cWhite, $color800Grey);
}
&--cancel {
@include buttonClass($color400Grey, $cWhite, $color800Grey, $color500Grey);
}
}
.btn + .btn {
margin-left: 5px;
}
.btn--loading {
background: {
image: url(../images/progress-spinner.gif);
position: right 5px center;
repeat: no-repeat;
size: 10px 10px;
};
padding-right: 20px;
}
.btn__group {
display: flex;
width: 100%;
}
.page__add__button {
display: flex;
justify-content: flex-end;
}
a.button {
text-decoration: none;
&.disabled {
@include disabled;
}
}