diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index d47daeb3..1b032e2a 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -1309,4 +1309,58 @@ a.tag:hover { font-size: 10px; vertical-align: .1em; margin-left: .1em; +} +.interior .header-Outro.editor { + padding-top: 0px; + overflow: hidden; + position: fixed; + width: 100%; + margin-top: 22px; + font-size: 15px; + + a, a:visited { + color: white; + } + .breadcrumbs { + float: left; + margin: 4px 0; + .filename { + font-weight: bold; + } + } + .row.content { + padding: 15px 20px; + max-width: none; + margin: 0; + } + .tools { + color: #8099A7; + float: right; + + .theme { + font-size: .9em; + display: inline; + + select#theme { + vertical-align: baseline; + background: #25333c; + color: #8099A7; + } + } + #saveButton { + margin-top: 0; + } + } +} +.row.editor { + float: left; + width: 100%; + overflow: scroll; + position: absolute; + top: 105px; + bottom: 0; + margin: 0; + .col { + padding: 0; + } } \ No newline at end of file diff --git a/views/site_files/text_editor.erb b/views/site_files/text_editor.erb index cbd36297..f150f7a0 100644 --- a/views/site_files/text_editor.erb +++ b/views/site_files/text_editor.erb @@ -11,21 +11,26 @@ position:relative; top:-50px; } + .page { + background: #161718; + position: fixed; + height: 100%; + } + .footer-Base { + display: none; + } -
+
-

Editing <%= @filename %>

- <% if @filename.match /index.html$/ %> -

Note: index.html is the first web page that gets loaded when users visit your site. Make sure there are HTML links to your other pages from this page.

- <% end %> -
-
- -
-
-
-

+

+
+
Theme: -

-
-
- -
-
-
<%==encoding_fix(@file_data) %>
-
-
- -
- - - - - -
-
-   View -
-
-
- -
-
+ Save + View + @@ -108,6 +79,13 @@
+
+
+
<%==encoding_fix(@file_data) %> +
+
+
+