diff options
| author | 2015-09-12 19:54:12 -0400 | |
|---|---|---|
| committer | 2015-09-12 19:54:12 -0400 | |
| commit | ef18adb8dcf0d43fb0b726860e32f2ec2f70542d (patch) | |
| tree | 069db23bb423dc668f277d1981ad5162339d2384 /p/themes/BlueLagoon/template.css | |
| parent | 7378b0c7237c8ba2b8bd313e584a20fc14b37477 (diff) | |
Replace CSS pseudo-element syntax
Before, in the CSS files, :after and :before were in use. But those are not pseudo-classes in CSS3.
They are pseudo-elements. The syntax should use ::before and ::after instead.
See http://www.w3.org/TR/css3-selectors/#gen-content
Diffstat (limited to 'p/themes/BlueLagoon/template.css')
| -rw-r--r-- | p/themes/BlueLagoon/template.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/p/themes/BlueLagoon/template.css b/p/themes/BlueLagoon/template.css index bf421e322..8c1a4ed21 100644 --- a/p/themes/BlueLagoon/template.css +++ b/p/themes/BlueLagoon/template.css @@ -92,7 +92,7 @@ input.extend:focus { /*=== COMPONENTS */ /*===============*/ /*=== Forms */ -.form-group:after { +.form-group::after { content: ""; display: block; clear: both; @@ -184,7 +184,7 @@ a.btn { .dropdown-menu > .item > span { display: block; } -.dropdown-menu > .item[aria-checked="true"] > a:before { +.dropdown-menu > .item[aria-checked="true"] > a::before { content: '✓'; } .dropdown-menu .input { @@ -315,7 +315,7 @@ a.btn { white-space: nowrap; text-overflow: ellipsis; } -.category .btn:not([data-unread="0"]):after { +.category .btn:not([data-unread="0"])::after { content: attr(data-unread); } @@ -334,7 +334,7 @@ a.btn { text-overflow: ellipsis; vertical-align: middle; } -.categories .feeds .feed:not([data-unread="0"]):before { +.categories .feeds .feed:not([data-unread="0"])::before { content: "(" attr(data-unread) ") "; } .categories .feeds .dropdown-menu { @@ -688,7 +688,7 @@ a.btn { .flux_content .content a { color: #000; } - .flux_content .content a:after { + .flux_content .content a::after { content: " [" attr(href) "] "; font-style: italic; } |
