Skip to content

Commit

Permalink
slide-tag css finished
Browse files Browse the repository at this point in the history
  • Loading branch information
RixTox committed Dec 19, 2013
1 parent 9789fb7 commit 3bd7bbe
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
1 change: 1 addition & 0 deletions .nodemonignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.git
client/*
15 changes: 11 additions & 4 deletions client/src/styles/main.styl
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,20 @@ icon
background #fff
position absolute
white-space nowrap
right 0
top 0
bottom 0
right 50px
transform translateX(100%)
transition all 0.3s
&:hover
right 0
transform translateX(0)
box-shadow -1px 0 15px rgba(0,0,0,0.35)
.message
margin-top -8px
line-height 50px
vertical-align top
.shown, .hidden
display inline-block

.success
color #2cca2c
.fail
color #dc1d25
5 changes: 5 additions & 0 deletions client/static/lib/prefixfree.min.js

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

5 changes: 3 additions & 2 deletions client/views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ block body
input(placeholder='Number')
input(type='password', placeholder='Password')
.control
icon.button.icon-remove
icon.success.icon-tick
icon.button.icon-cross
li.card-item
.input
input(placeholder='Number')
input(type='password', placeholder='Password')
.control.message
.control
.shown
icon.fail.icon-cross
.hidden
Expand Down
1 change: 1 addition & 0 deletions client/views/layouts/default.jade
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ html
block body
script(src='lib/jquery.min.js')
script(src='lib/underscore.min.js')
script(src='lib/prefixfree.min.js')
block scripts

0 comments on commit 3bd7bbe

Please sign in to comment.