From ae69c077a0267aaec8078fa4d9ad4fe65bb0fd3c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 2 Aug 2019 00:35:00 +0200 Subject: [PATCH] Fix wiki styles --- royalnet/web/static/ryg.css | 39 ++++++++++++++++++++---------- royalnet/web/static/ryg.css.map | 2 +- royalnet/web/static/ryg.less | 43 +++++++++++++++++++++------------ 3 files changed, 55 insertions(+), 29 deletions(-) diff --git a/royalnet/web/static/ryg.css b/royalnet/web/static/ryg.css index 333a0d78..3fd0fe90 100644 --- a/royalnet/web/static/ryg.css +++ b/royalnet/web/static/ryg.css @@ -339,13 +339,13 @@ form.full label.label-big * { /*** Custom elements ***/ .CodeMirror { font-family: "Consolas", monospace !important; - background-color: transparent; - color: #a0ccff; - border-top: 0; - border-bottom: 0; - border-left: 1px solid rgba(160, 204, 255, 0.2); - border-right: 1px solid rgba(160, 204, 255, 0.2); - border-radius: 0; + background-color: #0d193b !important; + color: #a0ccff !important; + border-top: 0 !important; + border-bottom: 0 !important; + border-left: 1px solid rgba(160, 204, 255, 0.2) !important; + border-right: 1px solid rgba(160, 204, 255, 0.2) !important; + border-radius: 0 !important; } .CodeMirror .cm-link { color: #7dffff !important; @@ -373,31 +373,44 @@ form.full label.label-big * { } .editor-toolbar, .editor-statusbar { - background-color: #0e1c47; + background-color: #1c2b4f !important; color: #a0ccff !important; - border: 0; opacity: 1 !important; } .editor-toolbar a, .editor-statusbar a { color: #a0ccff !important; - border: 0; + border: 0 !important; } .editor-toolbar a:hover, .editor-statusbar a:hover { - background-color: rgba(160, 204, 255, 0.2); + background-color: rgba(160, 204, 255, 0.2) !important; color: #ffffff !important; } .editor-toolbar a.active, .editor-statusbar a.active { - background-color: rgba(160, 204, 255, 0.3); + background-color: rgba(160, 204, 255, 0.3) !important; color: white !important; } .editor-toolbar a.active:hover, .editor-statusbar a.active:hover { - background-color: rgba(160, 204, 255, 0.2); + background-color: rgba(160, 204, 255, 0.2) !important; color: #ffffff !important; } +.editor-toolbar { + border-top: 1px solid #2b3e62 !important; + border-left: 1px solid #2b3e62 !important; + border-right: 1px solid #2b3e62 !important; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.editor-statusbar { + border-bottom: 1px solid #2b3e62 !important; + border-left: 1px solid #2b3e62 !important; + border-right: 1px solid #2b3e62 !important; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; +} .horizontal-container-main { display: flex; justify-content: center; diff --git a/royalnet/web/static/ryg.css.map b/royalnet/web/static/ryg.css.map index 945acaa8..8882cdba 100644 --- a/royalnet/web/static/ryg.css.map +++ b/royalnet/web/static/ryg.css.map @@ -1 +1 @@ -{"version":3,"sources":["ryg.less"],"names":[],"mappings":";;AA2BA;EACI,aAPS,SAAS,4BAOlB;EACA,yBAAA;EACA,cAAA;EACA,sBAAA;;AAGJ;EACI,cAAA;EACA,qBAAA;;AAEA,CAAC;EACG,cAAA;;AAGJ,CAAC;EACG,YAAA;;AAOA,CAFH,IAAI,UAEA;EACG,aAAa,qBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAVH,IAAI,UAUA,sBAAsB;EACnB,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAlBH,IAAI,UAkBA,iCAAiC;AAAU,CAlB/C,IAAI,UAkB4C,0BAA0B;EACnE,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CA1BH,IAAI,UA0BA,2BAA2B;AAAU,CA1BzC,IAAI,UA0BsC,kCAAkC;EACrE,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAlCH,IAAI,UAkCA,4BAA4B;AAAU,CAlC1C,IAAI,UAkCuC,iCAAiC;EACrE,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CA1CH,IAAI,UA0CA,yBAAyB;AAAU,CA1CvC,IAAI,UA0CoC,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EACA,kBAAA;;AA5BR,OAsBI,cAQI;EACI,kBAAA;;AA/BZ,OAmCI;EACI,WAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAxCR,OA2CI;EACI,WAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAjDR,OAoDI;EACI,WAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAGJ,OAAC;EACG,kBAAA;EACA,0CAAA;EACA,8BAAA;;AAEA,OALH,eAKI;EACG,cAAA;;;AASZ;EACI,aAAA;EAEA,qCAAA;EACA,qBAAA;EAEA,mBAAA;;AANJ,cAQI;EACI,cAAA;EACA,iBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;;AAbR,cAQI,eAOI;EACI,WAAA;EACA,YAAA;;AAjBZ,cAqBI;EACI,iBAAA;EAEA,cAAA;EACA,mBAAA;EACA,WAAA;;AA1BR,cAqBI,kBAOI;EACI,cAAA;;AA7BZ,cAqBI,kBAWI;EACI,cAAA;;AAjCZ,cAqCI;EACI,cAAA;EACA,mBAAA;EACA,WAAA;;AAxCR,cA2CI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AA9CR,cAiDI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AAIR,QAEI,eAEI;EACI,aA/4BM,YAAY,4BA+4BlB;;AALZ,QAEI,eAMI;EACI,cAAA;;AATZ,QAaI,eAEI;EACI,iBAAA","file":"ryg.css"} \ No newline at end of file diff --git a/royalnet/web/static/ryg.less b/royalnet/web/static/ryg.less index 52cd750e..a006d6ab 100644 --- a/royalnet/web/static/ryg.less +++ b/royalnet/web/static/ryg.less @@ -8,8 +8,8 @@ @fg-ten: fade(@fg, 10%); @fg-twenty: fade(@fg, 20%); -@fg-ten-hard: overlay(@bg, @fg-ten); -@fg-twenty-hard: overlay(@bg, @fg-twenty); +@fg-ten-hard: screen(@bg, @fg-ten); +@fg-twenty-hard: screen(@bg, @fg-twenty); @pastel-red: #ff7d7d; @pastel-orange: #ffbb7d; @@ -424,13 +424,13 @@ form.full { //Markdown editor .CodeMirror { font-family: "Consolas", monospace !important; - background-color: transparent; - color: @fg; - border-top: 0; - border-bottom: 0; - border-left: 1px solid @fg-twenty; - border-right: 1px solid @fg-twenty; - border-radius: 0; + background-color: @bg !important; + color: @fg !important; + border-top: 0 !important; + border-bottom: 0 !important; + border-left: 1px solid @fg-twenty !important; + border-right: 1px solid @fg-twenty !important; + border-radius: 0 !important; .cm-link { color: @pastel-cyan !important; @@ -465,31 +465,44 @@ form.full { } } .editor-toolbar, .editor-statusbar { - background-color: @fg-twenty-hard; + background-color: @fg-ten-hard !important; color: @fg !important; - border: 0; opacity: 1 !important; a { color: @fg !important; - border: 0; + border: 0 !important; &:hover { - background-color: @fg-twenty; + background-color: @fg-twenty !important; color: lighten(@fg, 25%) !important; } &.active { - background-color: fade(@fg, 30%); + background-color: fade(@fg, 30%) !important; color: white !important; &:hover { - background-color: @fg-twenty; + background-color: @fg-twenty !important; color: lighten(@fg, 25%) !important; } } } } +.editor-toolbar { + border-top: 1px solid @fg-twenty-hard !important; + border-left: 1px solid @fg-twenty-hard !important; + border-right: 1px solid @fg-twenty-hard !important; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.editor-statusbar { + border-bottom: 1px solid @fg-twenty-hard !important; + border-left: 1px solid @fg-twenty-hard !important; + border-right: 1px solid @fg-twenty-hard !important; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; +} //Horizontal container, should contain elements such as main and sidebar .horizontal-container-main {