mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 12:54:58 +00:00
message_edit: Consolidate textarea styles under .message_edit_content.
This commit is contained in:
@@ -521,8 +521,40 @@
|
|||||||
|
|
||||||
.message_edit_content {
|
.message_edit_content {
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
resize: vertical !important;
|
|
||||||
max-height: 24em;
|
max-height: 24em;
|
||||||
|
width: 100%;
|
||||||
|
min-width: 206px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
/* Setting resize as none hides the bottom right diagonal box
|
||||||
|
(which even has a background color of its own!). */
|
||||||
|
resize: none !important;
|
||||||
|
color: hsl(0deg 0% 33%);
|
||||||
|
background-color: hsl(0deg 0% 100%);
|
||||||
|
border-radius: 4px;
|
||||||
|
vertical-align: middle;
|
||||||
|
border: 1px solid hsl(0deg 0% 80%);
|
||||||
|
padding: 4px 6px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
||||||
|
transition:
|
||||||
|
border linear 0.2s,
|
||||||
|
box-shadow linear 0.2s;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
border-color: hsl(206.5deg 80% 62% / 80%);
|
||||||
|
outline: 0;
|
||||||
|
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
||||||
|
0 0 8px hsl(206.5deg 80% 62% / 60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:read-only,
|
||||||
|
&:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
background-color: hsl(0deg 0% 93%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.message_edit_countdown_timer {
|
.message_edit_countdown_timer {
|
||||||
@@ -590,42 +622,6 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& textarea {
|
|
||||||
width: 100%;
|
|
||||||
min-width: 206px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
/* Setting resize as none hides the bottom right diagonal box
|
|
||||||
(which even has a background color of its own!). */
|
|
||||||
resize: none !important;
|
|
||||||
color: hsl(0deg 0% 33%);
|
|
||||||
background-color: hsl(0deg 0% 100%);
|
|
||||||
border-radius: 4px;
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 1px solid hsl(0deg 0% 80%);
|
|
||||||
padding: 4px 6px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
|
|
||||||
box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
|
|
||||||
transition:
|
|
||||||
border linear 0.2s,
|
|
||||||
box-shadow linear 0.2s;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
border-color: hsl(206.5deg 80% 62% / 80%);
|
|
||||||
outline: 0;
|
|
||||||
|
|
||||||
box-shadow:
|
|
||||||
inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
|
|
||||||
0 0 8px hsl(206.5deg 80% 62% / 60%);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:read-only,
|
|
||||||
&:disabled {
|
|
||||||
cursor: not-allowed;
|
|
||||||
background-color: hsl(0deg 0% 93%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.message_edit_notice {
|
.message_edit_notice {
|
||||||
|
|||||||
Reference in New Issue
Block a user