summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/base/_structure.scss
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
commit3745204097b2f03cd5f3fc1292ea62fb4f931232 (patch)
tree3380ee0fd2341dac1814aed8cf851bfe274a21a7 /web/sass-files/sass/base/_structure.scss
parentbf7ae0711743926cfbb031675cc3320d7a942465 (diff)
parent7d79a916dd58d51989d35721060cfca6dce1baca (diff)
downloadchat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.gz
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.bz2
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.zip
Merge pull request #2429 from asaadmahmoodspin/ui-improvements
PLT-963 - Improving scss structure
Diffstat (limited to 'web/sass-files/sass/base/_structure.scss')
-rw-r--r--web/sass-files/sass/base/_structure.scss57
1 files changed, 57 insertions, 0 deletions
diff --git a/web/sass-files/sass/base/_structure.scss b/web/sass-files/sass/base/_structure.scss
new file mode 100644
index 000000000..56888f8dc
--- /dev/null
+++ b/web/sass-files/sass/base/_structure.scss
@@ -0,0 +1,57 @@
+@charset 'UTF-8';
+
+html,
+body {
+ height: 100%;
+}
+
+body {
+ width: 100%;
+ height: 100%;
+ background: $bg--gray;
+ position: relative;
+
+ &.sticky {
+ background: $bg--white;
+
+ > .container-fluid {
+ overflow: auto;
+ }
+
+ .inner-wrap {
+ > .row.content {
+ min-height: 100%;
+ margin-bottom: -89px;
+ }
+ }
+ }
+}
+
+.inner-wrap {
+ height: 100%;
+
+ > .row.main {
+ height: 100%;
+ position: relative;
+ }
+}
+
+.container-fluid {
+ @include legacy-pie-clearfix;
+ height: 100%;
+ position: relative;
+}
+
+.channel-view {
+ @include clearfix;
+ height: 100%;
+ position: relative;
+}
+
+img {
+ max-width: 100%;
+
+ &.rounded {
+ @include border-radius(100%);
+ }
+}