2020-02-01 17:58:22 +00:00
|
|
|
.button {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 9px;
|
2020-02-08 09:54:54 +00:00
|
|
|
margin: 0.25rem;
|
2020-02-01 17:58:22 +00:00
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none !important;
|
|
|
|
border-radius: 0.25rem;
|
2020-02-05 17:23:27 +00:00
|
|
|
background-color: transparent;
|
2020-02-01 17:58:22 +00:00
|
|
|
|
|
|
|
&__text {
|
|
|
|
margin: auto;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
@include translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
2020-02-08 09:54:54 +00:00
|
|
|
&__micro {
|
|
|
|
height: 20px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__mini {
|
|
|
|
height: 24px;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 15px;
|
|
|
|
}
|
|
|
|
|
2020-02-05 17:23:27 +00:00
|
|
|
&__small {
|
|
|
|
height: 28px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__medium {
|
|
|
|
height: 32px;
|
|
|
|
font-size: 17px;
|
2020-02-08 09:54:54 +00:00
|
|
|
line-height: 17px;
|
2020-02-05 17:23:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__large {
|
|
|
|
height: 36px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2020-02-01 17:58:22 +00:00
|
|
|
@include themify($themes) {
|
|
|
|
&[data-color="default"] {
|
|
|
|
color: themed('link');
|
|
|
|
border: 1px solid themed('link');
|
|
|
|
|
|
|
|
@include on-event {
|
|
|
|
color: themed('link-hover');
|
|
|
|
border: 1px solid themed('link-hover');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-color="primary"] {
|
|
|
|
color: themed('button-primary-color');
|
|
|
|
border: 1px solid themed('button-primary-color');
|
|
|
|
|
|
|
|
@include on-event {
|
|
|
|
color: themed('link-hover');
|
|
|
|
border: 1px solid themed('link-hover');
|
|
|
|
}
|
|
|
|
}
|
2020-02-08 09:54:54 +00:00
|
|
|
|
|
|
|
&[data-variant="contained"] {
|
|
|
|
&[data-color="primary"], &[data-color="default"] {
|
|
|
|
color: #111;
|
|
|
|
background: themed('button-primary-color');
|
|
|
|
@include box-shadow(1px, 1px, 3px, 0, themed('share-shadow-color'));
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
@include on-event {
|
|
|
|
color: #111;
|
|
|
|
background: darken(themed('button-primary-color'), 4%);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-01 17:58:22 +00:00
|
|
|
}
|
|
|
|
}
|