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

91 lines
1.9 KiB
SCSS
Raw Normal View History

2016-06-21 00:05:04 +02:00
%toolbar-button {
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;
cursor: pointer;
2016-06-08 22:35:59 +02:00
border: none;
2016-06-10 00:17:53 +02:00
outline: none;
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-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 {
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;
}
}
%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;
& g {
2016-06-21 05:04:41 +02:00
fill: $light-primary-text-color;
}
&:hover {
2016-06-21 05:04:41 +02:00
background-color: $light-button-background-hover-color;
color: $light-button-hover-color;
& g {
2016-06-21 05:04:41 +02:00
fill: $light-button-hover-color;
}
}
}
2016-06-17 20:11:52 +02:00
%fake-link {
color: $light-secondary-text-color;
cursor: pointer;
&:hover {
color: $light-primary-text-color;
}
}