From 1cd8795a953bdeaa5324bdcb0870fba24f8bb4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 31 Jul 2013 13:40:24 +0200 Subject: [PATCH] style: remove box shadows, adapt box border colors --- univcloud/static/css/style.css | 7 +++---- univcloud/templates/univcloud/homepage.html | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/univcloud/static/css/style.css b/univcloud/static/css/style.css index 86556ca..2ac2309 100644 --- a/univcloud/static/css/style.css +++ b/univcloud/static/css/style.css @@ -26,12 +26,11 @@ h1 { } div.gridster > ul > li { - border: 1px solid gray; + border: 1px outset gray; list-style: none; overflow: hidden; background: white; border-radius: 0em; - box-shadow: 0 0 5px black; } div.gridster > ul > li.scroll { @@ -47,10 +46,10 @@ ul li h2 { margin-top: 0; letter-spacing: 2px; font-weight: normal; - font-size: 14px; + font-size: 20px; text-decoration: none; color: black; - font-weight: bold; + font-weight: normal; } #wrap { diff --git a/univcloud/templates/univcloud/homepage.html b/univcloud/templates/univcloud/homepage.html index db403c5..00c3f00 100644 --- a/univcloud/templates/univcloud/homepage.html +++ b/univcloud/templates/univcloud/homepage.html @@ -24,7 +24,7 @@ Univcloud
  • + {% if app.background_color %}style="background-color: {{app.background_color}}; border-color: {{app.background_color}};"{% endif %}> o × {{ app.content }} @@ -92,7 +92,7 @@ $('.color').click(function() { modal: true, buttons: { "Sélectionner": function() { - $(li).css('background-color', $('.simple_color').val()); + $(li).css('background-color', $('.simple_color').val()).css('border-color', $('.simple_color').val()); $.ajax('color/' + app_id, {data: {'bg': $('.simple_color').val()}}); $( this ).dialog( "close" ); },