Template:Def/styles.css: Difference between revisions
Template page
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 106: | Line 106: | ||
cursor: not-allowed; | cursor: not-allowed; | ||
opacity: 0.85; | opacity: 0.85; | ||
} | |||
/* ------------------------------------------------------------------------- | |||
Pill mode + fill mode | |||
- pill: let the parent “pill” own the visual styling (no dotted underline) | |||
- fill: make the sv-def element stretch to its container (for full-hit areas) | |||
------------------------------------------------------------------------- */ | |||
.sv-def--pill .sv-def-text{ | |||
color:inherit; | |||
border-bottom:none; | |||
} | |||
.sv-def--pill{ | |||
cursor:pointer; | |||
} | |||
.sv-def--pill:hover .sv-def-text{ | |||
border-bottom:none; | |||
} | |||
.sv-def--fill{ | |||
display:block; | |||
width:100%; | |||
height:100%; | |||
white-space:normal; | |||
} | |||
.sv-def--fill .sv-def-text{ | |||
display:block; | |||
width:100%; | |||
height:100%; | |||
border-bottom:none; | |||
} | } | ||