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 | |
| 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')
| -rw-r--r-- | p/themes/BlueLagoon/BlueLagoon.css | 12 | ||||
| -rw-r--r-- | p/themes/BlueLagoon/template.css | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index ffb80ddb2..e1b93dac9 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -349,7 +349,7 @@ a.btn { text-align: left; background: #222; } -.dropdown-menu:after { +.dropdown-menu::after { content: ""; position: absolute; top: -6px; @@ -384,7 +384,7 @@ a.btn { background: -webkit-linear-gradient(top, #0090FF 0%, #0062BE 100%); color: #fff; } -.dropdown-menu > .item[aria-checked="true"] > a:before { +.dropdown-menu > .item[aria-checked="true"] > a::before { font-weight: bold; margin: 0 0 0 -14px; } @@ -626,7 +626,7 @@ a.btn { } /*=== Aside main page (categories) */ -.aside_feed .tree-folder-title > .title:not([data-unread="0"]):after { +.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after { position: absolute; right: 3px; padding: 1px 5px; @@ -646,7 +646,7 @@ a.btn { .feed.item.error > a { color: #BD362F; } -.aside_feed .tree-folder-items .dropdown-menu:after { +.aside_feed .tree-folder-items .dropdown-menu::after { left: 2px; } .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon, @@ -988,7 +988,7 @@ opacity: 1; color: #222; font-weight: bold; } -.box.category .title:not([data-unread="0"]):after { +.box.category .title:not([data-unread="0"])::after { position: absolute; top: 5px; right: 10px; border: 0; @@ -1018,7 +1018,7 @@ opacity: 1; .aside.aside_feed .nav-form .dropdown .dropdown-menu { right: -20px; } -.aside.aside_feed .nav-form .dropdown .dropdown-menu:after { +.aside.aside_feed .nav-form .dropdown .dropdown-menu::after { right: 33px; } 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; } |
