SUZUKI Miho
null+****@clear*****
Wed Oct 3 12:53:05 JST 2012
SUZUKI Miho 2012-10-03 12:53:05 +0900 (Wed, 03 Oct 2012) New Revision: bbca18f4a64c0055281002e579abc82dd1fb70a6 https://github.com/logaling/logaling-server/commit/bbca18f4a64c0055281002e579abc82dd1fb70a6 Log: Change style when error Modified files: app/assets/stylesheets/screen.css.scss Modified: app/assets/stylesheets/screen.css.scss (+10 -23) =================================================================== --- app/assets/stylesheets/screen.css.scss 2012-10-03 01:21:50 +0900 (a4a57c4) +++ app/assets/stylesheets/screen.css.scss 2012-10-03 12:53:05 +0900 (fdb7422) @@ -1,27 +1,14 @@ + at import "bootstrap_and_overrides"; + #notice { color: green; } -.field_with_errors { - padding: 2px; - background-color: red; - display: table; } - #error_explanation { - width: 450px; - border: 2px solid red; - padding: 7px; - padding-bottom: 0; - margin-bottom: 20px; - background-color: #f0f0f0; - h2 { - text-align: left; - font-weight: bold; - padding: 5px 5px 5px 15px; - font-size: 12px; - margin: -7px; - margin-bottom: 0px; - background-color: #c00; - color: #fff; } - ul li { - font-size: 12px; - list-style: square; } } + @extend .alert; + @extend .alert-error; + @extend .alert-block; +} + +.field_with_errors { + @extend .control-group.error +} -------------- next part -------------- An HTML attachment was scrubbed...下載