Bug 747415 - Make our css more efficient. r=bwinton, philipp

This commit is contained in:
Richard Marti 2012-05-01 19:06:30 +02:00
Родитель 09c7dc8741
Коммит 8515b2220f
36 изменённых файлов: 315 добавлений и 335 удалений

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

@ -922,15 +922,15 @@ calendar-event-box[gripBars="both"]:not([readonly="true"]):hover .calendar-event
}
/* tooltips */
vbox.tooltipBox {
.tooltipBox {
max-width: 40em;
}
column.tooltipValueColumn {
.tooltipValueColumn {
max-width: 35em; /* tooltipBox max-width minus space for label */
}
label.tooltipHeaderLabel {
.tooltipHeaderLabel {
font-weight: bold;
text-align: right;
margin-top: 0;
@ -939,17 +939,17 @@ label.tooltipHeaderLabel {
-moz-margin-end: 1em; /* 1em space before value */
}
description.tooltipHeaderDescription {
.tooltipHeaderDescription {
font-weight: normal;
text-align: left;
margin: 0pt;
}
separator.tooltipBodySeparator {
.tooltipBodySeparator {
height: 1ex; /* 1ex space above body text, below last header. */
}
description.tooltipBody {
.tooltipBody {
font-weight: normal;
white-space: pre-wrap;
margin: 0pt;

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

@ -15,24 +15,22 @@ td {
width: 2em;
text-align: left;
}
td.header {
.header {
color: HighlightText;
font-size: 1em;
font-weight: bold;
background-color: Highlight;
}
td.description {
.description {
width: 9em;
text-align: right;
-moz-border-end: 1px solid rgba(255, 255, 255, 0.2);
background-color: rgba(0, 0, 0, 0.2);
}
td.content {
.content {
width: 29em;
background-color: -moz-default-background-color;
}
td.content p {
.content p {
white-space: pre-wrap;
}
p.header {
color: HighlightText;
font-size: 1em;
font-weight: bold;
}

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

@ -48,12 +48,12 @@ p {
padding: 0;
}
div.bubble {
.bubble {
margin: 2px 20px;
padding: 0;
}
div.bubble:not(.context):not(.event) {
.bubble:not(.context):not(.event) {
-moz-animation-duration: 0.5s;
-moz-animation-name: fadein;
-moz-animation-iteration-count: 1;
@ -69,24 +69,24 @@ div.bubble:not(.context):not(.event) {
}
}
div.bubble>div.indicator {
.indicator {
padding: 10px;
-moz-margin-start: 60px;
}
div.bubble p.pseudo {
.pseudo {
font-size: smaller;
font-weight: bold;
}
div.bubble p.pseudo>span>span.time {
.time {
display: block;
float: right;
color: #aeafac;
font-weight: normal;
}
div.bubble hr {
.bubble hr {
margin: 2px 0 0;
height: 2px;
border-style: none;
@ -94,7 +94,7 @@ div.bubble hr {
border-bottom: 1px solid #dbddd7;
}
p.interval, #lastMessage {
.interval, #lastMessage {
text-align: center;
color: hsl(0, 0%, 60%);
}
@ -107,19 +107,19 @@ p.interval, #lastMessage {
line-height: 20px;
}
p.nick {
.nick {
font-weight: bold;
}
p.action {
.action {
font-style: italic;
}
p.action:before {
.action:before {
content: "*** ";
}
p.event {
.event {
color: hsl(0, 0%, 60%);
margin: 3px 15px;
}
@ -135,7 +135,7 @@ p *:-moz-any-link img {
}
/* used by javascript */
p.button {
.button {
cursor: pointer;
min-height: 20px;
-moz-margin-start: -10px;
@ -143,26 +143,26 @@ p.button {
-moz-padding-start: 24px;
}
p.hide {
.hide {
background: url('Bitmaps/plus.png') no-repeat left top;
}
p.hide:hover {
.hide:hover {
background: url('Bitmaps/plus-hover.png') no-repeat left top;
}
p.hide:after {
.hide:after {
content: "...";
color: hsl(0, 0%, 60%);
}
p.show {
.show {
background: url('Bitmaps/minus.png') no-repeat left top;
margin-bottom: -20px;
width: 0;
}
p.show:hover {
.show:hover {
background: url('Bitmaps/minus-hover.png') no-repeat left top;
}
@ -175,7 +175,7 @@ p.show:hover {
border-radius: 5px;
}
.bubble.event,
.event,
.indicator {
border: 1px solid hsl(0, 0%, 85%);
border-radius: 5px;
@ -187,11 +187,11 @@ p.show:hover {
}
@media (max-height: 500px) {
div.bubble {
.bubble {
margin-top: 3px !important;
}
div.bubble > div.indicator {
.indicator {
padding: 5px 10px;
-moz-margin-start: 0;
}

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

@ -44,31 +44,31 @@
overflow: auto;
}
groupbox.collapsable {
.collapsable {
-moz-user-focus: normal;
}
%ifdef XP_WIN
groupbox.collapsable .caption-text {
.caption-text {
border: 1px solid transparent;
}
groupbox.collapsable:focus .caption-text {
.collapsable:focus .caption-text {
border: 1px dotted ThreeDDarkShadow;
}
%endif
groupbox.collapsable[closed="true"] {
.collapsable[closed="true"] {
border: none;
-moz-appearance: none;
}
groupbox[closed="true"] > .groupbox-body {
.collapsable[closed="true"] > .groupbox-body {
display: none;
}
%ifdef XP_MACOSX
groupbox.collapsable caption .caption-icon {
.caption-icon {
width: 11px;
height: 11px;
background-repeat: no-repeat;
@ -77,11 +77,11 @@ groupbox.collapsable caption .caption-icon {
background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
groupbox.collapsable[closed="true"] caption .caption-icon {
.collapsable[closed="true"] .caption-icon {
background-image: url("chrome://global/skin/arrow/arrow-rit.gif");
}
%else
groupbox.collapsable caption .caption-icon {
.caption-icon {
width: 9px;
height: 9px;
background-repeat: no-repeat;
@ -92,7 +92,7 @@ groupbox.collapsable caption .caption-icon {
}
groupbox.collapsable[closed="true"] caption .caption-icon {
.collapsable[closed="true"] .caption-icon {
background-image: url("chrome://global/skin/tree/twisty-clsd.png");
}
%endif

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

@ -37,10 +37,10 @@
/* Fix the icons in the menulist by undoing things from menu.css */
menulist > menupopup > menuitem.menuitem-iconic > .menu-iconic-left {
menulist > menupopup > .menuitem-iconic > .menu-iconic-left {
display: -moz-box !important;
}
menulist > menupopup > menuitem.menuitem-iconic > .menu-iconic-text {
menulist > menupopup > .menuitem-iconic > .menu-iconic-text {
margin-left: 2px !important;
}

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

@ -159,7 +159,7 @@ tree.list {
min-height: 50px;
}
#alignTypeSelect,label#alignLabel {
#alignTypeSelect {
-moz-margin-start: 5px;
}
@ -313,7 +313,7 @@ tree.list {
}
/* styles for an attribute tree-table */
tree.AttributesTree {
.AttributesTree {
min-width : 200px;
min-height: 200px;
}

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

@ -38,44 +38,44 @@ window {
-moz-appearance: none;
}
image.warningicon {
.warningicon {
width: 16px;
height: 16px;
background: url("chrome://global/skin/icons/warning-16.png") no-repeat;
}
image.insecureLarry {
.insecureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://global/skin/icons/sslWarning.png") no-repeat;
}
image.secureLarry {
.secureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://messenger/skin/icons/identity.png") no-repeat;
}
vbox.mastervbox {
.mastervbox {
padding: 14px;
background: -moz-dialog;
}
vbox.icon[state='strong'] {
.icon[state='strong'] {
background-image: url("chrome://messenger/skin/icons/secure.png");
}
vbox.icon[state='failed'] {
.icon[state='failed'] {
background-image: url("chrome://messenger/skin/icons/failed.png");
}
vbox.icon[state='probing'] {
.icon[state='probing'] {
background-image: url("chrome://messenger/skin/icons/probing.png");
}
vbox.icon[state='weak'] {
.icon[state='weak'] {
background-image: url("chrome://messenger/skin/icons/insecure.png");
}
@ -167,13 +167,7 @@ textbox.username {
margin-top: 4px !important;
}
textbox.host {
width: 12em;
margin-bottom: 4px !important;
margin-top: 4px !important;
}
menulist.host {
.host {
width: 12em;
margin-bottom: 4px !important;
margin-top: 4px !important;
@ -190,11 +184,11 @@ menulist.host {
background-image: url("chrome://messenger/skin/section_expanded.png");
}
label.autoconfigLabel {
.autoconfigLabel {
text-align: right;
}
label.textbox-label {
.textbox-label {
text-align: right;
}

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

@ -136,7 +136,7 @@ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/thread-col.svg");
}
@ -158,7 +158,7 @@ treechildren::-moz-tree-image(news, threadCol, ignoreSubthread) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.svg");
-moz-padding-end: 3px;
}
@ -178,7 +178,7 @@ treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
/* ..... attachment column ..... */
treecol.attachmentColumnHeader {
.attachmentColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/attachment-col.svg");
-moz-padding-end: 3px;
}
@ -191,7 +191,7 @@ treechildren::-moz-tree-image(attachmentCol, attach) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flag-col.svg");
-moz-padding-end: 3px;
}
@ -213,7 +213,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/junk-col.svg");
-moz-padding-end: 3px;
}
@ -456,6 +456,6 @@ treechildren::-moz-tree-cell-text(subjectCol) {
/* ..... tabs ..... */
tabpanels#tabpanelcontainer {
#tabpanelcontainer {
-moz-appearance: none;
}

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

@ -59,7 +59,7 @@ mailattachcount {
background-color: #DEDEDE;
}
div.headerdisplayname {
.headerdisplayname {
display: inline;
font-weight: bold;
white-space: pre;
@ -102,11 +102,11 @@ a {
display: none;
}
span.moz-txt-underscore {
.moz-txt-underscore {
text-decoration: underline;
}
span.moz-txt-formfeed {
.moz-txt-formfeed {
display: block;
height: 100%;
}

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

@ -253,7 +253,7 @@ input[type="submit"].search {
font-weight: bold;
}
.hbox.row.th.displayNone {
#resultsHeader.displayNone {
display: none;
}

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

@ -104,13 +104,13 @@ menuitem[appHandlerIcon="plugin"] {
/**
* Used by the outgoing attachment manager
*/
richlistitem.cloudfileAccount[state="connecting"],
richlistitem.cloudfileAccount[state="waiting-to-connect"] {
.cloudfileAccount[state="connecting"],
.cloudfileAccount[state="waiting-to-connect"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
}
richlistitem.cloudfileAccount[state="auth-error"],
richlistitem.cloudfileAccount[state="no-connection"] {
.cloudfileAccount[state="auth-error"],
.cloudfileAccount[state="no-connection"] {
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu")!important;
}

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

@ -116,7 +116,7 @@ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/thread-col.svg");
}
@ -126,7 +126,7 @@ treechildren::-moz-tree-image(threadCol, container) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.svg");
-moz-padding-end: 3px;
}
@ -142,7 +142,7 @@ treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
/* ..... attachment column ..... */
treecol.attachmentColumnHeader {
.attachmentColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/attachment-col.svg");
-moz-padding-end: 3px;
}
@ -154,7 +154,7 @@ treechildren::-moz-tree-image(attachmentCol, attach) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flag-col.svg");
-moz-padding-end: 3px;
}
@ -173,7 +173,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/junk-col.svg");
-moz-padding-end: 3px;
}

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

@ -44,126 +44,124 @@
@namespace url("http://www.w3.org/1999/xhtml");
/* ::::: we also represent smilies inside of spans ::::: */
/* ::::: we represent smilies instead of text in spans ::::: */
span.moz-smiley-s1,
span.moz-smiley-s2,
span.moz-smiley-s3,
span.moz-smiley-s4,
span.moz-smiley-s5,
span.moz-smiley-s6,
span.moz-smiley-s7,
span.moz-smiley-s8,
span.moz-smiley-s9,
span.moz-smiley-s10,
span.moz-smiley-s11,
span.moz-smiley-s12,
span.moz-smiley-s13,
span.moz-smiley-s14,
span.moz-smiley-s15,
span.moz-smiley-s16
{
.moz-smiley-s1,
.moz-smiley-s2,
.moz-smiley-s3,
.moz-smiley-s4,
.moz-smiley-s5,
.moz-smiley-s6,
.moz-smiley-s7,
.moz-smiley-s8,
.moz-smiley-s9,
.moz-smiley-s10,
.moz-smiley-s11,
.moz-smiley-s12,
.moz-smiley-s13,
.moz-smiley-s14,
.moz-smiley-s15,
.moz-smiley-s16 {
display: inline-block;
vertical-align: middle;
-moz-user-select: all;
}
span.moz-smiley-s1 > span,
span.moz-smiley-s2 > span,
span.moz-smiley-s3 > span,
span.moz-smiley-s4 > span,
span.moz-smiley-s5 > span,
span.moz-smiley-s6 > span,
span.moz-smiley-s7 > span,
span.moz-smiley-s8 > span,
span.moz-smiley-s9 > span,
span.moz-smiley-s10 > span,
span.moz-smiley-s11 > span,
span.moz-smiley-s12 > span,
span.moz-smiley-s13 > span,
span.moz-smiley-s14 > span,
span.moz-smiley-s15 > span,
span.moz-smiley-s16 > span
{
.moz-smiley-s1 > span,
.moz-smiley-s2 > span,
.moz-smiley-s3 > span,
.moz-smiley-s4 > span,
.moz-smiley-s5 > span,
.moz-smiley-s6 > span,
.moz-smiley-s7 > span,
.moz-smiley-s8 > span,
.moz-smiley-s9 > span,
.moz-smiley-s10 > span,
.moz-smiley-s11 > span,
.moz-smiley-s12 > span,
.moz-smiley-s13 > span,
.moz-smiley-s14 > span,
.moz-smiley-s15 > span,
.moz-smiley-s16 > span {
display: none;
}
/* smile */
span.moz-smiley-s1:before {
.moz-smiley-s1:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
span.moz-smiley-s2:before {
.moz-smiley-s2:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
span.moz-smiley-s3:before {
.moz-smiley-s3:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
span.moz-smiley-s4:before {
.moz-smiley-s4:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
span.moz-smiley-s5:before {
.moz-smiley-s5:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarassed */
span.moz-smiley-s6:before {
.moz-smiley-s6:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
span.moz-smiley-s7:before {
.moz-smiley-s7:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
span.moz-smiley-s8:before {
.moz-smiley-s8:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
span.moz-smiley-s9:before {
.moz-smiley-s9:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
span.moz-smiley-s10:before {
.moz-smiley-s10:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
span.moz-smiley-s11:before {
.moz-smiley-s11:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
span.moz-smiley-s12:before {
.moz-smiley-s12:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
span.moz-smiley-s13:before {
.moz-smiley-s13:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
span.moz-smiley-s14:before {
.moz-smiley-s14:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
span.moz-smiley-s15:before {
.moz-smiley-s15:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
span.moz-smiley-s16:before {
.moz-smiley-s16:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}

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

@ -159,7 +159,7 @@ tree.list {
min-height: 50px;
}
#alignTypeSelect,label#alignLabel {
#alignTypeSelect {
-moz-margin-start: 5px;
}
@ -313,7 +313,7 @@ tree.list {
}
/* styles for an attribute tree-table */
tree.AttributesTree {
.AttributesTree {
min-width : 200px;
min-height: 200px;
}

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

@ -28,44 +28,44 @@ window {
-moz-appearance: none;
}
image.warningicon {
.warningicon {
width: 16px;
height: 16px;
background: url("chrome://global/skin/icons/warning-16.png") no-repeat;
}
image.insecureLarry {
.insecureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://global/skin/icons/sslWarning.png") no-repeat;
}
image.secureLarry {
.secureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://messenger/skin/icons/identity.png") no-repeat;
}
vbox.mastervbox {
.mastervbox {
padding: 14px;
background: #F4F4F4;
}
vbox.icon[state='strong'] {
.icon[state='strong'] {
background-image: url("chrome://messenger/skin/icons/secure.png");
}
vbox.icon[state='failed'] {
.icon[state='failed'] {
background-image: url("chrome://messenger/skin/icons/failed.png");
}
vbox.icon[state='probing'] {
.icon[state='probing'] {
background-image: url("chrome://messenger/skin/icons/probing.png");
}
vbox.icon[state='weak'] {
.icon[state='weak'] {
background-image: url("chrome://messenger/skin/icons/insecure.png");
}
@ -153,13 +153,7 @@ textbox.username {
margin-top: 4px !important;
}
textbox.host {
width: 14em;
margin-bottom: 4px !important;
margin-top: 4px !important;
}
menulist.host {
.host {
width: 14em;
margin-bottom: 4px !important;
margin-top: 4px !important;
@ -180,11 +174,11 @@ menulist.host {
background-image: url("chrome://messenger/skin/section_expanded.png");
}
label.autoconfigLabel {
.autoconfigLabel {
text-align: right;
}
label.textbox-label {
.textbox-label {
text-align: right;
}

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

@ -170,15 +170,15 @@ treecol[hideheader="true"] {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/unthreadcol.png");
}
treecol.threadColumnHeader[sortDirection="ascending"] {
.threadColumnHeader[sortDirection="ascending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol.png");
}
treecol.threadColumnHeader[sortDirection="descending"] {
.threadColumnHeader[sortDirection="descending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol.png");
}
@ -200,7 +200,7 @@ treechildren::-moz-tree-image(threadCol, container, hasUnread, selected) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.png");
}
@ -246,7 +246,7 @@ treechildren::-moz-tree-image(subjectCol, replied, forwarded, selected) {
/* ..... attachment column ..... */
treecol.attachmentColumnHeader {
.attachmentColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/attachment-col.png");
-moz-padding-end: 5px;
@ -262,7 +262,7 @@ treechildren::-moz-tree-image(attachmentCol, attach, focus, selected) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flagcol.png");
}
@ -280,7 +280,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/junk-column-header.png");
-moz-padding-end: 3px;
-moz-padding-start: 2px;

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

@ -57,7 +57,7 @@ mailattachcount {
background-color: #DEDEDE;
}
div.headerdisplayname {
.headerdisplayname {
display: inline;
font-weight: bold;
white-space: pre;
@ -103,7 +103,7 @@ div.headerdisplayname {
display: none;
}
span.moz-txt-underscore {
.moz-txt-underscore {
text-decoration: underline;
}

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

@ -253,7 +253,9 @@ input[type="submit"].search {
font-weight: bold;
}
.hbox.row.th.displayNone { display: none; }
#resultsHeader.displayNone {
display: none;
}
#results {
width: 100%;

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

@ -95,24 +95,24 @@ richlistbox:focus .shortDetails.selected {
}
richlistitem.cloudfileAccount {
.cloudfileAccount {
padding: 4px;
}
richlistitem.cloudfileAccount description{
.cloudfileAccount description{
padding-left: 3px;
}
/**
* Used by the outgoing attachment manager
*/
richlistitem.cloudfileAccount[state="connecting"],
richlistitem.cloudfileAccount[state="waiting-to-connect"] {
.cloudfileAccount[state="connecting"],
.cloudfileAccount[state="waiting-to-connect"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
}
richlistitem.cloudfileAccount[state="auth-error"],
richlistitem.cloudfileAccount[state="no-connection"] {
.cloudfileAccount[state="auth-error"],
.cloudfileAccount[state="no-connection"] {
list-style-image: url("chrome://global/skin/icons/error-16.png") !important;
}

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

@ -160,15 +160,15 @@ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/unthreadcol.png");
}
treecol.threadColumnHeader[sortDirection="ascending"] {
.threadColumnHeader[sortDirection="ascending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol.png");
}
treecol.threadColumnHeader[sortDirection="descending"] {
.threadColumnHeader[sortDirection="descending"] {
list-style-image: url("chrome://messenger/skin/icons/threadcol.png");
}
@ -190,7 +190,7 @@ treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.png");
}
@ -204,7 +204,7 @@ treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flagcol.png");
}
@ -218,7 +218,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/folder-junk.png");
padding-top: 0px;
padding-bottom: 0px;

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

@ -44,126 +44,124 @@
@namespace url("http://www.w3.org/1999/xhtml");
/* ::::: we also represent smilies inside of spans ::::: */
/* ::::: we represent smilies instead of text in spans ::::: */
span.moz-smiley-s1,
span.moz-smiley-s2,
span.moz-smiley-s3,
span.moz-smiley-s4,
span.moz-smiley-s5,
span.moz-smiley-s6,
span.moz-smiley-s7,
span.moz-smiley-s8,
span.moz-smiley-s9,
span.moz-smiley-s10,
span.moz-smiley-s11,
span.moz-smiley-s12,
span.moz-smiley-s13,
span.moz-smiley-s14,
span.moz-smiley-s15,
span.moz-smiley-s16
{
.moz-smiley-s1,
.moz-smiley-s2,
.moz-smiley-s3,
.moz-smiley-s4,
.moz-smiley-s5,
.moz-smiley-s6,
.moz-smiley-s7,
.moz-smiley-s8,
.moz-smiley-s9,
.moz-smiley-s10,
.moz-smiley-s11,
.moz-smiley-s12,
.moz-smiley-s13,
.moz-smiley-s14,
.moz-smiley-s15,
.moz-smiley-s16 {
display: inline-block;
vertical-align: middle;
-moz-user-select: all;
}
span.moz-smiley-s1 > span,
span.moz-smiley-s2 > span,
span.moz-smiley-s3 > span,
span.moz-smiley-s4 > span,
span.moz-smiley-s5 > span,
span.moz-smiley-s6 > span,
span.moz-smiley-s7 > span,
span.moz-smiley-s8 > span,
span.moz-smiley-s9 > span,
span.moz-smiley-s10 > span,
span.moz-smiley-s11 > span,
span.moz-smiley-s12 > span,
span.moz-smiley-s13 > span,
span.moz-smiley-s14 > span,
span.moz-smiley-s15 > span,
span.moz-smiley-s16 > span
{
.moz-smiley-s1 > span,
.moz-smiley-s2 > span,
.moz-smiley-s3 > span,
.moz-smiley-s4 > span,
.moz-smiley-s5 > span,
.moz-smiley-s6 > span,
.moz-smiley-s7 > span,
.moz-smiley-s8 > span,
.moz-smiley-s9 > span,
.moz-smiley-s10 > span,
.moz-smiley-s11 > span,
.moz-smiley-s12 > span,
.moz-smiley-s13 > span,
.moz-smiley-s14 > span,
.moz-smiley-s15 > span,
.moz-smiley-s16 > span {
display: none;
}
/* smile */
span.moz-smiley-s1:before {
.moz-smiley-s1:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
span.moz-smiley-s2:before {
.moz-smiley-s2:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
span.moz-smiley-s3:before {
.moz-smiley-s3:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
span.moz-smiley-s4:before {
.moz-smiley-s4:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
span.moz-smiley-s5:before {
.moz-smiley-s5:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarassed */
span.moz-smiley-s6:before {
.moz-smiley-s6:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
span.moz-smiley-s7:before {
.moz-smiley-s7:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
span.moz-smiley-s8:before {
.moz-smiley-s8:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
span.moz-smiley-s9:before {
.moz-smiley-s9:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
span.moz-smiley-s10:before {
.moz-smiley-s10:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
span.moz-smiley-s11:before {
.moz-smiley-s11:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
span.moz-smiley-s12:before {
.moz-smiley-s12:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
span.moz-smiley-s13:before {
.moz-smiley-s13:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
span.moz-smiley-s14:before {
.moz-smiley-s14:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
span.moz-smiley-s15:before {
.moz-smiley-s15:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
span.moz-smiley-s16:before {
.moz-smiley-s16:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}

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

@ -159,7 +159,7 @@ tree.list {
min-height: 50px;
}
#alignTypeSelect,label#alignLabel {
#alignTypeSelect {
-moz-margin-start: 5px;
}
@ -313,7 +313,7 @@ tree.list {
}
/* styles for an attribute tree-table */
tree.AttributesTree {
.AttributesTree {
min-width : 200px;
min-height: 200px;
}

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

@ -55,44 +55,44 @@ window {
padding: 14px;
}
image.warningicon {
.warningicon {
width: 16px;
height: 16px;
background: url("chrome://global/skin/icons/warning-16.png") no-repeat;
}
image.insecureLarry {
.insecureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://global/skin/icons/sslWarning.png") no-repeat;
}
image.secureLarry {
.secureLarry {
height: 64px;
width: 64px;
padding: 0;
background: url("chrome://messenger/skin/icons/identity.png") no-repeat;
}
vbox.mastervbox {
.mastervbox {
padding: 14px;
background: -moz-dialog;
}
vbox.icon[state='strong'] {
.icon[state='strong'] {
background-image: url("chrome://messenger/skin/icons/secure.png");
}
vbox.icon[state='failed'] {
.icon[state='failed'] {
background-image: url("chrome://messenger/skin/icons/failed.png");
}
vbox.icon[state='probing'] {
.icon[state='probing'] {
background-image: url("chrome://messenger/skin/icons/probing.png");
}
vbox.icon[state='weak'] {
.icon[state='weak'] {
background-image: url("chrome://messenger/skin/icons/insecure.png");
}
@ -138,7 +138,7 @@ vbox.icon[state='weak'] {
-moz-padding-end: 2em;
}
checkbox.acknowledge_checkbox {
.acknowledge_checkbox {
padding-top: .5em;
}
@ -181,13 +181,7 @@ textbox.username {
margin-top: 4px !important;
}
textbox.host {
width: 12em;
margin-bottom: 4px !important;
margin-top: 4px !important;
}
menulist.host {
.host {
width: 12em;
margin-bottom: 4px !important;
margin-top: 4px !important;
@ -204,11 +198,11 @@ menulist.host {
background-image: url("chrome://messenger/skin/section_expanded.png");
}
label.autoconfigLabel {
.autoconfigLabel {
text-align: right;
}
label.textbox-label {
.textbox-label {
text-align: right;
}

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

@ -445,7 +445,7 @@ toolbox[labelalign="end"] > toolbar[mode="full"] deck .toolbarbutton-text {
}
@media (-moz-windows-default-theme) {
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
.autocomplete-treebody::-moz-tree-cell-text(selected) {
color: -moz-DialogText !important;
}
}

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

@ -18,7 +18,7 @@
}
}
treecol.threadColumnHeader {
.threadColumnHeader {
-moz-padding-end: 2px;
}
@ -116,12 +116,12 @@ treechildren::-moz-tree-image(news, threadCol, watch) {
color: InfoText;
}
treecol.treecol-image image {
.treecol-image image {
-moz-padding-start: 1px;
-moz-padding-end: 2px;
}
treecol.junkStatusHeader {
.junkStatusHeader {
-moz-padding-end: 2px;
}
@ -266,7 +266,7 @@ menulist > .menulist-label-box {
}
@media (-moz-windows-compositor) {
#messengerWindow[sizemode=normal] tabpanels#tabpanelcontainer {
#messengerWindow[sizemode=normal] #tabpanelcontainer {
border: 1px solid rgba(10%, 10%, 10%, .4);
border-top: none;
background-clip: padding-box;

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

@ -119,12 +119,12 @@ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
/* ::::: message column icons ::::: */
treecol.treecol-image image {
.treecol-image image {
-moz-padding-end: 5px;
padding-bottom: 3px;
}
:-moz-system-metric(windows-classic) treecol.treecol-image image {
:-moz-system-metric(windows-classic) .treecol-image image {
-moz-padding-end: 1px;
padding-bottom: 2px;
}
@ -137,7 +137,7 @@ treecol.treecol-image image {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/thread-col.svg");
}
@ -159,7 +159,7 @@ treechildren::-moz-tree-image(news, threadCol, ignoreSubthread) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.svg");
}
@ -177,7 +177,7 @@ treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
/* ..... attachment column ..... */
treecol.attachmentColumnHeader {
.attachmentColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/attachment-col.svg");
}
@ -187,7 +187,7 @@ treechildren::-moz-tree-image(attachmentCol, attach) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flag-col.svg");
}
@ -206,7 +206,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/junk-col.svg");
-moz-padding-end: 3px;
}
@ -414,6 +414,6 @@ treechildren::-moz-tree-cell-text(subjectCol) {
/* ..... tabs ..... */
tabpanels#tabpanelcontainer {
#tabpanelcontainer {
-moz-appearance: none;
}

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

@ -59,7 +59,7 @@ mailattachcount {
background-color: #DEDEDE;
}
div.headerdisplayname {
.headerdisplayname {
display: inline;
font-weight: bold;
white-space: pre;
@ -98,11 +98,11 @@ div.headerdisplayname {
display: none;
}
span.moz-txt-underscore {
.moz-txt-underscore {
text-decoration: underline;
}
span.moz-txt-formfeed {
.moz-txt-formfeed {
display: block;
height: 100%;
}

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

@ -20,8 +20,8 @@ toolbar[printpreview="true"] {
-moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
}
menu.menu-iconic > .menu-iconic-left,
menuitem.menuitem-iconic > .menu-iconic-left {
.menu-iconic > .menu-iconic-left,
.menuitem-iconic > .menu-iconic-left {
display: -moz-box;
}

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

@ -253,7 +253,9 @@ input[type="submit"].search {
font-weight: bold;
}
.hbox.row.th.displayNone { display: none; }
#resultsHeader.displayNone {
display: none;
}
#results {
width: 100%;

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

@ -253,7 +253,9 @@ input[type="submit"].search {
font-weight: bold;
}
.hbox.row.th.displayNone { display: none; }
#resultsHeader.displayNone {
display: none;
}
#results {
width: 100%;

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

@ -103,13 +103,13 @@ richlistbox:focus .shortDetails.selected {
* Used by the outgoing attachment manager
*/
richlistitem.cloudfileAccount[state="connecting"],
richlistitem.cloudfileAccount[state="waiting-to-connect"] {
.cloudfileAccount[state="connecting"],
.cloudfileAccount[state="waiting-to-connect"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
}
richlistitem.cloudfileAccount[state="auth-error"],
richlistitem.cloudfileAccount[state="no-connection"] {
.cloudfileAccount[state="auth-error"],
.cloudfileAccount[state="no-connection"] {
list-style-image: url("chrome://global/skin/icons/error-16.png") !important;
}

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

@ -40,7 +40,7 @@
%include preferences.css
radiogroup.paneSelector {
.paneSelector {
background-color: -moz-field;
background-image: none;
color: -moz-fieldtext;

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

@ -40,7 +40,7 @@
/* Global Styles */
radiogroup.paneSelector {
.paneSelector {
background-color: rgb(90, 116, 164);
color: white;
background-image: url("chrome://messenger/skin/preferences/background.png");

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

@ -211,7 +211,7 @@
-moz-margin-end: 0;
}
#quick-filter-bar-collapsible-buttons toolbarbutton label.toolbarbutton-text {
#quick-filter-bar-collapsible-buttons toolbarbutton .toolbarbutton-text {
-moz-margin-start: 3px !important;
}

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

@ -116,16 +116,16 @@ treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
/* ..... thread column ..... */
treecol.threadColumnHeader {
.threadColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/thread-col.svg");
-moz-padding-end: 3px;
}
treecol.threadColumnHeader[sortDirection="ascending"] {
.threadColumnHeader[sortDirection="ascending"] {
list-style-image: url("chrome://messenger/skin/icons/thread-col-sorta.png");
}
treecol.threadColumnHeader[sortDirection="descending"] {
.threadColumnHeader[sortDirection="descending"] {
list-style-image: url("chrome://messenger/skin/icons/thread-col-sortd.png");
}
@ -135,7 +135,7 @@ treechildren::-moz-tree-image(threadCol, container) {
/* ..... read column ..... */
treecol.readColumnHeader {
.readColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/readcol.svg");
-moz-padding-end: 5px;
padding-bottom: 5px;
@ -151,7 +151,7 @@ treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
/* ..... attachment column ..... */
treecol.attachmentColumnHeader {
.attachmentColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/attachment-col.svg");
-moz-padding-end: 5px;
}
@ -162,7 +162,7 @@ treechildren::-moz-tree-image(attachmentCol, attach) {
/* ..... flag column ..... */
treecol.flagColumnHeader {
.flagColumnHeader {
list-style-image: url("chrome://messenger/skin/icons/flag-col.svg");
-moz-padding-end: 5px;
}
@ -178,7 +178,7 @@ treechildren::-moz-tree-image(flaggedCol, flagged) {
/* ..... junkStatus column ..... */
treecol.junkStatusHeader {
.junkStatusHeader {
list-style-image: url("chrome://messenger/skin/icons/junk-col.svg");
-moz-padding-end: 5px;
}

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

@ -44,126 +44,124 @@
@namespace url("http://www.w3.org/1999/xhtml");
/* ::::: we also represent smilies inside of spans ::::: */
/* ::::: we represent smilies instead of text in spans ::::: */
span.moz-smiley-s1,
span.moz-smiley-s2,
span.moz-smiley-s3,
span.moz-smiley-s4,
span.moz-smiley-s5,
span.moz-smiley-s6,
span.moz-smiley-s7,
span.moz-smiley-s8,
span.moz-smiley-s9,
span.moz-smiley-s10,
span.moz-smiley-s11,
span.moz-smiley-s12,
span.moz-smiley-s13,
span.moz-smiley-s14,
span.moz-smiley-s15,
span.moz-smiley-s16
{
.moz-smiley-s1,
.moz-smiley-s2,
.moz-smiley-s3,
.moz-smiley-s4,
.moz-smiley-s5,
.moz-smiley-s6,
.moz-smiley-s7,
.moz-smiley-s8,
.moz-smiley-s9,
.moz-smiley-s10,
.moz-smiley-s11,
.moz-smiley-s12,
.moz-smiley-s13,
.moz-smiley-s14,
.moz-smiley-s15,
.moz-smiley-s16 {
display: inline-block;
vertical-align: middle;
-moz-user-select: all;
}
span.moz-smiley-s1 > span,
span.moz-smiley-s2 > span,
span.moz-smiley-s3 > span,
span.moz-smiley-s4 > span,
span.moz-smiley-s5 > span,
span.moz-smiley-s6 > span,
span.moz-smiley-s7 > span,
span.moz-smiley-s8 > span,
span.moz-smiley-s9 > span,
span.moz-smiley-s10 > span,
span.moz-smiley-s11 > span,
span.moz-smiley-s12 > span,
span.moz-smiley-s13 > span,
span.moz-smiley-s14 > span,
span.moz-smiley-s15 > span,
span.moz-smiley-s16 > span
{
.moz-smiley-s1 > span,
.moz-smiley-s2 > span,
.moz-smiley-s3 > span,
.moz-smiley-s4 > span,
.moz-smiley-s5 > span,
.moz-smiley-s6 > span,
.moz-smiley-s7 > span,
.moz-smiley-s8 > span,
.moz-smiley-s9 > span,
.moz-smiley-s10 > span,
.moz-smiley-s11 > span,
.moz-smiley-s12 > span,
.moz-smiley-s13 > span,
.moz-smiley-s14 > span,
.moz-smiley-s15 > span,
.moz-smiley-s16 > span {
display: none;
}
/* smile */
span.moz-smiley-s1:before {
.moz-smiley-s1:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
span.moz-smiley-s2:before {
.moz-smiley-s2:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
span.moz-smiley-s3:before {
.moz-smiley-s3:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
span.moz-smiley-s4:before {
.moz-smiley-s4:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
span.moz-smiley-s5:before {
.moz-smiley-s5:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarassed */
span.moz-smiley-s6:before {
.moz-smiley-s6:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
span.moz-smiley-s7:before {
.moz-smiley-s7:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
span.moz-smiley-s8:before {
.moz-smiley-s8:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
span.moz-smiley-s9:before {
.moz-smiley-s9:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
span.moz-smiley-s10:before {
.moz-smiley-s10:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
span.moz-smiley-s11:before {
.moz-smiley-s11:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
span.moz-smiley-s12:before {
.moz-smiley-s12:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
span.moz-smiley-s13:before {
.moz-smiley-s13:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
span.moz-smiley-s14:before {
.moz-smiley-s14:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
span.moz-smiley-s15:before {
.moz-smiley-s15:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
span.moz-smiley-s16:before {
.moz-smiley-s16:before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}