vanilla_respondage/css/custom.css

51 lines
1.8 KiB
CSS
Raw Normal View History

/******************
User custom CSS
---------------
In this file you can add your own custom CSS
It will be loaded last, so you can override any other property.
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
#outerframeContainer{
hyphens: none;
}
/* Subtle theme credit at the bottom of every page
(rendered by views/subviews/footer/footer.twig) */
.respondage-theme-footer {
padding: 1rem 0 1.5rem;
opacity: 0.75;
}
/* row 207: logo height 25px (was max-height 18px) */
.respondage-theme-footer-logo {
height: 25px;
width: auto;
vertical-align: middle;
}
/* row 214: untouched slider = grey handle + transparent selection; touched =
sliderhandlecolor (the .slider-handle rule in custom_header.twig).
The slider-is-untouched class is synced onto li.slider-item by
scripts/custom.js from the answer input's value — core's own
slider-untouched class on the .slider element is unreliable when
"slider_default_set" is on. Specificity (0,3,0) beats the .slider-handle
rule (0,1,0) from custom_header.twig regardless of style-block order. */
.slider-item.slider-is-untouched .slider-handle {
background-color: grey;
}
.slider-item.slider-is-untouched .slider-selection {
background: transparent;
box-shadow: none;
}
/* row 215: while untouched, also hide the value tooltip — core only does that
(jQuery .hide()) when no default position is set; with slider_default_set
the tooltip stays visible on an untouched slider. No !important on purpose:
on touch core sets an inline display via .show(), which wins over this rule
(and slider-is-untouched is removed anyway). */
.slider-item.slider-is-untouched .slider .tooltip {
display: none;
2026-06-17 10:06:07 +02:00
}