2016-06-21 00:05:04 +02:00
|
|
|
%toolbar-button {
|
2016-05-11 21:31:17 +02:00
|
|
|
display: inline-block;
|
|
|
|
height: #{44 / $base-font-size}rem;
|
|
|
|
width: #{44 / $base-font-size}rem;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 100%;
|
2016-06-21 05:04:41 +02:00
|
|
|
line-height: #{46 / $base-font-size}rem;
|
2016-05-11 21:31:17 +02:00
|
|
|
cursor: pointer;
|
2016-06-08 22:35:59 +02:00
|
|
|
border: none;
|
2016-06-10 00:17:53 +02:00
|
|
|
outline: none;
|
2016-06-20 18:04:58 +02:00
|
|
|
background-color: $light-button-background-color;
|
|
|
|
color: $light-button-color;
|
2016-05-12 23:22:54 +02:00
|
|
|
& g {
|
|
|
|
fill: $light-toolbar-button-color;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: $light-button-background-hover-color;
|
|
|
|
color: $light-button-hover-color;
|
|
|
|
|
|
|
|
& g {
|
|
|
|
fill: $light-button-hover-color;
|
|
|
|
}
|
|
|
|
}
|
2016-06-10 21:14:55 +02:00
|
|
|
&--selected {
|
|
|
|
background-color: $light-button-background-hover-color;
|
|
|
|
& g {
|
|
|
|
fill: $light-button-hover-color;
|
|
|
|
}
|
|
|
|
}
|
2016-06-08 22:35:59 +02:00
|
|
|
}
|
2016-06-20 18:04:58 +02:00
|
|
|
|
2016-06-21 05:04:41 +02:00
|
|
|
%icon {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
color: $light-icon-color;
|
|
|
|
& g {
|
|
|
|
fill: $light-icon-color;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: $light-icon-hover-color;
|
|
|
|
& g {
|
2016-07-14 18:47:54 +02:00
|
|
|
opacity: 1;
|
2016-06-21 05:04:41 +02:00
|
|
|
fill: $light-icon-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-14 03:07:00 +02:00
|
|
|
%button {
|
|
|
|
background-color: $light-button-background-color;
|
|
|
|
color: $light-button-color;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $light-button-border-color;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: #{10 / $base-font-size}rem #{30 / $base-font-size}rem;
|
|
|
|
&:hover {
|
|
|
|
border-color: $light-button-background-hover-color;
|
|
|
|
background-color: $light-button-background-hover-color;
|
|
|
|
color: $light-button-hover-color;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
border-color: $light-button-background-active-color;
|
|
|
|
background-color: $light-button-background-active-color;
|
|
|
|
color: $light-button-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-20 18:04:58 +02:00
|
|
|
%preferences-button {
|
2016-06-21 05:04:41 +02:00
|
|
|
@extend %toolbar-button;
|
|
|
|
color: $light-primary-text-color;
|
|
|
|
background-color: $light-modal-button-background-color;
|
2016-07-11 04:52:48 +02:00
|
|
|
padding: 0;
|
2016-07-12 18:07:06 +02:00
|
|
|
line-height: #{50 / $base-font-size}rem;
|
2016-06-20 18:04:58 +02:00
|
|
|
& g {
|
2016-06-21 05:04:41 +02:00
|
|
|
fill: $light-primary-text-color;
|
2016-06-20 18:04:58 +02:00
|
|
|
}
|
|
|
|
&:hover {
|
2016-06-21 05:04:41 +02:00
|
|
|
background-color: $light-button-background-hover-color;
|
|
|
|
color: $light-button-hover-color;
|
2016-06-20 18:04:58 +02:00
|
|
|
& g {
|
2016-06-21 05:04:41 +02:00
|
|
|
fill: $light-button-hover-color;
|
2016-06-20 18:04:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-06-17 20:11:52 +02:00
|
|
|
|
|
|
|
%fake-link {
|
2016-07-12 04:00:11 +02:00
|
|
|
color: $light-inactive-text-color;
|
2016-06-17 20:11:52 +02:00
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: $light-primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
2016-07-11 04:52:48 +02:00
|
|
|
|
|
|
|
%preference-option {
|
2016-07-11 14:44:27 +02:00
|
|
|
background-color: $light-button-background-color;
|
2016-07-12 01:14:45 +02:00
|
|
|
color: $light-inactive-text-color;
|
2016-07-11 04:52:48 +02:00
|
|
|
font-size: #{14 / $base-font-size}rem;
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: #{5 / $base-font-size}rem;
|
2016-07-11 14:44:27 +02:00
|
|
|
border: 0px;
|
2016-07-11 04:52:48 +02:00
|
|
|
&:hover {
|
|
|
|
color: $light-primary-text-color;
|
|
|
|
}
|
|
|
|
&--selected {
|
|
|
|
color: $light-primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
2016-07-15 22:47:12 +02:00
|
|
|
|
2016-07-15 23:00:40 +02:00
|
|
|
%hidden-label {
|
2016-07-15 22:47:12 +02:00
|
|
|
position:absolute;
|
|
|
|
left:-10000px;
|
|
|
|
top:auto;
|
|
|
|
width:1px;
|
|
|
|
height:1px;
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
2016-07-21 21:07:53 +02:00
|
|
|
|
|
|
|
%modal {
|
|
|
|
background-color: $light-modal-background-color;
|
|
|
|
border: 1px solid $light-modal-border-color;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: 0 12px 12px $light-shadow-color;
|
|
|
|
}
|