diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:35:57 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:39:44 +0500 |
commit | e214aae719c10953c4c3a7949c9bd02d6983b045 (patch) | |
tree | de67fab11c5866493374d602930b4b5fbc98d05a /web/sass-files/sass/base/_structure.scss | |
parent | bf7ae0711743926cfbb031675cc3320d7a942465 (diff) | |
download | chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.gz chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.bz2 chat-e214aae719c10953c4c3a7949c9bd02d6983b045.zip |
PLT-963 - Improving scss structure
Diffstat (limited to 'web/sass-files/sass/base/_structure.scss')
-rw-r--r-- | web/sass-files/sass/base/_structure.scss | 57 |
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%); + } +} |