Add bottom margin to nav-tabs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
b6a609edbc
commit
87415ab2a6
9 changed files with 10 additions and 8 deletions
|
@ -108,6 +108,8 @@ $pagination-active-bg: $bg_style_color;
|
||||||
|
|
||||||
// Nav tabs
|
// Nav tabs
|
||||||
.nav.nav-tabs {
|
.nav.nav-tabs {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
> a {
|
> a {
|
||||||
padding: 8px 20px;
|
padding: 8px 20px;
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
.dash-sidebar-tabs {
|
.dash-sidebar-tabs {
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
border: none;
|
border: none;
|
||||||
margin: 0;
|
margin: 0 !important;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
&.active {
|
&.active {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.login-box
|
.login-box
|
||||||
%h3.page-title Sign in
|
%h3.page-title Sign in
|
||||||
- if ldap_enabled?
|
- if ldap_enabled?
|
||||||
%ul.nav.nav-tabs.append-bottom-20
|
%ul.nav.nav-tabs
|
||||||
%li.active
|
%li.active
|
||||||
= link_to 'LDAP', '#tab-ldap', 'data-toggle' => 'tab'
|
= link_to 'LDAP', '#tab-ldap', 'data-toggle' => 'tab'
|
||||||
%li
|
%li
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%ul.nav.nav-tabs.append-bottom-15
|
%ul.nav.nav-tabs
|
||||||
%li= render partial: 'shared/ref_switcher', locals: {destination: 'commits'}
|
%li= render partial: 'shared/ref_switcher', locals: {destination: 'commits'}
|
||||||
|
|
||||||
= nav_link(controller: [:commit, :commits]) do
|
= nav_link(controller: [:commit, :commits]) do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%ul.nav.nav-tabs.append-bottom-15
|
%ul.nav.nav-tabs
|
||||||
= nav_link(controller: :issues) do
|
= nav_link(controller: :issues) do
|
||||||
= link_to project_issues_path(@project), class: "tab" do
|
= link_to project_issues_path(@project), class: "tab" do
|
||||||
Browse Issues
|
Browse Issues
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
= render "projects/merge_requests/show/commits"
|
= render "projects/merge_requests/show/commits"
|
||||||
|
|
||||||
- if @commits.present?
|
- if @commits.present?
|
||||||
%ul.nav.nav-tabs.append-bottom-10
|
%ul.nav.nav-tabs
|
||||||
%li.notes-tab{data: {action: 'notes'}}
|
%li.notes-tab{data: {action: 'notes'}}
|
||||||
= link_to project_merge_request_path(@project, @merge_request) do
|
= link_to project_merge_request_path(@project, @merge_request) do
|
||||||
%i.icon-comment
|
%i.icon-comment
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
= preserve do
|
= preserve do
|
||||||
= markdown @milestone.description
|
= markdown @milestone.description
|
||||||
|
|
||||||
%ul.nav.nav-tabs.append-bottom-10
|
%ul.nav.nav-tabs
|
||||||
%li.active
|
%li.active
|
||||||
= link_to '#tab-issues', 'data-toggle' => 'tab' do
|
= link_to '#tab-issues', 'data-toggle' => 'tab' do
|
||||||
Issues
|
Issues
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%ul.nav.nav-tabs.append-bottom-20
|
%ul.nav.nav-tabs
|
||||||
= nav_link(html_options: {class: params[:id] == 'home' ? 'active' : '' }) do
|
= nav_link(html_options: {class: params[:id] == 'home' ? 'active' : '' }) do
|
||||||
= link_to 'Home', project_wiki_path(@project, :home)
|
= link_to 'Home', project_wiki_path(@project, :home)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%ul.nav.nav-tabs.append-bottom-10
|
%ul.nav.nav-tabs
|
||||||
%li{class: ("active" if params[:search_code].present?)}
|
%li{class: ("active" if params[:search_code].present?)}
|
||||||
= link_to search_path(params.merge(search_code: true)) do
|
= link_to search_path(params.merge(search_code: true)) do
|
||||||
Repository Code
|
Repository Code
|
||||||
|
|
Loading…
Reference in a new issue