Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Redmine Second Edition

You're reading from   Mastering Redmine Second Edition

Arrow left icon
Product type Paperback
Published in May 2016
Publisher
ISBN-13 9781785881305
Length 366 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
ANDRIY LESYUK ANDRIY LESYUK
Author Profile Icon ANDRIY LESYUK
ANDRIY LESYUK
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Familiar with Redmine FREE CHAPTER 2. Installing Redmine 3. Configuring Redmine 4. Issue Tracking 5. Managing Projects 6. Text Formatting 7. Access Control and Workflow 8. Time Tracking 9. Personalization 10. Plugins and Themes 11. Customizing Redmine A. Quick Syntax Reference
Index

Customizing the theme

A common scenario of customization is when users first choose a theme for Redmine and then slightly modify it to make it fit their needs. As a result, such users lose the possibility to upgrade that theme in the future (this is because it henceforth contains their changes, which are going to be overridden during an upgrade).

Suppose you want to customize the default Redmine theme. Instead of modifying its files under the public/stylesheets directory, let's create a new theme based on it. To do this, let's create the mastering-redmine subdirectory for our theme (this will be its name) in the public/themes directory. In the newly created directory, create the stylesheets subdirectory, and the application.css file in it.

Now add the following code to that CSS file:

@import url(../../../stylesheets/application.css);

#top-menu { background: #373c40; }
#header { background-color: #e7692c; }
#main-menu li a:hover { background-color: #d92238; }

Here, the first line...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image