2016-05-11 21:31:17 +02:00
|
|
|
.toolbar__play-button {
|
2020-10-12 17:25:26 +02:00
|
|
|
&--unsaved, &--clone {
|
2020-10-09 19:06:19 +02:00
|
|
|
// for some reason, I cannot manage to have PreviewFrame save _and_ actuall yload the project (it stops the playback)
|
|
|
|
// pressing twice works. So just show a floppy the first time around :-)
|
|
|
|
svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&::after{
|
|
|
|
content: '\1F4BE'; // save floppy
|
|
|
|
}
|
|
|
|
// background-color: blue !important;
|
|
|
|
}
|
|
|
|
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
@extend %toolbar-button;
|
2020-04-06 16:54:39 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-04-30 00:34:37 +02:00
|
|
|
padding: 0 0 0 #{3 / $base-font-size}rem;
|
2016-09-13 22:42:06 +02:00
|
|
|
&--selected {
|
|
|
|
@extend %toolbar-button--selected;
|
|
|
|
}
|
2016-09-24 06:46:06 +02:00
|
|
|
&:disabled {
|
|
|
|
cursor: auto;
|
2020-04-30 00:34:37 +02:00
|
|
|
& g, & path {
|
2016-09-24 06:46:06 +02:00
|
|
|
fill: getThemifyVariable('button-border-color');
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: getThemifyVariable('toolbar-button-background-color');
|
2020-04-30 00:34:37 +02:00
|
|
|
& g, & path {
|
2016-09-24 06:46:06 +02:00
|
|
|
fill: getThemifyVariable('button-border-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-09-14 17:55:53 +02:00
|
|
|
}
|
|
|
|
margin-right: #{15 / $base-font-size}rem;
|
2020-04-06 16:54:39 +02:00
|
|
|
span {
|
|
|
|
padding-left: #{4 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-09 22:51:25 +02:00
|
|
|
width: #{20 / $base-font-size}rem;
|
|
|
|
height: #{20 / $base-font-size}rem;
|
2016-06-21 05:04:41 +02:00
|
|
|
}
|
2016-05-12 23:22:54 +02:00
|
|
|
}
|
|
|
|
|
2016-08-16 02:28:18 +02:00
|
|
|
.toolbar__play-sketch-button {
|
|
|
|
@extend %hidden-element;
|
|
|
|
}
|
|
|
|
|
2016-05-12 23:22:54 +02:00
|
|
|
.toolbar__stop-button {
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
@extend %toolbar-button;
|
2020-04-06 16:54:39 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2016-09-28 19:15:50 +02:00
|
|
|
margin-right: #{15 / $base-font-size}rem;
|
2020-04-30 00:34:37 +02:00
|
|
|
padding: 0;
|
2016-09-13 22:42:06 +02:00
|
|
|
&--selected {
|
|
|
|
@extend %toolbar-button--selected;
|
|
|
|
}
|
2016-06-08 22:35:59 +02:00
|
|
|
}
|
2020-04-06 16:54:39 +02:00
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-09 22:51:25 +02:00
|
|
|
width: #{20 / $base-font-size}rem;
|
|
|
|
height: #{20 / $base-font-size}rem;
|
2020-04-06 16:54:39 +02:00
|
|
|
}
|
2016-05-11 21:31:17 +02:00
|
|
|
}
|
|
|
|
|
2016-06-17 19:37:29 +02:00
|
|
|
.toolbar__preferences-button {
|
2016-09-13 22:42:06 +02:00
|
|
|
@include themify() {
|
|
|
|
@extend %toolbar-button;
|
2020-04-06 16:54:39 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-04-30 00:34:37 +02:00
|
|
|
padding: 0;
|
2016-09-13 22:42:06 +02:00
|
|
|
&--selected {
|
|
|
|
@extend %toolbar-button--selected;
|
|
|
|
}
|
2016-06-17 19:37:29 +02:00
|
|
|
}
|
2016-09-14 17:55:53 +02:00
|
|
|
margin-left: auto;
|
2017-02-17 23:07:53 +01:00
|
|
|
& span {
|
|
|
|
padding-left: #{1 / $base-font-size}rem;
|
2020-04-06 16:54:39 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-04-09 22:51:25 +02:00
|
|
|
width: #{20 / $base-font-size}rem;
|
|
|
|
height: #{20 / $base-font-size}rem;
|
2017-02-17 23:07:53 +01:00
|
|
|
}
|
2016-06-17 19:37:29 +02:00
|
|
|
}
|
|
|
|
|
2016-05-11 21:31:17 +02:00
|
|
|
.toolbar__logo {
|
|
|
|
margin-right: #{30 / $base-font-size}rem;
|
2016-10-18 04:57:29 +02:00
|
|
|
@include themify() {
|
2020-04-30 00:34:37 +02:00
|
|
|
& g, & path {
|
2016-10-18 04:57:29 +02:00
|
|
|
fill: getThemifyVariable('logo-color');
|
|
|
|
}
|
|
|
|
}
|
2016-05-11 21:31:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar {
|
2020-04-21 23:49:02 +02:00
|
|
|
padding: #{10 / $base-font-size}rem #{20 / $base-font-size}rem;
|
2016-05-11 21:31:17 +02:00
|
|
|
display: flex;
|
2016-06-16 22:07:38 +02:00
|
|
|
align-items: center;
|
2020-04-21 23:49:02 +02:00
|
|
|
@include themify() {
|
|
|
|
border-bottom: 1px dashed map-get($theme-map, 'nav-border-color');
|
|
|
|
}
|
2016-06-16 22:07:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar__project-name-container {
|
2016-09-15 00:38:57 +02:00
|
|
|
@include themify() {
|
2016-09-22 05:39:50 +02:00
|
|
|
border-color: getThemifyVariable('inactive-text-color');
|
2016-09-15 00:38:57 +02:00
|
|
|
}
|
2016-06-16 22:07:38 +02:00
|
|
|
margin-left: #{10 / $base-font-size}rem;
|
|
|
|
padding-left: #{10 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar__project-name {
|
2016-09-22 05:39:50 +02:00
|
|
|
@include themify() {
|
2020-04-27 22:48:55 +02:00
|
|
|
color: getThemifyVariable('secondary-text-color');
|
2016-09-22 05:39:50 +02:00
|
|
|
&:hover {
|
2020-04-27 22:48:55 +02:00
|
|
|
color: getThemifyVariable('logo-color');
|
2016-10-26 23:40:10 +02:00
|
|
|
& .toolbar__edit-name-button path {
|
2020-04-27 22:48:55 +02:00
|
|
|
fill: getThemifyVariable('logo-color');
|
2016-10-26 23:40:10 +02:00
|
|
|
}
|
2016-09-22 05:39:50 +02:00
|
|
|
}
|
2016-06-16 22:07:38 +02:00
|
|
|
}
|
2016-09-22 05:39:50 +02:00
|
|
|
cursor: pointer;
|
2020-01-08 18:33:36 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-08-15 18:42:13 +02:00
|
|
|
|
|
|
|
.toolbar__project-name-container--editing & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar__project-name-input {
|
|
|
|
display: none;
|
|
|
|
border: 0px;
|
|
|
|
.toolbar__project-name-container--editing & {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-06-08 22:35:59 +02:00
|
|
|
}
|
2016-07-15 22:47:12 +02:00
|
|
|
|
2016-07-15 17:54:47 +02:00
|
|
|
.toolbar__project-owner {
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
2017-02-19 19:33:14 +01:00
|
|
|
@include themify() {
|
2020-04-21 23:49:02 +02:00
|
|
|
color: getThemifyVariable('secondary-text-color');
|
2017-02-19 19:33:14 +01:00
|
|
|
}
|
2016-07-15 17:54:47 +02:00
|
|
|
}
|
2016-09-28 19:15:50 +02:00
|
|
|
|
|
|
|
.toolbar__autorefresh-label {
|
|
|
|
@include themify() {
|
2020-04-21 23:49:02 +02:00
|
|
|
color: getThemifyVariable('secondary-text-color');
|
2017-05-03 17:46:12 +02:00
|
|
|
}
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
2024-04-11 19:46:07 +02:00
|
|
|
font-size: #{15 / $base-font-size}rem;
|
2017-05-03 17:46:12 +02:00
|
|
|
}
|
|
|
|
|
2016-10-26 23:40:10 +02:00
|
|
|
.toolbar__edit-name-button {
|
2016-10-26 23:49:42 +02:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2020-04-30 00:34:37 +02:00
|
|
|
width: #{18 / $base-font-size}rem;
|
2016-10-26 23:49:42 +02:00
|
|
|
height: #{18 / $base-font-size}rem;
|
2016-10-26 23:40:10 +02:00
|
|
|
@include themify() {
|
2017-03-16 05:22:08 +01:00
|
|
|
& path {
|
2020-04-27 22:48:55 +02:00
|
|
|
fill: getThemifyVariable('secondary-text-color');
|
2016-10-26 23:40:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|