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
9029b4c0
Commit
9029b4c0
authored
Jul 23, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update forms vars
* Reorganize layout * Add input group var * Add legend border var
parent
a049cdd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
15 deletions
+21
-15
customize.html
customize.html
+20
-12
less/forms.less
less/forms.less
+0
-1
less/variables.less
less/variables.less
+1
-2
No files found.
customize.html
View file @
9029b4c0
...
...
@@ -780,27 +780,35 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<h2
id=
"variables-forms"
>
Forms
</h2>
<div
class=
"row"
>
<div
class=
"col-lg-6"
>
<h3>
Background
</h3>
<h3>
Inputs
</h3>
<label>
@input-bg
</label>
<input
type=
"text"
placeholder=
"#fff"
>
<p
class=
"help-block"
><code>
<
input
>
</code>
background color
</p>
<label>
@input-border
</label>
<input
type=
"text"
placeholder=
"#ccc"
>
<p
class=
"help-block"
><code>
<
input
>
</code>
border color
</p>
<label>
@input-border-radius
</label>
<input
type=
"text"
placeholder=
"@border-radius-base"
>
<p
class=
"help-block"
><code>
<
input
>
</code>
border radius
</p>
<label>
@input-bg-disabled
</label>
<input
type=
"text"
placeholder=
"@gray-lighter"
>
<p
class=
"help-block"
><code>
<
input disabled
>
</code>
background color
</p>
<p
class=
"help-block"
><code>
<
input disabled
>
</code>
background color
</p>
</div>
<div
class=
"col-lg-6"
>
<h3>
Placeholder
</h3>
<label>
@input-color-placeholder
</label>
<input
type=
"text"
placeholder=
"@gray-light"
>
<p
class=
"help-block"
>
Placeholder text color
</p>
</div>
<div
class=
"col-lg-6"
>
<h3>
Border
</h3>
<label>
@input-border
</label>
<input
type=
"text"
placeholder=
"#ccc"
>
<p
class=
"help-block"
><code>
<
input
>
</code>
border color
</p>
<label>
@input-border-radius
</label>
<input
type=
"text"
placeholder=
"@border-radius-base"
>
<p
class=
"help-block"
><code>
<
input
>
</code>
border radius
</p>
<h3>
Legend
</h3>
<label>
@legend-border-color
</label>
<input
type=
"text"
placeholder=
"#e5e5e5"
>
<p
class=
"help-block"
><code>
<
legend
>
</code>
border color
</p>
<h3>
Input groups
</h3>
<label>
@input-group-addon-border-color
</label>
<input
type=
"text"
placeholder=
"@input-border"
>
<p
class=
"help-block"
>
Border color for textual input addons
</p>
</div>
</div>
...
...
less/forms.less
View file @
9029b4c0
...
...
@@ -344,7 +344,6 @@ select {
font-weight: normal;
line-height: @line-height-base;
text-align: center;
text-shadow: @input-group-addon-text-shadow;
background-color: @gray-lighter;
border: 1px solid @input-group-addon-border-color;
border-radius: @border-radius-base;
...
...
less/variables.less
View file @
9029b4c0
...
...
@@ -137,8 +137,7 @@
@legend-border-color: #e5e5e5;
@input-group-addon-text-shadow: 0 1px 0 #fff;
@input-group-addon-border-color: #ccc;
@input-group-addon-border-color: @input-border;
// Dropdowns
...
...
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