_editor.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .editor-toolbar {
  2. z-index: 2;
  3. background-color: rgba(0,0,0,0.65);
  4. border: none;
  5. border-top-left-radius: 0;
  6. border-top-right-radius: 0;
  7. opacity: 1;
  8. position: fixed;
  9. top: 52px;
  10. left: 0;
  11. width: 100%;
  12. &:hover {
  13. opacity: 1;
  14. }
  15. a {
  16. color: #FFF !important;
  17. &.active, &:hover {
  18. background-color: rgba(0,0,0,0.5);
  19. border-color: #888;
  20. }
  21. }
  22. i.separator {
  23. margin-top: 5px;
  24. border-left-color: #000;
  25. border-right-color: #AAA;
  26. }
  27. }
  28. .CodeMirror {
  29. border-left: none;
  30. border-right: none;
  31. padding-top: 52px;
  32. }
  33. .CodeMirror .CodeMirror-code .cm-url {
  34. color: #00ACC1;
  35. }
  36. .CodeMirror .CodeMirror-code .cm-header-1 {
  37. color: #635c8c;
  38. font-size: 2em;
  39. font-weight: 400;
  40. }
  41. .CodeMirror .CodeMirror-code .cm-header-2 {
  42. color: #222324;
  43. font-size: 1.75em;
  44. font-weight: 300;
  45. }
  46. .CodeMirror .CodeMirror-code .cm-header-3 {
  47. color: #222324;
  48. font-size: 1.5em;
  49. font-weight: 300;
  50. }
  51. .editor-toolbar .fa {
  52. font-size: 14px;
  53. }
  54. .ace-container {
  55. position: relative;
  56. }
  57. #page-type-source .ace-container {
  58. min-height: 95vh;
  59. }
  60. #modal-editor-codeblock .ace-container {
  61. height: 400px;
  62. }
  63. #source-display, #codeblock-editor {
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. bottom: 0;
  68. right: 0;
  69. }
  70. .modallayer {
  71. position: fixed;
  72. top: 100px;
  73. width: 100%;
  74. background-color: rgba(255,255,255,0.95);
  75. border-bottom: 1px solid $grey-light;
  76. z-index: 6;
  77. padding: 20px;
  78. border-bottom: 1px solid #CCC;
  79. box-shadow: 0 2px 3px rgba(17,17,17,.1);
  80. display: none;
  81. > h3, .column > h3 {
  82. color: $grey-dark;
  83. font-size: 24px;
  84. font-weight: 300;
  85. }
  86. }
  87. .modallayer-content {
  88. }