Skip to content

Commit

Permalink
Style and template updates for object expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Perkins committed Feb 23, 2012
1 parent 3b1eb0b commit 64ccda2
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 38 additions & 6 deletions src/style.sass
Expand Up @@ -54,22 +54,54 @@
display : none
.history
margin : 8px
padding : 4px 4px 4px 16px
padding : 4px
font-family : monospace
list-style-type : circle
overflow-y : scroll
li
padding : 4px
cursor : pointer
padding : 4px 1em 4px 4px
overflow : hidden
text-overflow : ellipsis
white-space : nowrap
position : relative
&:hover
background-color : rgba(255,255,0,0.2)
list-style-type : disc
&:active
background-color : rgba(255,255,0,0.8)
&.cs-error
color : orange
&.js-error
color : red
&.object span.result
cursor: pointer
&.property-value
list-style-type: none
span.property
color: purple
li
padding-left: 3em
button
cursor: pointer
button.load
position : absolute
right : 0
top : 0
border : 1px solid #ccc
padding : 2px
background : white
&:hover
background-color : rgba(255,255,0,0.2)
&:active
background-color : rgba(255,255,0,0.8)
button.expand
background: transparent
border: 0
width: 1em
span.opened
display: none
&.open, &.open > span.value
> button span.opened
display: inline
> button span.closed
display: none
p.instructions
text-align : center
.clear, .replay
Expand Down

0 comments on commit 64ccda2

Please sign in to comment.