From 0bdb1c9f67b2fe694b71dc5a9e4e092a3a5f39ae Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Sat, 23 Jul 2011 05:38:08 -0300 Subject: [PATCH] remove pattern bg, change position controls-form on survey and remove css unecessary --- src/web/static/css/style.css | 20 ++++++++------------ src/web/static/css/survey.css | 70 ++++++++++------------------------------------------------------------ src/web/templates/survey.html | 24 ++++++++++++------------ 3 files changed, 30 insertions(+), 84 deletions(-) diff --git a/src/web/static/css/style.css b/src/web/static/css/style.css index 6914d70..ffe3bb0 100644 --- a/src/web/static/css/style.css +++ b/src/web/static/css/style.css @@ -51,7 +51,14 @@ blockquote:before, blockquote:after, q:before, q:after { content: ""; } */ body{ -background: #b0c9e5 url('../images/pattern.gif'); +background: #f2f6f8; /* Old browsers */ +background: -moz-linear-gradient(top, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%); /* FF3.6+ */ +background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f6f8), color-stop(50%,#d8e1e7), color-stop(51%,#b5c6d0), color-stop(100%,#e0eff9)); /* Chrome,Safari4+ */ +background: -webkit-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Chrome10+,Safari5.1+ */ +background: -o-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Opera11.10+ */ +background: -ms-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* IE10+ */ +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f6f8', endColorstr='#e0eff9',GradientType=0 ); /* IE6-9 */ +background: linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* W3C */ font-family: Arial, Verdana, sans-serif; font-size: 0.9em; line-height: 1.1; @@ -450,17 +457,6 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfdf', end background: linear-gradient(top, #dfdfdf 51%,#ffffff 100%); /* W3C */ } -.glass_blue { -background: #f2f6f8; /* Old browsers */ -background: -moz-linear-gradient(top, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%); /* FF3.6+ */ -background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f6f8), color-stop(50%,#d8e1e7), color-stop(51%,#b5c6d0), color-stop(100%,#e0eff9)); /* Chrome,Safari4+ */ -background: -webkit-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Chrome10+,Safari5.1+ */ -background: -o-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Opera11.10+ */ -background: -ms-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* IE10+ */ -filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f6f8', endColorstr='#e0eff9',GradientType=0 ); /* IE6-9 */ -background: linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* W3C */ -} - .glass { background: #e2e2e2; /* Old browsers */ background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */ diff --git a/src/web/static/css/survey.css b/src/web/static/css/survey.css index 594f789..e1956e2 100644 --- a/src/web/static/css/survey.css +++ b/src/web/static/css/survey.css @@ -26,7 +26,7 @@ width: 420px; display: none; position: absolute; top: 15px; -width: 250px; +width: 300px; right: 0px; font-size: 11px; font-weight: normal; @@ -35,7 +35,10 @@ color: #000000; a:hover #tip-bar, a:hover #tip-finish, -#tip-strategy:hover .tip { display: block; background-color: white; } +#tip-strategy:hover .tip { +display: block; +z-index: 3; +} .innertube { @@ -46,8 +49,8 @@ margin: 30px; background: none; } -.coda-slider-wrapper { -clear: none; +#wrap { +max-width: 780px; } body.survey #wrap { @@ -56,6 +59,7 @@ min-height: 450px; } /* Display None itens Survey */ +#footer, #coda-nav-left-1, body.survey #header, #recommender-box #upfile, @@ -74,8 +78,8 @@ margin: 5px; .content-pkg { overflow: auto; display: block; -height: 250px; -min-height: 250px; +height: 400px; +min-height: 400px; } .content-pkg ul { @@ -127,59 +131,5 @@ font-weight: normal; font-size: 0.8em; } -#debtags_box { -display: block; -float: right; -width: 150px; -font-size: 0.8em; -} - -#debtags_box h2 { -font-weight: bold; -} - -#debtags_pkg ul { -padding: 3px; -} - -#debtags_pkg li { -font-weight: bold; -cursor: pointer; -} - -#debtags_pkg li ul li { -font-weight: normal; -margin-left: 5px; -border-left: 1px solid white; -border-bottom: 1px solid white; -cursor: pointer; -} - -#debresources_box { -float: left; -margin-top: 20px; -} - -#debresources_box li { -margin-bottom: 4px; -} - -/* Details BOX */ - -#details_box { -margin-top: 50px; -padding: 20px; -font-size: 0.8; -color: #545454; -} - -#details_box h2 { -margin: -5px 0 15px 0px; -color: #000; -} - -#details_box li { -margin-bottom: 10px; -} diff --git a/src/web/templates/survey.html b/src/web/templates/survey.html index ad7bb28..dc626d4 100644 --- a/src/web/templates/survey.html +++ b/src/web/templates/survey.html @@ -26,6 +26,18 @@ $var jsfiles: static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js static/coda
+ +
$for pkg in pkg_details: @@ -66,18 +78,6 @@ $for pkg in pkg_details:
- -
-- libgit2 0.21.2