Skip to content
Snippets Groups Projects
SimpleEditor.scss 2.03 KiB
Newer Older
// Font Awesome
john's avatar
john committed
$fa-font-path: '~font-awesome/fonts';
@import '~font-awesome/scss/font-awesome';
john's avatar
john committed
@import '~substance/substance.css';
@import './elements/elements';
@import './panes/panes';
@import './notesEditor/notesEditor';
@import './css/toolBar';
@import './css/sideNav';
@import './css/scrollBar';
john's avatar
john committed
// grays
$light-gray: #ddd;
$ultra-light-gray: #fafafa;
john's avatar
john committed

$black: #000;
$shadow: rgba(0, 0, 0, .05);
john's avatar
john committed
$transparent-black: rgba(0, 0, 0, .75);
$white: #fff;

.editor-wrapper {
  height: 90vh;
  position: relative;

  // move to a new file toolbar.scss ??
  .view-mode {
    font-size: 14px;
    position: absolute;
    text-align: center;
    top: 10px;
    z-index: 9999;
  }
}

.sc-prose-editor {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
chris's avatar
chris committed
  .sc-container-editor {
chris's avatar
chris committed
    max-width: 50%;
  .se-scrollable {
    background-color: $white;
    border-right: 1px solid $light-gray;
    margin-top: 1px;
  }

  div.se-content {
    background-color: $white;
    color: $transparent-black;
    font-family: 'Fira Sans';
    line-height: 38px;
chris's avatar
chris committed
    margin: 0% 0% 0% 20%;
    min-height: 100vh;
chris's avatar
chris committed
    padding: 1% 0%;
    transition: .3s;
    word-wrap: break-word;

    ::selection {
      background: $light-gray;
    }

    ::-moz-selection {
      background: $light-gray;
    }

john's avatar
john committed
    .se-selection-fragment {
chris's avatar
chris committed
      background: none;
    .sc-split-pane {
      position: relative;
    }

john's avatar
john committed
    .sc-surface {
      outline: none;
    }

chris's avatar
chris committed
    .sc-overlay {
john's avatar
john committed
      .se-active-tools {
        background: transparent;
        border: 0;
chris's avatar
chris committed
        border-radius: 0;
john's avatar
john committed
        padding: 0;
      }
    }

chris's avatar
chris committed
    .sc-overlay.sm-theme-dark::before {
john's avatar
john committed
      border-style: none;
      border-width: 0;
chris's avatar
chris committed
    }

    .sc-list-ul {
      list-style-type: disc;
      padding-left: 19px;
    }

    .sc-list-ol {
      list-style-type: decimal;
      padding-left: 19px;
    }
chris's avatar
chris committed
} // end sc-content

  .se-context-section {
    background-color: $ultra-light-gray;
    border-left: 1px solid $light-gray;
    box-shadow: inset 0 0 10px $shadow;