Extract tooltip styling to a shared class
We want to use the same styling with edited tooltip as well, so this extracts the shared bits.
This commit is contained in:
@@ -74,3 +74,16 @@ limitations under the License.
|
||||
animation: mx_fadeout 0.1s forwards;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_Tooltip_timeline {
|
||||
box-shadow: none;
|
||||
background-color: $tooltip-timeline-bg-color;
|
||||
color: $tooltip-timeline-fg-color;
|
||||
text-align: center;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
|
||||
.mx_Tooltip_chevron::after {
|
||||
border-right-color: $tooltip-timeline-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,18 +15,8 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_ReactionsRowButtonTooltip {
|
||||
box-shadow: none;
|
||||
background-color: $reaction-row-button-tooltip-bg-color;
|
||||
color: $reaction-row-button-tooltip-fg-color;
|
||||
text-align: center;
|
||||
font-size: 8px;
|
||||
padding: 6px;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
|
||||
.mx_Tooltip_chevron::after {
|
||||
border-right-color: $reaction-row-button-tooltip-bg-color;
|
||||
}
|
||||
|
||||
.mx_ReactionsRowButtonTooltip_reactedWith {
|
||||
opacity: 0.7;
|
||||
|
||||
Reference in New Issue
Block a user