2016-06-21 00:05:04 +02:00
|
|
|
%toolbar-button {
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
display: inline-block;
|
|
|
|
height: #{44 / $base-font-size}rem;
|
|
|
|
width: #{44 / $base-font-size}rem;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 100%;
|
2017-02-17 23:07:53 +01:00
|
|
|
line-height: #{49 / $base-font-size}rem;
|
2016-09-13 22:42:06 +02:00
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
background-color: getThemifyVariable('toolbar-button-background-color');
|
|
|
|
color: getThemifyVariable('toolbar-button-color');
|
2016-05-12 23:22:54 +02:00
|
|
|
& g {
|
2016-09-13 22:42:06 +02:00
|
|
|
fill: getThemifyVariable('toolbar-button-color');
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
|
|
|
|
& g {
|
|
|
|
fill: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
2016-05-12 23:22:54 +02:00
|
|
|
}
|
2016-09-13 22:42:06 +02:00
|
|
|
&--selected {
|
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
& g {
|
|
|
|
fill: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
|
|
|
}
|
2016-05-12 23:22:54 +02:00
|
|
|
}
|
2016-06-08 22:35:59 +02:00
|
|
|
}
|
2016-06-20 18:04:58 +02:00
|
|
|
|
2017-03-06 20:29:42 +01:00
|
|
|
%icon-toast{
|
|
|
|
@include themify() {
|
|
|
|
color: $toast-text-color
|
|
|
|
& g {
|
|
|
|
fill: $toast-text-color
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: getThemifyVariable('icon-toast-hover-color');
|
|
|
|
& g {
|
|
|
|
opacity: 1;
|
|
|
|
fill: getThemifyVariable('icon-toast-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2016-12-16 00:43:58 +01:00
|
|
|
%none-themify-icon {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-19 22:49:37 +01:00
|
|
|
%none-themify-icon-with-hover {
|
|
|
|
color: $icon-color;
|
|
|
|
& g {
|
|
|
|
fill: $icon-color;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: $icon-hover-color;
|
|
|
|
& g {
|
|
|
|
opacity: 1;
|
|
|
|
fill: $icon-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-06-14 03:07:00 +02:00
|
|
|
%button {
|
2016-09-13 23:05:42 +02:00
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('button-background-color');
|
|
|
|
color: getThemifyVariable('button-color');
|
|
|
|
cursor: pointer;
|
2016-12-16 00:43:58 +01:00
|
|
|
border: 2px solid getThemifyVariable('button-border-color');
|
2016-09-13 23:05:42 +02:00
|
|
|
border-radius: 2px;
|
|
|
|
padding: #{10 / $base-font-size}rem #{30 / $base-font-size}rem;
|
2016-10-19 17:34:08 +02:00
|
|
|
&:enabled:hover {
|
2016-09-13 23:05:42 +02:00
|
|
|
border-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
2019-01-16 18:35:34 +01:00
|
|
|
& g {
|
|
|
|
fill: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
2016-09-13 23:05:42 +02:00
|
|
|
}
|
2016-10-19 17:34:08 +02:00
|
|
|
&:enabled:active {
|
2016-09-13 23:05:42 +02:00
|
|
|
border-color: getThemifyVariable('button-background-active-color');
|
|
|
|
background-color: getThemifyVariable('button-background-active-color');
|
|
|
|
color: getThemifyVariable('button-active-color');
|
2019-01-16 18:35:34 +01:00
|
|
|
& g {
|
|
|
|
fill: getThemifyVariable('button-active-color');
|
|
|
|
}
|
2016-09-13 23:05:42 +02:00
|
|
|
}
|
2016-06-14 03:07:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-20 18:04:58 +02:00
|
|
|
%preferences-button {
|
2016-06-21 05:04:41 +02:00
|
|
|
@extend %toolbar-button;
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
background-color: getThemifyVariable('modal-button-background-color');
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: #{28 / $base-font-size}rem;
|
|
|
|
line-height: #{50 / $base-font-size}rem;
|
2016-06-20 18:04:58 +02:00
|
|
|
& g {
|
2016-10-12 18:08:12 +02:00
|
|
|
fill: getThemifyVariable('modal-button-color');
|
2016-09-13 22:42:06 +02:00
|
|
|
}
|
2018-11-02 20:55:06 +01:00
|
|
|
&:enabled:hover {
|
2016-09-13 22:42:06 +02:00
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
& g {
|
|
|
|
fill: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
2018-11-02 20:55:06 +01:00
|
|
|
}
|
|
|
|
&:disabled:hover {
|
|
|
|
cursor: not-allowed;
|
|
|
|
background-color: getThemifyVariable('modal-button-background-color');
|
2016-06-20 18:04:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-06-17 20:11:52 +02:00
|
|
|
|
2016-07-11 04:52:48 +02:00
|
|
|
%preference-option {
|
2016-09-14 17:55:53 +02:00
|
|
|
@include themify() {
|
|
|
|
background-color: transparent;
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
&:hover {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
2016-08-09 23:29:17 +02:00
|
|
|
font-size: #{12 / $base-font-size}rem;
|
2016-07-11 04:52:48 +02:00
|
|
|
cursor: pointer;
|
|
|
|
text-align: left;
|
2016-10-12 18:08:12 +02:00
|
|
|
padding: 0;
|
2016-07-11 04:52:48 +02:00
|
|
|
margin-bottom: #{5 / $base-font-size}rem;
|
2016-10-12 18:08:12 +02:00
|
|
|
padding-right: #{5 / $base-font-size}rem;
|
2016-09-14 17:55:53 +02:00
|
|
|
border: 0;
|
|
|
|
list-style-type: none;
|
2016-07-11 04:52:48 +02:00
|
|
|
}
|
2016-07-15 22:47:12 +02:00
|
|
|
|
2016-07-21 21:07:53 +02:00
|
|
|
%modal {
|
2016-09-14 18:46:54 +02:00
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('modal-background-color');
|
|
|
|
border: 1px solid getThemifyVariable('modal-border-color');
|
|
|
|
box-shadow: 0 12px 12px getThemifyVariable('shadow-color');
|
|
|
|
}
|
2016-07-21 21:07:53 +02:00
|
|
|
border-radius: 2px;
|
2016-08-11 23:41:35 +02:00
|
|
|
z-index: 20;
|
2016-07-21 21:07:53 +02:00
|
|
|
}
|
2016-08-11 20:09:59 +02:00
|
|
|
|
|
|
|
%hidden-element {
|
|
|
|
position:absolute;
|
|
|
|
left:-10000px;
|
|
|
|
top:auto;
|
|
|
|
width:1px;
|
|
|
|
height:1px;
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
2017-02-22 20:29:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
%link {
|
|
|
|
@include themify() {
|
|
|
|
text-decoration: none;
|
|
|
|
color: getThemifyVariable('inactive-text-color');
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
2017-07-11 17:37:43 +02:00
|
|
|
}
|
2019-06-12 21:58:02 +02:00
|
|
|
|
|
|
|
%dropdown-open {
|
|
|
|
@include themify() {
|
|
|
|
background-color: map-get($theme-map, 'modal-background-color');
|
|
|
|
border: 1px solid map-get($theme-map, 'modal-border-color');
|
|
|
|
box-shadow: 0 0 18px 0 getThemifyVariable('shadow-color');
|
|
|
|
color: getThemifyVariable('dropdown-color');
|
|
|
|
}
|
|
|
|
text-align: left;
|
|
|
|
width: #{180 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
2019-06-14 19:30:13 +02:00
|
|
|
top: 95%;
|
2019-06-12 21:58:02 +02:00
|
|
|
height: auto;
|
|
|
|
z-index: 9999;
|
|
|
|
border-radius: #{6 / $base-font-size}rem;
|
2019-06-19 22:21:25 +02:00
|
|
|
& li:first-child {
|
|
|
|
border-radius: #{5 / $base-font-size}rem #{5 / $base-font-size}rem 0 0;
|
|
|
|
}
|
2019-06-12 21:58:02 +02:00
|
|
|
& li:last-child {
|
|
|
|
border-radius: 0 0 #{5 / $base-font-size}rem #{5 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
& li {
|
|
|
|
& button,
|
|
|
|
& a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('dropdown-color');
|
|
|
|
}
|
2019-06-12 22:12:19 +02:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
padding: #{8 / $base-font-size}rem #{16 / $base-font-size}rem;
|
2019-06-12 21:58:02 +02:00
|
|
|
}
|
|
|
|
height: #{35 / $base-font-size}rem;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
& li:hover {
|
|
|
|
@include themify() {
|
|
|
|
background-color: getThemifyVariable('button-background-hover-color');
|
|
|
|
color: getThemifyVariable('button-hover-color')
|
|
|
|
}
|
|
|
|
& button, & a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('button-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
%dropdown-open-left {
|
|
|
|
@extend %dropdown-open;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
%dropdown-open-right {
|
|
|
|
@extend %dropdown-open;
|
|
|
|
right: 0;
|
|
|
|
}
|