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
4fd164d4
Commit
4fd164d4
authored
Nov 30, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
consolidate font resets into scaffolding
parent
71d8bebf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
41 deletions
+19
-41
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+9
-24
less/forms.less
less/forms.less
+0
-15
less/scaffolding.less
less/scaffolding.less
+10
-2
No files found.
docs/assets/css/bootstrap.css
View file @
4fd164d4
...
@@ -182,11 +182,18 @@ textarea {
...
@@ -182,11 +182,18 @@ textarea {
body
{
body
{
margin
:
0
;
margin
:
0
;
color
:
#333333
;
background-color
:
#ffffff
;
}
body
,
input
,
button
,
select
,
textarea
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
20px
;
line-height
:
20px
;
color
:
#333333
;
background-color
:
#ffffff
;
}
}
a
{
a
{
...
@@ -745,28 +752,6 @@ legend {
...
@@ -745,28 +752,6 @@ legend {
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
legend
small
{
font-size
:
15px
;
color
:
#999999
;
}
label
,
input
,
button
,
select
,
textarea
{
font-size
:
14px
;
font-weight
:
normal
;
line-height
:
20px
;
}
input
,
button
,
select
,
textarea
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
}
label
{
label
{
display
:
block
;
display
:
block
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
...
...
less/forms.less
View file @
4fd164d4
...
@@ -30,21 +30,6 @@ legend {
...
@@ -30,21 +30,6 @@ legend {
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #e5e5e5;
}
}
// Set font for forms
label,
input,
button,
select,
textarea {
#font > .shorthand(@baseFontSize,normal,@baseLineHeight); // Set size, weight, line-height here
}
input,
button,
select,
textarea {
font-family: @baseFontFamily; // And only set font-family here for those that need it (note the missing label element)
}
// Identify controls by their labels
// Identify controls by their labels
label {
label {
display: block;
display: block;
...
...
less/scaffolding.less
View file @
4fd164d4
...
@@ -8,11 +8,19 @@
...
@@ -8,11 +8,19 @@
body {
body {
margin: 0;
margin: 0;
color: @textColor;
background-color: @bodyBackground;
}
// Reset fonts for revelant elements
body,
input,
button,
select,
textarea {
font-family: @baseFontFamily;
font-family: @baseFontFamily;
font-size: @baseFontSize;
font-size: @baseFontSize;
line-height: @baseLineHeight;
line-height: @baseLineHeight;
color: @textColor;
background-color: @bodyBackground;
}
}
...
...
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