201 lines
4.3 KiB
SCSS
201 lines
4.3 KiB
SCSS
//== Media queries breakpoints
|
|
//
|
|
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
|
|
|
// Extra small screen / phone
|
|
//** Deprecated `$screen-xs` as of v3.0.1
|
|
$screen-xs: 480px !default;
|
|
//** Deprecated `$screen-xs-min` as of v3.2.0
|
|
$screen-xs-min: $screen-xs !default;
|
|
|
|
// Small screen / tablet
|
|
//** Deprecated `$screen-sm` as of v3.0.1
|
|
$screen-sm: 768px !default;
|
|
$screen-sm-min: $screen-sm !default;
|
|
|
|
// Medium screen / desktop
|
|
//** Deprecated `$screen-md` as of v3.0.1
|
|
$screen-md: 992px !default;
|
|
$screen-md-min: $screen-md !default;
|
|
//** Deprecated `$screen-desktop` as of v3.0.1
|
|
$screen-desktop: $screen-md-min !default;
|
|
|
|
// Large screen / wide desktop
|
|
//** Deprecated `$screen-lg` as of v3.0.1
|
|
$screen-lg: 1200px !default;
|
|
$screen-lg-min: $screen-lg !default;
|
|
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
|
$screen-lg-desktop: $screen-lg-min !default;
|
|
|
|
// So media queries don't overlap when required, provide a maximum
|
|
$screen-xs-max: ($screen-sm-min - 1) !default;
|
|
$screen-sm-max: ($screen-md-min - 1) !default;
|
|
$screen-md-max: ($screen-lg-min - 1) !default;
|
|
|
|
@mixin MQ-Xsmall() {
|
|
@media (max-width: $screen-xs-max) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin MQ-Small() {
|
|
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin MQ-Medium() {
|
|
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
|
|
@mixin MQ-Large() {
|
|
@media (min-width: $screen-lg-min) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*:focus {outline:0;}
|
|
|
|
.dropup, .dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
z-index: 1000;
|
|
// display: none;
|
|
float: left;
|
|
min-width: 160px;
|
|
padding: 5px 0;
|
|
margin: 2px 0 0;
|
|
list-style: none;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
border-radius: 4px;
|
|
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
.dropdown-menu>li>a {
|
|
display: block;
|
|
padding: 3px 20px;
|
|
clear: both;
|
|
font-weight: 400;
|
|
line-height: 1.42857143;
|
|
color: #333;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.caret {
|
|
display: inline-block;
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 2px;
|
|
vertical-align: middle;
|
|
border-top: 4px dashed;
|
|
border-top: 4px solid\9;
|
|
border-right: 4px solid transparent;
|
|
border-left: 4px solid transparent;
|
|
}
|
|
|
|
button:focus {outline:0;}
|
|
|
|
.dropdown-menu-right {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
margin-bottom: 0;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
touch-action: manipulation;
|
|
cursor: pointer;
|
|
background-image: none;
|
|
border: 1px solid transparent;
|
|
white-space: nowrap;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
line-height: 1.42857;
|
|
border-radius: 4px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.panel {
|
|
position: absolute;
|
|
right: 0px;
|
|
min-width: 300px;
|
|
z-index: 1000;
|
|
margin-top: 10px;
|
|
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
|
|
border: none;
|
|
background-color: white;
|
|
}
|
|
|
|
.panel-right {
|
|
left: 0px;
|
|
}
|
|
|
|
.panel-body {
|
|
padding: 15px;
|
|
}
|
|
|
|
.form-control {
|
|
display: block;
|
|
width: 100%;
|
|
height: 34px;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
line-height: 1.42857;
|
|
color: #555555;
|
|
background-color: #fff;
|
|
background-image: none;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
|
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
|
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
|
}
|
|
|
|
input, button, select, textarea {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.checkbox {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 10px;
|
|
}
|