Commit b2152847 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace xlarge and xxlarge classes

parent 846e5950
......@@ -4,17 +4,6 @@ form {
label {
@extend .control-label;
}
.actions {
@extend .form-actions;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
}
input {
......
......@@ -8,18 +8,18 @@
= f.label :name do
Group name is
.controls
= f.text_field :name, placeholder: "Example Group", class: "xxlarge"
= f.text_field :name, placeholder: "Example Group", class: "input-xxlarge"
.control-group.group-description-holder
= f.label :description, "Details"
.controls
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
.control-group.group_name_holder
= f.label :path do
%span.cred Group path is
.controls
= f.text_field :path, placeholder: "example-group", class: "xxlarge danger"
= f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger"
%ul.cred
%li Changing group path can have unintended side effects.
%li Renaming group path will rename directory for all related projects
......
......@@ -8,11 +8,11 @@
= f.label :name do
Group name is
.controls
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
.control-group.group-description-holder
= f.label :description, "Details"
.controls
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
.form-actions
= f.submit 'Create group', class: "btn btn-create"
......
......@@ -30,12 +30,12 @@
= f.label :name do
Group name is
.controls
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
.control-group.group-description-holder
= f.label :description, "Details"
.controls
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
.form-actions
= f.submit 'Save group', class: "btn btn-save"
......
......@@ -6,12 +6,12 @@
= f.label :name do
Group name is
.controls
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
.control-group.group-description-holder
= f.label :description, "Details"
.controls
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
.control-group
.controls
......
......@@ -54,7 +54,7 @@
It can be used for atom feed or API
%p.cgray
- if current_user.private_token
= text_field_tag "token", current_user.private_token, class: "xxlarge large_text"
= text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text"
= f.submit 'Reset', confirm: "Are you sure?", class: "btn btn-primary btn-build-token"
- else
%span You don`t have one yet. Click generate to fix it.
......
......@@ -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 input-xpadding"
= text_field_tag :from, params[:from], placeholder: "master", class: "input-xlarge input-xpadding"
= "..."
= text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "xlarge input-xpadding"
= text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "input-xlarge input-xpadding"
.pull-left
 
= submit_tag "Compare", class: "btn btn-create commits-compare-btn"
......
......@@ -12,7 +12,7 @@
= f.label :title do
%strong= "Subject *"
.controls
= f.text_field :title, maxlength: 255, class: "xxlarge js-gfm-input", autofocus: true, required: true
= f.text_field :title, maxlength: 255, class: "input-xxlarge js-gfm-input", autofocus: true, required: true
.ui-box-body
.control-group
.issue_assignee.pull-left
......@@ -37,13 +37,13 @@
%i.icon-tag
Labels
.controls
= f.text_field :label_list, maxlength: 2000, class: "xxlarge"
= f.text_field :label_list, maxlength: 2000, class: "input-xxlarge"
%p.hint Separate labels with commas.
.control-group
= f.label :description, "Details"
.controls
= f.text_area :description, class: "xxlarge js-gfm-input", rows: 14
= f.text_area :description, class: "input-xxlarge js-gfm-input", rows: 14
%p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
......
......@@ -15,7 +15,7 @@
.control-group
= label_tag :search , "Looking for commit:", class: 'control-label light'
.controls
= text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input xlarge"
= text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input input-xlarge"
= button_tag type: 'submit', class: 'btn vtop' do
%i.icon-search
- @options.each do |key, value|
......
......@@ -7,7 +7,7 @@
= f.label :name do
Project name is
.controls
= f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true
= f.text_field :name, placeholder: "Example Project", class: "input-xxlarge", tabindex: 1, autofocus: true
- if current_user.can_select_namespace?
.control-group
......
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