From: Raphaël Gertz Date: Wed, 11 Dec 2019 08:23:53 +0000 (+0100) Subject: Add warning class X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/ef048fcc1c05cf5073e767ff65a5c24dabc640a8?ds=sidebyside;hp=8f64b0a6c30aa85b5306ca3eea00ab67a83b5fb2 Add warning class --- diff --git a/Resources/public/css/screen.css b/Resources/public/css/screen.css index 271e7d6..953d83f 100644 --- a/Resources/public/css/screen.css +++ b/Resources/public/css/screen.css @@ -137,6 +137,8 @@ body { /* Message */ .notice::before, .notice::after, +.warning::before, +.warning::after, .error::before, .error::after { content: "⚠"; @@ -146,6 +148,7 @@ body { } .notice, +.warning, .error { display: flex; flex-direction: row; @@ -173,11 +176,26 @@ body { color: #3333c3; } +.warning::before, +.warning::after { + /*XXX: see https://www.fileformat.info/info/unicode/char/2139/fontsupport.htm + * DejaVu Sans/FreeSans/FreeSerif/Linux Libertine/Symbola/Unifont*/ + content: "?"; + /*content: "⌘";*/ +} + +.warning { + border-color: #c39333; + background-color: #f9c333; + color: #936333; +} + .flash { margin: 0 .5rem .5rem; } p.notice, +p.warning, p.error { margin-bottom: .5rem; }