From 8b92ea53ee4297ce6eadd90981f18d506bb8625f Mon Sep 17 00:00:00 2001 From: runningonsideprojects Date: Sun, 20 Sep 2026 20:50:19 -0400 Subject: [PATCH 1/4] implemented color work --- .../modules/IDE/components/Header/Toolbar.jsx | 8 +- client/styles/abstracts/_variables.scss | 12 +- client/styles/components/_toolbar.scss | 320 ++++++++++-------- 3 files changed, 184 insertions(+), 156 deletions(-) diff --git a/client/modules/IDE/components/Header/Toolbar.jsx b/client/modules/IDE/components/Header/Toolbar.jsx index 16ed74ff3e..983b1b2c8c 100644 --- a/client/modules/IDE/components/Header/Toolbar.jsx +++ b/client/modules/IDE/components/Header/Toolbar.jsx @@ -36,12 +36,12 @@ const Toolbar = (props) => { const showVisibilityDropdown = project?.owner && userIsOwner; const playButtonClass = classNames({ - 'toolbar__play-button': true, - 'toolbar__play-button--selected': isPlaying + 'toolbar-start-stop-button play': true, + 'toolbar-start-stop-button--selected play': isPlaying }); const stopButtonClass = classNames({ - 'toolbar__stop-button': true, - 'toolbar__stop-button--selected': !isPlaying + 'toolbar-start-stop-button stop': true, + 'toolbar-start-stop-button--selected stop': !isPlaying }); const preferencesButtonClass = classNames({ 'toolbar__preferences-button': true, diff --git a/client/styles/abstracts/_variables.scss b/client/styles/abstracts/_variables.scss index 8852d29c91..6f79206eaf 100644 --- a/client/styles/abstracts/_variables.scss +++ b/client/styles/abstracts/_variables.scss @@ -181,7 +181,9 @@ $themes: ( toast-background-color: $medium-dark, toast-text-color: $lightest, toolbar-button-background-color: $medium-light, - toolbar-button-color: $dark + toolbar-button-color: $dark, + toolbar-start-stop-button-hover-outline-color: $p5js-pink, + toolbar-start-stop-button-outline-color: $dark ), dark: ( activeline-background-color: $p5-dark-activeline, @@ -299,7 +301,9 @@ $themes: ( toast-background-color: $medium-light, toast-text-color: $dark, toolbar-button-background-color: $medium-dark, - toolbar-button-color: $lightest + toolbar-button-color: $lightest, + toolbar-start-stop-button-hover-outline-color: $p5js-pink, + toolbar-start-stop-button-outline-color: $lightest ), contrast: ( activeline-background-color: $p5-contrast-activeline, @@ -414,6 +418,8 @@ $themes: ( toast-background-color: $medium-light, toast-text-color: $darker, toolbar-button-background-color: $medium-light, - toolbar-button-color: $dark + toolbar-button-color: $dark, + toolbar-start-stop-button-hover-outline-color: $yellow, + toolbar-start-stop-button-outline-color: $medium-light ) ); diff --git a/client/styles/components/_toolbar.scss b/client/styles/components/_toolbar.scss index fb5de87900..d64f7b51ab 100644 --- a/client/styles/components/_toolbar.scss +++ b/client/styles/components/_toolbar.scss @@ -1,205 +1,227 @@ @use "sass:math"; -.toolbar__play-button { - @include themify() { - @extend %toolbar-button; - display: flex; - justify-content: center; - align-items: center; - padding: 0 0 0 #{math.div(3, $base-font-size)}rem; - - &--selected { - @extend %toolbar-button--selected; - } - - &:disabled { - cursor: auto; - - & g, - & path { - fill: getThemifyVariable('button-border-color'); - } - - &:hover { - background-color: getThemifyVariable('toolbar-button-background-color'); - - & g, - & path { - fill: getThemifyVariable('button-border-color'); - } - } - } - } - - margin-right: #{math.div(15, $base-font-size)}rem; - - span { - padding-left: #{math.div(4, $base-font-size)}rem; - display: flex; - align-items: center; - justify-content: center; - width: #{math.div(20, $base-font-size)}rem; - height: #{math.div(20, $base-font-size)}rem; - } +.toolbar-start-stop-button { + @include themify() { + @extend %toolbar-button; + display: flex; + justify-content: center; + align-items: center; + border: #{math.div(2, $base-font-size)}rem solid + getThemifyVariable('toolbar-start-stop-button-outline-color'); + background-color: transparent; + + & g, + & path { + stroke: getThemifyVariable('toolbar-start-stop-button-outline-color'); + fill: getThemifyVariable('background-color'); + stroke-width: 1.5; + } + + &:hover { + & g, + & path { + fill: getThemifyVariable('background-color'); + } + } + &:hover:not(&--selected) { + background-color: transparent; + border: #{math.div(2, $base-font-size)}rem solid + getThemifyVariable('toolbar-start-stop-button-hover-outline-color'); + & g, + & path { + stroke: getThemifyVariable( + 'toolbar-start-stop-button-hover-outline-color' + ); + fill: getThemifyVariable('background-color'); + stroke-width: 1; + } + } + + &--selected { + background-color: getThemifyVariable('button-background-hover-color'); + border: none; + stroke: transparent; + & g, + & path { + fill: getThemifyVariable('background-color'); + stroke: transparent; + } + } + &:disabled { + cursor: auto; + + & g, + & path { + fill: getThemifyVariable('button-border-color'); + } + + &:hover { + background-color: getThemifyVariable('toolbar-button-background-color'); + + & g, + & path { + fill: getThemifyVariable('button-border-color'); + } + } + } + + &.play { + padding: 0 0 0 #{math.div(3, $base-font-size)}rem; + margin-right: #{math.div(15, $base-font-size)}rem; + span { + padding-left: #{math.div(4, $base-font-size)}rem; + } + } + + &.stop { + margin-right: #{math.div(15, $base-font-size)}rem; + padding: 0; + } + } + span { + display: flex; + align-items: center; + justify-content: center; + width: #{math.div(20, $base-font-size)}rem; + height: #{math.div(20, $base-font-size)}rem; + } } .toolbar__play-sketch-button { - @extend %hidden-element; -} - -.toolbar__stop-button { - @include themify() { - @extend %toolbar-button; - display: flex; - justify-content: center; - align-items: center; - margin-right: #{math.div(15, $base-font-size)}rem; - padding: 0; - - &--selected { - @extend %toolbar-button--selected; - } - } - - span { - display: flex; - align-items: center; - justify-content: center; - width: #{math.div(20, $base-font-size)}rem; - height: #{math.div(20, $base-font-size)}rem; - } + @extend %hidden-element; } .toolbar__preferences-button { - @include themify() { - @extend %toolbar-button; - display: flex; - justify-content: center; - align-items: center; - padding: 0; - - &--selected { - @extend %toolbar-button--selected; - } - } - - margin-left: auto; - - & span { - padding-left: #{math.div(1, $base-font-size)}rem; - display: flex; - align-items: center; - justify-content: center; - width: #{math.div(20, $base-font-size)}rem; - height: #{math.div(20, $base-font-size)}rem; - } + @include themify() { + @extend %toolbar-button; + display: flex; + justify-content: center; + align-items: center; + padding: 0; + + &--selected { + @extend %toolbar-button--selected; + } + } + + margin-left: auto; + + & span { + padding-left: #{math.div(1, $base-font-size)}rem; + display: flex; + align-items: center; + justify-content: center; + width: #{math.div(20, $base-font-size)}rem; + height: #{math.div(20, $base-font-size)}rem; + } } .toolbar__logo { - margin-right: #{math.div(30, $base-font-size)}rem; + margin-right: #{math.div(30, $base-font-size)}rem; - @include themify() { - & g, - & path { - fill: getThemifyVariable('logo-color'); - } - } + @include themify() { + & g, + & path { + fill: getThemifyVariable('logo-color'); + } + } } .toolbar { - padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; - display: flex; - align-items: center; + padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; + display: flex; + align-items: center; - @include themify() { - border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); - } + @include themify() { + border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); + } } .lock-icon { - height: 60%; - width: 60%; + height: 60%; + width: 60%; } .unlock-icon { - height: 60%; - width: 60%; + height: 60%; + width: 60%; } .toolbar__project-name-container { - margin-left: #{math.div(10, $base-font-size)}rem; - padding-left: #{math.div(10, $base-font-size)}rem; - display: flex; - align-items: center; + margin-left: #{math.div(10, $base-font-size)}rem; + padding-left: #{math.div(10, $base-font-size)}rem; + display: flex; + align-items: center; - > section { - display: flex; - align-items: center; - justify-content: center; - height: 30px; - width: 30px; - } + > section { + display: flex; + align-items: center; + justify-content: center; + height: 30px; + width: 30px; + } } .toolbar .editable-input__label { - @include themify() { - color: getThemifyVariable('secondary-text-color'); + @include themify() { + color: getThemifyVariable('secondary-text-color'); - & path { - fill: getThemifyVariable('secondary-text-color'); - } - } + & path { + fill: getThemifyVariable('secondary-text-color'); + } + } } .toolbar .editable-input__input { - border: 0; + border: 0; } .toolbar__project-owner { - margin: 0 #{math.div(5, $base-font-size)}rem; - @include themify() { - color: getThemifyVariable('secondary-text-color'); - } + margin: 0 #{math.div(5, $base-font-size)}rem; + @include themify() { + color: getThemifyVariable('secondary-text-color'); + } } .toolbar__autorefresh-label { - cursor: pointer; + cursor: pointer; - @include themify() { - color: getThemifyVariable('secondary-text-color'); + @include themify() { + color: getThemifyVariable('secondary-text-color'); - &:hover { - color: getThemifyVariable('logo-color'); - } - } + &:hover { + color: getThemifyVariable('logo-color'); + } + } - margin-left: #{math.div(5, $base-font-size)}rem; - font-size: #{math.div(12, $base-font-size)}rem; + margin-left: #{math.div(5, $base-font-size)}rem; + font-size: #{math.div(12, $base-font-size)}rem; } .toolbar__autorefresh { - display: flex; - align-items: center; + display: flex; + align-items: center; } .checkbox__autorefresh { - cursor: pointer; + cursor: pointer; - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } } .toolbar__makeprivate { - display: flex; - align-items: center; - gap: #{math.div(4, $base-font-size)}rem; + display: flex; + align-items: center; + gap: #{math.div(4, $base-font-size)}rem; } .toolbar__togglevisibility { - cursor: pointer; + cursor: pointer; + + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } +} - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } -} \ No newline at end of file From a19e88cea70b53e7fbd105adb4a2e1051b43e5ae Mon Sep 17 00:00:00 2001 From: runningonsideprojects Date: Wed, 23 Sep 2026 09:25:10 -0400 Subject: [PATCH 2/4] izzy beautiful new svgs for stop and play --- client/images/play.svg | 6 +- client/images/stop.svg | 7 +- client/styles/components/_toolbar.scss | 151 ++++++++++++++++++++++++- 3 files changed, 150 insertions(+), 14 deletions(-) diff --git a/client/images/play.svg b/client/images/play.svg index b28a6d330a..ede91aef6b 100644 --- a/client/images/play.svg +++ b/client/images/play.svg @@ -1,6 +1,4 @@ - - - - + + diff --git a/client/images/stop.svg b/client/images/stop.svg index 00479aec72..82ee97c390 100644 --- a/client/images/stop.svg +++ b/client/images/stop.svg @@ -1,6 +1,5 @@ - - - - + + diff --git a/client/styles/components/_toolbar.scss b/client/styles/components/_toolbar.scss index d64f7b51ab..a634173b4c 100644 --- a/client/styles/components/_toolbar.scss +++ b/client/styles/components/_toolbar.scss @@ -10,7 +10,8 @@ getThemifyVariable('toolbar-start-stop-button-outline-color'); background-color: transparent; - & g, + & rect, + & polygon, & path { stroke: getThemifyVariable('toolbar-start-stop-button-outline-color'); fill: getThemifyVariable('background-color'); @@ -18,7 +19,8 @@ } &:hover { - & g, + & rect, + & polygon, & path { fill: getThemifyVariable('background-color'); } @@ -27,7 +29,8 @@ background-color: transparent; border: #{math.div(2, $base-font-size)}rem solid getThemifyVariable('toolbar-start-stop-button-hover-outline-color'); - & g, + & rect, + & polygon, & path { stroke: getThemifyVariable( 'toolbar-start-stop-button-hover-outline-color' @@ -41,7 +44,8 @@ background-color: getThemifyVariable('button-background-hover-color'); border: none; stroke: transparent; - & g, + & rect, + & polygon, & path { fill: getThemifyVariable('background-color'); stroke: transparent; @@ -50,7 +54,8 @@ &:disabled { cursor: auto; - & g, + & rect, + & polygon, & path { fill: getThemifyVariable('button-border-color'); } @@ -58,7 +63,8 @@ &:hover { background-color: getThemifyVariable('toolbar-button-background-color'); - & g, + & rect, + & polygon, & path { fill: getThemifyVariable('button-border-color'); } @@ -225,3 +231,136 @@ } } +.toolbar__preferences-button { + @include themify() { + @extend %toolbar-button; + display: flex; + justify-content: center; + align-items: center; + padding: 0; + + &--selected { + @extend %toolbar-button--selected; + } + } + + margin-left: auto; + + & span { + padding-left: #{math.div(1, $base-font-size)}rem; + display: flex; + align-items: center; + justify-content: center; + width: #{math.div(20, $base-font-size)}rem; + height: #{math.div(20, $base-font-size)}rem; + } +} + +.toolbar__logo { + margin-right: #{math.div(30, $base-font-size)}rem; + + @include themify() { + & g, + & path { + fill: getThemifyVariable('logo-color'); + } + } +} + +.toolbar { + padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; + display: flex; + align-items: center; + + @include themify() { + border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); + } +} + +.lock-icon { + height: 60%; + width: 60%; +} + +.unlock-icon { + height: 60%; + width: 60%; +} + +.toolbar__project-name-container { + margin-left: #{math.div(10, $base-font-size)}rem; + padding-left: #{math.div(10, $base-font-size)}rem; + display: flex; + align-items: center; + + > section { + display: flex; + align-items: center; + justify-content: center; + height: 30px; + width: 30px; + } +} + +.toolbar .editable-input__label { + @include themify() { + color: getThemifyVariable('secondary-text-color'); + + & path { + fill: getThemifyVariable('secondary-text-color'); + } + } +} + +.toolbar .editable-input__input { + border: 0; +} + +.toolbar__project-owner { + margin: 0 #{math.div(5, $base-font-size)}rem; + @include themify() { + color: getThemifyVariable('secondary-text-color'); + } +} + +.toolbar__autorefresh-label { + cursor: pointer; + + @include themify() { + color: getThemifyVariable('secondary-text-color'); + + &:hover { + color: getThemifyVariable('logo-color'); + } + } + + margin-left: #{math.div(5, $base-font-size)}rem; + font-size: #{math.div(12, $base-font-size)}rem; +} + +.toolbar__autorefresh { + display: flex; + align-items: center; +} + +.checkbox__autorefresh { + cursor: pointer; + + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } +} + +.toolbar__makeprivate { + display: flex; + align-items: center; + gap: #{math.div(4, $base-font-size)}rem; +} + +.toolbar__togglevisibility { + cursor: pointer; + + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } +} From c987e05fd93708fdc18b9bb7e0c7c6d030a6d5da Mon Sep 17 00:00:00 2001 From: runningonsideprojects Date: Fri, 16 Oct 2026 21:10:15 -0400 Subject: [PATCH 3/4] implemented Raphael styling --- client/styles/abstracts/_variables.scss | 18 ++- client/styles/components/_toolbar.scss | 175 +++++++++++++++++------- 2 files changed, 137 insertions(+), 56 deletions(-) diff --git a/client/styles/abstracts/_variables.scss b/client/styles/abstracts/_variables.scss index 6f79206eaf..63fb34f678 100644 --- a/client/styles/abstracts/_variables.scss +++ b/client/styles/abstracts/_variables.scss @@ -182,8 +182,12 @@ $themes: ( toast-text-color: $lightest, toolbar-button-background-color: $medium-light, toolbar-button-color: $dark, + toolbar-start-stop-button-background-color: #dbdbdb, + toolbar-start-stop-button-hover-background-color: #ed225e, toolbar-start-stop-button-hover-outline-color: $p5js-pink, - toolbar-start-stop-button-outline-color: $dark + toolbar-start-stop-button-outline-color: #dbdbdb, + toolbar-start-stop-icon-color: $p5-light-black, + toolbar-start-stop-active-icon-color: #ffffff ), dark: ( activeline-background-color: $p5-dark-activeline, @@ -302,8 +306,12 @@ $themes: ( toast-text-color: $dark, toolbar-button-background-color: $medium-dark, toolbar-button-color: $lightest, + toolbar-start-stop-button-background-color: #dedede, + toolbar-start-stop-button-hover-background-color: #ed225e, toolbar-start-stop-button-hover-outline-color: $p5js-pink, - toolbar-start-stop-button-outline-color: $lightest + toolbar-start-stop-button-outline-color: #dedede, + toolbar-start-stop-icon-color: $p5-light-black, + toolbar-start-stop-active-icon-color: #ffffff ), contrast: ( activeline-background-color: $p5-contrast-activeline, @@ -419,7 +427,11 @@ $themes: ( toast-text-color: $darker, toolbar-button-background-color: $medium-light, toolbar-button-color: $dark, + toolbar-start-stop-button-background-color: $darker, + toolbar-start-stop-button-hover-background-color: $p5-contrast-yellow, toolbar-start-stop-button-hover-outline-color: $yellow, - toolbar-start-stop-button-outline-color: $medium-light + toolbar-start-stop-button-outline-color: #ffffff, + toolbar-start-stop-icon-color: #ffffff, + toolbar-start-stop-active-icon-color: #000000 ) ); diff --git a/client/styles/components/_toolbar.scss b/client/styles/components/_toolbar.scss index a634173b4c..cc710d6361 100644 --- a/client/styles/components/_toolbar.scss +++ b/client/styles/components/_toolbar.scss @@ -1,6 +1,7 @@ @use "sass:math"; -.toolbar-start-stop-button { +.toolbar-start-stop-button, +.toolbar__preferences-button { @include themify() { @extend %toolbar-button; display: flex; @@ -8,52 +9,36 @@ align-items: center; border: #{math.div(2, $base-font-size)}rem solid getThemifyVariable('toolbar-start-stop-button-outline-color'); - background-color: transparent; + background-color: getThemifyVariable( + 'toolbar-start-stop-button-background-color' + ); & rect, & polygon, & path { - stroke: getThemifyVariable('toolbar-start-stop-button-outline-color'); - fill: getThemifyVariable('background-color'); - stroke-width: 1.5; + stroke: none; + fill: getThemifyVariable('toolbar-start-stop-icon-color'); } + &--selected, &:hover { - & rect, - & polygon, - & path { - fill: getThemifyVariable('background-color'); - } - } - &:hover:not(&--selected) { - background-color: transparent; - border: #{math.div(2, $base-font-size)}rem solid - getThemifyVariable('toolbar-start-stop-button-hover-outline-color'); - & rect, - & polygon, - & path { - stroke: getThemifyVariable( - 'toolbar-start-stop-button-hover-outline-color' - ); - fill: getThemifyVariable('background-color'); - stroke-width: 1; - } - } - - &--selected { background-color: getThemifyVariable('button-background-hover-color'); border: none; stroke: transparent; + & rect, & polygon, & path { - fill: getThemifyVariable('background-color'); + border: none; stroke: transparent; + fill: getThemifyVariable('toolbar-start-stop-active-icon-color'); } } + &:disabled { cursor: auto; + & g, & rect, & polygon, & path { @@ -63,6 +48,7 @@ &:hover { background-color: getThemifyVariable('toolbar-button-background-color'); + & g, & rect, & polygon, & path { @@ -97,6 +83,114 @@ @extend %hidden-element; } +.toolbar__logo { + margin-right: #{math.div(30, $base-font-size)}rem; + + @include themify() { + & g, + & path { + fill: getThemifyVariable('logo-color'); + } + } +} + +.toolbar { + padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; + display: flex; + align-items: center; + + @include themify() { + border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); + } +} + +.lock-icon { + height: 60%; + width: 60%; +} + +.unlock-icon { + height: 60%; + width: 60%; +} + +.toolbar__project-name-container { + margin-left: #{math.div(10, $base-font-size)}rem; + padding-left: #{math.div(10, $base-font-size)}rem; + display: flex; + align-items: center; + + > section { + display: flex; + align-items: center; + justify-content: center; + height: 30px; + width: 30px; + } +} + +.toolbar .editable-input__label { + @include themify() { + color: getThemifyVariable('secondary-text-color'); + + & path { + fill: getThemifyVariable('secondary-text-color'); + } + } +} + +.toolbar .editable-input__input { + border: 0; +} + +.toolbar__project-owner { + margin: 0 #{math.div(5, $base-font-size)}rem; + @include themify() { + color: getThemifyVariable('secondary-text-color'); + } +} + +.toolbar__autorefresh-label { + cursor: pointer; + + @include themify() { + color: getThemifyVariable('secondary-text-color'); + + &:hover { + color: getThemifyVariable('logo-color'); + } + } + + margin-left: #{math.div(5, $base-font-size)}rem; + font-size: #{math.div(12, $base-font-size)}rem; +} + +.toolbar__autorefresh { + display: flex; + align-items: center; +} + +.checkbox__autorefresh { + cursor: pointer; + + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } +} + +.toolbar__makeprivate { + display: flex; + align-items: center; + gap: #{math.div(4, $base-font-size)}rem; +} + +.toolbar__togglevisibility { + cursor: pointer; + @include themify() { + accent-color: getThemifyVariable('logo-color'); + } +} + .toolbar__preferences-button { @include themify() { @extend %toolbar-button; @@ -231,31 +325,6 @@ } } -.toolbar__preferences-button { - @include themify() { - @extend %toolbar-button; - display: flex; - justify-content: center; - align-items: center; - padding: 0; - - &--selected { - @extend %toolbar-button--selected; - } - } - - margin-left: auto; - - & span { - padding-left: #{math.div(1, $base-font-size)}rem; - display: flex; - align-items: center; - justify-content: center; - width: #{math.div(20, $base-font-size)}rem; - height: #{math.div(20, $base-font-size)}rem; - } -} - .toolbar__logo { margin-right: #{math.div(30, $base-font-size)}rem; From ce87cfd80dd343b86f6169430aa0616421103ccd Mon Sep 17 00:00:00 2001 From: runningonsideprojects Date: Fri, 16 Oct 2026 21:19:01 -0400 Subject: [PATCH 4/4] fixing rebase issues --- client/styles/components/_toolbar.scss | 217 ------------------------- 1 file changed, 217 deletions(-) diff --git a/client/styles/components/_toolbar.scss b/client/styles/components/_toolbar.scss index cc710d6361..52fb723b74 100644 --- a/client/styles/components/_toolbar.scss +++ b/client/styles/components/_toolbar.scss @@ -83,114 +83,6 @@ @extend %hidden-element; } -.toolbar__logo { - margin-right: #{math.div(30, $base-font-size)}rem; - - @include themify() { - & g, - & path { - fill: getThemifyVariable('logo-color'); - } - } -} - -.toolbar { - padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; - display: flex; - align-items: center; - - @include themify() { - border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); - } -} - -.lock-icon { - height: 60%; - width: 60%; -} - -.unlock-icon { - height: 60%; - width: 60%; -} - -.toolbar__project-name-container { - margin-left: #{math.div(10, $base-font-size)}rem; - padding-left: #{math.div(10, $base-font-size)}rem; - display: flex; - align-items: center; - - > section { - display: flex; - align-items: center; - justify-content: center; - height: 30px; - width: 30px; - } -} - -.toolbar .editable-input__label { - @include themify() { - color: getThemifyVariable('secondary-text-color'); - - & path { - fill: getThemifyVariable('secondary-text-color'); - } - } -} - -.toolbar .editable-input__input { - border: 0; -} - -.toolbar__project-owner { - margin: 0 #{math.div(5, $base-font-size)}rem; - @include themify() { - color: getThemifyVariable('secondary-text-color'); - } -} - -.toolbar__autorefresh-label { - cursor: pointer; - - @include themify() { - color: getThemifyVariable('secondary-text-color'); - - &:hover { - color: getThemifyVariable('logo-color'); - } - } - - margin-left: #{math.div(5, $base-font-size)}rem; - font-size: #{math.div(12, $base-font-size)}rem; -} - -.toolbar__autorefresh { - display: flex; - align-items: center; -} - -.checkbox__autorefresh { - cursor: pointer; - - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } -} - -.toolbar__makeprivate { - display: flex; - align-items: center; - gap: #{math.div(4, $base-font-size)}rem; -} - -.toolbar__togglevisibility { - cursor: pointer; - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } -} - .toolbar__preferences-button { @include themify() { @extend %toolbar-button; @@ -324,112 +216,3 @@ accent-color: getThemifyVariable('logo-color'); } } - -.toolbar__logo { - margin-right: #{math.div(30, $base-font-size)}rem; - - @include themify() { - & g, - & path { - fill: getThemifyVariable('logo-color'); - } - } -} - -.toolbar { - padding: #{math.div(10, $base-font-size)}rem #{math.div(20, $base-font-size)}rem; - display: flex; - align-items: center; - - @include themify() { - border-bottom: 1px dashed map-get($theme-map, 'nav-border-color'); - } -} - -.lock-icon { - height: 60%; - width: 60%; -} - -.unlock-icon { - height: 60%; - width: 60%; -} - -.toolbar__project-name-container { - margin-left: #{math.div(10, $base-font-size)}rem; - padding-left: #{math.div(10, $base-font-size)}rem; - display: flex; - align-items: center; - - > section { - display: flex; - align-items: center; - justify-content: center; - height: 30px; - width: 30px; - } -} - -.toolbar .editable-input__label { - @include themify() { - color: getThemifyVariable('secondary-text-color'); - - & path { - fill: getThemifyVariable('secondary-text-color'); - } - } -} - -.toolbar .editable-input__input { - border: 0; -} - -.toolbar__project-owner { - margin: 0 #{math.div(5, $base-font-size)}rem; - @include themify() { - color: getThemifyVariable('secondary-text-color'); - } -} - -.toolbar__autorefresh-label { - cursor: pointer; - - @include themify() { - color: getThemifyVariable('secondary-text-color'); - - &:hover { - color: getThemifyVariable('logo-color'); - } - } - - margin-left: #{math.div(5, $base-font-size)}rem; - font-size: #{math.div(12, $base-font-size)}rem; -} - -.toolbar__autorefresh { - display: flex; - align-items: center; -} - -.checkbox__autorefresh { - cursor: pointer; - - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } -} - -.toolbar__makeprivate { - display: flex; - align-items: center; - gap: #{math.div(4, $base-font-size)}rem; -} - -.toolbar__togglevisibility { - cursor: pointer; - - @include themify() { - accent-color: getThemifyVariable('logo-color'); - } -}