mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 06:26:41 +08:00
a68752df25
Co-authored-by: David Taylor <david@taylorhq.com> Co-authored-by: Jarek Radosz <jradosz@gmail.com>
69 lines
1.1 KiB
SCSS
69 lines
1.1 KiB
SCSS
.tippy-box[data-theme="user-tip"] {
|
|
background-color: var(--tertiary);
|
|
color: var(--secondary);
|
|
|
|
.btn-flat {
|
|
color: var(--secondary);
|
|
|
|
&:hover {
|
|
color: var(--d-hover);
|
|
}
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--secondary);
|
|
color: var(--tertiary);
|
|
|
|
&:hover {
|
|
color: var(--tertiary-hover);
|
|
}
|
|
|
|
.d-icon {
|
|
color: var(--tertiary);
|
|
}
|
|
}
|
|
|
|
> .tippy-svg-arrow {
|
|
color: var(--tertiary);
|
|
}
|
|
}
|
|
|
|
.user-tip {
|
|
z-index: z("composer", "content") - 1;
|
|
|
|
&__container {
|
|
font-weight: normal;
|
|
min-width: 300px;
|
|
padding: 0.5em;
|
|
text-align: left;
|
|
}
|
|
|
|
&__title {
|
|
font-size: var(--font-up-2);
|
|
font-weight: bold;
|
|
}
|
|
|
|
&__content {
|
|
margin-top: 0.25em;
|
|
|
|
a {
|
|
color: var(--secondary);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&__buttons {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-svg-arrow {
|
|
right: -1px;
|
|
}
|
|
|
|
.tippy-box[data-theme~="user-tips"] > .tippy-svg-arrow:after,
|
|
.tippy-box[data-theme~="user-tips"] > .tippy-svg-arrow > svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|