Skip to content

Commit

Permalink
Merge pull request #106 from tatermelon/editablecells
Browse files Browse the repository at this point in the history
Update to editable cells
  • Loading branch information
mcking65 committed Aug 29, 2016
2 parents ea32b02 + 024bdf2 commit ce36564
Show file tree
Hide file tree
Showing 6 changed files with 962 additions and 279 deletions.
24 changes: 23 additions & 1 deletion examples/grid/css/dataGrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.hidden {
display: none;
display: none !important;
}

[role="button"] {
Expand Down Expand Up @@ -38,3 +38,25 @@
right: 1em;
top: 0.8em;
}

.edit-text-button {
display: block;
position: relative;
}

.edit-text-button:hover {
opacity: 0.6;
}

.edit-text-button::after {
background-image: url('../imgs/pencil-icon.png');
background-position: center;
background-repeat: no-repeat;
background-size: 44px;
content: ' ';
height: 17px;
position: absolute;
right: -24px;
top: 0px;
width: 20px;
}
35 changes: 35 additions & 0 deletions examples/grid/css/menuButton.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
button {
cursor: pointer;
font-size: 110%;
}

.menu-wrapper {
position: relative
}

ul[role="menu"] {
display: none;
position: absolute;
margin: 0;
padding: 0;
z-index: 1;
}

ul[role="menu"] li {
list-style: none;
}

[role="menu"] {
padding: 0;
width: 8em;
border: thin solid black;
background-color: #EEEEEE;
}
[role="menuitem"] {
padding: 0.25em;
}

[role="menuitem"]:focus,
[role="menuitem"]:hover {
background-color: #FFFFFF;
}
Loading

0 comments on commit ce36564

Please sign in to comment.