LoginSignup
1
0

More than 5 years have passed since last update.

Redmine3.3.2の+ボタンのテーマ適応 Flat theme編

Posted at

やりたいこと

redmine3.3系から追加された通称?「+ボタン」がテーマ適応を行うと後ろに隠れちゃう問題などが3.3.2で解消されたらしい。
有効にしてみたらFlat themeがその部分まだ対応してないじゃないですかやだーというのを解消したい。

前提

  • Flat themeを使ってる人
  • Redmine 3.3.1以上

cssの書き換え

該当ファイル

  • /redmine path/public/themes/Flat-theme-path/stylesheets/application.css

該当箇所:642行目あたりに追加

#main-menu li a.new-object {
  background-color: #202020;
}

#main-menu .menu-children {
  display: none;
  position:absolute;
  width: inherit;
  z-index:45;
  background-color:#fff;
  border-right: 1px solid #202020;
  border-bottom: 1px solid #202020;
  border-left: 1px solid #202020;
}

#main-menu .menu-children li a:hover {color: #fff; background-color: #202020;}

いいわけ

web系知識皆無なため、いらない箇所まで書いちゃってるかもしれません。
得意な人はすでに自分で直してると思いますが、適宜読み直してください。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0