discourse/app/assets/stylesheets/common/base/sidebar-custom-section.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.0 KiB
SCSS
Raw Normal View History

.sidebar-custom-sections {
.sidebar-section-wrapper {
padding-bottom: 0;
}
.sidebar-section-header {
position: relative;
}
.d-icon-globe {
position: absolute;
left: -0.75em;
height: 0.75em;
width: 0.75em;
margin-top: 0.15em;
align-items: center;
}
.sidebar-section-link-prefix.icon {
cursor: move;
}
a {
-webkit-touch-callout: none !important;
@include unselectable;
cursor: pointer;
}
.sidebar-section-wrapper.disabled {
a {
pointer-events: none;
}
.sidebar-section-link-wrapper {
.sidebar-section-link-prefix.icon,
.sidebar-section-link {
background: none;
color: var(--primary-low-mid);
}
.sidebar-section-link.drag {
font-weight: bold;
color: var(--primary-high);
.sidebar-section-link-prefix.icon {
color: var(--primary-high);
}
}
}
}
}
.discourse-touch {
.sidebar-custom-sections {
a:hover {
background: none !important;
}
}
}