Commit b2152847b162577ca3d58afcee3486537e0b6b81
1 parent
846e5950
Exists in
master
and in
4 other branches
Replace xlarge and xxlarge classes
Showing
10 changed files
with
17 additions
and
28 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/forms.scss
@@ -4,17 +4,6 @@ form { | @@ -4,17 +4,6 @@ form { | ||
4 | label { | 4 | label { |
5 | @extend .control-label; | 5 | @extend .control-label; |
6 | } | 6 | } |
7 | - | ||
8 | - .actions { | ||
9 | - @extend .form-actions; | ||
10 | - } | ||
11 | - | ||
12 | - .xlarge { | ||
13 | - @extend .input-xlarge; | ||
14 | - } | ||
15 | - .xxlarge { | ||
16 | - @extend .input-xxlarge; | ||
17 | - } | ||
18 | } | 7 | } |
19 | 8 | ||
20 | input { | 9 | input { |
app/views/admin/groups/edit.html.haml
@@ -8,18 +8,18 @@ | @@ -8,18 +8,18 @@ | ||
8 | = f.label :name do | 8 | = f.label :name do |
9 | Group name is | 9 | Group name is |
10 | .controls | 10 | .controls |
11 | - = f.text_field :name, placeholder: "Example Group", class: "xxlarge" | 11 | + = f.text_field :name, placeholder: "Example Group", class: "input-xxlarge" |
12 | 12 | ||
13 | .control-group.group-description-holder | 13 | .control-group.group-description-holder |
14 | = f.label :description, "Details" | 14 | = f.label :description, "Details" |
15 | .controls | 15 | .controls |
16 | - = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | 16 | + = f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4 |
17 | 17 | ||
18 | .control-group.group_name_holder | 18 | .control-group.group_name_holder |
19 | = f.label :path do | 19 | = f.label :path do |
20 | %span.cred Group path is | 20 | %span.cred Group path is |
21 | .controls | 21 | .controls |
22 | - = f.text_field :path, placeholder: "example-group", class: "xxlarge danger" | 22 | + = f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger" |
23 | %ul.cred | 23 | %ul.cred |
24 | %li Changing group path can have unintended side effects. | 24 | %li Changing group path can have unintended side effects. |
25 | %li Renaming group path will rename directory for all related projects | 25 | %li Renaming group path will rename directory for all related projects |
app/views/admin/groups/new.html.haml
@@ -8,11 +8,11 @@ | @@ -8,11 +8,11 @@ | ||
8 | = f.label :name do | 8 | = f.label :name do |
9 | Group name is | 9 | Group name is |
10 | .controls | 10 | .controls |
11 | - = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" | 11 | + = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" |
12 | .control-group.group-description-holder | 12 | .control-group.group-description-holder |
13 | = f.label :description, "Details" | 13 | = f.label :description, "Details" |
14 | .controls | 14 | .controls |
15 | - = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | 15 | + = f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4 |
16 | 16 | ||
17 | .form-actions | 17 | .form-actions |
18 | = f.submit 'Create group', class: "btn btn-create" | 18 | = f.submit 'Create group', class: "btn btn-create" |
app/views/groups/edit.html.haml
@@ -30,12 +30,12 @@ | @@ -30,12 +30,12 @@ | ||
30 | = f.label :name do | 30 | = f.label :name do |
31 | Group name is | 31 | Group name is |
32 | .controls | 32 | .controls |
33 | - = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" | 33 | + = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" |
34 | 34 | ||
35 | .control-group.group-description-holder | 35 | .control-group.group-description-holder |
36 | = f.label :description, "Details" | 36 | = f.label :description, "Details" |
37 | .controls | 37 | .controls |
38 | - = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | 38 | + = f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4 |
39 | 39 | ||
40 | .form-actions | 40 | .form-actions |
41 | = f.submit 'Save group', class: "btn btn-save" | 41 | = f.submit 'Save group', class: "btn btn-save" |
app/views/groups/new.html.haml
@@ -6,12 +6,12 @@ | @@ -6,12 +6,12 @@ | ||
6 | = f.label :name do | 6 | = f.label :name do |
7 | Group name is | 7 | Group name is |
8 | .controls | 8 | .controls |
9 | - = f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left" | 9 | + = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" |
10 | 10 | ||
11 | .control-group.group-description-holder | 11 | .control-group.group-description-holder |
12 | = f.label :description, "Details" | 12 | = f.label :description, "Details" |
13 | .controls | 13 | .controls |
14 | - = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4 | 14 | + = f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4 |
15 | 15 | ||
16 | .control-group | 16 | .control-group |
17 | .controls | 17 | .controls |
app/views/profiles/account.html.haml
@@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
54 | It can be used for atom feed or API | 54 | It can be used for atom feed or API |
55 | %p.cgray | 55 | %p.cgray |
56 | - if current_user.private_token | 56 | - if current_user.private_token |
57 | - = text_field_tag "token", current_user.private_token, class: "xxlarge large_text" | 57 | + = text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text" |
58 | = f.submit 'Reset', confirm: "Are you sure?", class: "btn btn-primary btn-build-token" | 58 | = f.submit 'Reset', confirm: "Are you sure?", class: "btn btn-primary btn-build-token" |
59 | - else | 59 | - else |
60 | %span You don`t have one yet. Click generate to fix it. | 60 | %span You don`t have one yet. Click generate to fix it. |
app/views/projects/compare/_form.html.haml
@@ -14,9 +14,9 @@ | @@ -14,9 +14,9 @@ | ||
14 | .pull-left | 14 | .pull-left |
15 | - if params[:to] && params[:from] | 15 | - if params[:to] && params[:from] |
16 | = link_to 'switch', {from: params[:to], to: params[:from]}, {class: 'commits-compare-switch has_tooltip', title: 'Switch base of comparison'} | 16 | = link_to 'switch', {from: params[:to], to: params[:from]}, {class: 'commits-compare-switch has_tooltip', title: 'Switch base of comparison'} |
17 | - = text_field_tag :from, params[:from], placeholder: "master", class: "xlarge input-xpadding" | 17 | + = text_field_tag :from, params[:from], placeholder: "master", class: "input-xlarge input-xpadding" |
18 | = "..." | 18 | = "..." |
19 | - = text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "xlarge input-xpadding" | 19 | + = text_field_tag :to, params[:to], placeholder: "aa8b4ef", class: "input-xlarge input-xpadding" |
20 | .pull-left | 20 | .pull-left |
21 | | 21 | |
22 | = submit_tag "Compare", class: "btn btn-create commits-compare-btn" | 22 | = submit_tag "Compare", class: "btn btn-create commits-compare-btn" |
app/views/projects/issues/_form.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | = f.label :title do | 12 | = f.label :title do |
13 | %strong= "Subject *" | 13 | %strong= "Subject *" |
14 | .controls | 14 | .controls |
15 | - = f.text_field :title, maxlength: 255, class: "xxlarge js-gfm-input", autofocus: true, required: true | 15 | + = f.text_field :title, maxlength: 255, class: "input-xxlarge js-gfm-input", autofocus: true, required: true |
16 | .ui-box-body | 16 | .ui-box-body |
17 | .control-group | 17 | .control-group |
18 | .issue_assignee.pull-left | 18 | .issue_assignee.pull-left |
@@ -37,13 +37,13 @@ | @@ -37,13 +37,13 @@ | ||
37 | %i.icon-tag | 37 | %i.icon-tag |
38 | Labels | 38 | Labels |
39 | .controls | 39 | .controls |
40 | - = f.text_field :label_list, maxlength: 2000, class: "xxlarge" | 40 | + = f.text_field :label_list, maxlength: 2000, class: "input-xxlarge" |
41 | %p.hint Separate labels with commas. | 41 | %p.hint Separate labels with commas. |
42 | 42 | ||
43 | .control-group | 43 | .control-group |
44 | = f.label :description, "Details" | 44 | = f.label :description, "Details" |
45 | .controls | 45 | .controls |
46 | - = f.text_area :description, class: "xxlarge js-gfm-input", rows: 14 | 46 | + = f.text_area :description, class: "input-xxlarge js-gfm-input", rows: 14 |
47 | %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. | 47 | %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. |
48 | 48 | ||
49 | 49 |
app/views/projects/network/_head.html.haml
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | .control-group | 15 | .control-group |
16 | = label_tag :search , "Looking for commit:", class: 'control-label light' | 16 | = label_tag :search , "Looking for commit:", class: 'control-label light' |
17 | .controls | 17 | .controls |
18 | - = text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input xlarge" | 18 | + = text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input input-xlarge" |
19 | = button_tag type: 'submit', class: 'btn vtop' do | 19 | = button_tag type: 'submit', class: 'btn vtop' do |
20 | %i.icon-search | 20 | %i.icon-search |
21 | - @options.each do |key, value| | 21 | - @options.each do |key, value| |
app/views/projects/new.html.haml
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | = f.label :name do | 7 | = f.label :name do |
8 | Project name is | 8 | Project name is |
9 | .controls | 9 | .controls |
10 | - = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true | 10 | + = f.text_field :name, placeholder: "Example Project", class: "input-xxlarge", tabindex: 1, autofocus: true |
11 | 11 | ||
12 | - if current_user.can_select_namespace? | 12 | - if current_user.can_select_namespace? |
13 | .control-group | 13 | .control-group |