From: Jean-Philippe Lang Date: Mon, 25 Dec 2006 09:56:21 +0000 (+0000) Subject: removed menu.css and rails.css (content merged into application.css) X-Git-Tag: 0.4.0~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=676fe403abf2f735a352769383d24b588e3b7c29;p=redmine.git removed menu.css and rails.css (content merged into application.css) git-svn-id: http://redmine.rubyforge.org/svn/trunk@111 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index b2169fd4d..9e76b5a0d 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -6,8 +6,6 @@ <%= stylesheet_link_tag "application" %> -<%= stylesheet_link_tag "menu" %> -<%= stylesheet_link_tag "rails" %> <%= stylesheet_link_tag "print", :media => "print" %> <%= javascript_include_tag :defaults %> <%= javascript_include_tag 'menu' %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 9681103db..b2fbee0d4 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -273,6 +273,76 @@ table.list tbody th { border: 1px solid #d7d7d7; } +/********** Validation error messages *************/ +#errorExplanation { + width: 400px; + border: 0; + padding: 7px; + padding-bottom: 3px; + margin-bottom: 0px; +} + +#errorExplanation h2 { + text-align: left; + font-weight: bold; + padding: 5px 5px 10px 26px; + font-size: 1em; + margin: -7px; + background: url(../images/alert.png) no-repeat 6px 6px; +} + +#errorExplanation p { + color: #333; + margin-bottom: 0; + padding: 5px; +} + +#errorExplanation ul li { + font-size: 1em; + list-style: none; + margin-left: -16px; +} + +/*========== Drop down menu ==============*/ +div.menu { + background-color: #FFFFFF; + border-style: solid; + border-width: 1px; + border-color: #7F9DB9; + position: absolute; + top: 0px; + left: 0px; + padding: 0; + visibility: hidden; + z-index: 101; +} + +div.menu a.menuItem { + font-size: 10px; + font-weight: normal; + line-height: 2em; + color: #000000; + background-color: #FFFFFF; + cursor: default; + display: block; + padding: 0 1em; + margin: 0; + border: 0; + text-decoration: none; + white-space: nowrap; +} + +div.menu a.menuItem:hover, div.menu a.menuItemHighlight { + background-color: #80b0da; + color: #ffffff; +} + +div.menu a.menuItem span.menuItemText {} + +div.menu a.menuItem span.menuItemArrow { + margin-right: -.75em; +} + /**************** Sidebar styles ****************/ #subcontent{ diff --git a/public/stylesheets/menu.css b/public/stylesheets/menu.css deleted file mode 100644 index b7084c2e7..000000000 --- a/public/stylesheets/menu.css +++ /dev/null @@ -1,39 +0,0 @@ -/*========== Drop down menu ==============*/ -div.menu { - background-color: #FFFFFF; - border-style: solid; - border-width: 1px; - border-color: #7F9DB9; - position: absolute; - top: 0px; - left: 0px; - padding: 0; - visibility: hidden; - z-index: 101; -} - -div.menu a.menuItem { - font-size: 10px; - font-weight: normal; - line-height: 2em; - color: #000000; - background-color: #FFFFFF; - cursor: default; - display: block; - padding: 0 1em; - margin: 0; - border: 0; - text-decoration: none; - white-space: nowrap; -} - -div.menu a.menuItem:hover, div.menu a.menuItemHighlight { - background-color: #80b0da; - color: #ffffff; -} - -div.menu a.menuItem span.menuItemText {} - -div.menu a.menuItem span.menuItemArrow { - margin-right: -.75em; -} diff --git a/public/stylesheets/rails.css b/public/stylesheets/rails.css deleted file mode 100644 index 3f7b6ca41..000000000 --- a/public/stylesheets/rails.css +++ /dev/null @@ -1,57 +0,0 @@ - -.fieldWithErrors { - padding: 2px; - margin: 0px; - background-color: red; - display: table; -} - -#errorExplanation { - width: 400px; - border: 0; - padding: 7px; - padding-bottom: 3px; - margin-bottom: 0px; - /*background-color: #f0f0f0;*/ -} - -#errorExplanation h2 { - text-align: left; - font-weight: bold; - padding: 5px 5px 10px 26px; - font-size: 1em; - margin: -7px; - background: url(../images/alert.png) no-repeat 6px 6px; -} - -#errorExplanation p { - color: #333; - margin-bottom: 0; - padding: 5px; -} - -#errorExplanation ul li { - font-size: 1em; - list-style: none; - margin-left: -16px; -} - -div.uploadStatus { - margin: 5px; -} - -div.progressBar { - margin: 5px; -} - -div.progressBar div.border { - background-color: #fff; - border: 1px solid grey; - width: 100%; -} - -div.progressBar div.background { - background-color: #333; - height: 18px; - width: 0%; -}