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.

message_edit: Add bootstrap CSS rules to message edit textarea.

Sahil Batra264bfd458335
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index bce069cca97..d10df4f71ef 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -2728,6 +2728,30 @@ div.topic_edit_spinner .loading_indicator_spinner {
/* Setting resize as none hides the bottom right diagonal box
(which even has a background color of its own!). */
resize: none !important;
+ color: hsl(0, 0%, 33%);
+ background-color: hsl(0, 0%, 100%);
+ border-radius: 4px;
+ vertical-align: middle;
+ border: 1px solid hsl(0, 0%, 80%);
+ padding: 4px 6px;
+ margin-bottom: 10px;
+
+ box-shadow: inset 0 1px 1px hsla(0, 0%, 0%, 0.075);
+ transition: border linear 0.2s, box-shadow linear 0.2s;
+
+ &:focus {
+ border-color: hsla(206.5, 80%, 62%, 0.8);
+ outline: 0;
+
+ box-shadow: inset 0 1px 1px hsla(0, 0%, 0%, 0.075),
+ 0 0 8px hsla(206.5, 80%, 62%, 0.6);
+ }
+
+ &:read-only,
+ &:disabled {
+ cursor: not-allowed;
+ background-color: hsl(0, 0%, 93%);
+ }
}
}