Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Use SCSS nesting for `.screen`.
SiddharthVarshney1b5138d54602
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scssindex 8f236e05ba5..9db4f7f9eed 100644--- a/static/styles/portico/landing-page.scss+++ b/static/styles/portico/landing-page.scss@@ -1024,121 +1024,123 @@ nav {}}-.screen .line {- width: 100%;- height: 6px;- margin: 8px 0px;+.screen {+ .line {+ width: 100%;+ height: 6px;+ margin: 8px 0px;- background-color: hsl(0, 0%, 93%);- border-radius: 3px;+ background-color: hsl(0, 0%, 93%);+ border-radius: 3px;- &.small {- width: 60%;- }+ &.small {+ width: 60%;+ }- &.micro {- display: inline-block;- vertical-align: top;+ &.micro {+ display: inline-block;+ vertical-align: top;- width: 15%;- }+ width: 15%;+ }- &.darker {- background-color: hsl(0, 0%, 73%);- }+ &.darker {+ background-color: hsl(0, 0%, 73%);+ }- &.nano {- display: inline-block;- vertical-align: top;+ &.nano {+ display: inline-block;+ vertical-align: top;- width: 10%;- }+ width: 10%;+ }- &.med {- width: 80%;- }+ &.med {+ width: 80%;+ }- &.red {- background-color: hsl(350, 42%, 77%);- }+ &.red {+ background-color: hsl(350, 42%, 77%);+ }- &.blue {- background-color: hsl(193, 42%, 77%);- }+ &.blue {+ background-color: hsl(193, 42%, 77%);+ }- &.green {- background-color: hsl(119, 42%, 77%);- }+ &.green {+ background-color: hsl(119, 42%, 77%);+ }- &.orange {- background-color: hsl(30, 42%, 77%);+ &.orange {+ background-color: hsl(30, 42%, 77%);+ }}-}-.screen .col-4 .action-block {- margin: 20px;+ .col-4 .action-block {+ margin: 20px;- .sub-block {- margin: 0px 10px;+ .sub-block {+ margin: 0px 10px;+ }}-}-.screen .top {- .avatar {- display: inline-block;- vertical-align: top;+ .top {+ .avatar {+ display: inline-block;+ vertical-align: top;- width: 20px;- height: 20px;- background-color: hsl(0, 0%, 73%);- border-radius: 4px;- }+ width: 20px;+ height: 20px;+ background-color: hsl(0, 0%, 73%);+ border-radius: 4px;+ }- .top-line {- display: inline-block;- vertical-align: top;+ .top-line {+ display: inline-block;+ vertical-align: top;- width: 50px;- margin-top: 0px;+ width: 50px;+ margin-top: 0px;- background-color: hsl(0, 0%, 73%);+ background-color: hsl(0, 0%, 73%);+ }}-}-.screen .navbar {- background-color: hsl(170, 48%, 54%);- padding: 10px;-}+ .navbar {+ background-color: hsl(170, 48%, 54%);+ padding: 10px;+ }-.screen .center-page {- height: 100%;- position: relative;+ .center-page {+ height: 100%;+ position: relative;- overflow: hidden;+ overflow: hidden;- .message-feed {- height: calc(100% - 20px);- margin-top: 20px;+ .message-feed {+ height: calc(100% - 20px);+ margin-top: 20px;- transition: all 0.1s ease;+ transition: all 0.1s ease;+ }}-}-.screen .message-feed {- .message .content {- margin-left: 24px;- position: relative;- top: -15px;- }+ .message-feed {+ .message .content {+ margin-left: 24px;+ position: relative;+ top: -15px;+ }- .stream {- padding: 3px 5px 0px 5px;- margin: 0px 5px;+ .stream {+ padding: 3px 5px 0px 5px;+ margin: 0px 5px;- background-color: hsl(0, 0%, 100%);- border-radius: 4px;+ background-color: hsl(0, 0%, 100%);+ border-radius: 4px;- box-shadow: 0px 0px 15px hsla(0, 0%, 0%, 0.01);+ box-shadow: 0px 0px 15px hsla(0, 0%, 0%, 0.01);+ }}}