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/responsive/_tablet.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/responsive/_tablet.scss')
-rw-r--r-- | web/sass-files/sass/responsive/_tablet.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/web/sass-files/sass/responsive/_tablet.scss b/web/sass-files/sass/responsive/_tablet.scss new file mode 100644 index 000000000..14641cfa5 --- /dev/null +++ b/web/sass-files/sass/responsive/_tablet.scss @@ -0,0 +1,35 @@ +@charset 'UTF-8'; + +@media screen and (max-width: 960px) { + .sidebar--right { + z-index: 5; + @include translateX(100%); + @include single-transition(all, .5s, ease); + + &.move--left { + @include translateX(0); + + .search-bar__container { + padding-right: 8px; + } + } + } + + .inner-wrap { + &.move--left { + margin-right: 0; + + .channel-header__links { + position: relative; + right: auto; + top: auto; + } + } + } +} + +@media screen and (min-width: 768px) { + .second-bar { + display: none; + } +}
\ No newline at end of file |