Set max-width to 1200px for container-fluid

This commit is contained in:
Steffen van Bergerem 2016-02-06 13:18:00 +01:00
parent 0c34452840
commit 03ef5bd064
14 changed files with 40 additions and 34 deletions

View file

@ -3,6 +3,13 @@ body {
padding: none; padding: none;
} }
.container-fluid { max-width: $screen-lg-min; }
.page-streams,
.page-tags.action-show {
> .container-fluid { max-width: 100%; }
}
// Overflow // Overflow
h1, h1,
h2, h2,

View file

@ -191,11 +191,12 @@
} }
} }
@media (max-width: 1354px) { // We need this to override the Bootstrap pagination style only for the conversations view
#left_pane #conversation_inbox .pagination ul > li > a { // scss-lint:disable SelectorDepth
padding: 4px 7px; .conversation-inbox .pagination > li > a {
} padding: 4px 7px;
} }
// scss-lint:enable SelectorDepth
#new_conversation_pane { #new_conversation_pane {
ul.as-selections { width: 100% !important; } ul.as-selections { width: 100% !important; }

View file

@ -9,7 +9,6 @@
} }
@media (max-width: $grid-float-breakpoint-max) { @media (max-width: $grid-float-breakpoint-max) {
.col-lg-10 { padding: 0; }
.navbar-header > .nav li { display: inline-block !important; } .navbar-header > .nav li { display: inline-block !important; }
.nav-badge { .nav-badge {
color: $navbar-inverse-link-color; color: $navbar-inverse-link-color;

View file

@ -1,7 +1,7 @@
<nav class="navbar navbar-inverse navbar-fixed-top"> <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-1"> <div class="col-md-12">
<div class="navbar-header"> <div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse"> <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only">{{t "header.toggle_navigation"}}</span> <span class="sr-only">{{t "header.toggle_navigation"}}</span>

View file

@ -3,10 +3,10 @@
.container-fluid.applications-page .container-fluid.applications-page
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
%h3= t(".title") %h3= t(".title")
.row .row
.col-md-12 .col-md-12

View file

@ -1,6 +1,6 @@
.container-fluid.settings_container.applications-page .container-fluid.settings_container.applications-page
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
- content_for :page_title do - content_for :page_title do
= t(".edit_applications") = t(".edit_applications")
= render "shared/settings_nav" = render "shared/settings_nav"

View file

@ -14,7 +14,7 @@
= link_to t('.new_conversation'), conversations_path, class: 'btn btn-default' = link_to t('.new_conversation'), conversations_path, class: 'btn btn-default'
= t('.inbox') = t('.inbox')
#conversation_inbox .conversation-inbox#conversation_inbox
.stream.conversations .stream.conversations
- if @visibilities.count > 0 - if @visibilities.count > 0
= render partial: "conversations/conversation", collection: @visibilities, as: :visibility = render partial: "conversations/conversation", collection: @visibilities, as: :visibility
@ -34,9 +34,8 @@
- else - else
.stream_container.hidden .stream_container.hidden
#conversation_show #conversation_show
.row#conversation_new #conversation_new
.col-md-10.col-md-offset-1 .new-conversation
.new-conversation %h3.text-center
%h3.text-center = t("conversations.index.new_conversation")
= t("conversations.index.new_conversation") = render "conversations/new"
= render "conversations/new"

View file

@ -8,7 +8,7 @@
%nav.navbar.navbar-inverse.navbar-fixed-top %nav.navbar.navbar-inverse.navbar-fixed-top
.container-fluid .container-fluid
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
.navbar-header .navbar-header
%button.navbar-toggle.collapsed{type: "button", data: {toggle: "collapse", target: "#navbar-collapse"}} %button.navbar-toggle.collapsed{type: "button", data: {toggle: "collapse", target: "#navbar-collapse"}}
%span.sr-only %span.sr-only

View file

@ -4,11 +4,11 @@
.container-fluid .container-fluid
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
- content_for :submit_block do - content_for :submit_block do
= link_to t("cancel"), local_or_remote_person_path(current_user.person), class: "btn btn-default" = link_to t("cancel"), local_or_remote_person_path(current_user.person), class: "btn btn-default"
= submit_tag t(".update_profile"), class: "btn btn-primary pull-right", id: "update_profile" = submit_tag t(".update_profile"), class: "btn btn-primary pull-right", id: "update_profile"

View file

@ -4,11 +4,11 @@
.settings_container.container-fluid .settings_container.container-fluid
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
- content_for :submit_block do - content_for :submit_block do
= link_to t("cancel"), local_or_remote_person_path(current_user.person), class: "btn btn-default" = link_to t("cancel"), local_or_remote_person_path(current_user.person), class: "btn btn-default"
= submit_tag t(".update_profile"), class: "btn btn-primary pull-right", id: "update_profile" = submit_tag t(".update_profile"), class: "btn btn-primary pull-right", id: "update_profile"

View file

@ -7,16 +7,16 @@
.container-fluid .container-fluid
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
%h3= t(".title") %h3= t(".title")
.row .row
.col-md-7.col-lg-5.col-lg-offset-2 .col-md-7
= render "add_remove_services" = render "add_remove_services"
.col-md-5.col-lg-3 .col-md-5
%p %p
= t(".services_explanation") = t(".services_explanation")

View file

@ -7,14 +7,14 @@
.settings_container.services_page.container-fluid .settings_container.services_page.container-fluid
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
= render "add_remove_services" = render "add_remove_services"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
.services_explanation .services_explanation
= t(".services_explanation") = t(".services_explanation")

View file

@ -6,11 +6,11 @@
= t(".edit_account") = t(".edit_account")
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
.row .row
.col-md-6 .col-md-6
%h3= t(".your_handle") %h3= t(".your_handle")
@ -173,7 +173,7 @@
%hr %hr
.row .row
.col-lg-7#account_data .col-md-12#account_data
.row .row
.col-md-6 .col-md-6
%h3= t(".export_data") %h3= t(".export_data")
@ -208,7 +208,7 @@
= link_to t(".request_export_photos"), export_photos_user_path, method: :post, = link_to t(".request_export_photos"), export_photos_user_path, method: :post,
class: "btn btn-default btn-block" class: "btn btn-default btn-block"
.col-lg-5 .col-md-12
%h3 %h3
= t(".close_account_text") = t(".close_account_text")
.form-group .form-group

View file

@ -1,9 +1,9 @@
.row .row
.col-lg-10.col-lg-offset-1 .col-md-12
= render "shared/settings_nav" = render "shared/settings_nav"
.row .row
.col-lg-8.col-lg-offset-2 .col-md-12
.row .row
.col-md-12 .col-md-12
%h3 %h3