Disallow invalid inline style comments in stylesheets (#9099)
This commit is contained in:
parent
8eeeee1aa2
commit
72c24af5c0
193 changed files with 1520 additions and 1518 deletions
|
@ -52,7 +52,7 @@ limitations under the License.
|
|||
|
||||
.mx_MatrixChat_syncError {
|
||||
color: $accent-fg-color;
|
||||
background-color: #DF2A8B; // Only used here
|
||||
background-color: #DF2A8B; /* Only used here */
|
||||
border-radius: 5px;
|
||||
display: table;
|
||||
padding: 30px;
|
||||
|
@ -76,22 +76,22 @@ limitations under the License.
|
|||
height: 100%;
|
||||
}
|
||||
|
||||
// We'd like to remove this, but this makes matrixchat's resizehandle's
|
||||
// negative margin greater than its positive padding. If it's the same
|
||||
// or less, Safari and other WebKit based browsers get confused about overflows somehow and
|
||||
// https://github.com/vector-im/element-web/issues/19863 happens.
|
||||
/* We'd like to remove this, but this makes matrixchat's resizehandle's */
|
||||
/* negative margin greater than its positive padding. If it's the same */
|
||||
/* or less, Safari and other WebKit based browsers get confused about overflows somehow and */
|
||||
/* https://github.com/vector-im/element-web/issues/19863 happens. */
|
||||
.mx_MatrixChat > .mx_ResizeHandle.mx_ResizeHandle_horizontal {
|
||||
margin: 0 calc(-5.5px - $container-gap-width / 2) 0 calc(-6.5px + $container-gap-width / 2);
|
||||
// The condition to prevent bleeding is: (margin-left + margin-right < -11px)
|
||||
// (IF there is NO margin on the leftPanel_wrapper)
|
||||
// The resizeHandle does not change the gap between the left panel and the room view:
|
||||
// the resizeHandle width is:
|
||||
// 11px = 10px (padding) + 1px (width)
|
||||
// and the total negative margin is -12px ->
|
||||
// the handle requires no space
|
||||
// right: -6px left: -6px positions the element exactly on the edge of leftPanel.
|
||||
// left+=1 and right-=1 => resizeHandle moves 1px to the right closer to the center of the gap.
|
||||
// We want the handle to be in the middle of the gap so it is shifted by ($container-gap-width / 2)
|
||||
/* The condition to prevent bleeding is: (margin-left + margin-right < -11px) */
|
||||
/* (IF there is NO margin on the leftPanel_wrapper) */
|
||||
/* The resizeHandle does not change the gap between the left panel and the room view: */
|
||||
/* the resizeHandle width is: */
|
||||
/* 11px = 10px (padding) + 1px (width) */
|
||||
/* and the total negative margin is -12px -> */
|
||||
/* the handle requires no space */
|
||||
/* right: -6px left: -6px positions the element exactly on the edge of leftPanel. */
|
||||
/* left+=1 and right-=1 => resizeHandle moves 1px to the right closer to the center of the gap. */
|
||||
/* We want the handle to be in the middle of the gap so it is shifted by ($container-gap-width / 2) */
|
||||
}
|
||||
|
||||
.mx_MatrixChat > .mx_ResizeHandle_horizontal:hover {
|
||||
|
@ -103,7 +103,7 @@ limitations under the License.
|
|||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
height: 64px; // to match width of the ones on roomlist
|
||||
height: 64px; /* to match width of the ones on roomlist */
|
||||
width: 4px;
|
||||
border-radius: 4px;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue