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/base-theme/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/base-theme/template.css')
| -rw-r--r-- | p/themes/base-theme/template.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index a299a5ddf..92d4917f5 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -111,7 +111,7 @@ td.numeric { /*=== COMPONENTS */ /*===============*/ /*=== Forms */ -.form-group:after { +.form-group::after { content: ""; display: block; clear: both; @@ -206,7 +206,7 @@ a.btn { display: block; min-width: 200px; } -.dropdown-menu > .item[aria-checked="true"] > a:before { +.dropdown-menu > .item[aria-checked="true"] > a::before { content: '✓'; } .dropdown-menu .input { @@ -773,10 +773,10 @@ input:checked + .slide-container .properties { /*=== DIVERS */ /*===========*/ -.category .title:not([data-unread="0"]):after { +.category .title:not([data-unread="0"])::after { content: attr(data-unread); } -.feed .item-title:not([data-unread="0"]):before { +.feed .item-title:not([data-unread="0"])::before { content: "(" attr(data-unread) ") "; } .feed .item-title:not([data-unread="0"]) { @@ -889,7 +889,7 @@ input:checked + .slide-container .properties { .flux_content .content a { color: #000; } - .flux_content .content a:after { + .flux_content .content a::after { content: " [" attr(href) "] "; font-style: italic; } |
