summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/fonts/korolev-medium-compressed.otfbin0 -> 28796 bytes
-rw-r--r--app/assets/images/logo_dark.pngbin0 -> 2858 bytes
-rw-r--r--app/assets/images/logo_white.pngbin0 -> 1681 bytes
-rw-r--r--app/assets/stylesheets/main.scss2
-rw-r--r--app/assets/stylesheets/sections/header.scss20
-rw-r--r--app/assets/stylesheets/themes/ui_basic.scss32
-rw-r--r--app/assets/stylesheets/themes/ui_mars.scss12
-rw-r--r--app/assets/stylesheets/themes/ui_modern.scss28
-rw-r--r--app/views/layouts/_head.html.haml1
-rw-r--r--config/application.rb3
10 files changed, 63 insertions, 35 deletions
diff --git a/app/assets/fonts/korolev-medium-compressed.otf b/app/assets/fonts/korolev-medium-compressed.otf
new file mode 100644
index 00000000000..e3817cec857
--- /dev/null
+++ b/app/assets/fonts/korolev-medium-compressed.otf
Binary files differ
diff --git a/app/assets/images/logo_dark.png b/app/assets/images/logo_dark.png
new file mode 100644
index 00000000000..fab64c2d5a9
--- /dev/null
+++ b/app/assets/images/logo_dark.png
Binary files differ
diff --git a/app/assets/images/logo_white.png b/app/assets/images/logo_white.png
new file mode 100644
index 00000000000..3f74025449c
--- /dev/null
+++ b/app/assets/images/logo_white.png
Binary files differ
diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss
index 71d09883006..ad8be0bc58d 100644
--- a/app/assets/stylesheets/main.scss
+++ b/app/assets/stylesheets/main.scss
@@ -23,6 +23,8 @@ $blue_link: #2fa0bb;
$style_color: #474D57;
$hover: #FDF5D9;
+/** GITLAB Fonts **/
+@font-face { font-family: Korolev; src: url('korolev-medium-compressed.otf'); }
/** MIXINS **/
@mixin shade {
diff --git a/app/assets/stylesheets/sections/header.scss b/app/assets/stylesheets/sections/header.scss
index c08404c324b..d0fb662e69e 100644
--- a/app/assets/stylesheets/sections/header.scss
+++ b/app/assets/stylesheets/sections/header.scss
@@ -26,23 +26,25 @@ header {
float:left;
position:relative;
top:-5px;
-
a {
float:left;
h1 {
- text-indent:-9999px;
+ padding-top: 5px;
width:102px;
- background: url('logo_text.png') no-repeat 0px -3px;
+ background: url('logo_dark.png') no-repeat 0px -3px;
float:left;
margin-left:5px;
- font-size:20px;
+ font-size:36px;
line-height:36px;
- font-weight:bold;
- color:#aaa;
+ font-weight:normal;
+ color:$style_color;
text-shadow: 0 1px 1px #FFF;
padding-left:50px;
+ height:40px;
+ font-family: 'Korolev', sans-serif;
}
+
}
.separator {
margin-left:20px;
@@ -68,14 +70,16 @@ header {
*
*/
.project_name {
+ position:relative;
float:left;
margin:0;
margin-right:30px;
- font-size:24px;
+ font-size:36px;
line-height:36px;
- font-weight:500;
+ font-weight:normal;
color:$style_color;
text-shadow: 0 1px 1px #FFF;
+ font-family: 'Korolev', sans-serif;
}
.fbtn {
diff --git a/app/assets/stylesheets/themes/ui_basic.scss b/app/assets/stylesheets/themes/ui_basic.scss
index 09ff0747470..cf5eda1c893 100644
--- a/app/assets/stylesheets/themes/ui_basic.scss
+++ b/app/assets/stylesheets/themes/ui_basic.scss
@@ -15,4 +15,36 @@
color: $blue_link;
}
}
+
+ header {
+ .fbtn {
+ .btn {
+ background-color: #F8F8F8;
+ background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#ECECEC));
+ background-image: -webkit-linear-gradient(top,#F8F8F8,#ECECEC);
+ background-image: -moz-linear-gradient(top,#F8F8F8,#ECECEC);
+ background-image: -ms-linear-gradient(top,#F8F8F8,#ECECEC);
+ background-image: -o-linear-gradient(top,#F8F8F8,#ECECEC);
+ background-image: linear-gradient(top,#F8F8F8,#ECECEC);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f8f8f8',EndColorStr='#ececec');
+ border-color: #C6C6C6;
+ margin-left:7px;
+ @include border-radius(3px);
+ box-shadow:none;
+ color:#666;
+ }
+ }
+ .search {
+ .search-input {
+ @include border-radius(3px);
+ border-color: #C6C6C6;
+ box-shadow:none;
+ }
+ }
+ .pic {
+ img {
+ @include border-radius(3px);
+ }
+ }
+ }
}
diff --git a/app/assets/stylesheets/themes/ui_mars.scss b/app/assets/stylesheets/themes/ui_mars.scss
index 488c2af5a8d..2808ad32397 100644
--- a/app/assets/stylesheets/themes/ui_mars.scss
+++ b/app/assets/stylesheets/themes/ui_mars.scss
@@ -59,14 +59,9 @@
.app_logo {
a {
h1 {
- background: url('images.png') no-repeat -3px -6px;
- width: 65px;
- height: 26px;
- margin: 6px 0;
- padding: 0;
- float: left;
- text-indent: -1000em;
- float:left;
+ background: url('logo_white.png') no-repeat 0px -3px;
+ color:#fff;
+ text-shadow: 0 1px 1px #111;
}
}
.separator {
@@ -75,7 +70,6 @@
}
.project_name {
- line-height:38px;
color:#fff;
text-shadow: 0 1px 1px #111;
}
diff --git a/app/assets/stylesheets/themes/ui_modern.scss b/app/assets/stylesheets/themes/ui_modern.scss
index 3fd9bb5efaf..1f0d795562b 100644
--- a/app/assets/stylesheets/themes/ui_modern.scss
+++ b/app/assets/stylesheets/themes/ui_modern.scss
@@ -40,18 +40,11 @@
width:160px;
a {
h1 {
- opacity: 0.7;
- background: url('images.png') no-repeat -3px -6px;
- width: 65px;
- height: 26px;
- margin: 6px 0;
- padding: 0;
- float: left;
- text-indent: -1000em;
- float:left;
- &:hover {
- opacity: 1.0;
- }
+ background: none;
+ color:#DDD;
+ font-size:30px;
+ text-shadow: 0 1px 1px #111;
+ padding-left: 0;
}
}
.separator {
@@ -67,18 +60,19 @@
.fbtn {
.btn {
i {
- @extend .icon-white;
position: relative;
top: 2px;
}
background:none;
margin-left:8px;
font-size: 13px;
- font-weight:bold;
line-height: 19px;
color:#ccc;
&:hover {
color:#fff;
+ i {
+ @extend .icon-white;
+ }
}
border: none;
box-shadow:none;
@@ -116,9 +110,9 @@
*
*/
.project_name {
- line-height:34px;
- font-size:22px;
- color:#ccc;
+ line-height:36px;
+ font-size:30px;
+ color:#DDD;
text-shadow: 0 1px 1px #111;
}
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 3a2586a3d38..c076a3a1b45 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -6,7 +6,6 @@
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
-
-# Atom feed
- if controller_name == 'projects' && action_name == 'index'
= auto_discovery_link_tag :atom, projects_url(:atom, private_token: current_user.private_token), title: "Dashboard feed"
diff --git a/config/application.rb b/config/application.rb
index 937262237e9..ecd88b15d15 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -44,5 +44,8 @@ module Gitlab
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+
+ # Add fonts
+ config.assets.paths << "#{Rails.root}/app/assets/fonts"
end
end