Fix tedious CSS stuff with stylelint --fix

This commit is contained in:
David Baker 2019-04-09 15:05:39 +01:00
parent eb6f3f6008
commit 04b69116ee
8 changed files with 25 additions and 26 deletions

View File

@ -66,8 +66,7 @@ body.mx_scrollbar_nooverlay {
*/ */
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow > .mx_AutoHideScrollbar_offset, .mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow > .mx_AutoHideScrollbar_offset,
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::before, .mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::before,
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::after .mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::after {
{
margin-right: calc(-1 * var(--scrollbar-width)); margin-right: calc(-1 * var(--scrollbar-width));
} }
} }

View File

@ -54,14 +54,14 @@ limitations under the License.
border-bottom: 8px solid transparent; border-bottom: 8px solid transparent;
} }
.mx_ContextualMenu_chevron_right:after { .mx_ContextualMenu_chevron_right::after {
content:''; content: '';
width: 0; width: 0;
height: 0; height: 0;
border-top: 7px solid transparent; border-top: 7px solid transparent;
border-left: 7px solid $menu-bg-color; border-left: 7px solid $menu-bg-color;
border-bottom: 7px solid transparent; border-bottom: 7px solid transparent;
position:absolute; position: absolute;
top: -7px; top: -7px;
right: 1px; right: 1px;
} }
@ -81,14 +81,14 @@ limitations under the License.
border-bottom: 8px solid transparent; border-bottom: 8px solid transparent;
} }
.mx_ContextualMenu_chevron_left:after{ .mx_ContextualMenu_chevron_left::after {
content:''; content: '';
width: 0; width: 0;
height: 0; height: 0;
border-top: 7px solid transparent; border-top: 7px solid transparent;
border-right: 7px solid $menu-bg-color; border-right: 7px solid $menu-bg-color;
border-bottom: 7px solid transparent; border-bottom: 7px solid transparent;
position:absolute; position: absolute;
top: -7px; top: -7px;
left: 1px; left: 1px;
} }
@ -108,14 +108,14 @@ limitations under the License.
border-right: 8px solid transparent; border-right: 8px solid transparent;
} }
.mx_ContextualMenu_chevron_top:after{ .mx_ContextualMenu_chevron_top::after {
content:''; content: '';
width: 0; width: 0;
height: 0; height: 0;
border-left: 7px solid transparent; border-left: 7px solid transparent;
border-bottom: 7px solid $menu-bg-color; border-bottom: 7px solid $menu-bg-color;
border-right: 7px solid transparent; border-right: 7px solid transparent;
position:absolute; position: absolute;
left: -7px; left: -7px;
top: 1px; top: 1px;
} }
@ -135,14 +135,14 @@ limitations under the License.
border-right: 8px solid transparent; border-right: 8px solid transparent;
} }
.mx_ContextualMenu_chevron_bottom:after{ .mx_ContextualMenu_chevron_bottom::after {
content:''; content: '';
width: 0; width: 0;
height: 0; height: 0;
border-left: 7px solid transparent; border-left: 7px solid transparent;
border-top: 7px solid $menu-bg-color; border-top: 7px solid $menu-bg-color;
border-right: 7px solid transparent; border-right: 7px solid transparent;
position:absolute; position: absolute;
left: -7px; left: -7px;
bottom: 1px; bottom: 1px;
} }

View File

@ -67,13 +67,13 @@ limitations under the License.
} }
.mx_GroupView_editable { .mx_GroupView_editable {
border-bottom: 1px solid $strong-input-border-color ! important; border-bottom: 1px solid $strong-input-border-color !important;
min-width: 150px; min-width: 150px;
cursor: text; cursor: text;
} }
.mx_GroupView_editable:focus { .mx_GroupView_editable:focus {
border-bottom: 1px solid $accent-color ! important; border-bottom: 1px solid $accent-color !important;
outline: none; outline: none;
box-shadow: none; box-shadow: none;
} }
@ -95,7 +95,7 @@ limitations under the License.
.mx_GroupView_avatarPicker .mx_Spinner { .mx_GroupView_avatarPicker .mx_Spinner {
width: 48px; width: 48px;
height: 48px ! important; height: 48px !important;
} }
.mx_GroupView_header_leftCol { .mx_GroupView_header_leftCol {
@ -333,7 +333,7 @@ limitations under the License.
display: none; display: none;
} }
.mx_GroupView_body .gm-scroll-view > *{ .mx_GroupView_body .gm-scroll-view > * {
margin: 11px 50px 0px 68px; margin: 11px 50px 0px 68px;
} }

View File

@ -66,7 +66,7 @@ limitations under the License.
.mx_NotificationPanel .mx_EventTile_roomName a, .mx_NotificationPanel .mx_EventTile_roomName a,
.mx_NotificationPanel .mx_EventTile_senderDetails a { .mx_NotificationPanel .mx_EventTile_senderDetails a {
text-decoration: none ! important; text-decoration: none !important;
} }
.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp { .mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp {

View File

@ -138,8 +138,8 @@ limitations under the License.
} }
.mx_RoomStatusBar_resend_link { .mx_RoomStatusBar_resend_link {
color: $primary-fg-color ! important; color: $primary-fg-color !important;
text-decoration: underline ! important; text-decoration: underline !important;
cursor: pointer; cursor: pointer;
} }

View File

@ -78,7 +78,7 @@ limitations under the License.
} }
.mx_RoomView_auxPanel_apps { .mx_RoomView_auxPanel_apps {
max-width: 1920px ! important; max-width: 1920px !important;
} }
@ -292,7 +292,7 @@ hr.mx_RoomView_myReadMarker {
} }
.mx_RoomView_ongoingConfCallNotification a { .mx_RoomView_ongoingConfCallNotification a {
color: $accent-fg-color ! important; color: $accent-fg-color !important;
} }
.mx_MatrixChat_useCompactLayout { .mx_MatrixChat_useCompactLayout {