Author: marcus Date: Sun Mar 9 19:09:16 2014 New Revision: 1575740 URL: http://svn.apache.org/r1575740 Log: Changed path to graphics to relative URLs, added gradients for yellow box
Modified: openoffice/ooo-site/trunk/content/download/test/exceptions.css Modified: openoffice/ooo-site/trunk/content/download/test/exceptions.css URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/exceptions.css?rev=1575740&r1=1575739&r2=1575740&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/exceptions.css (original) +++ openoffice/ooo-site/trunk/content/download/test/exceptions.css Sun Mar 9 19:09:16 2014 @@ -44,8 +44,8 @@ h1 { padding-left: 0.5em; } .optionset .first { margin-top: 0; } .optionset p.promotional { margin-top: 25px; } -.green { background: url(http://www.openoffice.org/download/cachedimages/button-green.png) #D1EAA0 right top no-repeat; } -.green:hover { background: url(http://www.openoffice.org/download/cachedimages/button-green.png) #C3E480 right -200px no-repeat; } +.green { background: url(../cachedimages/button-green.png) #D1EAA0 right top no-repeat; } +.green:hover { background: url(../cachedimages/button-green.png) #C3E480 right -200px no-repeat; } .green h2 a { color: #718D36; } .green:hover h2 a, #bodycol .green h2 a:hover { color: #546828; } .sub-green { background: #E9FEBE; border-top: 1px solid #C3E480; border-bottom: 1px solid #C3E480; border-radius: 15px; font-size: .8em; } @@ -65,8 +65,8 @@ h1 { padding-left: 0.5em; } .sub-grey p { padding: .1em 3%; width: 72%; cursor: default; } /* exchanged the normal picture with one that includes the extension repository graphic */ -.blue { background: url(http://www.openoffice.org/download/cachedimages/button-blue-ext.png) #D8E5F6 right top no-repeat; } -.blue:hover { background: url(http://www.openoffice.org/download/cachedimages/button-blue-ext.png) #C3D9F1 right -200px no-repeat; } +.blue { background: url(../cachedimages/button-blue-ext.png) #D8E5F6 right top no-repeat; } +.blue:hover { background: url(../cachedimages/button-blue-ext.png) #C3D9F1 right -200px no-repeat; } .blue h2 a { color: #2D72CE; } .blue a h2 { color: #2D72CE; } .blue p { color: #2D72CE; } @@ -75,8 +75,8 @@ h1 { padding-left: 0.5em; } .sub-blue { background: #E1E1FF; border-top: 1px solid #D1D1FF; border-bottom: 1px solid #D1D1FF; border-radius: 15px; font-size: .8em; } .sub-blue p { padding: .1em 3%; width: 72%; } -.lightblue { background: url(http://www.openoffice.org/download/cachedimages/button-lightblue.png) #D8E5F6 right top no-repeat; } -.lightblue:hover { background: url(http://www.openoffice.org/download/cachedimages/button-lightblue.png) #C3D9F1 right -200px no-repeat; } +.lightblue { background: url(../cachedimages/button-lightblue.png) #D8E5F6 right top no-repeat; } +.lightblue:hover { background: url(../cachedimages/button-lightblue.png) #C3D9F1 right -200px no-repeat; } .lightblue h2 a { color: #2D72CE; } .lightblue a h2 { color: #2D72CE; } .lightblue:hover h2 a, #bodycol .lightblue h2 a:hover { color: #21549A; } @@ -84,46 +84,53 @@ h1 { padding-left: 0.5em; } .sub-lightblue { background: #E1E1FF; border-top: 1px solid #D1D1FF; border-bottom: 1px solid #D1D1FF; border-radius: 15px; font-size: .8em; } .sub-lightblue p { padding: .1em 3%; width: 72%; } -.yellow { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF379 right top no-repeat; } -.yellow:hover { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; } +.yellow { background: url(../cachedimages/button-yellow.png) #FFF379 right top no-repeat; } +.yellow:hover { background: url(../cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; } .yellow h2 a { color: #E09C09; } .yellow a h2 { color: #E09C09; } .yellow:hover h2 a, #bodycol .yellow h2 a:hover { color: #C80; } .yellow:hover a h2, #bodycol .yellow a h2:hover { color: #C80; } .sub-yellow { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; border-radius: 15px; font-size: .8em; } .sub-yellow p { padding: .1em 3%; width: 72%; } -/* -.yellow { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF379 right top no-repeat; } -.yellow:hover { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; } -.yellow h2 a { color: #E09C09; } -.yellow a h2 { color: #E09C09; } -.yellow:hover h2 a, #bodycol .yellow h2 a:hover { color: #C80; } -.yellow:hover a h2, #bodycol .yellow a h2:hover { color: #C80; } -.sub-yellow { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; border-radius: 15px; font-size: .8em; } -.sub-yellow p { padding: .1em 3%; width: 72%; } -*/ -/* -.yellow_wo_icon { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF379 right top no-repeat; } -.yellow_wo_icon:hover { background: url(http://www.openoffice.org/download/cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; } + +.yellow_wo_icon { background: #FFF379 right top no-repeat; } +.yellow_wo_icon:hover { background: #FFF24F right -200px no-repeat; } +/*.yellow_wo_icon { background: url(../cachedimages/button-yellow.png) #FFF379 right top no-repeat; } */ +/*.yellow_wo_icon:hover { background: url(../cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; } */ .yellow_wo_icon h2 a { color: #E09C09; } .yellow_wo_icon a h2 { color: #E09C09; } .yellow_wo_icon:hover h2 a, #bodycol .yellow_wo_icon h2 a:hover { color: #C80; } .yellow_wo_icon:hover a h2, #bodycol .yellow_wo_icon a h2:hover { color: #C80; } .sub-yellow_wo_icon { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; border-radius: 15px; font-size: .8em; } .sub-yellow_wo_icon p { padding: .1em 3%; width: 72%; } -*/ -.yellow_wo_icon { background: #FFF379; } -.yellow_wo_icon:hover { background: #FFF24F; } -.yellow_wo_icon h2 a { color: #E09C09; } -.yellow_wo_icon a h2 { color: #E09C09; } -.yellow_wo_icon:hover h2 a, #bodycol .yellow h2 a:hover { color: #C80; } -.yellow_wo_icon:hover a h2, #bodycol .yellow a h2:hover { color: #C80; } -.sub-yellow_wo_icon { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; border-radius: 15px; font-size: .8em; } -.sub-yellow_wo_icon p { padding: .1em 3%; width: 72%; } +.yellow_gradient { +background: url(../cachedimages/button-yellow-top.png) #FFF379 right top no-repeat; /* Old browsers */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat -moz-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fcffb6 0%, #fbe977 100%); /* FF3.6+ */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceabb), color-stop(0%, #f8b500), color-stop(0%, #fccd4d), color-stop(0%, #fcffb6), color-stop(0%, #fcffb6), color-stop(100%, #fbe977)); /* Chrome,Safari4+ */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat -webkit-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fcffb6 0%, # fbe977 100%); /* Chrome10+,Safari5.1+ */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat -o-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fcffb6 0%, #fbe977 100%); /* Opera 11.10+ */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat -ms-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fcffb6 0%, #fbe977 100%); /* IE10+ */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat linear-gradient(to bottom, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fcffb6 0%, #fbe977 100%); /* W3C */ +background: url(../cachedimages/button-yellow-top.png) right top no-repeat filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbe977', GradientType=0 ); /* IE6-9 */ } +.yellow_gradient:hover { +background: url(../cachedimages/button-yellow-bottom.png) #FFF24F right top no-repeat; /* Old browsers */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, -moz-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fbffa4 0%, #fac81d 100%); /* FF3.6+ */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceabb), color-stop(0%, #f8b500), color-stop(0%, #fccd4d), color-stop(0%, #fcffb6), color-stop(0%, #fbffa4), color-stop(100%, #fac81d)); /* Chrome,Safari4+ */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, -webkit-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fbffa4 0%, #fac81d 100%); /* Chrome10+,Safari5.1+ */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, -o-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fbffa4 0%, #fac81d 100%); /* Opera 11.10+ */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, -ms-linear-gradient(top, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fbffa4 0%, #fac81d 100%); /* IE10+ */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, linear-gradient(to bottom, #fceabb 0%, #f8b500 0%, #fccd4d 0%, #fcffb6 0%, #fbffa4 0%, #fac81d 100%); /* W3C */ +background: url(../cachedimages/button-yellow-bottom.png) right top no-repeat, filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fac81d', GradientType=0 ); /* IE6-9 */ } +.yellow_gradient h2 a { color: #E09C09; } +.yellow_gradient a h2 { color: #E09C09; } +.yellow_gradient:hover h2 a, #bodycol .yellow_gradient h2 a:hover { color: #C80; } +.yellow_gradient:hover a h2, #bodycol .yellow_gradient a h2:hover { color: #C80; } +.sub-yellow_gradient { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; border-radius: 15px; font-size: .8em; } +.sub-yellow_gradient p { padding: .1em 3%; width: 72%; } -.orange { background: url(http://www.openoffice.org/download/cachedimages/button-orange.png) #FFD9A7 right top no-repeat; } -.orange:hover { background: url(http://www.openoffice.org/download/cachedimages/button-orange.png) #FFBE67 right -200px no-repeat; } +.orange { background: url(../cachedimages/button-orange.png) #FFD9A7 right top no-repeat; } +.orange:hover { background: url(../cachedimages/button-orange.png) #FFBE67 right -200px no-repeat; } .orange h2 a { color: #D36812; } .orange:hover h2 a, #bodycol .orange h2 a:hover { color: #C94800; } .sub-orange { background: #FFE2B5; border-top: 1px solid #FFB15E; border-bottom: 1px solid #FFB15E; border-radius: 15px; font-size: .8em; } @@ -141,7 +148,7 @@ h1 { padding-left: 0.5em; } .additionalinformation a {color:#107EC0;text-decoration:underline;} .additionalinformation a:hover {background-color: #e6ebed;} -.additionalinformation #nativelang { background-image: url(http://www.openoffice.org/download/cachedimages/nativelang.gif); background-repeat: no-repeat; background-position: top left; } +.additionalinformation #nativelang { background-image: url(../cachedimages/nativelang.gif); background-repeat: no-repeat; background-position: top left; } #downloadextendedtext p { background: none; } #downloadextendedtext ul { background: none; font-weight: bold; list-style: none; margin: 0px; padding: 0px; font-size: 2em; width: 100%; float: left; color: #333; padding-left: 20px; }