1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Use prettier for SCSS

This commit is contained in:
Tim Düsterhus 2021-08-15 12:58:50 +02:00
parent 34ce1f86ed
commit ba4b521d32
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 15 additions and 11 deletions

View File

@ -11,7 +11,7 @@
* or later of the General Public License.
*/
li[data-object-type="be.bastelstu.chat.messageType.info"] {
li[data-object-type='be.bastelstu.chat.messageType.info'] {
.chatMessage > .box48 + .containerList {
margin-top: 20px;
}
@ -21,7 +21,7 @@ li[data-object-type="be.bastelstu.chat.messageType.info"] {
}
}
li[data-object-type="be.bastelstu.chat.messageType.where"] {
li[data-object-type='be.bastelstu.chat.messageType.where'] {
.containerList > li {
&:first-child {
border-top: none;

View File

@ -101,7 +101,7 @@ #tpl_chat_log {
}
}
&[data-box-identifier="be.bastelstu.chat.roomListSidebar"] {
&[data-box-identifier='be.bastelstu.chat.roomListSidebar'] {
flex: 1 1 0px;
min-height: 12rem;
@ -116,7 +116,7 @@ #tpl_chat_log {
}
&.chatUserList,
&[data-box-identifier="be.bastelstu.chat.roomListSidebar"] {
&[data-box-identifier='be.bastelstu.chat.roomListSidebar'] {
display: flex;
flex-direction: column;
@ -161,13 +161,13 @@ #tpl_chat_log {
#chatMessageStream > .scrollContainer,
#chatUserList > .boxContent,
[data-box-identifier="be.bastelstu.chat.roomListSidebar"] > .boxContent {
[data-box-identifier='be.bastelstu.chat.roomListSidebar'] > .boxContent {
position: relative;
overflow-y: scroll;
padding-right: 5px;
}
[data-box-identifier="be.bastelstu.chat.roomListSidebar"] > .boxContent {
[data-box-identifier='be.bastelstu.chat.roomListSidebar'] > .boxContent {
overflow-x: hidden;
// Fixes issues with backgrounds being cut by the overflow-x
@ -222,7 +222,12 @@ #tpl_chat_log {
}
&:target {
background-color: rgba(255, 255, 102, 0.4); // .codeBoxJumpAnchor:target::after
background-color: rgba(
255,
255,
102,
0.4
); // .codeBoxJumpAnchor:target::after
}
&.readMarker {
@ -488,8 +493,7 @@ #tpl_chat_log {
#smilies-text {
@if variable_exists(wcfContentContainerBackground) {
background-color: $wcfContentContainerBackground;
}
@else {
} @else {
// Compatibility with API_VERSION 3.0
background-color: rgba(255, 255, 255, 1);
}
@ -509,7 +513,7 @@ #tpl_chat_log {
}
@include screen-md-down {
&[data-show="true"] {
&[data-show='true'] {
position: fixed;
top: 0;
right: 0;
@ -622,7 +626,7 @@ html.fullscreen {
#chatMessageStream {
> .scrollContainer {
// flex: 1 1 0; // Disable min height in fullscreen mode
// flex: 1 1 0; // Disable min height in fullscreen mode
}
}