+ +
{ @@ -60,6 +61,10 @@ const ide = (state = initialState, action) => { return Object.assign({}, state, { shareModalVisible: true }); case ActionTypes.CLOSE_SHARE_MODAL: return Object.assign({}, state, { shareModalVisible: false }); + case ActionTypes.SHOW_EDITOR_OPTIONS: + return Object.assign({}, state, { editorOptionsVisible: true }); + case ActionTypes.CLOSE_EDITOR_OPTIONS: + return Object.assign({}, state, { editorOptionsVisible: false }); default: return state; } diff --git a/client/styles/components/_editor.scss b/client/styles/components/_editor.scss index 3f4ed419..a3aa9588 100644 --- a/client/styles/components/_editor.scss +++ b/client/styles/components/_editor.scss @@ -60,3 +60,24 @@ box-shadow: 0 12px 12px $light-shadow-color; font-family: Montserrat, sans-serif; } + +.editor__options-button { + @extend %icon; + position: absolute; + top: #{5 / $base-font-size}rem; + right: #{5 / $base-font-size}rem; + z-index: 1; +} + +.editor__options { + display: none; + @extend %modal; + position: absolute; + top: #{20 / $base-font-size}rem; + right: #{5 / $base-font-size}rem; + padding: #{10 / $base-font-size}rem; + + .editor--options & { + display: block; + } +} \ No newline at end of file diff --git a/client/styles/components/_toolbar.scss b/client/styles/components/_toolbar.scss index 00f9e33d..180d1bbe 100644 --- a/client/styles/components/_toolbar.scss +++ b/client/styles/components/_toolbar.scss @@ -29,6 +29,10 @@ } } +.toolbar__shortcut-button { + +} + .toolbar__logo { margin-right: #{30 / $base-font-size}rem; }