Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Move css of upgrade-tip class to app_components.scss.

sahil8398bd1429f4c39
diff --git a/static/styles/app_components.scss b/static/styles/app_components.scss
index 0b9ba790a25..0d7bd0f9a1a 100644
--- a/static/styles/app_components.scss
+++ b/static/styles/app_components.scss
@@ -432,3 +432,43 @@
font-weight: 300;
line-height: 38px;
}
+
+.upgrade-tip {
+ &::before {
+ content: "\f135";
+ }
+
+ &:hover {
+ color: hsl(0, 0%, 20%);
+ border: 1px solid hsl(49, 20%, 60%);
+ box-shadow: 0px 0px 4px hsla(199, 79%, 56%, .2);
+
+ text-decoration: none;
+ }
+}
+
+.upgrade-tip,
+.tip {
+ position: relative;
+ display: block;
+ background-color: hsl(46, 63%, 95%);
+ border: 1px solid hsl(49, 20%, 84%);
+ border-radius: 4px;
+ padding: 10px;
+ margin: 10px 0px;
+ font-size: 1rem;
+ line-height: 1.5;
+ color: hsl(0, 0%, 40%);
+
+ &::before {
+ display: inline;
+ margin-right: 8px;
+
+ font-family: FontAwesome, "Yantramanav", Source Sans Pro;
+ font-weight: 600;
+ }
+}
+
+.tip::before {
+ content: "\f0a2";
+}
diff --git a/static/styles/settings.scss b/static/styles/settings.scss
index 7bee27cd6d4..185014ff770 100644
--- a/static/styles/settings.scss
+++ b/static/styles/settings.scss
@@ -324,46 +324,6 @@ td .button {
font-size: 0.9em;
}
- .upgrade-tip,
- .tip {
- position: relative;
- display: block;
- background-color: hsl(46, 63%, 95%);
- border: 1px solid hsl(49, 20%, 84%);
- border-radius: 4px;
- padding: 10px;
- margin: 10px 0px;
- font-size: 1rem;
- line-height: 1.5;
- color: hsl(0, 0%, 40%);
-
- &::before {
- display: inline;
- margin-right: 8px;
-
- font-family: FontAwesome, "Yantramanav", Source Sans Pro;
- font-weight: 600;
- }
- }
-
- .upgrade-tip {
- &::before {
- content: "\f135";
- }
-
- &:hover {
- color: hsl(0, 0%, 20%);
- border: 1px solid hsl(49, 20%, 60%);
- box-shadow: 0px 0px 4px hsla(199, 79%, 56%, .2);
-
- text-decoration: none;
- }
- }
-
- .tip::before {
- content: "\f0a2";
- }
-
#admin_page_users_loading_indicator,
#attachments_loading_indicator,
#admin_page_deactivated_users_loading_indicator,