Skip to content

Commit

Permalink
Merge pull request #11 from ervilis/change_errornote
Browse files Browse the repository at this point in the history
Change .errornote to .errorlist style
  • Loading branch information
hersonls committed Dec 30, 2014
2 parents 9bcec99 + 8e9d29e commit 80223ae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions djamin/static/admin/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ thead th.sorted {
}

thead th.sorted .text {
padding-right: 42px;
padding-right: 42px;
}

table thead th .text span {
Expand Down Expand Up @@ -454,9 +454,9 @@ form .module {
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
background-image: url(../img/nav-bg.gif);
background-position: bottom;
opacity: 0.4;
background-image: url(../img/nav-bg.gif);
background-position: bottom;
opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
Expand All @@ -471,7 +471,7 @@ form .module {
}

.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
opacity: 0.3;
opacity: 0.3;
}


Expand Down Expand Up @@ -556,11 +556,11 @@ ul.messagelist li.error{
.errornote {
font-size: 12px !important;
display: block;
padding: 4px 5px 4px 25px;
padding: 4px 5px 4px 5px;
margin: 0 0 3px 0;
border: 1px solid red;
color: red;
background: #ffc url(../img/icon_error.gif) 5px .3em no-repeat;
border: 1px solid #ebccd1;
color: #a94442;
background-color: #f2dede;
}

ul.errorlist {
Expand All @@ -579,7 +579,7 @@ ul.errorlist {
border-radius: 5px;
}

.errorlist li:before {
.errorlist li:before, .errornote:before {
display: block;
float: left;
margin-right: 2px;
Expand All @@ -590,7 +590,7 @@ ul.errorlist {
}

.errorlist li a {
color: white;
color: white;
text-decoration: underline;
}

Expand Down
4 changes: 2 additions & 2 deletions djamin/static/admin/css/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ table thead th.sorted .sortoptions {
}

thead th.sorted .text {
padding-right: 0;
padding-left: 42px;
padding-right: 0;
padding-left: 42px;
}

/* dashboard styles */
Expand Down

0 comments on commit 80223ae

Please sign in to comment.