From 522ff67c638512ad92df74fd7faddf1da7c37d6a Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 15 Feb 2016 19:37:06 +0500 Subject: Multiple UI Improvements --- web/sass-files/sass/partials/_responsive.scss | 8 ++++- web/sass-files/sass/partials/_settings.scss | 50 +++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) (limited to 'web/sass-files/sass/partials') diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss index 2374a9dbb..1a8e3f374 100644 --- a/web/sass-files/sass/partials/_responsive.scss +++ b/web/sass-files/sass/partials/_responsive.scss @@ -92,12 +92,14 @@ font-size: 1em; } - .date-separator.hovered--after:before, .new-separator.hovered--after:before { + .date-separator.hovered--before:after, .date-separator.hovered--after:before, .new-separator.hovered--after:before, .new-separator.hovered--before:after { background: none !important; } .post { + background: none !important; + .post__dropdown { line-height: 9px; text-decoration: none; @@ -114,6 +116,10 @@ } + .comment-icon__container { + visibility: visible; + } + .post-list__content & { &:hover { diff --git a/web/sass-files/sass/partials/_settings.scss b/web/sass-files/sass/partials/_settings.scss index de7df403f..acec24231 100644 --- a/web/sass-files/sass/partials/_settings.scss +++ b/web/sass-files/sass/partials/_settings.scss @@ -145,6 +145,7 @@ padding-right: 25px; } &:before { + pointer-events: none; position: absolute; top: 11px; right: 50px; @@ -181,12 +182,61 @@ .theme-elements { padding-left:15px; + .element { margin-right:10px; + + &:nth-child(2n) { + margin-right: 0; + } + + } + } + + .theme-elements__header { + margin: 10px 20px 0px 0; + border-bottom: 1px solid #ccc; + padding: 5px 0 10px; + font-size: em(13.5px); + font-weight: 600; + cursor: pointer; + + div, span { + pointer-events: none; + } + + .fa-minus { + display: none; } + + &.open { + .fa-minus { + display: inline-block; + } + .fa-plus { + display: none; + } + } + + .header__icon { + float: right; + @include opacity(0.5); + } + + } + + .theme-elements__body { + padding-top: 5px; + display: none; + @include legacy-pie-clearfix; + background: rgba(255, 255, 255, 0.05); + padding: 20px 0 0 20px; + margin: 0 20px 0 0; + @include border-radius(0 0 3px 3px); } .custom-label { + white-space: nowrap; font-weight: normal; font-size: 12px; width: 100%; -- cgit v1.2.3-1-g7c22 From 22aa2c8c07075f603a1408b7185c01b49d92fc7f Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 15 Feb 2016 20:25:28 +0500 Subject: Fixing custom theme header click event --- web/sass-files/sass/partials/_settings.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'web/sass-files/sass/partials') diff --git a/web/sass-files/sass/partials/_settings.scss b/web/sass-files/sass/partials/_settings.scss index acec24231..c79b54922 100644 --- a/web/sass-files/sass/partials/_settings.scss +++ b/web/sass-files/sass/partials/_settings.scss @@ -144,6 +144,9 @@ select { padding-right: 25px; } + select::-ms-expand { + display: none; + } &:before { pointer-events: none; position: absolute; @@ -201,10 +204,6 @@ font-weight: 600; cursor: pointer; - div, span { - pointer-events: none; - } - .fa-minus { display: none; } -- cgit v1.2.3-1-g7c22 From 44fa72066bacb741c3303633b6a3a690f6fc0d01 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 15 Feb 2016 23:23:07 +0500 Subject: Other minor improvements --- web/sass-files/sass/partials/_post.scss | 4 ++-- web/sass-files/sass/partials/_post_right.scss | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'web/sass-files/sass/partials') diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index 323691d89..5d0985fc0 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -396,8 +396,8 @@ body.ios { .post-list__content { display: table-cell; vertical-align: bottom; - > div:last-child { - .dropdown-menu { + .dropdown-menu { + &.bottom { top: auto; bottom: 25px; } diff --git a/web/sass-files/sass/partials/_post_right.scss b/web/sass-files/sass/partials/_post_right.scss index bd3d60622..01be9e288 100644 --- a/web/sass-files/sass/partials/_post_right.scss +++ b/web/sass-files/sass/partials/_post_right.scss @@ -11,7 +11,15 @@ .post-right-comments-container { position: relative; - padding: 0.7em 0 0; + + .post { + + &:first-child { + padding-top: 15px; + } + + } + } .post { @@ -19,6 +27,11 @@ &.post--root { padding-bottom: 1.2em; border-bottom: 1px solid #ddd; + + .post__body { + background: transparent !important; + } + } .post__header { -- cgit v1.2.3-1-g7c22