From 54eb516a38c370d6d57ec52e7448c524cae7e220 Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Fri, 7 Feb 2020 17:55:14 +0400 Subject: [PATCH] PHRAS-2216 Fix on report, admin and account window --- resources/www/account/styles/main.scss | 156 ++++++++++++++++++++++++- resources/www/admin/styles/main.scss | 71 +++++++++++ resources/www/report/styles/main.scss | 83 +++++++++++++ 3 files changed, 309 insertions(+), 1 deletion(-) diff --git a/resources/www/account/styles/main.scss b/resources/www/account/styles/main.scss index dbdf9dfa4d..42dd129b82 100644 --- a/resources/www/account/styles/main.scss +++ b/resources/www/account/styles/main.scss @@ -16,4 +16,158 @@ $mainMenuMarginBottom: 30px; #mainContent { padding-top: $mainMenuHeight; -} \ No newline at end of file +} + + +/*Help menu*/ +.contextMenu.helpcontextmenu { + display: none; + &.shown { + display: block; + position: absolute; + z-index: 101; + } +} +.help-trigger { + display:inline-block; + cursor:pointer; + padding: 0 4px; + border:none; + margin-left: -12px; +} + +.phraseanet_logo { + background: url(../../common/images/logo_phraseanet.png) no-repeat center center /contain; + height: 75px; + width: 230px; + display: inline-block; +} + +.phraseanet_version { + font-size: 15px; + font-family: Roboto; + font-weight: 500; + color: #b7b7b7; + padding-left: 58px; + a { + color: #b7b7b7; + &:hover { + color: #FFFFFF; + } + } +} + +.phraseanet_about_top { + background: #4e4e4e; + padding: 30px 20px; +} +.phraseanet_about_bottom { + padding: 25px 20px; + min-height: 150px; + background: #c8c8c8; + a { + font-family: Roboto; + line-height: 1.2; + font-size: 15px!important; + font-weight: 500; + color: #000000!important; + text-decoration: underline; + } + +} +.phraseanet_gpl { + img { + position: absolute; + width: 84px; + } + span { + padding-top: 26px; + display: inline-block; + padding-left: 100px; + padding-bottom: 20px; + text-decoration: underline; + } + a { + text-decoration: underline; + } + +} + + + +.ui-dialog { + position: absolute; + top: 0; + left: 0; + padding: .2em; + outline: 0; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 21px; + margin: -10px 0 0 0; + padding: 1px; + height: 20px; + text-indent: -9999999px; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin-top: .5em; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} + +.overlay, +.ui-widget-overlay { + background-color: #000; + opacity: 0.7; + filter: alpha(opacity=70); + height: 100%; + width: 100% +} + + +.ui-icon, .ui-widget-content .ui-icon { + background-image: url(/assets/vendors/jquery-ui/images/ui-lightness/ui-icons_222222_256x240.png)!important; + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; + background-position: -96px -128px; + width: 16px; + height: 16px; + position: absolute; + top: 50%; + left: 50%; + margin-left: -8px; + margin-top: -8px; +} diff --git a/resources/www/admin/styles/main.scss b/resources/www/admin/styles/main.scss index ee13922f56..cff7851f82 100644 --- a/resources/www/admin/styles/main.scss +++ b/resources/www/admin/styles/main.scss @@ -325,6 +325,7 @@ div.switch_right.unchecked { .ui-dialog-titlebar-close { border: none; margin-right: 4px; + text-indent: -9999999px; } .ui-icon.ui-icon-closethick { background-image: url("/assets/common/images/icons/cross-white.png"); @@ -841,6 +842,76 @@ span.simplecolorpicker.picker { } } +.help-trigger { + display:inline-block; + cursor:pointer; + padding: 0 4px; + border:none; + margin-left: -12px; +} + +.phraseanet_logo { + background: url(../../common/images/logo_phraseanet.png) no-repeat center center /contain; + height: 75px; + width: 230px; + display: inline-block; +} + +.phraseanet_version { + font-size: 15px; + font-family: Roboto; + font-weight: 500; + color: #b7b7b7; + padding-left: 58px; + a { + color: #b7b7b7; + &:hover { + color: #FFFFFF; + } + } +} + +.phraseanet_about_top { + background: #4e4e4e; + padding: 30px 20px; +} +.phraseanet_about_bottom { + padding: 25px 20px; + min-height: 150px; + background: #c8c8c8; + a { + font-family: Roboto; + line-height: 1.2; + font-size: 15px!important; + font-weight: 500; + color: #000000!important; + text-decoration: underline; + } + +} +.phraseanet_gpl { + img { + position: absolute; + width: 84px; + } + span { + padding-top: 26px; + display: inline-block; + padding-left: 100px; + padding-bottom: 20px; + text-decoration: underline; + } + a { + text-decoration: underline; + } + +} +.ui-icon, .ui-widget-content .ui-icon { + background-image: url(/assets/vendors/jquery-ui/images/ui-lightness/ui-icons_222222_256x240.png)!important; +} +.ui-dialog-titlebar-close { + text-indent: -9999999px; +} @import './databases'; @import './fields'; @import './tables'; diff --git a/resources/www/report/styles/main.scss b/resources/www/report/styles/main.scss index 218fce1f28..1c2dc70c33 100644 --- a/resources/www/report/styles/main.scss +++ b/resources/www/report/styles/main.scss @@ -360,3 +360,86 @@ $select-height: 26px; #mainMenu li .context-menu-item-inner a:hover { color: #000; } + +.ui-dialog-titlebar-close { + text-indent: -9999999px; +} + + +/*Help menu*/ +.contextMenu.helpcontextmenu { + display: none; + &.shown { + display: block; + position: absolute; + z-index: 101; + } +} +.help-trigger { + display:inline-block; + cursor:pointer; + padding: 0 4px; + border:none; + margin-left: -12px; +} + +.phraseanet_logo { + background: url(../../common/images/logo_phraseanet.png) no-repeat center center /contain; + height: 75px; + width: 230px; + display: inline-block; +} + +.phraseanet_version { + font-size: 15px; + font-family: Roboto; + font-weight: 500; + color: #b7b7b7; + padding-left: 58px; + a { + color: #b7b7b7; + &:hover { + color: #FFFFFF; + } + } +} + +.phraseanet_about_top { + background: #4e4e4e; + padding: 30px 20px; +} +.phraseanet_about_bottom { + padding: 25px 20px; + min-height: 150px; + background: #c8c8c8; + a { + font-family: Roboto; + line-height: 1.2; + font-size: 15px!important; + font-weight: 500; + color: #000000!important; + text-decoration: underline; + } + +} +.phraseanet_gpl { + img { + position: absolute; + width: 84px; + } + span { + padding-top: 26px; + display: inline-block; + padding-left: 100px; + padding-bottom: 20px; + text-decoration: underline; + } + a { + text-decoration: underline; + } + +} + +.ui-icon, .ui-widget-content .ui-icon { + background-image: url(/assets/vendors/jquery-ui/images/ui-lightness/ui-icons_222222_256x240.png)!important; +}