mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
[ticket/12735] Remove all :link, :visited, :active states
PHPBB3-12735
This commit is contained in:
parent
5652f33ccc
commit
7d04d953c7
2 changed files with 12 additions and 97 deletions
|
@ -241,16 +241,10 @@ Colours and backgrounds for links.css
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
a { color: #105289; }
|
a { color: #105289; }
|
||||||
a:visited { color: #105289; }
|
|
||||||
a:hover { color: #D31141; }
|
a:hover { color: #D31141; }
|
||||||
a:active { color: #368AD2; }
|
|
||||||
|
|
||||||
/* Links on gradient backgrounds */
|
/* Links on gradient backgrounds */
|
||||||
#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
|
.headerbar form a, .navbg a, .forumbg .header a, .forabg .header a, th a {
|
||||||
color: #FFFFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
|
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -258,44 +252,11 @@ a:active { color: #368AD2; }
|
||||||
color: #A8D8FF;
|
color: #A8D8FF;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
|
|
||||||
color: #C8E6FF;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Notification mark read link */
|
/* Notification mark read link */
|
||||||
.dropdown-extended a.mark_read {
|
.dropdown-extended a.mark_read {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links for forum/topic lists */
|
|
||||||
a.forumtitle {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a.forumtitle:visited { color: #105289; } */
|
|
||||||
|
|
||||||
a.forumtitle:hover {
|
|
||||||
color: #BC2A4D;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.forumtitle:active {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.topictitle {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a.topictitle:visited { color: #368AD2; } */
|
|
||||||
|
|
||||||
a.topictitle:hover {
|
|
||||||
color: #BC2A4D;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.topictitle:active {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Post body links */
|
/* Post body links */
|
||||||
.postlink {
|
.postlink {
|
||||||
color: #368AD2;
|
color: #368AD2;
|
||||||
|
@ -307,7 +268,7 @@ a.topictitle:active {
|
||||||
border-bottom-color: #5D8FBD;
|
border-bottom-color: #5D8FBD;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postlink:active {
|
.postlink {
|
||||||
color: #368AD2;
|
color: #368AD2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -316,32 +277,10 @@ a.topictitle:active {
|
||||||
color: #0D4473;
|
color: #0D4473;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signature a, .signature a:visited, .signature a:hover, .signature a:active {
|
.signature a, .signature a:hover {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Profile links */
|
|
||||||
.postprofile a:link, .postprofile a:visited, .postprofile dt.author a {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
.postprofile a:hover, .postprofile dt.author a:hover {
|
|
||||||
color: #D31141;
|
|
||||||
}
|
|
||||||
|
|
||||||
.postprofile a:active {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Profile searchresults */
|
|
||||||
.search .postprofile a {
|
|
||||||
color: #105289;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search .postprofile a:hover {
|
|
||||||
color: #D31141;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Back to top of page */
|
/* Back to top of page */
|
||||||
a.top {
|
a.top {
|
||||||
background-image: url("./images/icon_back_top.gif");
|
background-image: url("./images/icon_back_top.gif");
|
||||||
|
@ -658,7 +597,7 @@ dd.profile-warnings {
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
Colours and backgrounds for buttons.css
|
Colours and backgrounds for buttons.css
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
.button, .button:visited {
|
.button {
|
||||||
border-color: #C7C3BF;
|
border-color: #C7C3BF;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
background-image: -moz-linear-gradient(top, #FFFFFF, #E9E9E9);
|
background-image: -moz-linear-gradient(top, #FFFFFF, #E9E9E9);
|
||||||
|
@ -1079,7 +1018,7 @@ a.button2, input.button2, input.button3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* <a> button in the style of the form buttons */
|
/* <a> button in the style of the form buttons */
|
||||||
a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
|
a.button1, a.button2 {
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,18 +7,10 @@ a {
|
||||||
unicode-bidi: embed;
|
unicode-bidi: embed;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link, a:visited {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:active {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Coloured usernames */
|
/* Coloured usernames */
|
||||||
.username-coloured {
|
.username-coloured {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -27,11 +19,7 @@ a:active {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links on gradient backgrounds */
|
/* Links on gradient backgrounds */
|
||||||
#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link {
|
#search-box a, .navbg a, .forumbg .header a, .forabg .header a, th a {
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited {
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,10 +27,6 @@ a:active {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation bar links */
|
/* Navigation bar links */
|
||||||
ul.linklist li.small-icon > a, ul.linklist li.breadcrumbs span:first-child > a {
|
ul.linklist li.small-icon > a, ul.linklist li.breadcrumbs span:first-child > a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -118,13 +102,13 @@ a.lastsubject:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signature a, .signature a:visited, .signature a:hover, .signature a:active {
|
.signature a, .signature a:hover {
|
||||||
border: none;
|
border: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Profile links */
|
/* Profile links */
|
||||||
.postprofile a:link, .postprofile a:visited, .postprofile dt.author a {
|
.postprofile a, .postprofile dt.author a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -133,14 +117,6 @@ a.lastsubject:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */
|
|
||||||
/* See http://www.phpbb.com/bugs/phpbb3/59685 */
|
|
||||||
.postprofile a:active {
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Profile searchresults */
|
/* Profile searchresults */
|
||||||
.search .postprofile a {
|
.search .postprofile a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -182,7 +158,7 @@ a.arrow-down { background: none no-repeat right center; }
|
||||||
a.arrow-left { background: none no-repeat 3px 60%; }
|
a.arrow-left { background: none no-repeat 3px 60%; }
|
||||||
a.arrow-right { background: none no-repeat 95% 60%; }
|
a.arrow-right { background: none no-repeat 95% 60%; }
|
||||||
|
|
||||||
a.arrow-up, a.arrow-up:link, a.arrow-up:active, a.arrow-up:visited {
|
a.arrow-up {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
|
@ -192,7 +168,7 @@ a.arrow-up:hover {
|
||||||
background-position: left top;
|
background-position: left top;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.arrow-down, a.arrow-down:link, a.arrow-down:active, a.arrow-down:visited {
|
a.arrow-down {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -201,7 +177,7 @@ a.arrow-down:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.arrow-left, a.arrow-left:active, a.arrow-left:visited {
|
a.arrow-left {
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,7 +186,7 @@ a.arrow-left:hover {
|
||||||
background-position: 0 60%;
|
background-position: 0 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.arrow-right, a.arrow-right:active, a.arrow-right:visited {
|
a.arrow-right {
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue