#80 pure css shadows, thanks to geompse + actualized dates
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4090
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 KiB |
+1
-5
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--
|
||||
WWW SQL Designer, (C) 2005-2009 Ondrej Zara, ondras@zarovi.cz
|
||||
WWW SQL Designer, (C) 2005-2010 Ondrej Zara, ondras@zarovi.cz
|
||||
Version: 2.3.2
|
||||
See license.txt for licencing information.
|
||||
-->
|
||||
@@ -21,10 +21,6 @@
|
||||
<body>
|
||||
<div id="area"></div>
|
||||
<div id="bar">
|
||||
<div class="shadow-left"></div>
|
||||
<div class="shadow-corner"></div>
|
||||
<div class="shadow-bottom"></div>
|
||||
|
||||
<input type="button" id="saveload" />
|
||||
|
||||
<hr/>
|
||||
|
||||
@@ -658,13 +658,6 @@ SQL.Table.prototype._build = function() {
|
||||
OZ.Event.add(this.dom.container,"click",this.bind(this.click));
|
||||
OZ.Event.add(this.dom.container,"dblclick",this.bind(this.dblclick));
|
||||
OZ.Event.add(this.dom.container,"mousedown",this.bind(this.down));
|
||||
|
||||
/* shadows */
|
||||
var cn = ["shadow-corner","shadow-right","shadow-bottom"];
|
||||
for (var i=0;i<cn.length;i++) {
|
||||
var d = OZ.DOM.elm("div",{className:cn[i]});
|
||||
this.dom.container.appendChild(d);
|
||||
}
|
||||
}
|
||||
|
||||
SQL.Table.prototype.setTitle = function(t) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2005-2009, Ondrej Zara
|
||||
Copyright (c) 2005-2010, Ondrej Zara
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
|
||||
+10
-55
@@ -22,33 +22,11 @@ body {
|
||||
right: 0px;
|
||||
width: 150px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#bar .shadow-corner {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
left: -8px;
|
||||
bottom: -8px;
|
||||
background-image: url(../images/bar_corner.png);
|
||||
}
|
||||
|
||||
#bar .shadow-left {
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: -8px;
|
||||
top: 0px;
|
||||
background-image: url(../images/bar_left.png);
|
||||
}
|
||||
|
||||
#bar .shadow-bottom {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
bottom: -8px;
|
||||
background-image: url(../images/bar_bottom.png);
|
||||
-moz-box-shadow: -4px 4px 8px #888; /* FF 3.5+ */
|
||||
-webkit-box-shadow: -4px 4px 8px #888; /* Safari 3.0+, Chrome */
|
||||
box-shadow: -4px 4px 8px #888; /* Opera 10.5, IE 9.0 */
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=-4px, OffY=4px, Color='#888888'); /* IE6, IE7 */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=-4px, OffY=4px, Color='#888888')"; /* IE8 */
|
||||
}
|
||||
|
||||
#bar input {
|
||||
@@ -98,36 +76,13 @@ body {
|
||||
background-color: #ddd;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
-moz-box-shadow: 4px 4px 8px #888; /* FF 3.5+ */
|
||||
-webkit-box-shadow: 4px 4px 8px #888; /* Safari 3.0+, Chrome */
|
||||
box-shadow: 4px 4px 8px #888; /* Opera 10.5, IE 9.0 */
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=4px, OffY=4px, Color='#888888'); /* IE6, IE7 */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=4px, OffY=4px, Color='#888888')"; /* IE8 */
|
||||
}
|
||||
|
||||
.table .shadow-corner {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: -8px;
|
||||
bottom: -8px;
|
||||
background-image: url(../images/table_corner.png);
|
||||
}
|
||||
|
||||
.table .shadow-right {
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
right: -8px;
|
||||
top: 0px;
|
||||
background-image: url(../images/table_right.png);
|
||||
}
|
||||
|
||||
.table .shadow-bottom {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
bottom: -8px;
|
||||
background-image: url(../images/table_bottom.png);
|
||||
}
|
||||
|
||||
|
||||
.table_selected {
|
||||
border: 2px solid #000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user