Bug 1724906 - Always use double colon for the "after" and "before" pseudo-elements. r=aleca

This commit is contained in:
Richard Marti 2021-08-10 18:44:56 +02:00
Родитель 673f996dcd
Коммит bc1092050c
10 изменённых файлов: 90 добавлений и 90 удалений

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

@ -282,10 +282,10 @@ facet-boolean-filtered[checked="true"]:not([disabled]) > .facet-checkbox-bubble
.facet-checkbox-count:empty {
display: none;
}
.facet-checkbox-count:before {
.facet-checkbox-count::before {
content: "(";
}
.facet-checkbox-count:after {
.facet-checkbox-count::after {
content: ")";
}
@ -532,10 +532,10 @@ html[dir="rtl"] .bar-link {
padding-inline-start: 1ex;
}
.message-attachment:after {
.message-attachment::after {
content: ", ";
}
.message-attachment:last-child:after {
.message-attachment:last-child::after {
content: "";
}

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

@ -105,7 +105,7 @@ p.action {
font-style: italic;
}
p.action:before {
p.action::before {
content: "*** ";
}
@ -186,7 +186,7 @@ p *:any-link img {
background-image: url('Bitmaps/plus-hover.png');
}
.hide-children > .eventToggle:after {
.hide-children > .eventToggle::after {
content: "\2026"; /* … */
color: hsl(0, 0%, 60%);
}

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

@ -56,15 +56,15 @@ p.event-messages:hover {
display: block;
}
.nick>.message-style {
.nick > .message-style {
font-weight: bold;
}
.action>.message-style {
.action > .message-style {
font-style: italic;
}
.action>.message-style:before {
.action > .message-style::before {
content: "*** ";
}

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

@ -34,7 +34,7 @@ div.context+div.event {
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05) 15px, rgba(255, 255, 240, 1) 15px, rgba(255, 255, 240, 1));
}
div.context:not(:hover)>p {
div.context:not(:hover) > p {
opacity: 0.55;
}
@ -42,7 +42,7 @@ div.messages-group:last-child {
padding-bottom: 10px;
}
div.messages-group>hr {
div.messages-group > hr {
margin: 3px 50px 0px 20px;
background-color: rgba(0, 0, 0, 0.05);
height: 1px;
@ -80,23 +80,23 @@ span.pseudo {
display: block;
}
p.outgoing>span.pseudo {
p.outgoing > span.pseudo {
color: rgb(80,80,200);
}
p.incoming>span.pseudo {
p.incoming > span.pseudo {
color: rgb(200,80,80);
}
p.nick>span.message-style {
p.nick > span.message-style {
font-weight: bold;
}
p.action>span.message-style {
p.action > span.message-style {
font-style: italic;
}
p.action>span.message-style:before {
p.action > span.message-style::before {
content: "*** ";
}
@ -106,7 +106,7 @@ p.event {
background: url('Bitmaps/information.png') no-repeat top left;
}
p.event>span.message-style {
p.event > span.message-style {
color: rgba(0, 0, 0, 0.4);
}
@ -163,7 +163,7 @@ p *:any-link img {
background-image: url('Bitmaps/plus.png');
}
.hide-children > p.event:first-of-type > .message-style:after {
.hide-children > p.event:first-of-type > .message-style::after {
content: "[\2026]"; /* … */
margin-left: 1em;
color: #5a7ac6;

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

@ -23,23 +23,23 @@
font-weight: normal;
}
span.date:after {
span.date::after {
content: " - ";
}
.action>span.date:after {
.action > span.date::after {
content: " * ";
}
span.pseudo:after {
span.pseudo::after {
content: ": ";
}
.action>span.pseudo:after {
.action > span.pseudo::after {
content: " ";
}
.event>span.pseudo:after {
.event > span.pseudo::after {
content: none;
}
@ -59,7 +59,7 @@ span.pseudo:after {
color: rgb(91,91,91);
}
p.context>.pseudo,
p.context > .pseudo,
p.context .ib-nick {
opacity: 0.7;
}

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

@ -52,81 +52,81 @@
}
/* smile */
.moz-smiley-s1:before {
.moz-smiley-s1::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
.moz-smiley-s2:before {
.moz-smiley-s2::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
.moz-smiley-s3:before {
.moz-smiley-s3::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
.moz-smiley-s4:before {
.moz-smiley-s4::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
.moz-smiley-s5:before {
.moz-smiley-s5::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarrassed */
.moz-smiley-s6:before {
.moz-smiley-s6::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
.moz-smiley-s7:before {
.moz-smiley-s7::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
.moz-smiley-s8:before {
.moz-smiley-s8::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
.moz-smiley-s9:before {
.moz-smiley-s9::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
.moz-smiley-s10:before {
.moz-smiley-s10::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
.moz-smiley-s11:before {
.moz-smiley-s11::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
.moz-smiley-s12:before {
.moz-smiley-s12::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
.moz-smiley-s13:before {
.moz-smiley-s13::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
.moz-smiley-s14:before {
.moz-smiley-s14::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
.moz-smiley-s15:before {
.moz-smiley-s15::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
.moz-smiley-s16:before {
.moz-smiley-s16::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}

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

@ -52,81 +52,81 @@
}
/* smile */
.moz-smiley-s1:before {
.moz-smiley-s1::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
.moz-smiley-s2:before {
.moz-smiley-s2::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
.moz-smiley-s3:before {
.moz-smiley-s3::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
.moz-smiley-s4:before {
.moz-smiley-s4::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
.moz-smiley-s5:before {
.moz-smiley-s5::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarrassed */
.moz-smiley-s6:before {
.moz-smiley-s6::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
.moz-smiley-s7:before {
.moz-smiley-s7::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
.moz-smiley-s8:before {
.moz-smiley-s8::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
.moz-smiley-s9:before {
.moz-smiley-s9::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
.moz-smiley-s10:before {
.moz-smiley-s10::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
.moz-smiley-s11:before {
.moz-smiley-s11::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
.moz-smiley-s12:before {
.moz-smiley-s12::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
.moz-smiley-s13:before {
.moz-smiley-s13::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
.moz-smiley-s14:before {
.moz-smiley-s14::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
.moz-smiley-s15:before {
.moz-smiley-s15::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
.moz-smiley-s16:before {
.moz-smiley-s16::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}

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

@ -106,8 +106,8 @@ body {
#accountLogo[type="rss"],
#setupFeeds::before,
#rssSubscriptionButton:before,
#nntpSubscriptionButton:before {
#rssSubscriptionButton::before,
#nntpSubscriptionButton::before {
background-image: url("chrome://messenger/skin/icons/feeds.svg");
}
@ -411,8 +411,8 @@ aside.settings-btn-container {
cursor: pointer;
}
.btn-link:before,
.resource-link:before {
.btn-link::before,
.resource-link::before {
position: relative;
display: inline-block;
content: '';
@ -433,42 +433,42 @@ aside.settings-btn-container {
outline: 1px dotted Highlight;
}
#featuresLink:before {
#featuresLink::before {
background-image: url("chrome://messenger/skin/icons/highlights.svg");
}
#supportLink:before {
#supportLink::before {
background-image: url("chrome://messenger/skin/icons/help.svg");
}
#involvedLink:before {
#involvedLink::before {
background-image: url("chrome://messenger/skin/icons/globe.svg");
}
#developerLink:before {
#developerLink::before {
background-image: url("chrome://messenger/skin/icons/developer.svg");
}
#settingsButton:before {
#settingsButton::before {
background-image: url("chrome://global/skin/icons/settings.svg");
}
#readButton:before {
#readButton::before {
background-image: url("chrome://messenger/skin/icons/inbox.svg");
}
#composeButton:before {
#composeButton::before {
background-image: url("chrome://messenger/skin/icons/newmsg.svg");
}
#searchButton:before {
#searchButton::before {
background-image: url("chrome://global/skin/icons/search-glass.svg");
}
#filterButton:before {
#filterButton::before {
background-image: url("chrome://messenger/skin/icons/filter.svg");
}
#e2eButton:before {
#e2eButton::before {
background-image: url("chrome://messenger/skin/icons/encryption-key.svg");
}

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

@ -112,18 +112,18 @@
border-radius: 4px;
}
.enigmailCaptionbox>h1 {
.enigmailCaptionbox > h1 {
font: 1em normal;
margin: -1em -0.5em 0;
border-radius: 4px;
}
.enigmailCaptionbox>h1>span {
.enigmailCaptionbox > h1 > span {
float: left;
border-radius: 4px;
}
.enigmailCaptionbox>h1:before {
.enigmailCaptionbox > h1::before {
border-top: 2px groove threedface;
content: ' ';
float: left;
@ -132,7 +132,7 @@
border-radius: 4px;
}
.enigmailCaptionbox>h1:after {
.enigmailCaptionbox > h1::after {
border-top: 2px groove threedface;
content: ' ';
display: block;

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

@ -52,81 +52,81 @@
}
/* smile */
.moz-smiley-s1:before {
.moz-smiley-s1::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-smile.png");
}
/* frown */
.moz-smiley-s2:before {
.moz-smiley-s2::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-frown.png");
}
/* wink */
.moz-smiley-s3:before {
.moz-smiley-s3::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-wink.png");
}
/* tongue */
.moz-smiley-s4:before {
.moz-smiley-s4::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-tongue-out.png");
}
/* laughing */
.moz-smiley-s5:before {
.moz-smiley-s5::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-laughing.png");
}
/* embarrassed */
.moz-smiley-s6:before {
.moz-smiley-s6::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-embarassed.png");
}
/* undecided */
.moz-smiley-s7:before {
.moz-smiley-s7::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-undecided.png");
}
/* surprise */
.moz-smiley-s8:before {
.moz-smiley-s8::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-surprised.png");
}
/* kiss */
.moz-smiley-s9:before {
.moz-smiley-s9::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-kiss.png");
}
/* yell */
.moz-smiley-s10:before {
.moz-smiley-s10::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-yell.png");
}
/* cool */
.moz-smiley-s11:before {
.moz-smiley-s11::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cool.png");
}
/* money */
.moz-smiley-s12:before {
.moz-smiley-s12::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-money-mouth.png");
}
/* foot */
.moz-smiley-s13:before {
.moz-smiley-s13::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-foot-in-mouth.png");
}
/* innocent */
.moz-smiley-s14:before {
.moz-smiley-s14::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-innocent.png");
}
/* cry */
.moz-smiley-s15:before {
.moz-smiley-s15::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-cry.png");
}
/* sealed */
.moz-smiley-s16:before {
.moz-smiley-s16::before {
content: url("chrome://communicator/skin/icons/smileys/smiley-sealed.png");
}