diff options
author | Jayaram R Pai | 2014-07-31 17:13:33 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-07-31 17:13:33 +0530 |
commit | 69f0119c7262602af46fd6a80e4558089835fa01 (patch) | |
tree | 783210690cc87ccd6d9139b7d1c184f49d07ec3b /css/messages.css | |
download | scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.gz scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.bz2 scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.zip |
initial commit
Diffstat (limited to 'css/messages.css')
-rwxr-xr-x | css/messages.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/css/messages.css b/css/messages.css new file mode 100755 index 0000000..ed47ee0 --- /dev/null +++ b/css/messages.css @@ -0,0 +1,53 @@ +/** + * @file + * Message Styling + * + * Sensible styling for Drupal's error/warning/status messages. + */ + + +div.messages, +div.status, +div.warning, +div.error /* Important messages (status, warning, and error) for the user */ { + min-height: 21px; + margin: 0 1em 5px 1em; + border: 2px solid #ff7; + padding: 5px 5px 5px 35px; /* LTR */ + color: #000; + background-color: #ffc; + background-image: url(../images/messages-status.png); + background-repeat: no-repeat; + background-position: 5px 5px; /* LTR */ +} + +div.status /* Normal priority messages */ { +} + +div.warning /* Medium priority messages */ { + border-color: #fc0; + background-image: url(../images/messages-warning.png); +} + +div.warning, +tr.warning { + color: #000; /* Drupal core uses #220 */ + background-color: #ffc; +} + +div.error /* High priority messages. See also the .error declaration in pages.css. */ { + /* border: 1px solid #d77; */ /* Drupal core uses: 1px solid #d77 */ + border-color: #c00; + background-image: url(../images/messages-error.png); +} + +div.error, +tr.error { + color: #900; /* Drupal core uses #200 */ + background-color: #fee; +} + +div.messages ul { + margin-top: 0; + margin-bottom: 0; +} |