Newer
Older
$fa-font-path: '~font-awesome/fonts';
@import '~font-awesome/scss/font-awesome';
@import './elements/elements';
@import './panes/panes';
$light-gray: #ddd;
$ultra-light-gray: #fafafa;
$toolbar-active-bg: rgba(204, 204, 204, .75);
$transparent-black: rgba(0, 0, 0, .75);
$white: #fff;
// track changes
$inactive-grey: #404040;
$active-blue: #4990e2;
$scrollbar-bg: #f5f5f5;
$scrollbar-thumb: rgba(0, 0, 0, .2);
$scrollbar-track: rgba(0, 0, 0, .3);
::-webkit-scrollbar-track {
background-color: $scrollbar-bg;
border-radius: 10px;
box-shadow: inset 0 0 6px $scrollbar-track;
}
::-webkit-scrollbar {
background-color: $scrollbar-bg;
width: 4px;
}
::-webkit-scrollbar-thumb {
background: $scrollbar-thumb;
}
.editor-wrapper {
height: 90vh;
position: relative;
z-index: 9999;
}
}
.sc-prose-editor {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
.sc-container-editor {
max-width: 950px;
}
.se-toolbar-wrapper {
border-bottom: 0;
.sc-toolbar {
background-color: $white;
@-moz-document url-prefix() {
.sc-tool-group > .sc-switch-text-type {
margin: 0;
position: relative;
top: 8px;
}
chris
committed
.sm-target-track-change-enable {
button {
chris
committed
position: relative;
}
button::after {
chris
committed
}
chris
committed
}
.sm-target-track-change-toggle-view {
cursor: pointer;
background-color: transparent;
border: 0;
color: $inactive-grey;
color: $active-blue;
padding: 0 19px;
text-decoration: underline;
.track-changes-view-active::after {
chris
committed
}
}
.sm-target-document,
.sm-target-annotations,
Alexandros Georgantas
committed
.sm-target-insert,
.sm-target-default {
.sc-button {
background: transparent;
border: 0;
border-radius: 0;
font-size: 14px;
outline: none;
padding: 0 12px;
&:hover {
&:disabled {
background: transparent;
}
}
color: $black;
margin: 0;
outline: none;
padding: 0;
Alexandros Georgantas
committed
bottom: 8px;
color: $black;
content: 'x';
font-size: 8px;
left: 21px;
position: absolute;
border-right: 1px solid $light-gray;
margin-top: 1px;
.sidenav .sc-toolbar ul li.se-option.active {
background-color: #d8d8d8;
}
height: 50%;
left: 2%;
margin-top: 189px;
user-select: none;
z-index: 100;
.sc-toolbar {
background: transparent;
border: 0;
ul {
margin: 0;
padding: 0;
li.se-option {
padding: 3px;
}
}
.sc-switch-text-type {
margin: 0;
padding: 0;
width: 140px;
div.se-content {
background-color: $white;
color: $transparent-black;
font-family: 'Fira Sans';
::selection {
background: $light-gray;
}
::-moz-selection {
background: $light-gray;
}
.sc-split-pane {
position: relative;
}
.se-active-tools {
background: transparent;
border: 0;
.sc-list-ul {
list-style-type: disc;
padding-left: 19px;
}
.sc-list-ol {
list-style-type: decimal;
padding-left: 19px;
}
.se-context-section {
background-color: $ultra-light-gray;
border-left: 1px solid $light-gray;
box-shadow: inset 0 0 10px $shadow;