Commit 48108550 authored by Ryan Lee's avatar Ryan Lee

initial commit

parents
openproject-themes-zepheira
===========================
OpenProject theme. Maintained by Zepheira.
Derived from instructions at https://www.openproject.org/topics/731
Ryan Lee <ryanlee@zepheira.com>
@import zepheira/variables
@import default
@import zepheira/custom_theme_rules
/* Custom CSS rules will be included after all other CSS rules/files
* e.g.:
*
* .required
* color: #008BD0
*/
#logo .home-link
background-position: 5px 0
background-size: 230px auto
margin-top: 5px
height: 76px
.required
color: #663333
a.button_highlight, .button_highlight
background: linear-gradient(to bottom, #663333 0%, #772200 100%) repeat scroll
border: 1px solid #772200
/* Override SASS variables from core here. Check available variables in:
* app/assets/stylesheets/global/_variables.sass
*/
//$font_family_bold: 'LatoBold', 'Lucida Grande', H//elvetica, Arial, sans-serif !default
$global_font_color: #484848
$global_font_size: 12px
//$global_line_height: 1.5 !default
$header_height: 55px
$header_bg_color: #333333
//$header_border_bottom_color: #3493B3 !default
$header_border_bottom_width: 0
//$header_item_font_size: 14px !default
//$header_item_font_color: #FFFFFF !default
//$header_item_font_hover_color: #FFFFFF !default
$header_item_bg_hover_color: #111111
//$header_drop_down_bg_color: #FFFFFF !default
//$header_drop_down_border_color: #E0E0E0 !default
$header_drop_down_item_font_color: #222222
//$header_drop_down_item_font_hover_color: #FFFFFF !default
$header_logo_bg_color: #000000
$header_home_link_bg: url(image-path('zepheira/logo-header.png')) no-repeat 0 0
//$header_drop_down_projects_search_font_color: #555555 !default
//$header_drop_down_projects_search_bg_color: #E0E0E0 !default
//$header_drop_down_projects_search_input_bg_color: #FFFFFF !default
//$header_search_field_bg_color: #FFFFFF !default
//$header_search_field_font_color: #000000 !default
//$header_search_field_border: 0 !default
$footer_bg_color: #333333
$footer_font_color: #DDDDDD
//$footer_height: 55px !default
//$footer_content_height: 55px !default
//$footer_content_line_height: 55px !default
//$footer_content_link_color: #FFFFFF !default
$main_menu_width: 250px
//$main_menu_folded_width: 50px !default
//$main_menu_border_color: #E7E7E7 !default
//$main_menu_border_width: 1px !default
//$main_menu_item_height: 40px !default
//$main_menu_item_border_color: #EAEAEA !default
//$main_menu_item_border_width: 1px !default
//$main_menu_enable_toggle_highlighting: false !default
//$main_menu_bg_color: #F8F8F8 !default
$main_menu_bg_hover_selected_background: url() no-repeat #222222
//$main_menu_font_color: #333333 !default
//$main_menu_selected_font_color: #FFFFFF !default
//$main_menu_font_size: 15px !default
$main_menu_selected_hover_indicator_color: #222222
//$main_menu_selected_hover_indicator_width: 4px !default
//$main_menu_navigation_toggler_font_hover_color: #FFFFFF !default
//$main_menu_child_item_height: 38px !default
//$main_menu_child_menu_bg_color: #FFFFFF !default
$main_menu_child_bg_hover_selected_color: #222222
//$main_menu_child_menu_border_color: #E7E7E7 !default
$main_menu_child_font_color: #333333 !default
//$main_menu_child_font_size: 13px !default
//$main_menu_child_selected_font_color: #FFFFFF !default
//$main_menu_sidebar_font_color: #333333 !default
//$main_menu_sidebar_h3_color: #333333 !default
//$main_menu_sidebar_link_color: #333333 !default
//$main_menu_sidebar_h3_border_top_color: #1F4654 !default
//$main_menu_sidebar_h3_font_size: 15px !default
//$main_menu_sidebar_button_font_color: #FFFFFF !default
//$main_menu_sidebar_button_hover_font_color: #FFFFFF !default
$main_menu_sidebar_button_bg_color: #772200
$main_menu_sidebar_button_hover_bg_color: #993311
//$breadcrumb_height: 40px !default
//$breadcrumb_bg_color: #F8F8F8 !default
//$breadcrumb_border_color: #E7E7E7 !default
//$breadcrumb_font_size: 12px !default
//$breadcrumb_highlighted_font_size: 14px !default
//$breadcrumb_font_color: #555555 !default
$content_default_border_color: #EAEAEA !default
$content_default_border_width: 1px !default
$content_link_color: #772200
$content_link_hover_active_color: #993311
$content_icon_link_color: #4b4b4b
$content_icon_link_hover_color: #993311
//$content_link_font_weight: bold !default
$content_icon_color: #772200
//$content_form_bg_color: #F8F8F8 !default
//$content_form_border: 1px solid #EAEAEA !default
//$content_from_input_width: 300px !default
//$content_form_input_border: 1px solid #CACACA !default
//$content_form_input_hover_border: 1px solid #888888 !default
//$content_form_separator_color: #DDDDDD !default
//$content_flash_msg_font_color: #111111 !default
//$content_flash_error_msg_bg_color: #FF8B8B !default
//$content_flash_notice_msg_bg_color: #C4EA96 !default
//$content_flash_warning_msg_bg_color: #EBD785 !default
//$content_calendar_border_width: 1px !default
//$content_calendar_border_color: #D7D7D7 !default
//$content_calendar_head_cell_bg_color: #EEEEEE !default
//$content_calendar_cell_border_width: 1px !default
//$content_calendar_cell_border_color: #D7D7D7 !default
//$content_calendar_cell_today_bg_color: #FFFFDD !default
//$content_calendar_inactive_day_font_color: #FFFFFF !default
//$content_calendar_inactive_day_bg_color: #4B4B4B !default
$button_bg_color: #772200
$button_bg_hover_color: #993311
//$button_font_color: #222222 !default
//$button_font_hover_color: #222222 !default
//$button_highlight_font_color: #FFFFFF !default
//$button_highlight_font_hover_color: #FFFFFF !default
//$button_border_radius: 2px !default
//$content_box_border: 1px solid #EAEAEA !default
$content_box_bg_color: #FAF8F6
//$my_page_edit_box_border_color: #06799F !default
module OpenProject
module Themes
module Zepheira
require 'open_project/themes/zepheira/engine'
def self.assets_path
@assets_path ||= Engine.root.join('app/assets').to_s
end
end
end
end
require 'open_project/themes/theme'
module OpenProject::Themes::Zepheira
class ZepheiraTheme < OpenProject::Themes::Theme
def name
'Zepheira'
end
def assets_path
OpenProject::Themes::Zepheira.assets_path
end
end
end
module OpenProject::Themes::Zepheira
class Engine < ::Rails::Engine
engine_name :openproject_themes_zepheira
initializer 'themes.zepheira.register_themes' do
ActiveSupport.on_load(:themes) do
require 'open_project/themes/zepheira/all'
end
end
config.to_prepare do
require 'redmine/plugin'
require 'open_project/themes/zepheira/version'
Redmine::Plugin.register 'Zepheira-Theme' do
name 'Zepheira OpenProject Theme'
author 'Ryan Lee'
description 'Zepheira theme for OpenProject'
version OpenProject::Themes::Zepheira::VERSION
url 'http://zepheira.com'
author_url 'http://zepheira.com'
end
end
end
end
module OpenProject
module Themes
module Zepheira
VERSION = '1.0.0'
end
end
end
require 'open_project/themes/zepheira'
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "./lib/open_project/themes/zepheira/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "openproject-themes-zepheira"
s.version = OpenProject::Themes::Zepheira::VERSION
s.authors = ["Ryan Lee"]
s.email = "systems@zepheira.com"
s.homepage = "http://zepheira.com/"
s.summary = "Zepheira OpenProject theme"
s.description = "Zepheira OpenProject theme for corporate branding"
s.files = Dir["{app,lib}/**/*", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 3.2.8"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment