-
Alexandros Georgantas authored7ae42c84
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Forked from
Coko Org / Products / ketty / editoria-app
255 commits behind the upstream repository.
toolBar.scss 2.70 KiB
$white: #fff;
$black: #000;
// track changes
$inactive-grey: #404040;
$active-blue: #4990e2;
$toolbar-active-bg: rgba(204, 204, 204, .75);
.sc-prose-editor {
.se-toolbar-wrapper {
border-bottom: 0;
.sc-toolbar {
background-color: $white;
border-right: 0;
margin-left: 18.6%;
padding-left: 0;
vertical-align: middle;
width: 100%;
@-moz-document url-prefix() {
.sc-tool-group > .sc-switch-text-type {
margin: 0;
position: relative;
top: 8px;
}
}
.sm-target-track-change-enable {
button {
background-color: transparent;
border: 1px solid $black;
border-radius: 4px;
color: $inactive-grey;
line-height: 0;
outline: none;
padding: 0 19px;
position: relative;
}
button::after {
content: 'Record Changes';
}
.track-changes-active {
background-color: $blue;
border-color: $blue;
color: $white;
padding: 0 10px;
text-decoration: none;
&:after {
content: 'Recording Changes';
}
}
}
.sm-target-track-change-toggle-view {
cursor: pointer;
button {
background-color: transparent;
border: 1px solid $black;
border-radius: 4px;
color: $inactive-grey;
cursor: pointer;
line-height: 0;
outline: none;
padding: 0 19px;
position: relative;
}
button::after {
content: 'show changes';
}
.track-changes-view-active {
background-color: $blue;
border-color: $blue;
color: $white;
padding: 0 19px;
text-decoration: none;
}
.track-changes-view-active::after {
content: 'Hide changes';
}
}
.sm-target-document,
.sm-target-annotations,
.sm-target-insert,
.sm-target-default {
padding: 0 9px;
.sc-button {
background: transparent;
border: 0;
border-radius: 0;
font-size: 14px;
outline: none;
padding: 0 12px;
&:hover {
background: transparent;
&:disabled {
background: transparent;
}
}
}
.sm-active {
// background: $toolbar-active-bg;
color: $black;
margin: 0;
outline: none;
padding: 0;
&:after {
bottom: 8px;
color: $black;
content: 'x';
font-size: 8px;
left: 21px;
position: absolute;
}
}
}
} // End sc-toolbar
.view-mode {
font-size: 14px;
position: absolute;
right: 5.5%;
text-align: center;
top: 10px;
z-index: 9999;
}
}
}