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
22ce6499
Commit
22ce6499
authored
Aug 21, 2013
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecate @screen-{phone,tablet,desktop} vars
parent
c429fd1a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
less/carousel.less
less/carousel.less
+1
-1
less/forms.less
less/forms.less
+2
-2
less/grid.less
less/grid.less
+2
-2
less/jumbotron.less
less/jumbotron.less
+1
-1
less/modals.less
less/modals.less
+1
-1
less/variables.less
less/variables.less
+5
-5
No files found.
less/carousel.less
View file @
22ce6499
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
// Scale up controls for tablets and up
// Scale up controls for tablets and up
@media screen and (min-width: @screen-
tablet
) {
@media screen and (min-width: @screen-
sm
) {
// Scale up the controls a smidge
// Scale up the controls a smidge
.carousel-control .icon-prev,
.carousel-control .icon-prev,
...
...
less/forms.less
View file @
22ce6499
...
@@ -289,7 +289,7 @@ input[type="checkbox"],
...
@@ -289,7 +289,7 @@ input[type="checkbox"],
.form-inline {
.form-inline {
// Kick in the inline
// Kick in the inline
@media (min-width: @screen-
tablet
) {
@media (min-width: @screen-
sm
) {
// Inline-block all the things for "inline"
// Inline-block all the things for "inline"
.form-group {
.form-group {
display: inline-block;
display: inline-block;
...
@@ -345,7 +345,7 @@ input[type="checkbox"],
...
@@ -345,7 +345,7 @@ input[type="checkbox"],
}
}
// Only right align form labels here when the columns stop stacking
// Only right align form labels here when the columns stop stacking
@media (min-width: @screen-
tablet
) {
@media (min-width: @screen-
sm
) {
.control-label {
.control-label {
text-align: right;
text-align: right;
}
}
...
...
less/grid.less
View file @
22ce6499
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
// Note that `.col-sm-12` doesn't get floated on purpose—there's no need since
// Note that `.col-sm-12` doesn't get floated on purpose—there's no need since
// it's full-width.
// it's full-width.
@media (min-width: @screen-
tablet
) {
@media (min-width: @screen-
sm
) {
.container {
.container {
max-width: @container-tablet;
max-width: @container-tablet;
}
}
...
@@ -192,7 +192,7 @@
...
@@ -192,7 +192,7 @@
// Note that `.col-md-12` doesn't get floated on purpose—there's no need since
// Note that `.col-md-12` doesn't get floated on purpose—there's no need since
// it's full-width.
// it's full-width.
@media (min-width: @screen-
desktop
) {
@media (min-width: @screen-
md
) {
.container {
.container {
max-width: @container-desktop;
max-width: @container-desktop;
}
}
...
...
less/jumbotron.less
View file @
22ce6499
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
}
}
@media screen and (min-width: @screen-
tablet
) {
@media screen and (min-width: @screen-
sm
) {
padding-top: (@jumbotron-padding * 1.6);
padding-top: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
...
...
less/modals.less
View file @
22ce6499
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
}
}
// Scale up the modal
// Scale up the modal
@media screen and (min-width: @screen-
tablet
) {
@media screen and (min-width: @screen-
sm
) {
.modal-dialog {
.modal-dialog {
left: 50%;
left: 50%;
...
...
less/variables.less
View file @
22ce6499
...
@@ -201,19 +201,19 @@
...
@@ -201,19 +201,19 @@
// Extra small screen / phone
// Extra small screen / phone
@screen-xs: 480px;
@screen-xs: 480px;
@screen-phone: @screen-xs;
@screen-phone: @screen-xs;
// NOTE: Deprecated in favor of @screen-xs
// Small screen / tablet
// Small screen / tablet
@screen-sm: 768px;
@screen-sm: 768px;
@screen-tablet: @screen-sm;
@screen-tablet: @screen-sm;
// NOTE: Deprecated in favor of @screen-sm
// Medium screen / desktop
// Medium screen / desktop
@screen-md: 992px;
@screen-md: 992px;
@screen-desktop: @screen-md;
@screen-desktop: @screen-md;
// NOTE: Deprecated in favor of @screen-md
// Large screen / wide desktop
// Large screen / wide desktop
@screen-lg: 1200px;
@screen-lg: 1200px;
@screen-lg-desktop: @screen-lg;
@screen-lg-desktop: @screen-lg;
// NOTE: Deprecated in favor of @screen-lg
// So media queries don't overlap when required, provide a maximum
// So media queries don't overlap when required, provide a maximum
@screen-xs-max: (@screen-sm - 1);
@screen-xs-max: (@screen-sm - 1);
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
// Padding, to be divided by two and applied to the left and right of all columns
// Padding, to be divided by two and applied to the left and right of all columns
@grid-gutter-width: 30px;
@grid-gutter-width: 30px;
// Point at which the navbar stops collapsing
// Point at which the navbar stops collapsing
@grid-float-breakpoint: @screen-
tablet
;
@grid-float-breakpoint: @screen-
sm
;
// Navbar
// Navbar
...
...
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