Created
June 6, 2017 12:22
-
-
Save zindel/a8a694fdc14c0a5fba730ce39c730359 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Cell = stylesheet.style("div", { | |
displayName: "Cell", | |
base: { | |
baseline: "100%", | |
overflow: "hidden", | |
boxSizing: "border-box", | |
position: "absolute", | |
top: 0, | |
left: 0, | |
right: "2px", | |
bottom: "2px", | |
borderBottom: "solid 1px #eee", | |
borderRight: "solid 1px #eee", | |
paddingTop: 2, | |
paddingLeft: 3, | |
paddingBottom: 3, | |
fontSize: "0.9em" | |
}, | |
highlighted: { | |
background: "#F0F8FF" | |
}, | |
focused: { | |
border: "solid 2px #4169E1", | |
background: "white", | |
paddingBottom: 2 | |
}, | |
numeric: { | |
paddingRight: 3, | |
textAlign: "right" | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment