Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
use an svg handle
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jun 6, 2014
1 parent 6bca4c6 commit 4baf3f4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core-splitter.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN

:host {
display: block;
width: 10px;
background: #efefef url(handle.png) no-repeat center;
width: 12px;
background: #efefef url(handle.svg) no-repeat center;
box-shadow: inset 0 0 2px 1px #ccc;
cursor: col-resize;
}

:host(.horizontal) {
width: auto;
height: 10px;
height: 12px;
cursor: row-resize;
background-image: url(handle_horiz.png);
background-image: url(handle-h.svg);
}

:host(:hover, :active) {
Expand Down
1 change: 0 additions & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

</head>
<body unresolved>

<div class="container" horizontal layout>
<div id="box1">left</div>
<core-splitter direction="left"></core-splitter>
Expand Down
4 changes: 4 additions & 0 deletions handle-h.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed handle.png
Binary file not shown.
4 changes: 4 additions & 0 deletions handle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed handle_horiz.png
Binary file not shown.

0 comments on commit 4baf3f4

Please sign in to comment.