p5.js-web-editor/styles/abstracts/_placeholders.scss

51 lines
1.1 KiB
SCSS
Raw Normal View History

%button {
display: inline-block;
height: #{44 / $base-font-size}rem;
width: #{44 / $base-font-size}rem;
text-align: center;
border-radius: 100%;
line-height: #{50 / $base-font-size}rem;
cursor: pointer;
2016-06-08 20:35:59 +00:00
border: none;
2016-06-09 22:17:53 +00:00
outline: none;
}
2016-05-12 21:22:54 +00:00
%toolbar-button {
@extend %button;
background-color: $light-button-background-color;
color: $light-button-color;
2016-05-12 21:22:54 +00: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 19:14:55 +00:00
&--selected {
background-color: $light-button-background-hover-color;
& g {
fill: $light-button-hover-color;
}
}
2016-06-08 20:35:59 +00:00
}
%preferences-button {
@extend %button;
background-color: $light-preferences-button-background-color;
2016-06-20 16:45:15 +00:00
color: $light-preferences-button-color;
& g {
fill: $light-preferences-button-color;
}
&:hover {
background-color: $light-preferences-button-background-color;
2016-06-20 16:45:15 +00:00
color: $light-preferences-button-hover-color;
& g {
fill: $light-preferences-button-hover-color;
}
}
}