X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/2bfeaf6f5d7319438c7bc12eee8705a654c306de..6981ccdf8bbbf6c2b96c6bdf5958cd2a1acc63a5:/Cydia.app/menes/style.css diff --git a/Cydia.app/menes/style.css b/Cydia.app/menes/style.css index 223c975e..d558e839 100644 --- a/Cydia.app/menes/style.css +++ b/Cydia.app/menes/style.css @@ -55,6 +55,8 @@ -webkit-border-radius: 0; box-sizing: border-box; -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + -webkit-box-sizing: border-box; font-family: inherit; font-size: 100%; font-style: inherit; @@ -62,9 +64,14 @@ margin: 0; outline: 0; padding: 0; + text-decoration: none; vertical-align: baseline; } +a { + color: inherit; +} + sup { font-size: smaller; margin-top: -6px; @@ -77,13 +84,18 @@ select { } body { + width: 320px; font-family: Helvetica; -webkit-text-size-adjust: none; -webkit-user-select: none; } +body.white { + background-color: #ffffff; +} + body.pinstripe { - background: #c7ced5 url(pinstripes.png); + background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png); } dialog { @@ -94,17 +106,11 @@ dialog { dialog > panel { display: block; - padding: 1px 0; -} - -a { - color: inherit; - text-decoration: none; - text-underline-style: dotted; } a { color: blue; + text-underline-style: dotted; } strong { @@ -119,6 +125,10 @@ pre { letter-spacing: -2px; } +em { + font-style: italic; +} + .default { color: #aaaabb; } @@ -169,30 +179,39 @@ dialog > toolbar > a.forward-button { float: right; } /* }}} */ -/* fieldset {{{ */ -dialog > panel > block { - background-color: #c7ced5; + +panel > block { + /*background-color: #ccd1d5;*/ + /*background-color: white;*/ + /*background-color: #c7ced5;*/ + background-color: transparent; + //background-color: #ffffff; border-bottom: 1px solid #999999; border-top: 1px solid #999999; + border-left: 1px dotted #999999; + border-right: 1px dotted #999999; + -webkit-border-radius: 9px; + //border: 1px solid #999999; display: block; font-size: 16px; margin: 9px 10px; padding: 0 10px; } -dialog > panel > block > hr { - border-width: 1px 0 0 0; +panel > fieldset > div > hr, +panel > block > hr { + border-top: 1px dashed #999999; } -dialog > panel > fieldset { +panel > fieldset { background-color: #ffffff; border: 1px solid #999999; - -webkit-border-radius: 10px; + -webkit-border-radius: 9px; font-size: 16px; margin: 9px; } -dialog > panel > input[type="submit"] { +panel > input[type="submit"] { /*-webkit-border-image: url(whiteButton.png) 0 12 0 12; -webkit-border-radius: 0; border-width: 0px 12px;*/ @@ -208,9 +227,21 @@ dialog > panel > input[type="submit"] { width: 302px; } -dialog > panel > label { +list > label { + background: #a7b3bc url(cydia://uikit-image/UISectionListHeaderBackground.png); + background-repeat: repeat-x no-repeat-y; + margin-bottom: 0px; + padding: 4px 15px 1px 15px; + display: block; + color: white; + font-size: inherit; + font-weight: bold; + text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 0; +} + +panel > label { display: block; - margin: 13px 0 -4px 27px; + margin: 13px 0 -4px 24px; line-height: 24px; font-size: inherit; font-weight: bold; @@ -218,36 +249,169 @@ dialog > panel > label { text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; } -fieldset > a, +panel > fieldset > a, +panel > fieldset > div, +panel > fieldset > textarea { + border-top: 1px solid #999999; +} + +.deleted { + display: none; +} + +panel > fieldset > a.right:nth-child(2), +panel > fieldset > a:first-child, +panel > fieldset > div:first-child, +panel > fieldset > textarea:first-child { + border-top: 0; +} + +list > fieldset > a, +list > fieldset > div, +list > fieldset > textarea { + border-bottom: 1px solid #e0e0e0; +} + +fieldset > a:not([type="ad"]), fieldset > div, fieldset > textarea { - border-top: 1px solid #999999; - min-height: 19px; - padding: 12px 17px 11px 17px; + /* XXX: small differences due to font bugs */ + padding: 12px 14px 10px 14px; +} + +/*fieldset > a:not([type="ad"]):last-child, +fieldset > div:last-child { + padding-bottom: 10px; +}*/ + +fieldset > a[type="ad"] { + /* XXX: small differences due to font bugs */ + padding: 4px 4px 2px 5px; +} + +panel > fieldset > a[type="ad"]:first-child > div:first-of-type, +panel > fieldset > a[type="comment"]:first-child > div:first-of-type, +panel > fieldset > a[type="profile"]:first-child > div:first-of-type, +panel > fieldset > a[type="thumb"]:first-child > div:first-of-type { + -webkit-border-top-left-radius: 9px; +} + +panel > fieldset > a[type="ad"]:last-child > div:first-of-type, +panel > fieldset > a[type="comment"]:last-child > div:first-of-type, +panel > fieldset > a[type="profile"]:last-child > div:first-of-type, +panel > fieldset > a[type="thumb"]:last-child > div:first-of-type { + -webkit-border-bottom-left-radius: 9px; +} + +fieldset > a[type="ad"] > div:first-of-type { + border: 1px solid #999999; } -fieldset > a:first-child, -fieldset > div:first-child { - border-top: none; +list > fieldset > a[type="comment"] > div:first-of-type, +list > fieldset > a[type="profile"] > div:first-of-type, +list > fieldset > a[type="thumb"] > div:first-of-type { + border: 1px solid #e0e0e0; +} + +panel > fieldset > a[type="comment"] > div:first-of-type { + border: 1px solid #999999; + border-bottom-style: dashed; +} + +panel > fieldset > a[type="profile"] > div:first-of-type, +panel > fieldset:not(.header) > a[type="thumb"] > div:first-of-type { + border: 1px solid #999999; +} + +div[tile] { + float: right; + height: 30px; + width: 30px; +} + +div[tile="app"] { background-image: url(http://cache.saurik.com/cydia/tile/app.png); } +div[tile="call"] { background-image: url(http://cache.saurik.com/cydia/tile/call.png); } +div[tile="map"] { background-image: url(http://cache.saurik.com/cydia/tile/map.png); } +div[tile="media"] { background-image: url(http://cache.saurik.com/cydia/tile/media.png); } +div[tile="music"] { background-image: url(http://cache.saurik.com/cydia/tile/video.png); } +div[tile="site"] { background-image: url(http://cache.saurik.com/cydia/tile/site.png); } + +fieldset > a[type="ad"] > div:first-of-type { + background-repeat: no-repeat; + background-position: center center; + border-right: none; + display: inline-block; + height: 40px; + line-height: 38px; + /* XXX: small differences due to font bugs */ + /* XXX: 1px difference due to border stupidity */ + margin: -5px 5px -3px -6px; + width: 40px; } -fieldset > a img.icon, -fieldset > div img.icon { +panel > fieldset > a[type="comment"] { + border-bottom-style: dashed; +} + +fieldset > a[type="comment"] > div:first-of-type { + -webkit-background-size: 44px; + height: 44px; + width: 44px; +} + +fieldset > a[type="header"] > div:first-of-type { + height: 64px; + width: 64px; +} + +fieldset > a[type="profile"] > div:first-of-type { + -webkit-background-size: 50px; + height: 50px; + width: 50px; +} + +fieldset > a[type="thumb"] > div:first-of-type { + height: 64px; + width: 64px; +} + +fieldset > a[type="comment"] > div:first-of-type, +fieldset > a[type="header"] > div:first-of-type, +fieldset > a[type="profile"] > div:first-of-type, +fieldset > a[type="thumb"] > div:first-of-type { + background-repeat: no-repeat; + background-position: center center; + display: inline-block; + /* XXX: small differences due to font bugs */ + /* XXX: 1px difference due to border stupidity */ + margin: -13px 7px -11px -15px; +} + +fieldset > a > img.icon, +fieldset > div > img.icon { height: auto; - margin: -13px 5px -10px -10px; + /* XXX: small differences due to font bugs */ + margin: -7px 6px -9px -8px; max-height: 30px; min-width: 30px; width: 30px; } panel > block > p, -fieldset > div > p { +fieldset > div > p, +panel > block > ul, +fieldset > div > ul { margin: 11px 0; - text-align: center; } +panel > block > ul, fieldset > div > ul { - margin-left: -20px; + margin-left: 13px; +} + +panel > block > p, +fieldset > div > p { + text-align: center; } fieldset > div > p:first-child, @@ -273,33 +437,46 @@ fieldset > div > select { -webkit-appearance: none; } -fieldset > a, +/* Chevrons {{{ */ + +fieldset > a[href]:not([type="ad"]), fieldset > div > select { - background: no-repeat url(chevron.png); - background-position-y: 13px; + background-repeat: no-repeat; + background-image: url(chevron.png); + background-position-y: center; } -dialog > fieldset > a { +/* Horizontal */ + +list > fieldset > a[href] { background-position-x: 295px; } -dialog > panel > fieldset > a { +panel > fieldset > a[href] { background-position-x: 275px; } -dialog > fieldset > div > select { - background-position-x: 192px; +panel > fieldset > a[href].half { + background-position-x: 125px; +} + +list > fieldset > a:not([href]) > select, +list > fieldset > div > select { + background-position-x: 183px; } -dialog > panel > fieldset > div > select { - background-position-x: 172px; +panel > fieldset > a:not([href]) > select, +panel > fieldset > div > select { + background-position-x: 163px; } +/* }}} */ + fieldset > textarea, fieldset > div > input, fieldset > div > select, -fieldset > a > label + div, -fieldset > div > label + div { +fieldset > a > div > label:nth-of-type(2), +fieldset > div > div > label:nth-of-type(2) { color: #193250; } @@ -309,58 +486,323 @@ fieldset > div > select { font-size: 16px; } +fieldset > div > input { + padding-left: 7px; + padding-right: 14px; +} + fieldset > div > select, fieldset > div > input { border: none; - height: 44px; - margin: -13px -17px -13px 86px; + float: right; + height: 40px; + margin: -11px -13px -11px -14px; } -dialog > panel > fieldset > div > select, -dialog > panel > fieldset > div > input { +panel > fieldset > div > select, +panel > fieldset > div > input { width: 187px; } -dialog > fieldset > div > select, -dialog > fieldset > div > input { +list > fieldset > div > select, +list > fieldset > div > input { width: 207px; } -fieldset > div > input { - padding: 13px 7px; -} - fieldset > textarea { padding: 10px; width: 320px; } -fieldset > a > label, -fieldset > div > label { - font-weight: bold; - padding: 1px 0 0 0; - position: absolute; +fieldset > div > div, +fieldset > a > div { + display: inline-block; +} + +fieldset > div > div { + width: 273px; +} + +fieldset > a[type="ad"] > div:nth-of-type(2) { + width: 218px; +} + +fieldset > a:not([type]) > div { + width: 250px; } -fieldset > a > label + div { - margin-right: 16px; +fieldset > a:not([href]) > img.icon + div, +fieldset > div > img.icon + div { + width: 244px; +} + +fieldset > a[href] > img.icon + div { + width: 221px; +} + +fieldset > a[type="profile"] > div:nth-of-type(2) > label:nth-of-type(1).unknown { + color: #aaaabb; +} + +fieldset > a[type="profile"] > div:nth-of-type(2) > label:only-of-type { + left: 4px; + position: relative; + top: 3px; +} + +fieldset > a[type="thumb"] > div:nth-of-type(2) > label:only-of-type { + position: relative; + top: 10px; +} + +fieldset > a[type="profile"] > div:nth-of-type(2) > label:nth-of-type(2) { + display: block; + font-size: 13px; + margin-top: 2px; } -dialog > fieldset > a > label + div, -dialog > fieldset > div > label + div { +fieldset > a[type="thumb"] > div:nth-of-type(2) > label:nth-of-type(2) { + display: block; + margin-top: 2px; +} + +fieldset > a[type="profile"] > div:nth-of-type(2) { + width: 207px; +} + +fieldset > a[type="thumb"] > div:nth-of-type(2) { + width: 193px; +} + +fieldset > a[type="profile"] > div:nth-of-type(2) { + margin: -5px 0; +} + +fieldset > a[type="profile"] > div:nth-of-type(2), +fieldset > a[type="thumb"] > div:nth-of-type(2) { + vertical-align: top; +} + +fieldset > a > label:first-of-type, +fieldset > a > div > label:first-of-type, +fieldset > div > label:first-of-type, +fieldset > div > div > label:first-of-type { + font-weight: bold; +} + +/* XXX: this doesn't handle icon offsets */ +list > fieldset > a:not([type]) > div > label:nth-of-type(2), +list > fieldset > div > div > label:nth-of-type(2) { margin-left: 94px; } -dialog > panel > fieldset > a > label + div, -dialog > panel > fieldset > div > label + div { +panel > fieldset > a:not([type]) > div > label:nth-of-type(2), +panel > fieldset > div > div > label:nth-of-type(2) { float: right; text-align: right; } -dialog > panel > img { +panel > img { display: block; margin: 9px auto 4px auto; height: auto; width: 300px; } + +fieldset > a[type="ad"] { +} + +fieldset > a[type="ad"] > div:nth-of-type(2) { + position: relative; + vertical-align: top; +} + +fieldset > a[type="ad"] > div > label:nth-of-type(1) { + color: #2d2d50; + font-size: 13px; + font-weight: bold; + line-height: 15px; +} + +fieldset > a[type="ad"] > div > label:nth-of-type(2) { + position: absolute; + top: 17px; + left: 156px; + font-size: 9.5px; + font-weight: normal; +} + +panel > fieldset > a.right { + border-left: 1px solid #999999; +} + +panel > fieldset > a.half { + display: inline-block; + width: 150px; +} + +fieldset.half > a { + background: none; + background-position-x: 120px; +} + +fieldset.half > a > img.icon + div { + width: 65px; +} + +fieldset.right { + float: right; + margin-left: 10px; +} + +block + fieldset.right, +fieldset + fieldset.right { + margin-top: 0; +} + +fieldset.half { + width: 146px; +} + +panel > fieldset.dashed > a, +panel > fieldset.dashed > div, +panel > fieldset.dashed > textarea, +list > fieldset.dashed > a, +list > fieldset.dashed > div, +list > fieldset.dashed > textarea { + border-style: dashed; +} + +fieldset > a[type="thumb"]:first-child > back { + -webkit-border-top-right-radius: 9px; +} + +fieldset > a[type="thumb"]:last-child > back { + -webkit-border-bottom-right-radius: 9px; +} + +fieldset > a[type="thumb"] > back { + background-repeat: no-repeat; + border: 1px solid #999999; + display: block; + height: 64px; + left: 62px; + position: absolute; + opacity: 0.2; + top: -1px; + width: 237px; +} + +.mm { + border: 1px solid #999999; + -webkit-border-radius: 9px; +} + +a.mm { + display: block; + margin: 9px; +} + +div.mm img { + height: auto; + width: 300px; +} + +fieldset > a.small { + font-size: 12px; + padding-top: 9px; +} + +fieldset > a.small label { + display: inline-block; + position: relative; + top: 1px; +} + +fieldset > a.small > img.icon { + max-height: 22px; + min-width: 22px; + width: 22px; +} + +fieldset > a.small.half > img.icon + div { + width: 79px; +} + +panel.centered > label { + margin-left: 0px; + margin-right: 0px; + text-align: center; +} + +panel > iframe { + margin: -9px 0; +} + +panel > iframe + iframe { + margin-top: 0; +} + +/* Rating Stars {{{ */ +.ratings { + margin: -2px 0; + text-align: center; +} + +.rated { + display: inline-block; +} + +.rated.left { + margin-right: 9px; +} + +.rated label { + font-weight: bold; + margin-right: 3px; + position: relative; + top: -3px; +} + +.rating { + display: inline-block; + width: 80px; +} + +.rating .back, +.rating .fore, +.rating .star { + background: url(http://cache.saurik.com/crystal/16x16/actions/knewstuff.png); + height: 16px; +} + +.rating .back, +.rating .fore { + width: 80px; +} + +.rating .star { + display: inline-block; + width: 16px; +} + +.rating .back { + opacity: 0.2; +} + +.rating .fore { + /*border-right: 1px solid #999999;*/ + position: absolute; +} /* }}} */ + +panel > fieldset.header { + background-color: transparent; + border: none; + margin: -5px 0 -11px 0; +} + +panel > fieldset.header > a > div > label { + color: #4d4d70; + text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; +}