diff --git a/client/modules/IDE/components/Preferences.jsx b/client/modules/IDE/components/Preferences.jsx index 93e7602f..41f5827c 100644 --- a/client/modules/IDE/components/Preferences.jsx +++ b/client/modules/IDE/components/Preferences.jsx @@ -106,17 +106,6 @@ class Preferences extends React.Component { checked={this.props.theme === 'dark'} /> - this.props.setTheme('contrast')} - aria-label="contrast theme on" - name="contrast theme" - id="contrast-theme-on" - className="preference__radio-button" - value="contrast" - checked={this.props.theme === 'contrast'} - /> -
@@ -182,30 +171,28 @@ class Preferences extends React.Component {
Increase
-
- - - - -
+ + + +

Autosave

@@ -250,41 +237,38 @@ class Preferences extends React.Component {
Used with screen reader
{ this.props.setTextOutput(event.target.checked); }} aria-label="text output on" name="text output" id="text-output-on" + className="preference__radio-button" value="On" checked={(this.props.textOutput)} /> - + { this.props.setGridOutput(event.target.checked); }} aria-label="table output on" name="table output" id="table-output-on" + className="preference__radio-button" value="On" checked={(this.props.gridOutput)} /> - - { - this.props.setSoundOutput(event.target.checked); - }} - aria-label="sound output on" - name="sound output" - id="sound-output-on" - value="On" - checked={(this.props.soundOutput)} - /> - + +
@@ -312,13 +296,6 @@ class Preferences extends React.Component { checked={!this.props.lintWarning} /> -
@@ -342,10 +319,10 @@ Preferences.propTypes = { setAutosave: PropTypes.func.isRequired, textOutput: PropTypes.bool.isRequired, gridOutput: PropTypes.bool.isRequired, - soundOutput: PropTypes.bool.isRequired, + // soundOutput: PropTypes.bool.isRequired, setTextOutput: PropTypes.func.isRequired, setGridOutput: PropTypes.func.isRequired, - setSoundOutput: PropTypes.func.isRequired, + // setSoundOutput: PropTypes.func.isRequired, lintWarning: PropTypes.bool.isRequired, setLintWarning: PropTypes.func.isRequired, // openTab: PropTypes.func.isRequired, diff --git a/client/styles/components/_preferences.scss b/client/styles/components/_preferences.scss index 077a4156..6107c420 100644 --- a/client/styles/components/_preferences.scss +++ b/client/styles/components/_preferences.scss @@ -34,6 +34,7 @@ width: #{32 / $base-font-size}rem; height: #{32 / $base-font-size}rem; margin-left: #{6 / $base-font-size}rem; + margin-right: #{10 / $base-font-size}rem; line-height: #{40 / $base-font-size}rem; & svg { width: #{10 / $base-font-size}rem; @@ -177,6 +178,12 @@ @extend %preference-option; padding-right: #{44 / $base-font-size}rem; } + display: flex; + flex-wrap: wrap; + flex-direction: row; + margin-top: #{10 / $base-font-size}rem; + width: #{50 / $base-font-size}rem; + margin-left: #{5 / $base-font-size}rem; } .preference__option:last-child { @@ -186,7 +193,12 @@ .preference__preview-button { @include themify() { @extend %preference-option; + &:hover { + color: getThemifyVariable('button-background-hover-color'); + } } + margin-top: #{7 / $base-font-size}rem; + margin-left: #{30 / $base-font-size}rem; } .preference__options {