add autofresh toggle to toolbar
This commit is contained in:
parent
274614cc60
commit
56fcedc06a
2 changed files with 18 additions and 0 deletions
|
@ -69,6 +69,15 @@ class Toolbar extends React.Component {
|
|||
>
|
||||
<InlineSVG src={stopUrl} alt="Stop Sketch" />
|
||||
</button>
|
||||
<div className="toolbar__autorefresh">
|
||||
<input
|
||||
id="autorefresh"
|
||||
type="checkbox"
|
||||
/>
|
||||
<label htmlFor="autorefresh" className="toolbar__autorefresh-label">
|
||||
Auto-refresh
|
||||
</label>
|
||||
</div>
|
||||
<div className={nameContainerClass}>
|
||||
<a
|
||||
className="toolbar__project-name"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
.toolbar__stop-button {
|
||||
@include themify() {
|
||||
@extend %toolbar-button;
|
||||
margin-right: #{15 / $base-font-size}rem;
|
||||
&--selected {
|
||||
@extend %toolbar-button--selected;
|
||||
}
|
||||
|
@ -96,3 +97,11 @@
|
|||
.toolbar__project-owner {
|
||||
margin-left: #{5 / $base-font-size}rem;
|
||||
}
|
||||
|
||||
.toolbar__autorefresh-label {
|
||||
@include themify() {
|
||||
color: getThemifyVariable('inactive-text-color');
|
||||
}
|
||||
margin-left: #{5 / $base-font-size}rem;
|
||||
font-size: #{12 / $base-font-size}rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue