2018-04-12 02:23:35 +03:00
|
|
|
/*
|
2018-04-20 11:23:27 +03:00
|
|
|
Copyright 2018 Vector Creations Ltd
|
2018-04-12 02:23:35 +03:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
.mx_ReplyChain {
|
2023-03-06 12:19:38 +03:00
|
|
|
margin: 0; // Reset default blockquote margin
|
2022-11-29 10:49:43 +03:00
|
|
|
padding-left: 10px; // TODO: Use a spacing variable
|
|
|
|
border-left: 2px solid var(--username-color); // TODO: Use a spacing variable
|
|
|
|
border-radius: 2px; // TODO: Use a spacing variable
|
2020-04-10 14:39:16 +03:00
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
.mx_ReplyChain_show {
|
2022-06-01 00:52:12 +03:00
|
|
|
&.mx_AccessibleButton_kind_link_inline {
|
2022-07-27 16:39:29 +03:00
|
|
|
white-space: nowrap; /* Enforce 'In reply to' to be a single line */
|
2022-11-29 10:49:43 +03:00
|
|
|
color: $secondary-content;
|
|
|
|
transition: color ease 0.15s;
|
2022-01-07 12:40:53 +03:00
|
|
|
|
2022-06-01 00:52:12 +03:00
|
|
|
&:hover {
|
2022-11-29 10:49:43 +03:00
|
|
|
color: $primary-content;
|
2022-06-01 00:52:12 +03:00
|
|
|
}
|
2022-01-07 12:40:53 +03:00
|
|
|
}
|
2021-07-17 16:03:52 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color1 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant1-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color2 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant2-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color3 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant3-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color4 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant4-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color5 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant5-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color6 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant6-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color7 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant7-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
|
|
|
|
2021-10-15 19:42:44 +03:00
|
|
|
&.mx_ReplyChain_color8 {
|
2022-11-29 10:49:43 +03:00
|
|
|
--username-color: $username-variant8-color;
|
2020-04-10 14:39:16 +03:00
|
|
|
}
|
2018-04-20 11:23:27 +03:00
|
|
|
}
|
2023-03-27 15:13:25 +03:00
|
|
|
|
|
|
|
/* Percy screenshot test specific CSS */
|
|
|
|
@media only percy {
|
|
|
|
.mx_ReplyChain {
|
|
|
|
/* Override the colour in percy tests for screenshot consistency */
|
|
|
|
border-left-color: var(--percy-color-replyChain-border) !important;
|
|
|
|
}
|
|
|
|
}
|