diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-09-23 23:37:36 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-09-23 23:37:36 +0500 |
commit | 47aab71e6b62c01ae66389aec39bec7fb2a0435f (patch) | |
tree | 57118693a13ab7944ae3cdf8e052cc26268a972d /web/sass-files/sass | |
parent | 301706f2558d55271275273dec0de1fb86082f8a (diff) | |
download | chat-47aab71e6b62c01ae66389aec39bec7fb2a0435f.tar.gz chat-47aab71e6b62c01ae66389aec39bec7fb2a0435f.tar.bz2 chat-47aab71e6b62c01ae66389aec39bec7fb2a0435f.zip |
Markdown UI improvements with small description height fix
Diffstat (limited to 'web/sass-files/sass')
-rw-r--r-- | web/sass-files/sass/partials/_headers.scss | 1 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_markdown.scss | 28 | ||||
-rw-r--r-- | web/sass-files/sass/styles.scss | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/web/sass-files/sass/partials/_headers.scss b/web/sass-files/sass/partials/_headers.scss index 702f0fd60..eaa31c8ed 100644 --- a/web/sass-files/sass/partials/_headers.scss +++ b/web/sass-files/sass/partials/_headers.scss @@ -39,6 +39,7 @@ text-overflow: ellipsis; color: #888; margin-top: 2px; + max-height: 45px; } &.popover { white-space: normal; diff --git a/web/sass-files/sass/partials/_markdown.scss b/web/sass-files/sass/partials/_markdown.scss new file mode 100644 index 000000000..c09e9d7b4 --- /dev/null +++ b/web/sass-files/sass/partials/_markdown.scss @@ -0,0 +1,28 @@ +.markdown__heading { + font-weight: bold; +} +.markdown__table { + background: #fff; + margin: 5px 0 10px; + th, td { + padding: 6px 13px; + border: 1px solid #ddd; + } + tbody tr { + background: #fff; + &:nth-child(2n) { + background-color: #f8f8f8; + } + } +} +pre { + border: none; + background-color: #f7f7f7; + margin: 5px 0; + .current--user & { + background: #fff; + } + code { + color: #c7254e; + } +}
\ No newline at end of file diff --git a/web/sass-files/sass/styles.scss b/web/sass-files/sass/styles.scss index de1db57e8..be6641870 100644 --- a/web/sass-files/sass/styles.scss +++ b/web/sass-files/sass/styles.scss @@ -36,6 +36,7 @@ @import "partials/error-bar"; @import "partials/loading"; @import "partials/get-link"; +@import "partials/markdown"; // Responsive Css @import "partials/responsive"; |