summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-09-11 22:36:22 (GMT)
committerwebchick2013-09-11 22:36:22 (GMT)
commitbe46d3403003074b363947d41e3ae0667aeb192c (patch)
tree7dffdbf1de9476c0c1fd76f0e538122a861fcd07
parent9bb5d68aefd2847550083e26c6d7a61119406f58 (diff)
Issue #2075949 by AdamGerthel, ry5n, LewisNyman: Add Libricons to messages.
-rwxr-xr-xcore/misc/icons/73b355/check.pngbin0 -> 249 bytes
-rwxr-xr-xcore/misc/icons/73b355/check.svg1
-rwxr-xr-xcore/misc/icons/e29700/warning.pngbin0 -> 303 bytes
-rwxr-xr-xcore/misc/icons/e29700/warning.svg1
-rwxr-xr-xcore/misc/icons/ea2800/error.pngbin0 -> 398 bytes
-rwxr-xr-xcore/misc/icons/ea2800/error.svg1
-rw-r--r--core/misc/message-16-ok.pngbin639 -> 0 bytes
-rw-r--r--core/modules/system/css/system.theme.css15
8 files changed, 15 insertions, 3 deletions
diff --git a/core/misc/icons/73b355/check.png b/core/misc/icons/73b355/check.png
new file mode 100755
index 0000000..e030f10
--- /dev/null
+++ b/core/misc/icons/73b355/check.png
Binary files differ
diff --git a/core/misc/icons/73b355/check.svg b/core/misc/icons/73b355/check.svg
new file mode 100755
index 0000000..566cbc4
--- /dev/null
+++ b/core/misc/icons/73b355/check.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#73b355"><path d="M6.464 13.676c-.194.194-.513.194-.707 0l-4.96-4.955c-.194-.193-.194-.513 0-.707l1.405-1.407c.194-.195.512-.195.707 0l2.849 2.848c.194.193.513.193.707 0l6.629-6.626c.195-.194.514-.194.707 0l1.404 1.404c.193.194.193.513 0 .707l-8.741 8.736z"/></svg> \ No newline at end of file
diff --git a/core/misc/icons/e29700/warning.png b/core/misc/icons/e29700/warning.png
new file mode 100755
index 0000000..4b2d979
--- /dev/null
+++ b/core/misc/icons/e29700/warning.png
Binary files differ
diff --git a/core/misc/icons/e29700/warning.svg b/core/misc/icons/e29700/warning.svg
new file mode 100755
index 0000000..1498a41
--- /dev/null
+++ b/core/misc/icons/e29700/warning.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#e29700"><path d="M14.66 12.316l-5.316-10.633c-.738-1.476-1.946-1.476-2.685 0l-5.317 10.633c-.738 1.477.008 2.684 1.658 2.684h10.002c1.65 0 2.396-1.207 1.658-2.684zm-7.66-8.316h2.002v5h-2.002v-5zm2.252 8.615c0 .344-.281.625-.625.625h-1.25c-.345 0-.626-.281-.626-.625v-1.239c0-.344.281-.625.626-.625h1.25c.344 0 .625.281.625.625v1.239z"/></svg> \ No newline at end of file
diff --git a/core/misc/icons/ea2800/error.png b/core/misc/icons/ea2800/error.png
new file mode 100755
index 0000000..183e853
--- /dev/null
+++ b/core/misc/icons/ea2800/error.png
Binary files differ
diff --git a/core/misc/icons/ea2800/error.svg b/core/misc/icons/ea2800/error.svg
new file mode 100755
index 0000000..a715b96
--- /dev/null
+++ b/core/misc/icons/ea2800/error.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#ea2800"><path d="M8.002 1c-3.868 0-7.002 3.134-7.002 7s3.134 7 7.002 7c3.865 0 7-3.134 7-7s-3.135-7-7-7zm4.025 9.284c.062.063.1.149.1.239 0 .091-.037.177-.1.24l-1.262 1.262c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-2.283-2.283-2.286 2.283c-.064.062-.15.1-.24.1s-.176-.036-.24-.1l-1.261-1.262c-.063-.062-.1-.148-.1-.24 0-.088.036-.176.1-.238l2.283-2.285-2.283-2.284c-.063-.064-.1-.15-.1-.24s.036-.176.1-.24l1.262-1.262c.063-.063.149-.1.24-.1.089 0 .176.036.24.1l2.285 2.284 2.283-2.284c.064-.063.15-.1.24-.1s.176.036.24.1l1.262 1.262c.062.063.1.149.1.24 0 .089-.037.176-.1.24l-2.283 2.284 2.283 2.284z"/></svg> \ No newline at end of file
diff --git a/core/misc/message-16-ok.png b/core/misc/message-16-ok.png
deleted file mode 100644
index 9edebe6..0000000
--- a/core/misc/message-16-ok.png
+++ /dev/null
Binary files differ
diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index 82bd8b1..0b9af42 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -542,13 +542,16 @@ ul.tabs {
/* @TODO Separate tables and messages styling */
.messages--status {
border-color: #c9e1bd #c9e1bd #c9e1bd #77b259; /* LTR */
- background-image: url(../../../misc/message-16-ok.png);
+ background-image: url(../../../misc/icons/73b355/check.svg);
background-position: 12px 19px; /* LTR */
}
[dir="rtl"] .messages--status {
background-position: 99.3% 19px;
border-color: #c9e1bd #77b259 #c9e1bd #c9e1bd;
}
+.no-svg .messages--status {
+ background-image: url(../../../misc/icons/73b355/check.png);
+}
.messages--status,
.ok {
color: #325e1c;
@@ -559,12 +562,15 @@ table tr.ok {
}
.messages--warning {
- background-image: url(../../../misc/message-16-warning.png);
+ background-image: url(../../../misc/icons/e29700/warning.svg);
border-color: #f4daa6 #f4daa6 #f4daa6 #e09600; /* LTR */
}
[dir="rtl"] .messages--warning {
border-color: #f4daa6 #e09600 #f4daa6 #f4daa6;
}
+.no-svg .messages--warning {
+ background-image: url(../../../misc/icons/e29700/warning.png);
+}
.messages--warning,
.warning {
color: #734c00;
@@ -575,12 +581,15 @@ table tr.warning {
}
.messages--error {
- background-image: url(../../../misc/message-16-error.png);
+ background-image: url(../../../misc/icons/ea2800/error.svg);
border-color: #f9c9bf #f9c9bf #f9c9bf #e62600; /* LTR */
}
[dir="rtl"] .messages--error {
border-color: #f9c9bf #e62600 #f9c9bf #f9c9bf;
}
+.no-svg .messages--error {
+ background-image: url(../../../misc/icons/ea2800/error.png);
+}
.messages--error,
.error {
color: #a51b00;