Skip to content
Snippets Groups Projects
Commit e8347424 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Dont load bootstrap buttons. Modified css with new buttons

parent b8f6d67b
No related branches found
No related tags found
No related merge requests found
Showing
with 119 additions and 76 deletions
Loading
Loading
@@ -81,33 +81,6 @@ span.update-author {
font-weight: normal;
}
 
form {
@extend .form-horizontal;
.actions {
@extend .form-actions;
}
.clearfix {
@extend .control-group;
}
.input {
@extend .controls;
}
label {
@extend .control-label;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
}
.field_with_errors {
display: inline;
}
Loading
Loading
@@ -127,13 +100,6 @@ ul.breadcrumb {
}
}
 
input[type=text] {
&.large_text {
padding: 6px;
font-size: 16px;
}
}
.line_holder {
&:hover {
td {
Loading
Loading
Loading
Loading
@@ -2,11 +2,49 @@
$baseFontSize: 13px !default;
$baseLineHeight: 18px !default;
 
// BOOTSTRAP
@import "bootstrap";
/**
* BOOTSTRAP
*/
@import "bootstrap/variables";
@import "bootstrap/mixins";
@import "bootstrap/reset";
@import "bootstrap/scaffolding";
@import "bootstrap/grid";
@import "bootstrap/layouts";
@import "bootstrap/type";
@import "bootstrap/code";
@import "bootstrap/forms";
@import "bootstrap/tables";
@import "bootstrap/sprites";
@import "bootstrap/dropdowns";
@import "bootstrap/wells";
@import "bootstrap/component-animations";
@import "bootstrap/close";
@import "bootstrap/button-groups";
@import "bootstrap/alerts";
@import "bootstrap/navs";
@import "bootstrap/navbar";
@import "bootstrap/breadcrumbs";
@import "bootstrap/pagination";
@import "bootstrap/pager";
@import "bootstrap/modals";
@import "bootstrap/tooltip";
@import "bootstrap/popovers";
@import "bootstrap/thumbnails";
@import "bootstrap/media";
@import "bootstrap/labels-badges";
@import "bootstrap/progress-bars";
@import "bootstrap/accordion";
@import "bootstrap/carousel";
@import "bootstrap/hero-unit";
@import "bootstrap/utilities";
@import "bootstrap/responsive-utilities";
@import "bootstrap/responsive-1200px-min";
 
/**
* Font icons
*
*/
@import "font-awesome";
 
/**
Loading
Loading
@@ -26,3 +64,4 @@ $baseLineHeight: 18px !default;
@import "gitlab_bootstrap/files.scss";
@import "gitlab_bootstrap/tables.scss";
@import "gitlab_bootstrap/lists.scss";
@import "gitlab_bootstrap/forms.scss";
Loading
Loading
@@ -97,6 +97,8 @@
 
.btn {
vertical-align: middle;
padding: 4px 12px;
@include box-shadow(0 0px 1px 1px #f2f2f2);
}
 
.nav-pills {
Loading
Loading
Loading
Loading
@@ -90,3 +90,11 @@ pre.well-pre {
border-radius: 0;
color: #555;
}
.input-append .btn.active, .input-prepend .btn.active {
background: #CCC;
border-color: #BBB;
text-shadow: 0 1px 1px #fff;
font-weight: bold;
@include box-shadow(inset 0 2px 4px rgba(0,0,0,.15));
}
form {
@extend .form-horizontal;
.actions {
@extend .form-actions;
}
.clearfix {
@extend .control-group;
}
.input {
@extend .controls;
}
label {
@extend .control-label;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
}
input {
&.input-xpadding {
padding: 6px 10px;
}
}
Loading
Loading
@@ -52,13 +52,6 @@ a {
text-decoration: underline;
}
 
&.btn {
color: $style_color;
&:hover {
color: $style_color;
}
}
&.dark {
color: $style_color;
}
Loading
Loading
Loading
Loading
@@ -421,8 +421,8 @@
 
.commits-compare-switch{
background: url("switch_icon.png") no-repeat center center;
width: 16px;
height: 18px;
width: 22px;
height: 22px;
text-indent: -9999px;
float: left;
margin-right: 9px;
Loading
Loading
Loading
Loading
@@ -7,11 +7,6 @@
line-height: 20px;
padding: 8px;
}
.btn {
padding: 6px 10px;
margin-left: 10px;
margin-bottom: 8px;
}
}
.adv_settings {
h6 { margin-left: 40px; }
Loading
Loading
@@ -30,6 +25,10 @@
padding: 4px 7px;
border: 1px solid #CCC;
margin-bottom: 20px;
.btn {
padding: 4px 12px;
}
}
 
.project_clone_holder {
Loading
Loading
@@ -114,7 +113,7 @@ ul.nav.nav-projects-tabs {
.public-clone {
background: #333;
color: #f5f5f5;
padding: 5px 10px;
padding: 6px 10px;
margin: 1px;
font-weight: normal;
}
Loading
Loading
Loading
Loading
@@ -104,6 +104,8 @@
}
 
.tree-btn-group {
top: 2px;
.btn {
margin-right: 0px;
padding: 2px 10px;
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
allows you to keep projects organized.
Use groups for uniting related projects.
 
= link_to 'New Group', new_admin_group_path, class: "btn btn-small pull-right"
= link_to 'New Group', new_admin_group_path, class: "btn btn-new pull-right"
%br
= form_tag admin_groups_path, method: :get, class: 'form-inline' do
= text_field_tag :name, params[:name], class: "span6"
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@
.clearfix
= f.label :url, "URL:"
.input
= f.text_field :url, class: "text_field xxlarge"
= f.text_field :url, class: "text_field xxlarge input-xpadding"
 
= f.submit "Add System Hook", class: "btn btn-create"
%hr
Loading
Loading
Loading
Loading
@@ -38,7 +38,7 @@
.title
Projects (#{@projects.total_count})
.pull-right
= link_to 'New Project', new_project_path, class: "btn btn-small btn-primary wide"
= link_to 'New Project', new_project_path, class: "btn btn-new"
%ul.well-list
- @projects.each do |project|
%li
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@
.title
Users (#{@users.total_count})
.pull-right
= link_to 'New User', new_admin_user_path, class: "btn btn-small wide btn-primary"
= link_to 'New User', new_admin_user_path, class: "btn btn-new"
%ul.well-list
- @users.each do |user|
%li
Loading
Loading
%h3.page-title
Group membership
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn btn-new" do
%i.icon-plus
New Group
%p.light
Members of group have access to all group projects.
%hr
Loading
Loading
@@ -7,11 +12,6 @@
.title
%strong Groups
(#{@groups.count})
- if current_user.can_create_group?
%span.pull-right
= link_to new_group_path, class: "btn btn-small btn-primary" do
%i.icon-plus
New Group
%ul.well-list
- @groups.each do |group|
%li
Loading
Loading
%h3.page-title
My SSH keys
.pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new"
%p.light
SSH key allows you to establish a secure connection between your computer and GitLab
%br
Loading
Loading
@@ -11,8 +13,6 @@
.ui-box
.title
SSH Keys (#{@keys.count})
.pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-small btn-primary"
%ul.well-list#keys-table
= render @keys
- if @keys.blank?
Loading
Loading
Loading
Loading
@@ -87,4 +87,4 @@
= link_to "Add Public Key", new_profile_key_path, class: "btn btn-small"
 
.form-actions
= f.submit 'Save', class: "btn btn-save"
= f.submit 'Save changes', class: "btn btn-save"
.btn-group.tree-btn-group
-# only show edit link for text files
- if @blob.text?
= link_to "edit", project_edit_tree_path(@project, @id), class: "btn btn-tiny", disabled: !allowed_tree_edit?
= link_to "raw", project_raw_path(@project, @id), class: "btn btn-tiny", target: "_blank"
= link_to "edit", project_edit_tree_path(@project, @id), class: "btn btn-small", disabled: !allowed_tree_edit?
= link_to "raw", project_raw_path(@project, @id), class: "btn btn-small", target: "_blank"
-# only show normal/blame view links for text files
- if @blob.text?
- if current_page? project_blame_path(@project, @id)
= link_to "normal view", project_blob_path(@project, @id), class: "btn btn-tiny"
= link_to "normal view", project_blob_path(@project, @id), class: "btn btn-small"
- else
= link_to "blame", project_blame_path(@project, @id), class: "btn btn-tiny" unless @blob.empty?
= link_to "history", project_commits_path(@project, @id), class: "btn btn-tiny"
= link_to "blame", project_blame_path(@project, @id), class: "btn btn-small" unless @blob.empty?
= link_to "history", project_commits_path(@project, @id), class: "btn btn-small"
Loading
Loading
@@ -14,9 +14,9 @@
.pull-left
- if params[:to] && params[:from]
= link_to 'switch', {from: params[:to], to: params[:from]}, {class: 'commits-compare-switch has_tooltip', title: 'Switch base of comparison'}
= text_field_tag :from, params[:from], placeholder: "master", class: "xlarge"
= text_field_tag :from, params[:from], placeholder: "master", class: "xlarge input-xpadding"
= "..."
= text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "xlarge"
= text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "xlarge input-xpadding"
.pull-left
 
= submit_tag "Compare", class: "btn btn-create commits-compare-btn"
Loading
Loading
%p.slead
Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers
Deploy keys allow read-only access to repository
 
%p
You can create a deploy key or add existing one
= link_to new_project_deploy_key_path(@project), class: "btn btn-primary pull-right", title: "New Deploy Key" do
= link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
%i.icon-plus
New Deploy Key
 
%p.light
They can be used for CI, staging or production servers.
You can create a deploy key or add existing one
%hr.clearfix
 
.row
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
.ui-box.white
.title
%strong= @project.name
Project Settings:
project settings:
.form-holder
= form_for(@project, remote: true) do |f|
%fieldset
Loading
Loading
@@ -98,7 +98,7 @@
 
 
.form-actions
= f.submit 'Save', class: "btn btn-save"
= f.submit 'Save changes', class: "btn btn-save"
 
- if can?(current_user, :change_namespace, @project)
.ui-box.ui-box-danger
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment