Commit b70b1055 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'more-flat-ui' into 'master'

Apply more styles from Flatly theme

Also add bottom margin for footer links on login page

See merge request !1661
parents 2a76c7fd 6b76ffc2
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
// $gray: lighten($gray-base, 33.5%) // #555 // $gray: lighten($gray-base, 33.5%) // #555
// $gray-light: lighten($gray-base, 46.7%) // #777 // $gray-light: lighten($gray-base, 46.7%) // #777
// $gray-lighter: lighten($gray-base, 93.5%) // #eee // $gray-lighter: lighten($gray-base, 93.5%) // #eee
$gray-base: #000;
$gray-darker: lighten($gray-base, 13.5%); // #222
$gray-dark: #7b8a8b; // #333
$gray: #95a5a6; // #555
$gray-light: #b4bcc2; // #999
$gray-lighter: #ecf0f1; // #eee
$brand-primary: $gl-primary; $brand-primary: $gl-primary;
$brand-success: $gl-success; $brand-success: $gl-success;
...@@ -30,7 +36,7 @@ $brand-danger: $gl-danger; ...@@ -30,7 +36,7 @@ $brand-danger: $gl-danger;
//** Background color for `<body>`. //** Background color for `<body>`.
// $body-bg: #fff // $body-bg: #fff
//** Global text color on `<body>`. //** Global text color on `<body>`.
// $text-color: $gray-dark $text-color: $brand-primary;
//** Global textual link color. //** Global textual link color.
$link-color: $gl-link-color; $link-color: $gl-link-color;
...@@ -187,9 +193,9 @@ $padding-base-horizontal: 14px; ...@@ -187,9 +193,9 @@ $padding-base-horizontal: 14px;
// $input-bg-disabled: $gray-lighter // $input-bg-disabled: $gray-lighter
//** Text color for `<input>`s //** Text color for `<input>`s
// $input-color: $gray $input-color: $text-color;
//** `<input>` border color //** `<input>` border color
// $input-border: #ccc $input-border: #dce4ec;
// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4 // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
//** Default `.form-control` border radius //** Default `.form-control` border radius
...@@ -201,7 +207,7 @@ $padding-base-horizontal: 14px; ...@@ -201,7 +207,7 @@ $padding-base-horizontal: 14px;
// $input-border-radius-small: $border-radius-small // $input-border-radius-small: $border-radius-small
//** Border color for inputs on focus //** Border color for inputs on focus
// $input-border-focus: #66afe9 $input-border-focus: $brand-info;
//** Placeholder text color //** Placeholder text color
// $input-color-placeholder: #999 // $input-color-placeholder: #999
...@@ -213,7 +219,7 @@ $padding-base-horizontal: 14px; ...@@ -213,7 +219,7 @@ $padding-base-horizontal: 14px;
//** Small `.form-control` height //** Small `.form-control` height
// $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) // $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2)
// $legend-color: $gray-dark $legend-color: $text-color;
// $legend-border-color: #e5e5e5 // $legend-border-color: #e5e5e5
//** Background color for textual input addons //** Background color for textual input addons
...@@ -709,7 +715,7 @@ $panel-border-radius: 0; ...@@ -709,7 +715,7 @@ $panel-border-radius: 0;
// $panel-inner-border: #ddd // $panel-inner-border: #ddd
// $panel-footer-bg: #f5f5f5 // $panel-footer-bg: #f5f5f5
// $panel-default-text: $gray-dark $panel-default-text: $text-color;
// $panel-default-border: #ddd // $panel-default-border: #ddd
// $panel-default-heading-bg: #f5f5f5 // $panel-default-heading-bg: #f5f5f5
...@@ -757,8 +763,8 @@ $panel-border-radius: 0; ...@@ -757,8 +763,8 @@ $panel-border-radius: 0;
// //
//## //##
// $well-bg: #f5f5f5 $well-bg: $gray-lighter;
// $well-border: darken($well-bg, 7%) $well-border: transparent;
//== Badges //== Badges
...@@ -826,15 +832,15 @@ $panel-border-radius: 0; ...@@ -826,15 +832,15 @@ $panel-border-radius: 0;
// //
//## //##
// $code-color: #c7254e $code-color: #c7254e;
// $code-bg: #f9f2f4 $code-bg: #f9f2f4;
// $kbd-color: #fff $kbd-color: #fff;
// $kbd-bg: #333 $kbd-bg: #333;
// $pre-bg: #f5f5f5 $pre-bg: $gray-lighter;
// $pre-color: $gray-dark $pre-color: $gray-dark;
// $pre-border-color: #ccc $pre-border-color: #ccc;
// $pre-scrollable-max-height: 340px // $pre-scrollable-max-height: 340px
......
...@@ -319,7 +319,7 @@ table { ...@@ -319,7 +319,7 @@ table {
} }
.btn-sign-in { .btn-sign-in {
margin-top: 7px; margin-top: 5px;
text-shadow: none; text-shadow: none;
} }
...@@ -337,8 +337,11 @@ table { ...@@ -337,8 +337,11 @@ table {
overflow-x: auto; overflow-x: auto;
} }
.footer-links a { .footer-links {
margin-right: 15px; margin-bottom: 20px;
a {
margin-right: 15px;
}
} }
.search_box { .search_box {
......
...@@ -29,7 +29,7 @@ fieldset legend { ...@@ -29,7 +29,7 @@ fieldset legend {
padding: 17px 20px 18px; padding: 17px 20px 18px;
margin-top: 18px; margin-top: 18px;
margin-bottom: 18px; margin-bottom: 18px;
background-color: whitesmoke; background-color: #ecf0f1;
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;
} }
......
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
.event-title { .event-title {
@include str-truncated(72%); @include str-truncated(72%);
color: #333;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
.author_name { .author_name {
...@@ -185,7 +184,7 @@ ...@@ -185,7 +184,7 @@
} }
.event_filter { .event_filter {
li a { li a {
padding: 5px 10px; padding: 5px 10px;
background: rgba(0,0,0,0.045); background: rgba(0,0,0,0.045);
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
vertical-align: middle; vertical-align: middle;
i { i {
color: $gl-primary; color: $gl-info;
} }
img { img {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- unless current_controller?('sessions') - unless current_controller?('sessions')
.pull-right.hidden-xs .pull-right.hidden-xs
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-new' = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-new append-right-10'
.navbar-collapse.collapse .navbar-collapse.collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
......
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