You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
1.9 KiB

  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. .editor-modal-load {
  29. display: flex;
  30. align-items: center;
  31. opacity: 0;
  32. transition: opacity .5s ease;
  33. span {
  34. font-size: 12px;
  35. color: $blue;
  36. }
  37. i {
  38. margin-left: 10px;
  39. width: 32px;
  40. height: 32px;
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. &::before {
  45. content: " ";
  46. @include spinner($blue,0.5s,24px);
  47. }
  48. }
  49. &.is-active {
  50. opacity: 1;
  51. }
  52. }
  53. .CodeMirror {
  54. border-left: none;
  55. border-right: none;
  56. padding-top: 52px;
  57. }
  58. .CodeMirror .CodeMirror-code .cm-url {
  59. color: #00ACC1;
  60. }
  61. .CodeMirror .CodeMirror-code .cm-header-1 {
  62. color: #635c8c;
  63. font-size: 2em;
  64. font-weight: 400;
  65. }
  66. .CodeMirror .CodeMirror-code .cm-header-2 {
  67. color: #222324;
  68. font-size: 1.75em;
  69. font-weight: 300;
  70. }
  71. .CodeMirror .CodeMirror-code .cm-header-3 {
  72. color: #222324;
  73. font-size: 1.5em;
  74. font-weight: 300;
  75. }
  76. .editor-toolbar .fa {
  77. font-size: 14px;
  78. }
  79. .ace-container {
  80. position: relative;
  81. }
  82. #page-type-source .ace-container {
  83. min-height: 95vh;
  84. }
  85. #modal-editor-codeblock .ace-container {
  86. height: 400px;
  87. }
  88. #source-display, #codeblock-editor {
  89. position: absolute;
  90. top: 0;
  91. left: 0;
  92. bottom: 0;
  93. right: 0;
  94. }
  95. .modallayer {
  96. position: fixed;
  97. top: 100px;
  98. width: 100%;
  99. background-color: rgba(255,255,255,0.95);
  100. border-bottom: 1px solid $grey-light;
  101. z-index: 6;
  102. padding: 20px;
  103. border-bottom: 1px solid #CCC;
  104. box-shadow: 0 2px 3px rgba(17,17,17,.1);
  105. display: none;
  106. > h3, .column > h3 {
  107. color: $grey-dark;
  108. font-size: 24px;
  109. font-weight: 300;
  110. }
  111. }
  112. .modallayer-content {
  113. }