From 97495195802a11f88916a86dd381fb1477b78cbe Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 11 Dec 2015 23:58:38 +0500 Subject: Multiple UI Improvements --- web/sass-files/sass/partials/_docs.scss | 19 +++++++++++++++++++ web/sass-files/sass/partials/_popover.scss | 4 ++++ web/sass-files/sass/styles.scss | 3 +++ 3 files changed, 26 insertions(+) create mode 100644 web/sass-files/sass/partials/_docs.scss (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_docs.scss b/web/sass-files/sass/partials/_docs.scss new file mode 100644 index 000000000..6c21055d5 --- /dev/null +++ b/web/sass-files/sass/partials/_docs.scss @@ -0,0 +1,19 @@ +@charset "UTF-8"; + +.docks__page { + line-height: 1.7; + padding-bottom: 20px; + + > div { + width: 1170px; + margin: 0 auto; + padding: 0 15px; + max-width: 100%; + } + + h1.markdown__heading { + border-bottom: 1px solid #ddd; + padding-bottom: 1rem; + margin: 1em 0 1em; + } +} \ No newline at end of file diff --git a/web/sass-files/sass/partials/_popover.scss b/web/sass-files/sass/partials/_popover.scss index bc55b7ff7..1ae07fe5b 100644 --- a/web/sass-files/sass/partials/_popover.scss +++ b/web/sass-files/sass/partials/_popover.scss @@ -10,6 +10,10 @@ display: inline-block; } +.code-popover .popover-content { + padding: 5px; +} + .user-popover__image { margin: 0 0 10px; @include border-radius(128px); diff --git a/web/sass-files/sass/styles.scss b/web/sass-files/sass/styles.scss index c93372175..7bf3574d2 100644 --- a/web/sass-files/sass/styles.scss +++ b/web/sass-files/sass/styles.scss @@ -49,6 +49,9 @@ // Responsive Css @import "partials/responsive"; +// Docs Css +@import "partials/docs"; + // Standalone Css @import "partials/oauth"; -- cgit v1.2.3-1-g7c22 From def79636f8e41204c32bf4b628b254aec5377ef5 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 14 Dec 2015 18:24:59 +0500 Subject: Updating the naming for the docs page --- web/sass-files/sass/partials/_docs.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_docs.scss b/web/sass-files/sass/partials/_docs.scss index 6c21055d5..f4e7cc314 100644 --- a/web/sass-files/sass/partials/_docs.scss +++ b/web/sass-files/sass/partials/_docs.scss @@ -1,6 +1,6 @@ @charset "UTF-8"; -.docks__page { +.docs__page { line-height: 1.7; padding-bottom: 20px; -- cgit v1.2.3-1-g7c22 From 7a0545d4c57cae81061267393fe519ec6b0cdd9b Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 14 Dec 2015 19:06:27 +0500 Subject: Fixing sidebar--right --- web/sass-files/sass/partials/_sidebar--right.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_sidebar--right.scss b/web/sass-files/sass/partials/_sidebar--right.scss index f328f0971..aee826094 100644 --- a/web/sass-files/sass/partials/_sidebar--right.scss +++ b/web/sass-files/sass/partials/_sidebar--right.scss @@ -8,11 +8,7 @@ padding: 0; background: #fff; @include single-transition(transform, 0.5s, ease); - right: -320px; - - &.move--left { - right: 0; - } + right: 0; .post-body { -- cgit v1.2.3-1-g7c22 From 1e9f26baac5be61a7d3c080f81feba056e1eb5fc Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 14 Dec 2015 19:54:39 +0500 Subject: Removing sidebar right fix --- web/sass-files/sass/partials/_sidebar--right.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_sidebar--right.scss b/web/sass-files/sass/partials/_sidebar--right.scss index aee826094..f6c8d37a9 100644 --- a/web/sass-files/sass/partials/_sidebar--right.scss +++ b/web/sass-files/sass/partials/_sidebar--right.scss @@ -8,7 +8,11 @@ padding: 0; background: #fff; @include single-transition(transform, 0.5s, ease); - right: 0; + right: -400px; + + &.move--left { + right: 0; + } .post-body { -- cgit v1.2.3-1-g7c22