Skip to content

Commit

Permalink
cleaning up nifty_layout CSS and SASS
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Nov 11, 2008
1 parent 74ac638 commit afd61f7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,3 +1,5 @@
* cleaning up nifty_layout stylesheet

0.2.1 (November 10th, 2008)

* adding missing nifty_authentication files
Expand Down
9 changes: 5 additions & 4 deletions rails_generators/nifty_layout/templates/stylesheet.css
Expand Up @@ -14,7 +14,7 @@ a {

.clear {
clear: both;
height: 0px;
height: 0;
overflow: hidden;
}

Expand Down Expand Up @@ -42,8 +42,6 @@ a {
border: solid 1px #C66;
}



.fieldWithErrors {
display: inline;
}
Expand All @@ -62,18 +60,21 @@ a {
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: 0px;
margin: 0;
background-color: #c00;
color: #fff;
}

#errorExplanation p {
color: #333;
margin-bottom: 0;
padding: 8px;
}

#errorExplanation ul {
margin: 2px 24px;
}

#errorExplanation ul li {
font-size: 12px;
list-style: disc;
Expand Down
17 changes: 9 additions & 8 deletions rails_generators/nifty_layout/templates/stylesheet.sass
Expand Up @@ -6,17 +6,14 @@ body
:family Verdana, Helvetica, Arial
:size 14px

ul li
:list-style none

a
:color #0000FF
img
:border none

.clear
:clear both
:height 0px
:height 0
:overflow hidden

#container
Expand All @@ -40,19 +37,23 @@ a
:background-color #FCC
:border solid 1px #C66

.fieldWithErrors
:display inline

#errorExplanation
:width 400px
:border 2px solid #CF0000
:padding 0px
:padding 0
:padding-bottom 12px
:margin-bottom 20px
:background-color #f0f0f0
h2
:text-align left
:font-weight bold
:padding 5px 5px 5px 15px
:font-size 12px
:margin 0px
:margin 0
:font
:weight bold
:size 12px
:background-color #c00
:color #fff
p
Expand Down

0 comments on commit afd61f7

Please sign in to comment.