From ea2e58569949c660f294f4bcb4a87a3dd516d080 Mon Sep 17 00:00:00 2001 From: hugh-obrien Date: Tue, 24 Apr 2018 16:51:01 +0100 Subject: [PATCH] basic publish menu styling --- .../web/public/stylesheets/app/editor.less | 1 + .../stylesheets/app/editor/publish-modal.less | 91 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 services/web/public/stylesheets/app/editor/publish-modal.less diff --git a/services/web/public/stylesheets/app/editor.less b/services/web/public/stylesheets/app/editor.less index 46a35c440f..1fcbde35d6 100644 --- a/services/web/public/stylesheets/app/editor.less +++ b/services/web/public/stylesheets/app/editor.less @@ -13,6 +13,7 @@ @import "./editor/hotkeys.less"; @import "./editor/review-panel.less"; @import "./editor/rich-text.less"; +@import "./editor/publish-modal.less"; @ui-layout-toggler-def-height: 50px; @ui-resizer-size: 7px; diff --git a/services/web/public/stylesheets/app/editor/publish-modal.less b/services/web/public/stylesheets/app/editor/publish-modal.less new file mode 100644 index 0000000000..46c86395c5 --- /dev/null +++ b/services/web/public/stylesheets/app/editor/publish-modal.less @@ -0,0 +1,91 @@ +@import "core/ol-variables.less"; + +.modal-body-publish { + #search-input-container { + overflow: hidden; + margin: 5px 0 10px; + } + .table-content-name { + width: 100%; + margin-bottom: 10px; + font-weight: 300; + } + .table-content-category { + font-weight: 300; + text-align: right; + font-style: italic; + width: 30%; + float: right; + text-transform: capitalize + } + .table-content-category ~ .table-content-name { + width: 70%; + display: inline-block; + } + .wl-icon:before{ + font-size: 14px; + } + .button-as-link{ + color: @ol-green; + text-transform: none; + background: none; + padding: 0; + border: none; + border-radius: 0; + font-size: 14px; + @extend a; + &:hover, + &:active, + &:focus { + color: @ol-dark-green; + background: none; + } + text-align: left; + } + .affix-content-title { + color: @gray-light; + font-size: 1.2em; + padding-left: 10px; + } + + .affix-subcontent { + margin: 5px 0 50px; + } + .overbox { + padding: @line-height-computed / 2; + background-color: white; + margin-top: @line-height-computed / 2; + border: 1px solid @gray-lighter; + } + .content-as-table { + .table-content, + .table-content > * { + display: table; + } + .table-content-icon { + float: left; + height: 80px; + width: 106px; + border: 1px solid @gray-lightest; + display: flex; + align-items: center; + overflow: hidden; + * { + width: 100%; + } + } + .table-content-text { + float: right; + width: calc(~'100% - 106px'); + vertical-align: top; + padding-left: 15px; + } + .table-content-slogan { + height: 80px; + overflow: hidden; + } + .table-content-link { + padding-top: 10px; + } + } +}