Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Adapted SVG background from Florian for the .help-buttonlet CSS. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | wikiedit-wysiwyg-legacy |
| Files: | files | file ages | folders |
| SHA3-256: |
b2ece413ba8ca073f9dc016b83ce360b |
| User & Date: | stephan 2020-08-30 18:43:07.595 |
Context
|
2020-08-30
| ||
| 18:58 | Reintroduced the legacy wysiwyg wiki editor as an optional element which can be plugged in via the skin if desired. Several semi-related "code-adjacent" tweaks and improvements. ... (check-in: 03a64a39ad user: stephan tags: trunk) | |
| 18:43 | Adapted SVG background from Florian for the .help-buttonlet CSS. ... (Closed-Leaf check-in: b2ece413ba user: stephan tags: wikiedit-wysiwyg-legacy) | |
| 18:42 | Added style for the new help-buttonlet widgets in the xekri skin, else they end up with a transparent background. ... (check-in: 8b0d000200 user: stephan tags: wikiedit-wysiwyg-legacy) | |
Changes
Changes to src/default.css.
| ︙ | ︙ | |||
1309 1310 1311 1312 1313 1314 1315 |
the DOM and shown in a singleton popup when they are clicked. They
may be SPAN elements if their children are all inline elements,
otherwise they must be DIVs (block elements) so that nesting of
block-element content is legal.
*/
.help-buttonlet {
display: inline-block;
| | | | | < < < < < < < > > > > > > > > > > > > > > > > > > > > > | > > > > > > > < | | < > | 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
the DOM and shown in a singleton popup when they are clicked. They
may be SPAN elements if their children are all inline elements,
otherwise they must be DIVs (block elements) so that nesting of
block-element content is legal.
*/
.help-buttonlet {
display: inline-block;
min-width: 1em;
max-width: 1em;
min-height: 1em;
max-height: 1em;
cursor: pointer;
margin: 0 0 0 0.35em;
background-image: /* white question mark on blue circular background */
url("data:image/svg+xml;charset=UTF-8, \
%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15.867574 15.867574'%3e\
%3ccircle style='fill:%23f0f0f0;stroke-width:1.0' r='7.9337869' cy='7.9337869' \
cx='7.9337869'/%3e%3ccircle style='fill:%23404040;stroke-width:1.0' r='6.9662519' \
cy='7.9337869' cx='7.9337869'/%3e%3ccircle style='fill:%235080d0;stroke-width:1.0' r='5.9987168' \
cy='7.9337869' cx='7.9337869'/%3e%3cpath style='fill:%23f8f8f8' d='M 8.5299783,9.3087873 \
H 6.5910134 V 9.0456038 q 0,-0.4404297 0.1772461,-0.7788086 0.1772461,-0.34375 \
0.7465821,-0.8701172 l 0.34375,-0.3115235 Q 8.1647439,6.8058577 8.3043923,6.5587873 \
8.4494119,6.311717 8.4494119,6.0646467 q 0,-0.3759765 -0.2578125,-0.5854492 \
-0.2578125,-0.2148437 -0.7197266,-0.2148437 -0.4350586,0 -0.9399414,0.1826171 \
Q 6.0270486,5.624217 5.479197,5.9787092 V 4.2921858 Q 6.1290994,4.0665998 \
6.6662087,3.959178 7.2033181,3.8517561 7.7028298,3.8517561 q 1.3105469,0 \
1.9980469,0.5371094 0.6875003,0.5317383 0.6875003,1.5576172 0,0.5263671 \
-0.209473,0.9453125 -0.2094726,0.4135742 -0.7143554,0.8916015 l -0.34375,0.3061524 \
Q 8.7555642,8.4225569 8.6427712,8.6266584 8.5299783,8.8253889 8.5299783,9.0670881 \
Z M 6.5910134,10.103709 h 1.9389649 v 1.91211 H 6.5910134 Z' /%3e%3c/svg%3e ");
background-repeat: no-repeat;
background-position: center;
/* When not using a background image, this works reasonably
well along with a ::before content of "?": */
/*border-width: 1px;
border-style: outset;
border-radius: 0.5em;
font-size: 100%;
font-family: monspace;
font-weight: 700;
overflow: hidden;
background-color: rgba(54, 54, 255,1);
color: rgb(255, 255, 255);
text-align: center;
line-height: 1; */
}
/*.help-buttonlet::before {
content: "?";
}*/
/**
We really want to hide all help text via CSS but CSS cannot select
TEXT nodes. Thus we move them out of the way programmatically
during initialization.
*/
.help-buttonlet > *{}
/**
CSS class for PopupWidget which wraps .help-buttonlet content.
They also have class fossil-tooltip. We need an overly-exact
selector here to be certain that this class's style overrides
that of fossil-tooltip.
*/
.fossil-tooltip.help-buttonlet-content {
cursor: default;
text-align: left;
border-style: outset;
background-color: inherit;
}
|
Changes to src/style.fileedit.css.
| ︙ | ︙ | |||
145 146 147 148 149 150 151 |
margin: 0.25em 0.5em 0.25em 0;
}
body.fileedit #fileedit-stash-selector {
margin: 0.25em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
| | | 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
margin: 0.25em 0.5em 0.25em 0;
}
body.fileedit #fileedit-stash-selector {
margin: 0.25em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
body.fileedit #fileedit-stash-selector select {
margin: 0 1em;
height: initial;
font-family: monospace;
flex: 10 1 auto;
}
|
| ︙ | ︙ |
Changes to src/style.wikiedit.css.
| ︙ | ︙ | |||
179 180 181 182 183 184 185 |
content: "]";
}
body.wikiedit #wikiedit-stash-selector {
margin: 0.25em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
| | | 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
content: "]";
}
body.wikiedit #wikiedit-stash-selector {
margin: 0.25em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
body.wikiedit #wikiedit-stash-selector select {
margin: 0 1em 0 0.5em;
height: initial;
font-family: monospace;
flex: 10 1 auto;
}
|
| ︙ | ︙ |