Skip to content
Snippets Groups Projects
Commit 493865a2 authored by chris's avatar chris
Browse files

merge substance toolbar and adding basic styles

parent 4e33580e
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,9 @@ $teal: #46b9ba; ...@@ -19,6 +19,9 @@ $teal: #46b9ba;
$toolbar-active-bg: rgba(204, 204, 204, .75); $toolbar-active-bg: rgba(204, 204, 204, .75);
$transparent-black: rgba(0, 0, 0, .75); $transparent-black: rgba(0, 0, 0, .75);
$white: #fff; $white: #fff;
// track changes
$inactive-grey: #404040;
$active-blue: #4a90e2;
.editor-wrapper { .editor-wrapper {
height: 90vh; height: 90vh;
...@@ -68,10 +71,10 @@ $white: #fff; ...@@ -68,10 +71,10 @@ $white: #fff;
} }
.sm-target-text { .sm-target-text {
padding: 0; bottom: 5px;
height: 100%; height: 100%;
padding: 0;
position: relative; position: relative;
bottom: 5px;
.sc-switch-text-type { .sc-switch-text-type {
margin-left: 1px; margin-left: 1px;
width: 150px; width: 150px;
...@@ -101,59 +104,72 @@ $white: #fff; ...@@ -101,59 +104,72 @@ $white: #fff;
} }
} // end dropdown } // end dropdown
.sm-target-document {
border-left: 1px solid $border;
border-right: 1px solid $border;
padding-right: 9px;
}
.sm-target-annotations {
border-right: 1px solid $border;
padding: 0 9px;
}
.sm-target-insert {
border-right: 1px solid $border;
}
.sm-target-track-change-enable { .sm-target-track-change-enable {
border-right: 1px solid $border; border-right: 1px solid $border;
&:before {
bottom: 14px; &:before {
content: 'Track Changes'; bottom: 14px;
font-size: 11px; content: 'Track Changes';
left: 24%; font-size: 13px;
position: relative; left: 24%;
} position: relative;
}
button { button {
background-color: $inactive-grey;
color: $white;
border-radius: 0;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
padding-left: 35px;
padding-right: 35px;
right: 40%;
top: 10px; top: 10px;
right: 50%;
} }
button::after { button::after {
content: 'Record'; content: 'Record';
} }
.track-changes-active { .track-changes-active {
background-color: blue !important; background-color: $active-blue;
color: #fff !important; color: $white;
padding-left: 26px;
padding-right: 26px;
&:after { &:after {
content: 'Recording'; content: 'Recording';
} }
} }
} }
.sm-target-track-change-toggle-view { .sm-target-track-change-toggle-view {
cursor: pointer; cursor: pointer;
button::after { button::after {
content: 'View is Off'; content: 'View is Off';
} }
.track-changes-view-active::after { .track-changes-view-active::after {
content: 'View is On'; content: 'View is On';
} }
} }
.sm-target-document, .sm-target-annotations, .sm-target-insert { .sm-target-document {
border-left: 1px solid $border;
}
.sm-target-track-change-enable,
.sm-target-track-change-toggle-view {
padding: 10px 0;
}
.sm-target-document,
.sm-target-annotations,
.sm-target-insert {
border-right: 1px solid $border;
padding: 10px 9px;
.sc-button { .sc-button {
background: transparent; background: transparent;
border: 0; border: 0;
......
$blue: blue; $blue: #4a90e2;
.sc-track-change-add { .sc-track-change-add {
color: $blue; color: $blue;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment