diff --git a/index.html b/index.html index ea5a2f8..1d53c46 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - +
@@ -22,76 +22,85 @@ } + * { + box-sizing:border-box; + } + html, body { font-family:sans-serif; margin:0; } - svg { - width:940px; - } - .sorter { - border:1px solid #e7e7e7; + background:#f4f4f4; + border:1px solid #bbb; + height:250px; margin:20px auto; padding:10px; + position:relative; width:960px; } - .range-container { - display:inline-block; - height:100%; - text-align:right; - vertical-align:top; - width:25%; + .sorter-sidebar { + height:230px; + position:absolute; + right:10px; + top:10px; + width:160px; } - .range-container input { - height:50px; - width:80%; + .sorter-svg { + background:#fff; + border:1px solid #ccc; + height:180px; + left:10px; + position:absolute; + top:10px; + width:770px; } - .message-container { - background:khaki; - display:inline-block; - height:100%; - vertical-align:top; - width:50%; + .sorter-svg .marker { + fill:#bbb; } - .message-container .message { - font-size:13px; + .sorter-svg .marker text { + fill:#2E4E7F; + font-size:10px; } - .top { - + .sorter-properties { + height:40px; + left:10px; + position:absolute; + top:200px; + width:770px; } - .bottom { - height:100px; + .sorter-properties .property { + border-right:1px solid #ddd; + float:left; + text-align:center; + width:128px; } - .top .marker { - fill:#bbb; + .sorter-properties .p6 { + border:0; } - .top .marker text { - fill:#2E4E7F; + .sorter-properties .property .title { + color:#777; font-size:10px; } - #marker1 { - height:30px; - left:10px; - top:50px; - width:30px; + .sorter-properties .property .value { + font-size:13px; + margin-top:10px; } .controls-container { - display:inline-block; - height:100%; - vertical-align:top; - width:25%; + height:50px; + padding-bottom:10px; + text-align:center; } .controls-container button { @@ -102,7 +111,7 @@ font-size:12px; height:30px; line-height:30px; - margin:0 5px 10px 0; + margin:0 2px; text-align:center; transition:background 0.2s ease, border 0.2s ease; vertical-align: top; @@ -114,11 +123,43 @@ border:1px solid #2E4E7F; } + .controls-container button:focus { + outline:0; + } + .controls-container .stat { font-size:13px; font-weight:bold; line-height:30px; } + + .message-container { + border-top:1px solid #ddd; + font-size:13px; + height:100px; + line-height:20px; + text-align:right; + } + + .message-container .message { + border-bottom:1px solid #ddd; + font-size:13px; + } + + .range-container { + height:50px; + margin-top:30px; + text-align:center; + } + + .range-container input { + margin-bottom:10px; + } + + .range-container .msg { + font-size:13px; + } + @@ -127,7 +168,15 @@