Bug 609372 - Better icons and color palette for the Web Console; f=pwalton r=dao approval2.0=gavin.sharp

This commit is contained in:
Stephen Horlander 2011-01-31 16:55:55 -04:00
Родитель e749579745
Коммит a957be2a02
6 изменённых файлов: 72 добавлений и 57 удалений

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1000 B

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Просмотреть файл

@ -70,13 +70,10 @@
.webconsole-msg-icon {
list-style-image: url(chrome://global/skin/icons/webconsole.png);
margin: 2px 3px;
width: 10px;
height: 10px;
}
.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
visibility: hidden;
-moz-image-region: rect(0, 1px, 0, 0);
margin: 3px 4px;
width: 8px;
height: 8px;
}
.hud-clickable {
@ -143,7 +140,7 @@
/* Network styles */
.webconsole-filter-button[category="net"] {
-moz-image-region: rect(0, 40px, 10px, 30px);
-moz-image-region: rect(0, 8px, 8px, 0);
}
.webconsole-msg-network > .webconsole-msg-icon-container {
@ -151,12 +148,12 @@
}
.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(0, 10px, 10px, 0);
-moz-image-region: rect(0, 16px, 8px, 8px);
}
/* CSS styles */
.webconsole-filter-button[category="css"] {
-moz-image-region: rect(10px, 40px, 20px, 30px);
-moz-image-region: rect(8px, 8px, 16px, 0);
}
.webconsole-msg-cssparser > .webconsole-msg-icon-container {
@ -164,16 +161,16 @@
}
.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 10px, 20px, 0);
-moz-image-region: rect(8px, 16px, 16px, 8px);
}
.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 20px, 20px, 10px);
-moz-image-region: rect(8px, 24px, 16px, 16px);
}
/* JS styles */
.webconsole-filter-button[category="js"] {
-moz-image-region: rect(20px, 40px, 30px, 30px);
-moz-image-region: rect(16px, 8px, 24px, 0);
}
.webconsole-msg-exception > .webconsole-msg-icon-container {
@ -181,16 +178,16 @@
}
.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 10px, 30px, 0);
-moz-image-region: rect(16px, 16px, 24px, 8px);
}
.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 20px, 30px, 10px);
-moz-image-region: rect(16px, 24px, 24px, 16px);
}
/* Web Developer styles */
.webconsole-filter-button[category="webdev"] {
-moz-image-region: rect(30px, 40px, 40px, 30px);
-moz-image-region: rect(24px, 8px, 32px, 0);
}
.webconsole-msg-console > .webconsole-msg-icon-container {
@ -199,15 +196,15 @@
.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 10px, 40px, 0);
-moz-image-region: rect(24px, 16px, 32px, 8px);
}
.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 20px, 40px, 10px);
-moz-image-region: rect(24px, 24px, 32px, 16px);
}
.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 30px, 40px, 20px);
-moz-image-region: rect(24px, 32px, 32px, 24px);
}
/* Input and output styles */
@ -216,6 +213,14 @@
border-left: solid #808080 6px;
}
.webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 40px, 32px, 32px);
}
.webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 48px, 32px, 40px);
}
.webconsole-close-button {
list-style-image: url("moz-icon://stock/gtk-close?size=menu");
}

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1000 B

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Просмотреть файл

@ -73,13 +73,10 @@
.webconsole-msg-icon {
list-style-image: url(chrome://global/skin/icons/webconsole.png);
margin: 2px 3px;
width: 10px;
height: 10px;
}
.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
visibility: hidden;
-moz-image-region: rect(0, 1px, 0, 0);
margin: 3px 4px;
width: 8px;
height: 8px;
}
.hud-clickable {
@ -201,7 +198,7 @@
/* Network styles */
.webconsole-filter-button[category="net"] {
-moz-image-region: rect(0, 40px, 10px, 30px);
-moz-image-region: rect(0, 8px, 8px, 0);
}
.webconsole-msg-network > .webconsole-msg-icon-container {
@ -209,12 +206,12 @@
}
.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(0, 10px, 10px, 0);
-moz-image-region: rect(0, 16px, 8px, 8px);
}
/* CSS styles */
.webconsole-filter-button[category="css"] {
-moz-image-region: rect(10px, 40px, 20px, 30px);
-moz-image-region: rect(8px, 8px, 16px, 0);
}
.webconsole-msg-cssparser > .webconsole-msg-icon-container {
@ -222,16 +219,16 @@
}
.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 10px, 20px, 0);
-moz-image-region: rect(8px, 16px, 16px, 8px);
}
.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 20px, 20px, 10px);
-moz-image-region: rect(8px, 24px, 16px, 16px);
}
/* JS styles */
.webconsole-filter-button[category="js"] {
-moz-image-region: rect(20px, 40px, 30px, 30px);
-moz-image-region: rect(16px, 8px, 24px, 0);
}
.webconsole-msg-exception > .webconsole-msg-icon-container {
@ -239,16 +236,16 @@
}
.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 10px, 30px, 0);
-moz-image-region: rect(16px, 16px, 24px, 8px);
}
.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 20px, 30px, 10px);
-moz-image-region: rect(16px, 24px, 24px, 16px);
}
/* Web Developer styles */
.webconsole-filter-button[category="webdev"] {
-moz-image-region: rect(30px, 40px, 40px, 30px);
-moz-image-region: rect(24px, 8px, 32px, 0);
}
.webconsole-msg-console > .webconsole-msg-icon-container {
@ -257,15 +254,15 @@
.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 10px, 40px, 0);
-moz-image-region: rect(24px, 16px, 32px, 8px);
}
.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 20px, 40px, 10px);
-moz-image-region: rect(24px, 24px, 32px, 16px);
}
.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 30px, 40px, 20px);
-moz-image-region: rect(24px, 32px, 32px, 24px);
}
/* Input and output styles */
@ -274,6 +271,14 @@
border-left: solid #808080 6px;
}
.webconsole-msg-input.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 40px, 32px, 32px);
}
.webconsole-msg-output.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 48px, 32px, 40px);
}
.webconsole-close-button {
list-style-image: url("chrome://global/skin/icons/closetab.png");
margin-top: 0;

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1000 B

После

Ширина:  |  Высота:  |  Размер: 1.3 KiB

Просмотреть файл

@ -69,13 +69,10 @@
.webconsole-msg-icon {
list-style-image: url(chrome://global/skin/icons/webconsole.png);
margin: 2px 3px;
width: 10px;
height: 10px;
}
.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
visibility: hidden;
-moz-image-region: rect(0, 1px, 0, 0);
margin: 3px 4px;
width: 8px;
height: 8px;
}
.hud-clickable {
@ -141,7 +138,7 @@
/* Network styles */
.webconsole-filter-button[category="net"] {
-moz-image-region: rect(0, 40px, 10px, 30px);
-moz-image-region: rect(0, 8px, 8px, 0);
}
.webconsole-msg-network > .webconsole-msg-icon-container {
@ -149,12 +146,12 @@
}
.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(0, 10px, 10px, 0);
-moz-image-region: rect(0, 16px, 8px, 8px);
}
/* CSS styles */
.webconsole-filter-button[category="css"] {
-moz-image-region: rect(10px, 40px, 20px, 30px);
-moz-image-region: rect(8px, 8px, 16px, 0);
}
.webconsole-msg-cssparser > .webconsole-msg-icon-container {
@ -162,16 +159,16 @@
}
.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 10px, 20px, 0);
-moz-image-region: rect(8px, 16px, 16px, 8px);
}
.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(10px, 20px, 20px, 10px);
-moz-image-region: rect(8px, 24px, 16px, 16px);
}
/* JS styles */
.webconsole-filter-button[category="js"] {
-moz-image-region: rect(20px, 40px, 30px, 30px);
-moz-image-region: rect(16px, 8px, 24px, 0);
}
.webconsole-msg-exception > .webconsole-msg-icon-container {
@ -179,16 +176,16 @@
}
.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 10px, 30px, 0);
-moz-image-region: rect(16px, 16px, 24px, 8px);
}
.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(20px, 20px, 30px, 10px);
-moz-image-region: rect(16px, 24px, 24px, 16px);
}
/* Web Developer styles */
.webconsole-filter-button[category="webdev"] {
-moz-image-region: rect(30px, 40px, 40px, 30px);
-moz-image-region: rect(24px, 8px, 32px, 0);
}
.webconsole-msg-console > .webconsole-msg-icon-container {
@ -197,15 +194,15 @@
.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 10px, 40px, 0);
-moz-image-region: rect(24px, 16px, 32px, 8px);
}
.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 20px, 40px, 10px);
-moz-image-region: rect(24px, 24px, 32px, 16px);
}
.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(30px, 30px, 40px, 20px);
-moz-image-region: rect(24px, 32px, 32px, 24px);
}
/* Input and output styles */
@ -214,6 +211,14 @@
border-left: solid #808080 6px;
}
.webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 40px, 32px, 32px);
}
.webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
-moz-image-region: rect(24px, 48px, 32px, 40px);
}
.webconsole-close-button {
border: none;
padding: 3px;