Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
9ce7f22e
Commit
9ce7f22e
authored
Apr 27, 2013
by
Kevin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding media queries breakpoints variables
parent
8ae9c6ab
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
15 deletions
+31
-15
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+2
-2
less/carousel.less
less/carousel.less
+2
-2
less/forms.less
less/forms.less
+1
-1
less/grid.less
less/grid.less
+3
-3
less/jumbotron.less
less/jumbotron.less
+1
-1
less/modals.less
less/modals.less
+1
-1
less/navbar.less
less/navbar.less
+1
-1
less/responsive-utilities.less
less/responsive-utilities.less
+2
-2
less/scaffolding.less
less/scaffolding.less
+1
-1
less/variables.less
less/variables.less
+17
-1
No files found.
docs/assets/css/bootstrap.css
View file @
9ce7f22e
...
...
@@ -5341,7 +5341,7 @@ a.list-group-item.active > .badge,
display
:
inherit
!important
;
}
@media
(
min-width
:
768px
)
and
(
max-width
:
9
79
px
)
{
@media
(
min-width
:
768px
)
and
(
max-width
:
9
92
px
)
{
.visible-phone
{
display
:
none
!important
;
}
...
...
@@ -5362,7 +5362,7 @@ a.list-group-item.active > .badge,
}
}
@media
(
min-width
:
9
80
px
)
{
@media
(
min-width
:
9
92
px
)
{
.visible-phone
{
display
:
none
!important
;
}
...
...
less/carousel.less
View file @
9ce7f22e
...
...
@@ -170,8 +170,8 @@
}
// Scale up controls for
>768px
@media screen and (min-width:
768px
) {
// Scale up controls for
tablets and up
@media screen and (min-width:
@screen-tablet
) {
// Scale up the controls a smidge
.carousel-control .glyphicon {
...
...
less/forms.less
View file @
9ce7f22e
...
...
@@ -514,7 +514,7 @@ select:focus:invalid {
// Horizontal forms
// --------------------------------------------------
@media screen and (min-width:
768px
) {
@media screen and (min-width:
@screen-tablet
) {
.form-horizontal {
...
...
less/grid.less
View file @
9ce7f22e
...
...
@@ -26,7 +26,7 @@
.generate-small-grid-columns(@grid-columns);
// Responsive: Tablets and up
@media screen and (min-width:
768px
) {
@media screen and (min-width:
@screen-tablet
) {
.container {
max-width: 728px;
}
...
...
@@ -38,14 +38,14 @@
}
// Responsive: Desktops and up
@media screen and (min-width:
992px
) {
@media screen and (min-width:
@screen-desktop
) {
.container {
max-width: 940px;
}
}
// Responsive: Large desktops and up
@media screen and (min-width:
1200px
) {
@media screen and (min-width:
@screen-large-desktop
) {
.container {
max-width: 1170px;
}
...
...
less/jumbotron.less
View file @
9ce7f22e
...
...
@@ -20,7 +20,7 @@
}
}
@media screen and (min-width:
768px
) {
@media screen and (min-width:
@screen-tablet
) {
.jumbotron {
padding: 50px 60px;
border-radius: @border-radius-large; // Only round corners at higher resolutions
...
...
less/modals.less
View file @
9ce7f22e
...
...
@@ -120,7 +120,7 @@
}
// Scale up the modal
@media screen and (min-width:
768px
) {
@media screen and (min-width:
@screen-tablet
) {
.modal-dialog {
left: 50%;
...
...
less/navbar.less
View file @
9ce7f22e
...
...
@@ -269,7 +269,7 @@
// Inverse navbar
// --------------------------------------------------
@media screen and (min-width:
768px
) {
@media screen and (min-width:
@screen-tablet
) {
.navbar {
padding-top: 0;
padding-bottom: 0;
...
...
less/responsive-utilities.less
View file @
9ce7f22e
...
...
@@ -46,7 +46,7 @@
// Tablets & small desktops only
@media (min-width:
768px) and (max-width: 979px
) {
@media (min-width:
@screen-tablet) and (max-width: @screen-desktop
) {
.visible-phone { display: none !important; }
.visible-tablet { display: inherit !important; }
.visible-desktop { display: none !important; }
...
...
@@ -57,7 +57,7 @@
}
// For desktops
@media (min-width:
980px
) {
@media (min-width:
@screen-desktop
) {
.visible-phone { display: none !important; }
.visible-tablet { display: none !important; }
.visible-desktop { display: inherit !important; }
...
...
less/scaffolding.less
View file @
9ce7f22e
...
...
@@ -22,7 +22,7 @@ html {
}
// Disable iOS/WinMobile font size changes
@media screen and (max-device-width:
480px
) {
@media screen and (max-device-width:
@screen-phone
) {
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
...
...
less/variables.less
View file @
9ce7f22e
...
...
@@ -369,6 +369,22 @@
@component-offset-horizontal: 180px;
// Media queries breakpoints
// --------------------------------------------------
// Tiny screen / phone
@screen-tiny: 480px;
@screen-phone: @screen-tiny;
// Small screen / tablet
@screen-small: 768px;
@screen-tablet: @screen-small;
// Medium screen / desktop
@screen-medium: 992px;
@screen-desktop: @screen-medium;
// Large screen / wide desktop
@screen-large: 1200px;
@screen-large-desktop: @screen-large;
// Grid system
// --------------------------------------------------
...
...
@@ -378,4 +394,4 @@
// Padding, to be divided by two and applied to the left and right of all columns
@grid-gutter-width: 30px;
// Point at which the navbar stops collapsing
@grid-float-breakpoint:
768px
;
@grid-float-breakpoint:
@screen-tablet
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment