From 2978934bd529e9cd5b1182d1df98b9942066beda Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 12 Sep 2011 19:40:48 -0700 Subject: [PATCH] remove adaptive, recomment theme.less to avoid comments in compiled --- bootstrap-1.3.0.css | 6 +---- lib/adaptive.less | 57 --------------------------------------------- lib/theme.less | 13 ++++------- 3 files changed, 6 insertions(+), 70 deletions(-) delete mode 100644 lib/adaptive.less diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css index d416026ac8..8e637e8b07 100644 --- a/bootstrap-1.3.0.css +++ b/bootstrap-1.3.0.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Mon Sep 12 19:00:52 PDT 2011 + * Date: Mon Sep 12 19:40:29 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -270,10 +270,6 @@ textarea { Feel free to create and add new variables and mixins here. The goal is to make this your playground and keep the core files intact. */ /* -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 -*//* * Scaffolding * Basic and global styles for generating a grid system, structural layout, and page templates * ------------------------------------------------------------------------------------------- */ diff --git a/lib/adaptive.less b/lib/adaptive.less deleted file mode 100644 index ef3054d3e8..0000000000 --- a/lib/adaptive.less +++ /dev/null @@ -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; - } -} \ No newline at end of file diff --git a/lib/theme.less b/lib/theme.less index b56111c067..c61da444c1 100644 --- a/lib/theme.less +++ b/lib/theme.less @@ -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 -*/ \ No newline at end of file +// +// 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 +// \ No newline at end of file -- 2.47.2