style: remove box shadows, adapt box border colors

This commit is contained in:
Frédéric Péters 2013-07-31 13:40:24 +02:00
parent d6764eed20
commit 1cd8795a95
2 changed files with 5 additions and 6 deletions

View File

@ -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 {

View File

@ -24,7 +24,7 @@ Univcloud
<li data-row="{{ app.row }}" data-col="{{ app.col }}"
data-sizex="{{ app.sizex }}" data-sizey="{{ app.sizey }}"
class="{% if app.scroll %}scroll {% endif %}"
{% if app.background_color %}style="background-color: {{app.background_color}}"{% endif %}>
{% if app.background_color %}style="background-color: {{app.background_color}}; border-color: {{app.background_color}};"{% endif %}>
<span class="color">o</span>
<span class="close">×</span>
{{ 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" );
},