Commit 0392669cbc7686f54677362457cfc4e62a527414
1 parent
010a770b
Exists in
spb-stable
and in
3 other branches
Fix some css after bootstrap 3
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
11 changed files
with
31 additions
and
16 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/common.scss
... | ... | @@ -20,6 +20,7 @@ |
20 | 20 | .append-right-10 { margin-right:10px } |
21 | 21 | .append-right-20 { margin-right:20px } |
22 | 22 | .append-bottom-10 { margin-bottom:10px } |
23 | +.append-bottom-15 { margin-bottom:15px } | |
23 | 24 | .append-bottom-20 { margin-bottom:20px } |
24 | 25 | .inline { display: inline-block } |
25 | 26 | |
... | ... | @@ -129,3 +130,9 @@ pre.well-pre { |
129 | 130 | .gl-hide { |
130 | 131 | display: none; |
131 | 132 | } |
133 | + | |
134 | +.breadcrumb > li + li:before { | |
135 | + content: "/"; | |
136 | + padding: 0; | |
137 | + color: #666; | |
138 | +} | ... | ... |
app/assets/stylesheets/gitlab_bootstrap/files.scss
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
app/assets/stylesheets/gitlab_bootstrap/typography.scss
... | ... | @@ -2,11 +2,6 @@ |
2 | 2 | * Headers |
3 | 3 | * |
4 | 4 | */ |
5 | -h1, h2, h3, h4, h5, h6 { | |
6 | - font-weight: 500; | |
7 | - line-height: 1.1; | |
8 | -} | |
9 | - | |
10 | 5 | h1.page-title { |
11 | 6 | @include page-title; |
12 | 7 | font-size: 28px; |
... | ... | @@ -99,6 +94,7 @@ a:focus { |
99 | 94 | background: #f5f5f5; |
100 | 95 | } |
101 | 96 | ul { |
97 | + padding: 0; | |
102 | 98 | margin: 0 0 9px 25px !important; |
103 | 99 | } |
104 | 100 | } | ... | ... |
app/assets/stylesheets/sections/header.scss
... | ... | @@ -103,7 +103,6 @@ header { |
103 | 103 | } |
104 | 104 | |
105 | 105 | .search-input { |
106 | - width: 300px; | |
107 | 106 | background-image: url("icon-search.png"); |
108 | 107 | background-repeat: no-repeat; |
109 | 108 | background-position: 10px; |
... | ... | @@ -115,9 +114,6 @@ header { |
115 | 114 | border: 1px solid #c6c6c6; |
116 | 115 | box-shadow: none; |
117 | 116 | @include transition(all 0.15s ease-in 0s); |
118 | - &:focus { | |
119 | - width: 400px; | |
120 | - } | |
121 | 117 | } |
122 | 118 | } |
123 | 119 | |
... | ... | @@ -201,3 +197,18 @@ header { |
201 | 197 | } |
202 | 198 | } |
203 | 199 | |
200 | +.search .search-input { | |
201 | + width: 300px; | |
202 | + &:focus { | |
203 | + width: 400px; | |
204 | + } | |
205 | +} | |
206 | + | |
207 | +@media (max-width: 1200px) { | |
208 | + .search .search-input { | |
209 | + width: 200px; | |
210 | + &:focus { | |
211 | + width: 300px; | |
212 | + } | |
213 | + } | |
214 | +} | ... | ... |
app/assets/stylesheets/sections/tree.scss
app/assets/stylesheets/selects.scss
app/views/projects/blob/_blob.html.haml
app/views/projects/commits/_head.html.haml
app/views/projects/issues/_head.html.haml
app/views/projects/tree/_tree.html.haml
... | ... | @@ -4,14 +4,12 @@ |
4 | 4 | = link_to project_tree_path(@project, @ref) do |
5 | 5 | = @project.path |
6 | 6 | - tree_breadcrumbs(tree, 6) do |title, path| |
7 | - \/ | |
8 | 7 | %li |
9 | 8 | - if path |
10 | 9 | = link_to truncate(title, length: 40), project_tree_path(@project, path) |
11 | 10 | - else |
12 | 11 | = link_to title, '#' |
13 | 12 | - if @repository.branch_names.include?(@ref) |
14 | - \/ | |
15 | 13 | %li |
16 | 14 | = link_to project_new_tree_path(@project, @id), title: 'New file', id: 'new-file-link' do |
17 | 15 | %small | ... | ... |