annotate www/m/css/menu.css @ 23:e1a02869da08

reduced to one score file with menu to choose which part stream to receive added latency results to client and tweeked some css
author tzara <rc-web@kiben.net>
date Wed, 11 Jul 2012 14:17:43 +0100
parents
children ea19684cd1db
rev   line source
rc-web@23 1 #nav {
rc-web@23 2 margin: 0;
rc-web@23 3 padding: 1px 1px 0;
rc-web@23 4 background: #7d7d7d;
rc-web@23 5 line-height: 100%;
rc-web@23 6
rc-web@23 7 border-radius: 1em;
rc-web@23 8 -webkit-border-radius: 1em;
rc-web@23 9 -moz-border-radius: 1em;
rc-web@23 10
rc-web@23 11 -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
rc-web@23 12 -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
rc-web@23 13 position:absolute;
rc-web@23 14 left: 0px;
rc-web@23 15 bottom: 2px;
rc-web@23 16 }
rc-web@23 17 #nav li {
rc-web@23 18 margin: 0 5px;
rc-web@23 19 padding: 0 0 8px;
rc-web@23 20 float: left;
rc-web@23 21 position: relative;
rc-web@23 22 list-style: none;
rc-web@23 23 }
rc-web@23 24
rc-web@23 25
rc-web@23 26 /* main level link */
rc-web@23 27 #nav a {
rc-web@23 28 font-weight: bold;
rc-web@23 29 color: #e7e5e5;
rc-web@23 30 text-decoration: none;
rc-web@23 31 display: block;
rc-web@23 32 padding: 8px 20px;
rc-web@23 33 margin: 0;
rc-web@23 34
rc-web@23 35 -webkit-border-radius: 1.6em;
rc-web@23 36 -moz-border-radius: 1.6em;
rc-web@23 37
rc-web@23 38 text-shadow: 0 1px 1px rgba(0,0,0, .3);
rc-web@23 39 }
rc-web@23 40 #nav a:hover {
rc-web@23 41 background: #000;
rc-web@23 42 color: #fff;
rc-web@23 43 }
rc-web@23 44
rc-web@23 45 /* main level link hover */
rc-web@23 46 #nav .current a, #nav li:hover > a {
rc-web@23 47 background: #666;
rc-web@23 48 color: #444;
rc-web@23 49 border-top: solid 1px #f8f8f8;
rc-web@23 50
rc-web@23 51 -webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
rc-web@23 52 -moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
rc-web@23 53 box-shadow: 0 1px 1px rgba(0,0,0, .2);
rc-web@23 54
rc-web@23 55 text-shadow: 0 1px 0 rgba(255,255,255, 1);
rc-web@23 56 }
rc-web@23 57
rc-web@23 58 /* sub levels link hover */
rc-web@23 59 #nav ul li:hover a, #nav li:hover li a {
rc-web@23 60 background: none;
rc-web@23 61 border: none;
rc-web@23 62 color: #666;
rc-web@23 63
rc-web@23 64 -webkit-box-shadow: none;
rc-web@23 65 -moz-box-shadow: none;
rc-web@23 66 }
rc-web@23 67 #nav ul a:hover {
rc-web@23 68 background: #0078ff !important;
rc-web@23 69 color: #fff !important;
rc-web@23 70
rc-web@23 71 -webkit-border-radius: 0;
rc-web@23 72 -moz-border-radius: 0;
rc-web@23 73
rc-web@23 74 text-shadow: 0 1px 1px rgba(0,0,0, .1);
rc-web@23 75 }
rc-web@23 76
rc-web@23 77 /* dropdown */
rc-web@23 78 #nav li:hover > ul {
rc-web@23 79 display: block;
rc-web@23 80 }
rc-web@23 81
rc-web@23 82 /* level 2 list */
rc-web@23 83 #nav ul {
rc-web@23 84 display: none;
rc-web@23 85
rc-web@23 86 margin: 0;
rc-web@23 87 padding: 0;
rc-web@23 88 width: 185px;
rc-web@23 89 position: absolute;
rc-web@23 90 top: -55px;
rc-web@23 91 left: 0;
rc-web@23 92 background: #ddd;
rc-web@23 93 border: solid 1px #b4b4b4;
rc-web@23 94
rc-web@23 95 -webkit-border-radius: 10px;
rc-web@23 96 -moz-border-radius: 10px;
rc-web@23 97 border-radius: 10px;
rc-web@23 98
rc-web@23 99 -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
rc-web@23 100 -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
rc-web@23 101 box-shadow: 0 1px 3px rgba(0,0,0, .3);
rc-web@23 102 }
rc-web@23 103 #nav ul li {
rc-web@23 104 float: none;
rc-web@23 105 margin: 0;
rc-web@23 106 padding: 0;
rc-web@23 107 }
rc-web@23 108
rc-web@23 109 #nav ul a {
rc-web@23 110 font-weight: normal;
rc-web@23 111 text-shadow: 0 1px 0 #fff;
rc-web@23 112 }
rc-web@23 113
rc-web@23 114 /* level 3+ list */
rc-web@23 115 #nav ul ul {
rc-web@23 116 left: 181px;
rc-web@23 117 top: -3px;
rc-web@23 118 }
rc-web@23 119
rc-web@23 120 /* rounded corners of first and last link */
rc-web@23 121 #nav ul li:first-child > a {
rc-web@23 122 -webkit-border-top-left-radius: 9px;
rc-web@23 123 -moz-border-radius-topleft: 9px;
rc-web@23 124
rc-web@23 125 -webkit-border-top-right-radius: 9px;
rc-web@23 126 -moz-border-radius-topright: 9px;
rc-web@23 127 }
rc-web@23 128 #nav ul li:last-child > a {
rc-web@23 129 -webkit-border-bottom-left-radius: 9px;
rc-web@23 130 -moz-border-radius-bottomleft: 9px;
rc-web@23 131
rc-web@23 132 -webkit-border-bottom-right-radius: 9px;
rc-web@23 133 -moz-border-radius-bottomright: 9px;
rc-web@23 134 }
rc-web@23 135
rc-web@23 136 /* clearfix */
rc-web@23 137 #nav:after {
rc-web@23 138 content: ".";
rc-web@23 139 display: block;
rc-web@23 140 clear: both;
rc-web@23 141 visibility: hidden;
rc-web@23 142 line-height: 0;
rc-web@23 143 height: 0;
rc-web@23 144 }
rc-web@23 145 #nav {
rc-web@23 146 display: inline-block;
rc-web@23 147 }
rc-web@23 148 html[xmlns] #nav {
rc-web@23 149 display: block;
rc-web@23 150 }
rc-web@23 151
rc-web@23 152 * html #nav {
rc-web@23 153 height: 1%;
rc-web@23 154 }