HTML proto 1

Inital commit for UX/VD proto
This commit is contained in:
Vince 2013-06-03 02:50:30 +02:00
parent c3c95daa2e
commit caa4cc8735
11 changed files with 9447 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

View File

@ -0,0 +1,72 @@
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div class="main-wrapper">
<div class="tools">
<div class="tool"></div>
<div class="tool"></div>
<div class="tool selected"></div>
<div class="tool"></div>
<div class="tool has-group"></div>
<div class="tool has-group"></div>
<div class="tool"></div>
<div class="tool"></div>
<div class="tool has-group"></div>
</div>
<div class="canvas">
<img class="pusher" src="img/transparent_background.png"/>
<div class="draw-area"></div>
</div>
<div class="previewlist">
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">1</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">2</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">3</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">4</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">5</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">6</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
<div class="preview-item">
<img src="img/preview-state-1.png">
<div class="tile-count preview-item-overlay">7</div>
<div class="tile-close preview-item-overlay">x</div>
</div>
</div>
<div class="animpreview">
<div class="animpreview-inner">
<img src="img/preview.gif"/>
</div>
</div>
</div>
<script src="jquery-1.8.0.js"></script>
<script src="main.js"></script>
</body>
</html>

9227
resources/proto-ui-1/jquery-1.8.0.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,145 @@
body {
margin: 0;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
}
.main-wrapper {
padding: 10px;
position: absolute;
top:0; right: 0; bottom: 0; left: 0;
background: -webkit-radial-gradient(circle, #000, #373737);
}
.tools {
float: left;
width: 100px;
margin-right: 10px;
height: 100%;
}
.tool {
position: relative;
float: left;
height: 46px;
width: 46px;
background: no-repeat url(img/magicwand-icon.png);
background-size: 34px 34px;
background-position-x: 6px;
background-position-y: 6px;
background-color: rgba(200,200,200, .1);
margin: 1px;
}
.tool.selected,
.tool:hover {
cursor: pointer;
background-color: rgba(240,200,230, .3);
}
.tool.has-group:after {
content: " ";
position: absolute;
bottom: 2px;
right: 2px;
width: 0;
height: 0;
border: 4px #eee solid;
border-top-color: transparent;
border-left-color: transparent;
}
.tool.has-group:hover:after {
border-color: gold;
border-top-color: transparent;
border-left-color: transparent;
}
.canvas {
position: relative;
height: 100%;
float: left;
margin-right: 10px;
background-color: blue;
}
.canvas .draw-area {
position: absolute;
top:0; right: 0; bottom: 0; left: 0;
background: repeat url(img/transparent_background.png);
}
.canvas .pusher {
height: 100%;
float: left;
background-color: red;
}
.previewlist {
float: left;
background-color: red;
height: 100%;
overflow-y: scroll;
}
.preview-item {
position: relative;
border: gray 1px solid;
width: 200px;
height: 200px;
background-color: violet;
}
.preview-item-overlay {
z-index: 10;
position: absolute;
background-color: rgba(0, 0, 0, 0.3);
font-size: 14px;
color: white;
padding: 5px 8px;
cursor: pointer;
font-weight: bold;
display: none;
}
.preview-item:hover .preview-item-overlay,
.preview-item-overlay:hover {
display: block;
opacity: 1.0;
}
.preview-item-overlay.tile-count {
display: block;
opacity: 0.5;
border-bottom-right-radius: 3px;
top: 0;
left: 0;
}
.preview-item-overlay.tile-close {
border-bottom-left-radius: 3px;
top: 0;
right: 0;
}
.preview-item img {
width: 100%;
}
.animpreview {
overflow: hidden;
text-align: center;
display: table;
height: 100%;
}
.animpreview .animpreview-inner {
display: table-cell;
vertical-align: middle;
}
.animpreview img {
width: 50%;
box-shadow: 0 0 5px 5px #000;
}

View File

@ -0,0 +1,3 @@
$().ready(function(){
});