Sync CSS with archweb
[aur.git] / web / html / css / archweb.css
blobd8c66aa3f42e212225722a07c9b2b32e50b94514
1 /*
2 * Font sizing based on 16px browser defaults (use em):
3 * 14px = 0.875em
4 * 13px = 0.812em
5 * 12px = 0.75em
6 * 11px = 0.6875em
7 */
9 /*
10 * ARCH GLOBAL NAVBAR
11 * We're forcing all generic selectors with !important
12 * to help prevent other stylesheets from interfering.
15 /* container for the entire bar */
16 #archnavbar { min-height: 40px !important; padding: 10px 15px !important; background: #333 !important; border-bottom: 5px #08c solid !important; }
17 #archnavbarlogo { float: left !important; margin: 0 !important; padding: 0 !important; height: 40px !important; width: 190px !important; background: url('archnavbar/archlogo.png') no-repeat !important; }
18 @media (-webkit-min-device-pixel-ratio: 1.2), (min--moz-device-pixel-ratio: 1.2), (-o-min-device-pixel-ratio: 2/1) {
19 #archnavbarlogo { float: left !important; margin: 0 !important; padding: 0 !important; height: 40px !important; width: 190px !important; background: url(archnavbar/archlogo.svg) no-repeat !important;background-size:100% !important;
23 /* move the heading text offscreen */
24 #archnavbarlogo h1 { margin: 0 !important; padding: 0 !important; text-indent: -9999px !important; }
26 /* make the link the same size as the logo */
27 #archnavbarlogo a { display: block !important; height: 40px !important; width: 190px !important; }
29 /* display the list inline, float it to the right and style it */
30 #archnavbarlist { display: block !important; list-style: none !important; margin: 0 !important; padding: 0 !important; font-size: 0px !important; text-align: right !important; }
31 #archnavbarlist li { display: inline-block !important; font-size: 14px !important; font-family: sans-serif !important; line-height: 14px !important; padding: 14px 15px 0px !important; }
33 /* style the links */
34 #archnavbarlist li a { color: #999; font-weight: bold !important; text-decoration: none !important; }
35 #archnavbarlist li a:hover { color: white !important; text-decoration: underline !important; }
37 /* END ARCH GLOBAL NAVBAR */
39 /* simple reset */
40 * {
41 margin: 0;
42 padding: 0;
43 line-height: 1.4;
46 /* general styling */
47 body {
48 min-width: 650px;
49 background: #f6f9fc;
50 color: #222;
51 font: normal 100% sans-serif;
52 text-align: center;
55 p {
56 margin: .33em 0 1em;
59 ol,
60 ul {
61 margin-bottom: 1em;
62 padding-left: 2em;
65 ul {
66 list-style: square;
69 code {
70 font: 1.2em monospace;
71 background: #ffd;
72 padding: 0.15em 0.25em;
75 pre {
76 font: 1.2em monospace;
77 border: 1px solid #bdb;
78 background: #dfd;
79 padding: 0.5em;
80 margin: 1em;
83 pre code {
84 display: block;
85 background: none;
86 overflow: auto;
89 blockquote {
90 margin: 1.5em 2em;
93 input {
94 vertical-align: middle;
97 select[multiple] {
98 padding: 1px 0;
101 select[multiple] option {
102 padding: 0 0.5em 0 0.3em;
105 input[type=submit] {
106 padding: 0 0.6em;
109 .clear {
110 clear: both;
113 .hide {
114 display: none;
117 hr {
118 border: none;
119 border-top: 1px solid #888;
122 img {
123 border: 0;
126 /* scale fonts down to a sane default (16 * .812 = 13px) */
127 #content {
128 font-size: 0.812em;
131 /* link style */
133 text-decoration: none;
136 a:link,
137 th a:visited {
138 color: #07b;
141 a:visited {
142 color: #666;
145 a:hover {
146 text-decoration: underline;
147 color: #666;
150 a:active {
151 color: #e90;
154 /* special anchor elements */
155 a.headerlink {
156 visibility: hidden;
157 padding-left: 0.5em;
160 h3:hover > a.headerlink {
161 visibility: visible;
164 /* headings */
165 h2 {
166 font-size: 1.5em;
167 margin-bottom: 0.5em;
168 border-bottom: 1px solid #888;
171 h3 {
172 font-size: 1.25em;
173 margin-top: .5em;
176 h4 {
177 font-size: 1.15em;
178 margin-top: 1em;
181 h5 {
182 font-size: 1em;
183 margin-top: 1em;
186 /* general layout */
187 #content {
188 width: 95%;
189 margin: 0 auto;
190 text-align: left;
193 #content-left-wrapper {
194 float: left;
195 width: 100%; /* req to keep content above sidebar in source code */
198 #content-left {
199 margin: 0 340px 0 0;
202 #content-right {
203 float: left;
204 width: 300px;
205 margin-left: -300px;
208 div.box {
209 margin-bottom: 1.5em;
210 padding: 0.65em;
211 background: #ecf2f5;
212 border: 1px solid #bcd;
215 #footer {
216 clear: both;
217 margin: 2em 0 1em;
220 #footer p {
221 margin: 0;
222 text-align: center;
223 font-size: 0.85em;
226 /* alignment */
227 div.center,
228 table.center,
229 img.center {
230 width: auto;
231 margin-left: auto;
232 margin-right: auto;
235 p.center,
236 td.center,
237 th.center {
238 text-align: center;
241 /* table generics */
242 table {
243 width: 100%;
244 border-collapse: collapse;
247 table .wrap {
248 white-space: normal;
252 td {
253 white-space: nowrap;
254 text-align: left;
257 th {
258 vertical-align: middle;
259 font-weight: bold;
262 td {
263 vertical-align: top;
266 /* table pretty styles */
267 table.pretty1 {
268 width: auto;
269 margin-top: 0.25em;
270 margin-bottom: 0.5em;
271 border-collapse: collapse;
272 border: 1px solid #bcd;
275 .pretty1 th {
276 padding: 0.35em;
277 background: #e4eeff;
278 border: 1px solid #bcd;
281 .pretty1 td {
282 padding: 0.35em;
283 border: 1px dotted #bcd;
286 table.pretty2 {
287 width: auto;
288 margin-top: 0.25em;
289 margin-bottom: 0.5em;
290 border-collapse: collapse;
291 border: 1px solid #bbb;
294 .pretty2 th {
295 padding: 0.35em;
296 background: #eee;
297 border: 1px solid #bbb;
300 .pretty2 td {
301 padding: 0.35em;
302 border: 1px dotted #bbb;
305 table.compact {
306 width: auto;
309 .compact td {
310 padding: 0.25em 0 0.25em 1.5em;
314 /* definition lists */
315 dl {
316 clear: both;
319 dl dt,
320 dl dd {
321 margin-bottom: 4px;
322 padding: 8px 0 4px;
323 font-weight: bold;
324 border-top: 1px dotted #bbb;
327 dl dt {
328 color: #333;
329 float:left;
330 padding-right:15px;
333 /* forms and input styling */
334 form p {
335 margin: 0.5em 0;
338 fieldset {
339 border: 0;
342 label {
343 width: 12em;
344 vertical-align: top;
345 display: inline-block;
346 font-weight: bold;
349 input[type=text],
350 input[type=password],
351 textarea {
352 padding: 0.10em;
355 form.general-form label,
356 form.general-form .form-help {
357 width: 10em;
358 vertical-align: top;
359 display: inline-block;
362 form.general-form input[type=text],
363 form.general-form textarea {
364 width: 45%;
367 /* archdev navbar */
368 #archdev-navbar {
369 margin: 1.5em 0;
372 #archdev-navbar ul {
373 list-style: none;
374 margin: -0.5em 0;
375 padding: 0;
378 #archdev-navbar li {
379 display: inline;
380 margin: 0;
381 padding: 0;
382 font-size: 0.9em;
385 #archdev-navbar li a {
386 padding: 0 0.5em;
387 color: #07b;
390 /* error/info messages (x pkg is already flagged out-of-date, etc) */
391 #sys-message {
392 width: 35em;
393 text-align: center;
394 margin: 1em auto;
395 padding: 0.5em;
396 background: #fff;
397 border: 1px solid #f00;
400 #sys-message p {
401 margin: 0;
404 ul.errorlist {
405 color: red;
408 form ul.errorlist {
409 margin: 0.5em 0;
412 /* JS sorting via tablesorter */
413 table th.tablesorter-header {
414 padding-right: 20px;
415 background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
416 background-repeat: no-repeat;
417 background-position: center right;
418 cursor: pointer;
421 table thead th.tablesorter-headerAsc {
422 background-color: #e4eeff;
423 background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
426 table thead th.tablesorter-headerDesc {
427 background-color: #e4eeff;
428 background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
431 table thead th.sorter-false {
432 background-image: none;
433 cursor: default;
437 * PAGE SPECIFIC STYLES
440 /* home: introduction */
441 #intro p.readmore {
442 margin: -0.5em 0 0 0;
443 font-size: .9em;
444 text-align: right;
447 /* home: news */
448 #news {
449 margin-top: 1.5em;
452 #news h3 {
453 float: left;
454 padding-bottom: .5em
457 #news div {
458 margin-bottom: 1em;
461 #news div p {
462 margin-bottom: 0.5em;
465 #news .more {
466 font-weight: normal;
469 #news .rss-icon {
470 float: right;
471 margin-top: 1em;
474 #news h4 {
475 clear: both;
476 font-size: 1em;
477 margin-top: 1.5em;
478 border-bottom: 1px dotted #bbb;
481 #news .timestamp {
482 float: right;
483 font-size: 0.85em;
484 margin: -1.8em 0.5em 0 0;
487 /* home: arrowed headings */
488 #news h3 a {
489 display: block;
490 background: #1794D1;
491 font-size: 15px;
492 padding: 2px 10px;
493 color: white;
496 #news a:active {
497 color: white;
500 h3 span.arrow {
501 display: block;
502 width: 0;
503 height: 0;
504 border-left: 6px solid transparent;
505 border-right: 6px solid transparent;
506 border-top: 6px solid #1794D1;
507 margin: 0 auto;
508 font-size: 0;
509 line-height: 0px;
512 /* home: pkgsearch box */
513 #pkgsearch {
514 padding: 1em 0.75em;
515 background: #3ad;
516 color: #fff;
517 border: 1px solid #08b;
520 #pkgsearch label {
521 width: auto;
522 padding: 0.1em 0;
525 #pkgsearch input {
526 width: 10em;
527 float: right;
528 font-size: 1em;
529 color: #000;
530 background: #fff;
531 border: 1px solid #09c;
534 .pkgsearch-typeahead {
535 position: absolute;
536 top: 100%;
537 left: 0;
538 z-index: 1000;
539 display: none;
540 float: left;
541 padding: 0.15em 0.1em;
542 margin: 0;
543 min-width: 10em;
544 font-size: 0.812em;
545 text-align: left;
546 list-style: none;
547 background-color: #f6f9fc;
548 border: 1px solid #09c;
551 .pkgsearch-typeahead li a {
552 color: #000;
555 .pkgsearch-typeahead li.active a {
556 color: #07b;
559 /* home: recent pkg updates */
560 #pkg-updates h3 {
561 margin: 0 0 0.3em;
564 #pkg-updates .more {
565 font-weight: normal;
568 #pkg-updates .rss-icon {
569 float: right;
570 margin: -2em 0 0 0;
573 #pkg-updates table {
574 margin: 0;
577 #pkg-updates td.pkg-name {
578 white-space: normal;
581 #pkg-updates td.pkg-arch {
582 text-align: right;
585 #pkg-updates span.testing {
586 font-style: italic;
589 #pkg-updates span.staging {
590 font-style: italic;
591 color: #ff8040;
594 /* home: sidebar navigation */
595 #nav-sidebar ul {
596 list-style: none;
597 margin: 0.5em 0 0.5em 1em;
598 padding: 0;
601 /* home: sponsor banners */
602 #arch-sponsors img {
603 padding: 0.3em 0;
606 /* home: sidebar components (navlist, sponsors, pkgsearch, etc) */
607 div.widget {
608 margin-bottom: 1.5em;
611 /* home: other stuff */
612 #konami {
613 position: fixed;
614 top: 0;
615 left: 0;
616 width: 100%;
617 height: 100%;
618 text-align: center;
619 opacity: 0.6;
622 /* feeds page */
623 #rss-feeds .rss {
624 padding-right: 20px;
625 background: url(rss.png) top right no-repeat;
628 /* artwork: logo images */
629 #artwork img.inverted {
630 background: #333;
631 padding: 0;
634 #artwork div.imagelist img {
635 display: inline;
636 margin: 0.75em;
639 /* news: article list */
640 .news-nav {
641 float: right;
642 margin-top: -2.2em;
645 .news-nav .prev,
646 .news-nav .next {
647 margin: 0 1em;
650 /* news: article pages */
651 div.news-article .article-info {
652 margin: 0;
653 color: #999;
656 /* news: add/edit article */
657 #newsform {
658 width: 60em;
661 #newsform input[type=text],
662 #newsform textarea {
663 width: 75%;
666 /* todolists: list */
667 .todolist-nav {
668 float: right;
669 margin-top: -2.2em;
672 .todolist-nav .prev,
673 .todolist-nav .next {
674 margin: 0 1em;
677 /* donate: donor list */
678 #donor-list ul {
679 width: 100%;
681 /* max 4 columns, but possibly fewer if screen size doesn't allow for more */
682 #donor-list li {
683 float: left;
684 width: 25%;
685 min-width: 20em;
688 /* download page */
689 #arch-downloads h3 {
690 border-bottom: 1px dotted #bbb;
693 /* pkglists/devlists */
694 table.results {
695 font-size: 0.846em;
696 border-top: 1px dotted #999;
697 border-bottom: 1px dotted #999;
700 .results th {
701 padding: 0.5em 1em 0.25em 0.25em;
702 border-bottom: 1px solid #999;
703 white-space: nowrap;
704 background-color:#fff;
707 .results td {
708 padding: .3em 1em .3em 3px;
711 .results tr.odd {
712 background: #fff;
715 .results tr.even {
716 background: #e4eeff;
719 .results .flagged {
720 color: red;
723 .results tr.empty td {
724 text-align: center;
727 /* pkglist: layout */
728 #pkglist-about {
729 margin-top: 1.5em;
732 /* pkglist: results navigation */
733 .pkglist-stats {
734 font-size: 0.85em;
737 #pkglist-results .pkglist-nav {
738 float: right;
739 margin-top: -2.2em;
742 .pkglist-nav .prev {
743 margin-right: 1em;
746 .pkglist-nav .next {
747 margin-right: 1em;
750 /* search fields and other filter selections */
751 .filter-criteria {
752 margin-bottom: 1em;
755 .filter-criteria h3 {
756 font-size: 1em;
757 margin-top: 0;
760 .filter-criteria div {
761 float: left;
762 margin-right: 1.65em;
763 font-size: 0.85em;
766 .filter-criteria legend {
767 display: none;
770 .filter-criteria label {
771 width: auto;
772 display: block;
773 font-weight: normal;
776 /* pkgdetails: details links that float on the right */
777 #pkgdetails #detailslinks {
778 float: right;
781 #pkgdetails #detailslinks h4 {
782 margin-top: 0;
783 margin-bottom: 0.25em;
786 #pkgdetails #detailslinks ul {
787 list-style: none;
788 padding: 0;
789 margin-bottom: 0;
790 font-size: 0.846em;
793 #pkgdetails #detailslinks > div {
794 padding: 0.5em;
795 margin-bottom: 1em;
796 background: #eee;
797 border: 1px solid #bbb;
800 #pkgdetails #actionlist .flagged {
801 color: red;
802 font-size: 0.9em;
803 font-style: italic;
806 /* pkgdetails: pkg info */
807 #pkgdetails #pkginfo {
808 width: auto;
811 #pkgdetails #pkginfo td {
812 padding: 0.25em 0 0.25em 1.5em;
815 #pkgdetails #pkginfo .userdata {
816 font-size: 0.85em;
817 padding: 0.5em;
820 /* pkgdetails: flag package */
821 #flag-pkg-form label {
822 width: 10em;
825 #flag-pkg-form textarea,
826 #flag-pkg-form input[type=text] {
827 width: 45%;
830 /* pkgdetails: deps, required by and file lists */
831 #pkgdetails #metadata {
832 clear: both;
835 #pkgdetails #metadata h3 {
836 background: #555;
837 color: #fff;
838 font-size: 1em;
839 margin-bottom: 0.5em;
840 padding: 0.2em 0.35em;
843 #pkgdetails #metadata ul {
844 list-style: none;
845 margin: 0;
846 padding: 0;
849 #pkgdetails #metadata li {
850 padding-left: 0.5em;
853 #pkgdetails #metadata p {
854 padding-left: 0.5em;
857 #pkgdetails #metadata .message {
858 font-style: italic;
861 #pkgdetails #metadata br {
862 clear: both;
865 #pkgdetails #pkgdeps {
866 float: left;
867 width: 48%;
868 margin-right: 2%;
871 #pkgdetails #metadata .virtual-dep,
872 #pkgdetails #metadata .testing-dep,
873 #pkgdetails #metadata .staging-dep,
874 #pkgdetails #metadata .opt-dep,
875 #pkgdetails #metadata .make-dep,
876 #pkgdetails #metadata .check-dep,
877 #pkgdetails #metadata .dep-desc {
878 font-style: italic;
880 #pkgdetails #pkgreqs {
881 float: left;
882 width: 50%;
885 #pkgdetails #pkgfiles {
886 clear: left;
887 padding-top: 1em;
890 #pkgfilelist li.d {
891 color: #666;
894 #pkgfilelist li.f {
897 /* mirror stuff */
898 table td.country {
899 white-space: normal;
902 #list-generator div ul {
903 list-style: none;
904 display: inline;
905 padding-left: 0;
908 #list-generator div ul li {
909 display: inline;
912 .visualize-mirror .axis path,
913 .visualize-mirror .axis line {
914 fill: none;
915 stroke: #000;
916 stroke-width: 3px;
917 shape-rendering: crispEdges;
920 .visualize-mirror .url-dot {
921 stroke: #000;
924 .visualize-mirror .url-line {
925 fill: none;
926 stroke-width: 1.5px;
929 /* dev/TU biographies */
930 #arch-bio-toc {
931 width: 75%;
932 margin: 0 auto;
933 text-align: center;
936 #arch-bio-toc a {
937 white-space: nowrap;
940 .arch-bio-entry {
941 width: 75%;
942 min-width: 640px;
943 margin: 0 auto;
946 .arch-bio-entry td.pic {
947 vertical-align: top;
948 padding-right: 15px;
949 padding-top: 2.25em;
952 .arch-bio-entry td.pic img {
953 padding: 4px;
954 border: 1px solid #ccc;
957 .arch-bio-entry td h3 {
958 border-bottom: 1px dotted #ccc;
959 margin-bottom: 0.5em;
962 .arch-bio-entry table.bio {
963 margin-bottom: 2em;
966 .arch-bio-entry table.bio th {
967 color: #666;
968 font-weight: normal;
969 text-align: right;
970 padding-right: 0.5em;
971 vertical-align: top;
972 white-space: nowrap;
975 .arch-bio-entry table.bio td {
976 width: 100%;
977 padding-bottom: 0.25em;
978 white-space: normal;
981 /* dev: login/out */
982 #dev-login {
983 width: auto;
986 /* dev: dashboard: dashboard and stats area */
987 #dev-dashboard tr:hover,
988 #stats-area tr:hover {
989 background: #ffd;
992 /* dev dashboard: flagged packages */
993 #dash-pkg-notify {
994 text-align: right;
995 padding: 1em 0 0;
996 margin-top: 1em;
997 font-size: 0.85em;
998 border-top: 1px dotted #bbb;
1001 #dash-pkg-notify label {
1002 width: auto;
1003 font-weight: normal;
1006 #dash-pkg-notify input {
1007 vertical-align: middle;
1008 margin: 0 0.25em;
1011 #dash-pkg-notify input[type=submit] {
1012 margin-top: -0.25em;
1015 #dash-pkg-notify p {
1016 margin: 0;
1019 table.dash-stats .key {
1020 width: 50%;
1023 /* dev dashboard: admin actions (add news items, todo list, etc) */
1024 ul.admin-actions {
1025 float: right;
1026 list-style: none;
1027 margin-top: -2.5em;
1030 ul.admin-actions li {
1031 display: inline;
1032 padding-left: 1.5em;
1035 /* colored yes/no type values */
1036 .todo-table .complete,
1037 .signoff-yes,
1038 #key-status .signed-yes,
1039 #releng-result .success-yes,
1040 #release-list .available-yes {
1041 color: green;
1044 .todo-table .incomplete,
1045 .signoff-no,
1046 #key-status .signed-no,
1047 #releng-result .success-no,
1048 #release-list .available-no {
1049 color: red;
1052 .todo-table .inprogress,
1053 .signoff-bad {
1054 color: darkorange;
1058 /* todo lists (public and private) */
1059 .todo-info {
1060 color: #999;
1061 border-bottom: 1px dotted #bbb;
1064 .todo-description {
1065 margin-top: 1em;
1066 padding-left: 2em;
1067 max-width: 900px;
1070 .todo-pkgbases {
1071 border-top: 1px dotted #bbb;
1074 .todo-list h4 {
1075 margin-top: 0;
1076 margin-bottom: 0.4em;
1079 /* dev: signoff page */
1080 #dev-signoffs tr:hover {
1081 background: #ffd;
1084 ul.signoff-list {
1085 list-style: none;
1086 margin: 0;
1087 padding: 0;
1090 .signoff-yes {
1091 font-weight: bold;
1094 .signoff-disabled {
1095 color: gray;
1098 /* iso testing feedback form */
1099 #releng-feedback label {
1100 width: auto;
1101 display: inline;
1102 font-weight: normal;
1105 #releng-feedback ul {
1106 padding-left: 1em;
1109 #releng-feedback li {
1110 list-style: none;
1113 #releng-feedback ul+.helptext {
1114 position: relative; top: -0.9em;
1117 /* highlight current website in the navbar */
1118 #archnavbar.anb-home ul li#anb-home a,
1119 #archnavbar.anb-packages ul li#anb-packages a,
1120 #archnavbar.anb-download ul li#anb-download a {
1121 color: white !important;
1124 /* visualizations page */
1125 .visualize-buttons {
1126 margin: 0.5em 0.33em;
1129 .visualize-buttons button.active {
1130 depressed: true;
1133 .visualize-chart {
1134 position: relative;
1135 height: 500px;
1136 margin: 0.33em;
1139 #visualize-archrepo .treemap-cell {
1140 border: solid 1px white;
1141 overflow: hidden;
1142 position: absolute;
1145 #visualize-archrepo .treemap-cell span {
1146 padding: 3px;
1147 font-size: 0.85em;
1148 line-height: 1em;
1151 #visualize-keys svg {
1152 width: 100%;
1153 height: 100%;