2018-04-12 07:23:35 +08:00
|
|
|
/*
|
2018-04-20 16:23:27 +08:00
|
|
|
Copyright 2018 Vector Creations Ltd
|
2018-04-12 07:23:35 +08: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-16 00:42:44 +08:00
|
|
|
.mx_ReplyChain {
|
2023-03-06 17:19:38 +08:00
|
|
|
margin: 0; // Reset default blockquote margin
|
2022-11-29 15:49:43 +08: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 19:39:16 +08:00
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
.mx_ReplyChain_show {
|
2022-06-01 05:52:12 +08:00
|
|
|
&.mx_AccessibleButton_kind_link_inline {
|
2022-07-27 21:39:29 +08:00
|
|
|
white-space: nowrap; /* Enforce 'In reply to' to be a single line */
|
2022-11-29 15:49:43 +08:00
|
|
|
color: $secondary-content;
|
|
|
|
transition: color ease 0.15s;
|
2022-01-07 17:40:53 +08:00
|
|
|
|
2022-06-01 05:52:12 +08:00
|
|
|
&:hover {
|
2022-11-29 15:49:43 +08:00
|
|
|
color: $primary-content;
|
2022-06-01 05:52:12 +08:00
|
|
|
}
|
2022-01-07 17:40:53 +08:00
|
|
|
}
|
2021-07-17 21:03:52 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color1 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant1-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color2 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant2-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color3 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant3-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color4 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant4-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color5 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant5-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color6 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant6-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color7 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant7-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
|
|
|
|
2021-10-16 00:42:44 +08:00
|
|
|
&.mx_ReplyChain_color8 {
|
2022-11-29 15:49:43 +08:00
|
|
|
--username-color: $username-variant8-color;
|
2020-04-10 19:39:16 +08:00
|
|
|
}
|
2018-04-20 16:23:27 +08:00
|
|
|
}
|
2023-03-27 20:13:25 +08: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;
|
|
|
|
}
|
|
|
|
}
|