From 00a7f03b3bd73fc607e1ed0380b3bf7eff39170f Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 23 Oct 2018 11:40:58 +0200 Subject: [PATCH] various ui fixes --- src/app/ui/draggableContent.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/ui/draggableContent.js b/src/app/ui/draggableContent.js index 12e91ca5c1..6cc399d16f 100644 --- a/src/app/ui/draggableContent.js +++ b/src/app/ui/draggableContent.js @@ -8,25 +8,26 @@ var css = csjs` .containerDraggableModal { position: absolute; z-index: 1000; - background-color: ${styles.appProperties.quaternary_BackgroundColor}; + background-color: ${styles.appProperties.light_BackgroundColor}; text-align: center; width: 500px; height: 500px; - border: 2px solid ${styles.appProperties.solidBorderBox_BorderColor}; + border: 1px solid ${styles.appProperties.solidBorderBox_BorderColor}; } .headerDraggableModal { cursor: move; z-index: 10; color: ${styles.appProperties.mainText_Color}; - background-color: ${styles.appProperties.quaternary_BackgroundColor}; - border-bottom: 2px solid ${styles.appProperties.solidBorderBox_BorderColor}; + background-color: ${styles.appProperties.primary_BackgroundColor}; + border-bottom: 1px solid ${styles.appProperties.solidBorderBox_BorderColor}; text-overflow: ellipsis; overflow-x: hidden; } .modalActions { float: right; + color: ${styles.appProperties.solidBorderBox_BorderColor}; } .modalAction { @@ -53,7 +54,7 @@ module.exports =
{ this.minimize() }} class="fa fa-window-minimize ${css.modalAction}"> { this.maximise() }} class="fa fa-window-maximize ${css.modalAction}"> - { this.close() }} class="fa fa-window-close ${css.modalAction}"> + { this.close() }} class="fa fa-window-close-o ${css.modalAction}">
@@ -75,7 +76,7 @@ module.exports = this.el.style.width = '150px' this.el.querySelector('.title').style.width = '146px' } - maximise () { + maximise () { this.content.style.display = 'block' var body = document.querySelector('body') this.el.style.height = this.isMaximised ? '500px' : body.offsetHeight + 'px'