MediaWiki:Gmo.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(GMO fix) |
||
| (33 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/** | |||
* Bug 999776 – Large content is cropped | |||
* https://bugzilla.mozilla.org/show_bug.cgi?id=999776 | |||
*/ | |||
#main-content { | |||
overflow-x: scroll; | |||
} | |||
/* added by dria, apr 2011 */ | /* added by dria, apr 2011 */ | ||
/* copying custom css stuff over from Cavendish.css */ | /* copying custom css stuff over from Cavendish.css */ | ||
| Line 115: | Line 123: | ||
.catlinks a { | .catlinks a { | ||
color: #333; | color: #333; | ||
} | } | ||
| Line 160: | Line 156: | ||
background: #CCC; | background: #CCC; | ||
border: solid grey 1px; | border: solid grey 1px; | ||
vertical-align: top; | |||
} | } | ||
.featurevalue { | .featurevalue { | ||
border: solid grey 1px; | border: solid grey 1px; | ||
} | } | ||
| Line 190: | Line 175: | ||
max-width: 100%; | max-width: 100%; | ||
width: 500px; | width: 500px; | ||
} | |||
/* added Dec 15, 2011 by dria */ | |||
table.horizontal-stripes tr:nth-of-type(odd) { | |||
background-color:#ccc; | |||
} | |||
table.vertical-stripes td:nth-of-type(odd) { | |||
background-color:#ccc; | |||
} | } | ||
| Line 222: | Line 217: | ||
.querytable td { | .querytable td { | ||
border: 1px solid #BBB; | border: 1px solid #BBB; | ||
padding: | padding: 2px 4px; | ||
text-align: left; | text-align: left; | ||
vertical-align: top; | vertical-align: top; | ||
| Line 233: | Line 228: | ||
text-align: left; | text-align: left; | ||
} | } | ||
#header h1 {z-index: auto;} | |||
td.P1 { | |||
background: #CFC; | |||
} | |||
td.P2 { | |||
background: #CFF; | |||
} | |||
td.P3 { | |||
background: #CCF; | |||
} | |||
.OK { | |||
background: #CFC; | |||
} | |||
.Blocked { | |||
background: #FFC; | |||
} | |||
.risk { | |||
background: #FCC; | |||
} | |||
.progress { | |||
background: #FFC; | |||
} | |||
.Complete { | |||
background: #CFC; | |||
} | |||
.Assigned { | |||
background: #9FF; | |||
} | |||
.yes { | |||
background: #CFC; | |||
} | |||
.maybe { | |||
background: #FFC; | |||
} | |||
.no { | |||
background: #FCC; | |||
} | |||
.refreshbutton { | |||
border: solid #8A8 2px; | |||
background: #DFD; | |||
text-align: center; | |||
padding: 5px; | |||
margin: 10px 5px 10px 0px; | |||
width: 250px; | |||
font-size: 120%; | |||
font-weight: bold; | |||
} | |||
.refreshbutton a { | |||
color: #000; | |||
} | |||
/* added Oct 15, 2012 by dria */ | |||
.bugzilla { | |||
background: #FFF; | |||
border: 1px solid #666; | |||
border-collapse: collapse; | |||
margin-bottom: 10px; | |||
width: 100%; | |||
font-size: 90%; | |||
} | |||
.bugzilla td { | |||
border: 1px solid #BBB; | |||
padding: 2px 4px; | |||
text-align: left; | |||
vertical-align: top; | |||
} | |||
.bugzilla th { | |||
background: #DDD; | |||
border: 1px solid #BBB; | |||
font-weight: bold; | |||
text-align: left; | |||
} | |||
/** | |||
* Allow limiting of which header levels are shown in a TOC; | |||
* <div class="toclimit-3">, for instance, will limit to | |||
* showing ==headings== and ===headings=== but no further. | |||
* Used in [[Template:TOC]] | |||
*/ | |||
.toclimit-2 .toclevel-1 ul, | |||
.toclimit-3 .toclevel-2 ul, | |||
.toclimit-4 .toclevel-3 ul, | |||
.toclimit-5 .toclevel-4 ul, | |||
.toclimit-6 .toclevel-5 ul, | |||
.toclimit-7 .toclevel-6 ul { | |||
display: none; | |||
} | |||
/** more prettification **/ | |||
.note { | |||
margin: 10px 0px 10px 0px; | |||
border: 2px solid orange; | |||
padding: 10px; | |||
background-color: #FFC; | |||
text-align: center; | |||
font-size: 90%; | |||
} | |||
/** different prettification **/ | |||
.androidnav { | |||
margin: 10px 0px 10px 0px; | |||
border: 2px solid #89A; | |||
padding: 5px; | |||
background-color: #B0C4DE; | |||
text-align: center; | |||
font-size: 80%; | |||
} | |||
/* added alisonw 2014-05-01 re bug 522180 */ | |||
#nav li.new a {color: #B91E27 !important;} | |||
#nav a:hover, | |||
#nav a:focus, | |||
#nav li.new a:hover, | |||
#nav li.new a:focus {text-decoration: none; color: #F59D56 !important;} | |||
Latest revision as of 00:47, 1 May 2014
/**
* Bug 999776 – Large content is cropped
* https://bugzilla.mozilla.org/show_bug.cgi?id=999776
*/
#main-content {
overflow-x: scroll;
}
/* added by dria, apr 2011 */
/* copying custom css stuff over from Cavendish.css */
#mBody a[href ^="ircs://"],
.link-ircs {
background: url("skins/cavendish/discussionitem_icon.gif") center right no-repeat;
padding-right: 18px;
}
/* Styles used for the accessibility tables at Accessibility/Comparisons. */
/* Light-green background color */
.OK {
background-color: rgb(153, 255, 153);
}
/* Light-yellow background color */
.maybe {
background-color: rgb(255, 255, 204);
}
/* "Disabled look"; greyed-out text */
.irrelevant {
color: rgb(153, 153, 153);
}
/* Used by Template:Amo, appearing on most Update: pages */
ul.selectable li.selected {
font-weight: bold;
}
/* Used for IRC logs (bug 461619) */
/* Apply to the first column */
.irc-log tr > td:first-child {
color: #555;
font-weight: bold;
text-align: right;
vertical-align: top;
}
.irc-log tr td {
border-bottom: 1px solid #DDD;
}
/* Apply to the last column (assuming a 3 col. table) */
.irc-log td + td + td {
color: #555;
font-size: 80%;
vertical-align: top;
}
.roadmapsummary {
border: solid black 3px;
margin: 0 auto 10px auto;
width: 100%;
border-collapse: collapse;
}
.roadmapsummary td {
padding: 5px;
}
.roadmapsummaryicon {
border-right: solid black 2px;
}
.roadmapsummarytitle {
font-size: 130%;
font-weight: bold;
background: #C00;
color: #FFF;
}
.roadmapsummarytitle a {
color: #FFF;
text-decoration: none;
}
.roadmapsummaryowner {
border-right: solid black 1px;
border-bottom: solid black 1px;
}
.roadmapsummaryupdated {
border-right: solid black 1px;
border-bottom: solid black 1px;
width: 30%;
}
.roadmapsummarystatus {
border-bottom: solid black 1px;
width: 20%;
}
.roadmapsummarydesc {
font-size: 90%;
font-style: italic;
}
code {
font-size: 125%;
}
dt {
text-transform: none;
}
.catlinks {
border: solid #AAA 1px;
background: #DDD;
font-size: 80%;
padding: 3px 8px 3px 8px;
}
.catlinks a {
color: #333;
}
/* Added by dria, May 17, 2011 */
.featureinfobox {
width: 100%;
border-collapse: collapse;
border: solid black 1px;
font-size: 90%;
}
.featureinfobox td {
padding: 0px 4px 0px 4px;
}
.featurename {
background: #000;
color: #FFF;
padding: 20px 0px 5px 0px;
font-weight: bold;
font-size: 130%;
}
.featuretarget {
background: #000;
color: #FFF;
font-weight: bold;
font-size: 130%;
}
.featurelabel {
font-weight: bold;
background: #CCC;
border: solid grey 1px;
vertical-align: top;
}
.featurevalue {
border: solid grey 1px;
}
.fullwidth-table-header {
background: #DDD;
font-weight: bold;
}
.tocbody {
width: 500px;
}
#localnav {
max-width: 100%;
width: 500px;
}
/* added Dec 15, 2011 by dria */
table.horizontal-stripes tr:nth-of-type(odd) {
background-color:#ccc;
}
table.vertical-stripes td:nth-of-type(odd) {
background-color:#ccc;
}
/* Added by dria, June 22, 2011 */
.formlabel {
text-align: left;
vertical-align: top;
font-size: 90%;
width: 200px;
min-width: 200px;
font-weight: bold;
}
.formlabelrequired {
text-align: left;
vertical-align: top;
font-size: 90%;
width: 200px;
min-width: 200px;
font-weight: bold;
color: #D00;
}
.querytable {
background: #FFF;
border: 1px solid #666;
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
font-size: 90%;
}
.querytable td {
border: 1px solid #BBB;
padding: 2px 4px;
text-align: left;
vertical-align: top;
}
.querytable td.header {
background: #DDD;
border: 1px solid #BBB;
font-weight: bold;
text-align: left;
}
#header h1 {z-index: auto;}
td.P1 {
background: #CFC;
}
td.P2 {
background: #CFF;
}
td.P3 {
background: #CCF;
}
.OK {
background: #CFC;
}
.Blocked {
background: #FFC;
}
.risk {
background: #FCC;
}
.progress {
background: #FFC;
}
.Complete {
background: #CFC;
}
.Assigned {
background: #9FF;
}
.yes {
background: #CFC;
}
.maybe {
background: #FFC;
}
.no {
background: #FCC;
}
.refreshbutton {
border: solid #8A8 2px;
background: #DFD;
text-align: center;
padding: 5px;
margin: 10px 5px 10px 0px;
width: 250px;
font-size: 120%;
font-weight: bold;
}
.refreshbutton a {
color: #000;
}
/* added Oct 15, 2012 by dria */
.bugzilla {
background: #FFF;
border: 1px solid #666;
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
font-size: 90%;
}
.bugzilla td {
border: 1px solid #BBB;
padding: 2px 4px;
text-align: left;
vertical-align: top;
}
.bugzilla th {
background: #DDD;
border: 1px solid #BBB;
font-weight: bold;
text-align: left;
}
/**
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
* Used in [[Template:TOC]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/** more prettification **/
.note {
margin: 10px 0px 10px 0px;
border: 2px solid orange;
padding: 10px;
background-color: #FFC;
text-align: center;
font-size: 90%;
}
/** different prettification **/
.androidnav {
margin: 10px 0px 10px 0px;
border: 2px solid #89A;
padding: 5px;
background-color: #B0C4DE;
text-align: center;
font-size: 80%;
}
/* added alisonw 2014-05-01 re bug 522180 */
#nav li.new a {color: #B91E27 !important;}
#nav a:hover,
#nav a:focus,
#nav li.new a:hover,
#nav li.new a:focus {text-decoration: none; color: #F59D56 !important;}