Apply some styles from flatly theme
This commit is contained in:
parent
887cf5c710
commit
433b4c76fc
7 changed files with 37 additions and 45 deletions
|
@ -39,7 +39,7 @@
|
|||
* Page specific styles (issues, projects etc):
|
||||
*/
|
||||
|
||||
@import "sections/*";
|
||||
@import "pages/*";
|
||||
|
||||
/**
|
||||
* Code highlight
|
||||
|
|
|
@ -444,21 +444,21 @@ $font-size-base: $gl-font-size;
|
|||
//
|
||||
//##
|
||||
|
||||
// $pagination-color: $link-color
|
||||
// $pagination-bg: #fff
|
||||
// $pagination-border: #ddd
|
||||
$pagination-color: #fff;
|
||||
$pagination-bg: $brand-success;
|
||||
$pagination-border: transparent;
|
||||
|
||||
// $pagination-hover-color: $link-hover-color
|
||||
// $pagination-hover-bg: $gray-lighter
|
||||
// $pagination-hover-border: #ddd
|
||||
$pagination-hover-color: #fff;
|
||||
$pagination-hover-bg: darken($brand-success, 15%);
|
||||
$pagination-hover-border: transparent;
|
||||
|
||||
// $pagination-active-color: #fff
|
||||
// $pagination-active-bg: $brand-primary
|
||||
// $pagination-active-border: $brand-primary
|
||||
$pagination-active-color: #fff;
|
||||
$pagination-active-bg: darken($brand-success, 15%);
|
||||
$pagination-active-border: transparent;
|
||||
|
||||
// $pagination-disabled-color: $gray-light
|
||||
// $pagination-disabled-bg: #fff
|
||||
// $pagination-disabled-border: #ddd
|
||||
$pagination-disabled-color: #b4bcc2;
|
||||
$pagination-disabled-bg: lighten($brand-success, 15%);
|
||||
$pagination-disabled-border: transparent;
|
||||
|
||||
|
||||
//== Pager
|
||||
|
@ -492,21 +492,22 @@ $font-size-base: $gl-font-size;
|
|||
//
|
||||
//## Define colors for form feedback states and, by default, alerts.
|
||||
|
||||
// $state-success-text: #3c763d
|
||||
// $state-success-bg: #dff0d8
|
||||
// $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%)
|
||||
|
||||
// $state-info-text: #31708f
|
||||
// $state-info-bg: #d9edf7
|
||||
// $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%)
|
||||
$state-success-text: #fff;
|
||||
$state-success-bg: $brand-success;
|
||||
$state-success-border: $brand-success;
|
||||
|
||||
// $state-warning-text: #8a6d3b
|
||||
// $state-warning-bg: #fcf8e3
|
||||
// $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%)
|
||||
$state-info-text: #fff;
|
||||
$state-info-bg: $brand-info;
|
||||
$state-info-border: $brand-info;
|
||||
|
||||
// $state-danger-text: #a94442
|
||||
// $state-danger-bg: #f2dede
|
||||
// $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%)
|
||||
$state-warning-text: #fff;
|
||||
$state-warning-bg: $brand-warning;
|
||||
$state-warning-border: $brand-warning;
|
||||
|
||||
$state-danger-text: #fff;
|
||||
$state-danger-bg: $brand-danger;
|
||||
$state-danger-border: $brand-danger;
|
||||
|
||||
|
||||
//== Tooltips
|
||||
|
|
|
@ -19,6 +19,11 @@ $gl-primary: #446e9b;
|
|||
$gl-info: #029ACF;
|
||||
$gl-warning: #EB9532;
|
||||
|
||||
$gl-primary: #2C3E50;
|
||||
$gl-success: #18BC9C;
|
||||
$gl-info: #3498DB;
|
||||
$gl-warning: #F39C12;
|
||||
$gl-danger: #E74C3C;
|
||||
/*
|
||||
* Commit Diff Colors
|
||||
*/
|
||||
|
|
|
@ -101,23 +101,9 @@
|
|||
|
||||
.btn,
|
||||
.form-control {
|
||||
border: 1px solid #E1E1E1;
|
||||
box-shadow: none;
|
||||
padding: 6px 9px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: none;
|
||||
color: $gl-link-color;
|
||||
|
||||
&.active {
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid rgba(0,0,0,0.195);
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
cursor: auto;
|
||||
@extend .monospace;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
%span Import existing git repo
|
||||
.col-sm-10
|
||||
= f.text_field :import_url, class: 'form-control', placeholder: 'https://github.com/randx/six.git'
|
||||
.alert.alert-info
|
||||
.alert.alert-info.prepend-top-10
|
||||
This URL must be publicly accessible or you can add a username and password like this: https://username:password@gitlab.com/company/project.git.
|
||||
%br
|
||||
The import will time out after 4 minutes. For big repositories, use a clone/push combination.
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
%p Repository is read-only
|
||||
|
||||
- if @project.forked_from_project
|
||||
.alert.alert-success
|
||||
.well
|
||||
%i.fa.fa-code-fork.project-fork-icon
|
||||
Forked from:
|
||||
%br
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
|
||||
.no-ssh-key-message.alert.alert-warning.hidden-xs
|
||||
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile
|
||||
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path, class: 'alert-link'} to your profile
|
||||
|
||||
.pull-right
|
||||
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put
|
||||
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
|
||||
|
|
||||
= link_to 'Remind later', '#', class: 'hide-no-ssh-message'
|
||||
= link_to 'Remind later', '#', class: 'hide-no-ssh-message alert-link'
|
||||
|
|
Loading…
Reference in a new issue