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
0a71f171
Commit
0a71f171
authored
Apr 07, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readd bootstrap.zip, add @inputBorderRadius var to close #2946
parent
f563b1db
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
7 deletions
+20
-7
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/download.html
docs/download.html
+2
-0
docs/less.html
docs/less.html
+4
-0
docs/templates/pages/download.mustache
docs/templates/pages/download.mustache
+2
-0
docs/templates/pages/less.mustache
docs/templates/pages/less.mustache
+4
-0
less/forms.less
less/forms.less
+7
-7
less/variables.less
less/variables.less
+1
-0
No files found.
docs/assets/bootstrap.zip
0 → 100644
View file @
0a71f171
File added
docs/download.html
View file @
0a71f171
...
...
@@ -368,6 +368,8 @@
<input
type=
"text"
class=
"span3"
placeholder=
"@white"
>
<label>
@inputBorder
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"#ccc"
>
<label>
@inputBorderRadius
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<label>
@inputDisabledBackground
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<label>
@formActionsBackground
</label>
...
...
docs/less.html
View file @
0a71f171
...
...
@@ -453,6 +453,10 @@
<td><code>
@inputBorder
</code></td>
<td><code>
#ccc
</code></td>
</tr>
<tr>
<td><code>
@inputBorderRadius
</code></td>
<td><code>
3px
</code></td>
</tr>
<tr>
<td><code>
@inputDisabledBackground
</code></td>
<td><code>
@grayLighter
</code></td>
...
...
docs/templates/pages/download.mustache
View file @
0a71f171
...
...
@@ -291,6 +291,8 @@
<input
type=
"text"
class=
"span3"
placeholder=
"@white"
>
<label>
@inputBorder
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"#ccc"
>
<label>
@inputBorderRadius
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<label>
@inputDisabledBackground
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<label>
@formActionsBackground
</label>
...
...
docs/templates/pages/less.mustache
View file @
0a71f171
...
...
@@ -376,6 +376,10 @@
<td><code>
@inputBorder
</code></td>
<td><code>
#ccc
</code></td>
</tr>
<tr>
<td><code>
@inputBorderRadius
</code></td>
<td><code>
3px
</code></td>
</tr>
<tr>
<td><code>
@inputDisabledBackground
</code></td>
<td><code>
@grayLighter
</code></td>
...
...
less/forms.less
View file @
0a71f171
...
...
@@ -72,7 +72,7 @@ select,
line-height: @baseLineHeight;
color: @gray;
border: 1px solid @inputBorder;
.border-radius(
3px
);
.border-radius(
@inputBorderRadius
);
}
.uneditable-textarea {
width: auto;
...
...
@@ -372,7 +372,7 @@ select:focus:required:invalid {
margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms
*margin-left: 0;
vertical-align: middle;
.border-radius(0
3px 3px
0);
.border-radius(0
@inputBorderRadius @inputBorderRadius
0);
// Make input on top when focused so blue border and shadow always show
&:focus {
z-index: 2;
...
...
@@ -397,7 +397,7 @@ select:focus:required:invalid {
}
.add-on,
.btn {
.border-radius(
3px 0 0 3px
);
.border-radius(
@inputBorderRadius 0 0 @inputBorderRadius
);
}
.active {
background-color: lighten(@green, 30);
...
...
@@ -414,7 +414,7 @@ select:focus:required:invalid {
input,
select,
.uneditable-input {
.border-radius(
3px 0 0 3px
);
.border-radius(
@inputBorderRadius 0 0 @inputBorderRadius
);
}
.uneditable-input {
border-left-color: #eee;
...
...
@@ -423,7 +423,7 @@ select:focus:required:invalid {
.add-on,
.btn {
margin-left: -1px;
.border-radius(0
3px 3px
0);
.border-radius(0
@inputBorderRadius @inputBorderRadius
0);
}
}
// Remove all border-radius for inputs with both prepend and append
...
...
@@ -436,12 +436,12 @@ select:focus:required:invalid {
.add-on:first-child,
.btn:first-child {
margin-right: -1px;
.border-radius(
3px 0 0 3px
);
.border-radius(
@inputBorderRadius 0 0 @inputBorderRadius
);
}
.add-on:last-child,
.btn:last-child {
margin-left: -1px;
.border-radius(0
3px 3px
0);
.border-radius(0
@inputBorderRadius @inputBorderRadius
0);
}
}
...
...
less/variables.less
View file @
0a71f171
...
...
@@ -96,6 +96,7 @@
// -------------------------
@inputBackground: @white;
@inputBorder: #ccc;
@inputBorderRadius: 3px;
@inputDisabledBackground: @grayLighter;
@formActionsBackground: #f5f5f5;
...
...
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