p5.js-web-editor/styles/components/_toolbar.scss

57 lines
1 KiB
SCSS
Raw Normal View History

.toolbar__play-button {
@extend %toolbar-button;
2016-05-12 21:22:54 +00:00
margin-right: #{15 / $base-font-size}rem;
2016-06-09 23:30:59 +00:00
&--selected {
2016-06-10 19:14:55 +00:00
@extend %toolbar-button--selected;
}
2016-06-21 03:04:41 +00:00
& span {
padding-left: #{2 / $base-font-size}rem;
}
2016-05-12 21:22:54 +00:00
}
.toolbar__stop-button {
@extend %toolbar-button;
2016-06-09 23:30:59 +00:00
&--selected {
2016-06-10 19:14:55 +00:00
@extend %toolbar-button--selected;
2016-06-08 20:35:59 +00:00
}
}
2016-06-17 17:37:29 +00:00
.toolbar__preferences-button {
@extend %toolbar-button;
2016-06-21 03:04:41 +00:00
line-height: #{50 / $base-font-size}rem;
2016-06-17 17:37:29 +00:00
margin-left: auto;
&--selected {
@extend %toolbar-button--selected;
}
}
.toolbar__logo {
margin-right: #{30 / $base-font-size}rem;
}
.toolbar {
padding: #{20 / $base-font-size}rem #{60 / $base-font-size}rem;
display: flex;
align-items: center;
}
.toolbar__project-name-container {
border-left: 2px dashed;
margin-left: #{10 / $base-font-size}rem;
padding-left: #{10 / $base-font-size}rem;
height: 70%;
display: flex;
align-items: center;
}
.toolbar__project-name {
color: $light-secondary-text-color;
cursor: pointer;
&:hover {
color: $light-primary-text-color;
}
&:focus {
color: $light-secondary-text-color;
}
2016-06-08 20:35:59 +00:00
}