display: inherit !important;
}
-@media (min-width: 768px) and (max-width: 979px) {
+@media (min-width: 768px) and (max-width: 992px) {
.visible-phone {
display: none !important;
}
}
}
-@media (min-width: 980px) {
+@media (min-width: 992px) {
.visible-phone {
display: none !important;
}
}
-// 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 {
// Horizontal forms
// --------------------------------------------------
-@media screen and (min-width: 768px) {
+@media screen and (min-width: @screen-tablet) {
.form-horizontal {
.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;
}
}
// 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;
}
}
}
-@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
}
// Scale up the modal
-@media screen and (min-width: 768px) {
+@media screen and (min-width: @screen-tablet) {
.modal-dialog {
left: 50%;
// Inverse navbar
// --------------------------------------------------
-@media screen and (min-width: 768px) {
+@media screen and (min-width: @screen-tablet) {
.navbar {
padding-top: 0;
padding-bottom: 0;
// 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; }
}
// 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; }
}
// 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%;
@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
// --------------------------------------------------
// 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;