Merge remote-tracking branch 'hanakin/ticket/12735' into develop-ascraeus

* hanakin/ticket/12735:
  [ticket/12735] Remove unnecessary span
  [ticket/12735] Fix line breaks
  [ticket/12732] Undo search-box change
  [ticket/12735] Fix some color incosistencies
  [ticket/12735] Remove underlines by default
  [ticket/12735] Undo selector rename
  [ticket/12735] Remove all :link, :visited, :active states
This commit is contained in:
Cesar G 2014-07-03 23:03:39 -07:00
commit c1627ef52e
3 changed files with 23 additions and 109 deletions

View file

@ -246,16 +246,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 { #search-box 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;
} }
@ -263,44 +257,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;
@ -312,7 +273,7 @@ a.topictitle:active {
border-bottom-color: #5D8FBD; border-bottom-color: #5D8FBD;
} }
.postlink:active { .postlink {
color: #368AD2; color: #368AD2;
} }
@ -321,32 +282,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");
@ -662,7 +601,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);
@ -672,7 +611,7 @@ Colours and backgrounds for buttons.css
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#E9E9E9')"; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#E9E9E9')";
box-shadow: 0 0 0 1px #FFFFFF inset; box-shadow: 0 0 0 1px #FFFFFF inset;
-webkit-box-shadow: 0 0 0 1px #FFFFFF inset; -webkit-box-shadow: 0 0 0 1px #FFFFFF inset;
color: #BC2A4D; color: #D31141;
} }
.button:hover, .dropdown-visible .dropdown-select, .nojs .dropdown-container:hover .dropdown-select { .button:hover, .dropdown-visible .dropdown-select, .nojs .dropdown-container:hover .dropdown-select {
@ -831,7 +770,7 @@ ul.cplist {
#tabs .tab > a:hover { #tabs .tab > a:hover {
background: #DDEDFB; background: #DDEDFB;
color: #BC2A4D; color: #D31141;
} }
#tabs .activetab > a, #tabs .activetab > a,
@ -872,7 +811,7 @@ ul.cplist {
} }
.responsive-tab .responsive-tab-link:hover:before { .responsive-tab .responsive-tab-link:hover:before {
border-color: #BC2A4D; border-color: #D31141;
} }
/* UCP navigation menu /* UCP navigation menu
@ -1096,7 +1035,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;
} }

View file

@ -939,14 +939,14 @@ fieldset.fields1 dl.pmlist dd.recipients {
.phpbb_alert { .phpbb_alert {
border: 1px solid transparent; border: 1px solid transparent;
display: none; display: none;
left: 0; left: 0;
padding: 0 25px 20px 25px; padding: 0 25px 20px 25px;
position: fixed; position: fixed;
right: 0; right: 0;
top: 150px; top: 150px;
z-index: 50; z-index: 50;
width: 620px; width: 620px;
margin: 0 auto; margin: 0 auto;
} }
@media only screen and (max-height: 500px), only screen and (max-device-width: 500px) @media only screen and (max-height: 500px), only screen and (max-device-width: 500px)
@ -1173,7 +1173,7 @@ form > p.post-notice strong {
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
text-shadow: 1px 1px 1px white; text-shadow: 1px 1px 1px white;
text-transform: uppercase; text-transform: uppercase;
line-height: 30px; line-height: 30px;
border-bottom: 1px solid; border-bottom: 1px solid;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;

View file

@ -5,19 +5,10 @@
a { a {
direction: ltr; direction: ltr;
unicode-bidi: embed; unicode-bidi: embed;
}
a:link, a:visited {
text-decoration: none; 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 {
@ -27,11 +18,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 +26,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 +101,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,22 +116,14 @@ 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. */ /* Profile searchresults */
/* See http://www.phpbb.com/bugs/phpbb3/59685 */
.postprofile a:active {
font-weight: bold;
text-decoration: none;
}
/* Profile searchresults */
.search .postprofile a { .search .postprofile a {
text-decoration: none; text-decoration: none;
font-weight: normal; font-weight: normal;
} }
.search .postprofile a:hover { .search .postprofile a:hover {
text-decoration: underline; text-decoration: underline;
} }
/* Back to top of page */ /* Back to top of page */
@ -182,7 +157,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 +167,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 +176,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 +185,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;
} }