Fossil SCM
Added 'achtung' class. See the code comments.
Commit
b5b04dcf853b627e2a85fc071bfbc800ee2fa17b
Parent
9b68bc33bd40d97…
1 file changed
+10
+10
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -328,10 +328,20 @@ | ||
| 328 | 328 | @ table.label-value th { |
| 329 | 329 | @ vertical-align: top; |
| 330 | 330 | @ text-align: right; |
| 331 | 331 | @ padding: 0.2ex 2ex; |
| 332 | 332 | @ } |
| 333 | +@ | |
| 334 | +@ /* For marking important UI elements which shouldn't be | |
| 335 | +@ lightly dismissed. I mainly use it to mark "not yet | |
| 336 | +@ implemented" parts of a page. Whether or not to have | |
| 337 | +@ a 'border' attribute set is arguable. */ | |
| 338 | +@ .achtung { | |
| 339 | +@ color: #ff0000; | |
| 340 | +@ background: #ffff00; | |
| 341 | +@ border: 1px solid #ff0000; | |
| 342 | +@ } | |
| 333 | 343 | ; |
| 334 | 344 | |
| 335 | 345 | /* |
| 336 | 346 | ** WEBPAGE: style.css |
| 337 | 347 | */ |
| 338 | 348 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -328,10 +328,20 @@ | |
| 328 | @ table.label-value th { |
| 329 | @ vertical-align: top; |
| 330 | @ text-align: right; |
| 331 | @ padding: 0.2ex 2ex; |
| 332 | @ } |
| 333 | ; |
| 334 | |
| 335 | /* |
| 336 | ** WEBPAGE: style.css |
| 337 | */ |
| 338 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -328,10 +328,20 @@ | |
| 328 | @ table.label-value th { |
| 329 | @ vertical-align: top; |
| 330 | @ text-align: right; |
| 331 | @ padding: 0.2ex 2ex; |
| 332 | @ } |
| 333 | @ |
| 334 | @ /* For marking important UI elements which shouldn't be |
| 335 | @ lightly dismissed. I mainly use it to mark "not yet |
| 336 | @ implemented" parts of a page. Whether or not to have |
| 337 | @ a 'border' attribute set is arguable. */ |
| 338 | @ .achtung { |
| 339 | @ color: #ff0000; |
| 340 | @ background: #ffff00; |
| 341 | @ border: 1px solid #ff0000; |
| 342 | @ } |
| 343 | ; |
| 344 | |
| 345 | /* |
| 346 | ** WEBPAGE: style.css |
| 347 | */ |
| 348 |