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
a09cea44
Commit
a09cea44
authored
Nov 30, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more vars changed
parent
01421ecd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
30 deletions
+28
-30
docs/templates/pages/customize.mustache
docs/templates/pages/customize.mustache
+1
-1
less/forms.less
less/forms.less
+3
-3
less/mixins.less
less/mixins.less
+1
-1
less/type.less
less/type.less
+3
-3
less/variables.less
less/variables.less
+18
-20
less/wells.less
less/wells.less
+2
-2
No files found.
docs/templates/pages/customize.mustache
View file @
a09cea44
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
<input
type=
"text"
class=
"span3"
placeholder=
"#ddd"
>
<input
type=
"text"
class=
"span3"
placeholder=
"#ddd"
>
<h3>
{{
_i
}}
Forms
{{/
i
}}
</h3>
<h3>
{{
_i
}}
Forms
{{/
i
}}
</h3>
<label>
@
placeholderText
</label>
<label>
@
input-color-placeholder
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLight"
>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLight"
>
<label>
@input-background
</label>
<label>
@input-background
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"#fff"
>
<input
type=
"text"
class=
"span3"
placeholder=
"#fff"
>
...
...
less/forms.less
View file @
a09cea44
...
@@ -663,13 +663,13 @@ legend + .control-group {
...
@@ -663,13 +663,13 @@ legend + .control-group {
// Float the labels left
// Float the labels left
.control-label {
.control-label {
float: left;
float: left;
width: @
horizontalComponentOffset
- 20;
width: @
component-offset-horizontal
- 20;
padding-top: 5px;
padding-top: 5px;
text-align: right;
text-align: right;
}
}
// Move over all input controls and content
// Move over all input controls and content
.controls {
.controls {
margin-left: @
horizontalComponentOffset
;
margin-left: @
component-offset-horizontal
;
}
}
// Remove bottom margin on block level help text since that's accounted for on .control-group
// Remove bottom margin on block level help text since that's accounted for on .control-group
.help-block {
.help-block {
...
@@ -688,6 +688,6 @@ legend + .control-group {
...
@@ -688,6 +688,6 @@ legend + .control-group {
}
}
// Move over buttons in .form-actions to align with .controls
// Move over buttons in .form-actions to align with .controls
.form-actions {
.form-actions {
padding-left: @
horizontalComponentOffset
;
padding-left: @
component-offset-horizontal
;
}
}
}
}
less/mixins.less
View file @
a09cea44
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
// Placeholder text
// Placeholder text
// -------------------------
// -------------------------
.placeholder(@color: @
placeholderText
) {
.placeholder(@color: @
input-color-placeholder
) {
&:-moz-placeholder {
&:-moz-placeholder {
color: @color;
color: @color;
}
}
...
...
less/type.less
View file @
a09cea44
...
@@ -140,13 +140,13 @@ dd {
...
@@ -140,13 +140,13 @@ dd {
.clearfix(); // Ensure dl clears floats if empty dd elements present
.clearfix(); // Ensure dl clears floats if empty dd elements present
dt {
dt {
float: left;
float: left;
width: @
horizontalComponentOffset
- 20;
width: @
component-offset-horizontal
- 20;
clear: left;
clear: left;
text-align: right;
text-align: right;
.text-overflow();
.text-overflow();
}
}
dd {
dd {
margin-left: @
horizontalComponentOffset
;
margin-left: @
component-offset-horizontal
;
}
}
}
}
...
@@ -157,7 +157,7 @@ dd {
...
@@ -157,7 +157,7 @@ dd {
hr {
hr {
margin: @line-height-base 0;
margin: @line-height-base 0;
border: 0;
border: 0;
border-top: 1px solid @hr
B
order;
border-top: 1px solid @hr
-b
order;
border-bottom: 1px solid #fff;
border-bottom: 1px solid #fff;
}
}
...
...
less/variables.less
View file @
a09cea44
...
@@ -108,10 +108,12 @@
...
@@ -108,10 +108,12 @@
@input-border-radius: @border-radius-base;
@input-border-radius: @border-radius-base;
@input-border-radius-search: 20px;
@input-border-radius-search: 20px;
@
form-actions-background: #f5f5f5
;
@
input-color-placeholder: @grayLight
;
@input-height: @line-height-base + 14px; // base line-height + 12px vertical padding + 2px top/bottom border
@input-height: @line-height-base + 14px; // base line-height + 12px vertical padding + 2px top/bottom border
@form-actions-background: #f5f5f5;
// Dropdowns
// Dropdowns
// -------------------------
// -------------------------
...
@@ -138,6 +140,7 @@
...
@@ -138,6 +140,7 @@
// -------------------------
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
// Try to avoid customizing these :)
@zindex-dropdown: 1000;
@zindex-dropdown: 1000;
@zindex-popover: 1010;
@zindex-popover: 1010;
@zindex-tooltip: 1030;
@zindex-tooltip: 1030;
...
@@ -145,28 +148,10 @@
...
@@ -145,28 +148,10 @@
@zindex-modal-background: 1040;
@zindex-modal-background: 1040;
@zindex-modal: 1050;
@zindex-modal: 1050;
// Input placeholder text color
// -------------------------
@placeholderText: @grayLight;
// Hr border color
// -------------------------
@hrBorder: @grayLighter;
// Horizontal forms & lists
// -------------------------
@horizontalComponentOffset: 180px;
// Wells
// -------------------------
@wellBackground: #f5f5f5;
// Navbar
// Navbar
// -------------------------
// -------------------------
@navbarCollapseWidth: 979px;
@navbarCollapseWidth: 979px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
...
@@ -254,6 +239,19 @@
...
@@ -254,6 +239,19 @@
@popoverArrowOuterColor: rgba(0,0,0,.25);
@popoverArrowOuterColor: rgba(0,0,0,.25);
// Miscellaneous
// -------------------------
// Hr border color
@hr-border: @grayLighter;
// Horizontal forms & lists
@component-offset-horizontal: 180px;
// Wells
@well-background: #f5f5f5;
// GRID
// GRID
// --------------------------------------------------
// --------------------------------------------------
...
...
less/wells.less
View file @
a09cea44
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
min-height: 20px;
min-height: 20px;
padding: 19px;
padding: 19px;
margin-bottom: 20px;
margin-bottom: 20px;
background-color: @well
B
ackground;
background-color: @well
-b
ackground;
border: 1px solid darken(@well
B
ackground, 7%);
border: 1px solid darken(@well
-b
ackground, 7%);
border-radius: @border-radius-base;
border-radius: @border-radius-base;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
blockquote {
blockquote {
...
...
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