diff options
author | Cherrg <michael@gnehr.de> | 2019-11-17 20:42:44 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-11-17 14:42:44 -0500 |
commit | 1c911aa82545741e249d6cb24990c6e8565fccee (patch) | |
tree | 4739949f8a671fdef115bd649b41662c24701df0 /public/css | |
parent | 9275390423fc252a74a50414eb872434dc945b1a (diff) | |
download | gitea-1c911aa82545741e249d6cb24990c6e8565fccee.tar.gz gitea-1c911aa82545741e249d6cb24990c6e8565fccee.zip |
wiki - add 'write' 'preview' buttons to wiki edit like in issues (#7241)
* Add add 'write' 'preview' buttons to wiki edit like in issues
affects #6975
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* update dark theme
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* fix css lint warnings - missing spaces
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* hide preview button on no fullscreen toolbar
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/index.css | 2 | ||||
-rw-r--r-- | public/css/theme-arc-green.css | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css index 7fc962796e..f82119737b 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -754,6 +754,8 @@ i.icon.centerlock{top:1.5em} .repository.wiki.new .CodeMirror .CodeMirror-code{font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace} .repository.wiki.new .CodeMirror .CodeMirror-code .cm-comment{background:inherit} .repository.wiki.new .editor-preview{background-color:#fff} +.repository.wiki.new .ui.attached.tabular.menu.previewtabs{margin-bottom:15px} +.repository.wiki.new .ui.attached.tabular.menu.previewtabs+.field .editor-toolbar:not(.fullscreen) a.fa-eye{display:none} .repository.wiki.view .choose.page{margin-top:-5px} .repository.wiki.view .ui.sub.header{text-transform:none} .repository.wiki.view>.markdown{padding:15px 30px} diff --git a/public/css/theme-arc-green.css b/public/css/theme-arc-green.css index b1c83963a8..d4d71ff086 100644 --- a/public/css/theme-arc-green.css +++ b/public/css/theme-arc-green.css @@ -94,6 +94,9 @@ footer{background:#2e323e;border-top:1px solid #313131} .ui .text.grey{color:#808084!important} .ui.attached.table.segment{background:#353945;color:#dbdbdb!important} .markdown:not(code) h2{border-bottom:1px solid #304251} +.repository.wiki.new .ui.container form .ui.tabular.menu{border-bottom:1px solid rgba(187,187,187,.6)} +.repository.wiki.new .ui.container form .ui.tabular.menu .active.item{border-top:1px solid rgba(187,187,187,.6);border-left:1px solid rgba(187,187,187,.6);border-right:1px solid rgba(187,187,187,.6)} +.repository.wiki.new .ui.container form .ui.tabular.menu .active.item:hover{background:#4b5162} .hljs,.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#9daccc} .markdown:not(code) .highlight pre,.markdown:not(code) pre{background-color:#2a2e3a;border:1px solid #404552} .markdown:not(code) table tr:nth-child(2n){background-color:#2a2e39} |