mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
remove adaptive, recomment theme.less to avoid comments in compiled
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
/* Responsive.less
|
||||
* Adjusted grid styles to handle some common screen sizes
|
||||
* ------------------------------------------------------- */
|
||||
|
||||
|
||||
// MOBILE PORTRAIT & LANDSCAPE
|
||||
// ---------------------------
|
||||
// For devices narrower than 480px
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
// Remove fixed width of containers
|
||||
.container {
|
||||
width: auto;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
// Undo the floating of columns
|
||||
.row {
|
||||
margin-left: 0;
|
||||
}
|
||||
.row [class^="span"] {
|
||||
float: none;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
// Stack form elements instead of floating them
|
||||
fieldset legend {
|
||||
margin-left: 0;
|
||||
}
|
||||
label {
|
||||
float: none;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
}
|
||||
div.input {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.input-xxlarge,
|
||||
input.xxlarge,
|
||||
textarea.xxlarge,
|
||||
select.xxlarge {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
// Adjust modal
|
||||
.modal-backdrop {
|
||||
padding: 10px;
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
+5
-8
@@ -33,9 +33,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// COMING SOON...
|
||||
// --------------
|
||||
|
||||
@@ -55,8 +52,8 @@
|
||||
@gridGutterWidth: 20px;
|
||||
|
||||
|
||||
/*
|
||||
TODO:
|
||||
- add ability to set app/site-wide base font-face (need better variables: @baseFontSize, @baseFontFace, @baseLineHeight, etc)
|
||||
- add new docs section for Theme.less
|
||||
*/
|
||||
//
|
||||
// TODO:
|
||||
// - add ability to set app/site-wide base font-face (need better variables: @baseFontSize, @baseFontFace, @baseLineHeight, etc)
|
||||
// - add new docs section for Theme.less
|
||||
//
|
||||
Reference in New Issue
Block a user