Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
0a93bc14
Commit
0a93bc14
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
hero unit and pagination vars
parent
51c418d4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/customize.html
+3
-3
docs/customize.html
docs/templates/pages/customize.mustache
+3
-3
docs/templates/pages/customize.mustache
less/hero-unit.less
+3
-3
less/hero-unit.less
less/pagination.less
+3
-3
less/pagination.less
less/variables.less
+10
-6
less/variables.less
with
22 additions
and
18 deletions
+22
-18
docs/customize.html
+
3
-
3
View file @
0a93bc14
...
@@ -310,11 +310,11 @@
...
@@ -310,11 +310,11 @@
<label>
@border-radius-small
</label>
<label>
@border-radius-small
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<label>
@hero
UnitB
ackground
</label>
<label>
@hero
-b
ackground
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<label>
@hero
UnitH
eading
C
olor
</label>
<label>
@hero
-h
eading
-c
olor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<label>
@hero
UnitL
ead
C
olor
</label>
<label>
@hero
-l
ead
-c
olor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<h3>
Tables
</h3>
<h3>
Tables
</h3>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/customize.mustache
+
3
-
3
View file @
0a93bc14
...
@@ -242,11 +242,11 @@
...
@@ -242,11 +242,11 @@
<label>
@border-radius-small
</label>
<label>
@border-radius-small
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<input
type=
"text"
class=
"span3"
placeholder=
"3px"
>
<label>
@hero
UnitB
ackground
</label>
<label>
@hero
-b
ackground
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<input
type=
"text"
class=
"span3"
placeholder=
"@grayLighter"
>
<label>
@hero
UnitH
eading
C
olor
</label>
<label>
@hero
-h
eading
-c
olor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<label>
@hero
UnitL
ead
C
olor
</label>
<label>
@hero
-l
ead
-c
olor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<input
type=
"text"
class=
"span3"
placeholder=
"inherit"
>
<h3>
{{
_i
}}
Tables
{{/
i
}}
</h3>
<h3>
{{
_i
}}
Tables
{{/
i
}}
</h3>
...
...
This diff is collapsed.
Click to expand it.
less/hero-unit.less
+
3
-
3
View file @
0a93bc14
...
@@ -9,14 +9,14 @@
...
@@ -9,14 +9,14 @@
font-size: 18px;
font-size: 18px;
font-weight: 200;
font-weight: 200;
line-height: @line-height-base * 1.5;
line-height: @line-height-base * 1.5;
color: @hero
UnitL
ead
C
olor;
color: @hero
-l
ead
-c
olor;
background-color: @hero
UnitB
ackground;
background-color: @hero
-b
ackground;
border-radius: 6px;
border-radius: 6px;
h1 {
h1 {
margin-bottom: 0;
margin-bottom: 0;
font-size: 60px;
font-size: 60px;
line-height: 1;
line-height: 1;
color: @hero
UnitH
eading
C
olor;
color: @hero
-h
eading
-c
olor;
letter-spacing: -1px;
letter-spacing: -1px;
}
}
li {
li {
...
...
This diff is collapsed.
Click to expand it.
less/pagination.less
+
3
-
3
View file @
0a93bc14
...
@@ -26,14 +26,14 @@
...
@@ -26,14 +26,14 @@
padding: 4px 12px;
padding: 4px 12px;
line-height: @line-height-base;
line-height: @line-height-base;
text-decoration: none;
text-decoration: none;
background-color: @pagination
B
ackground;
background-color: @pagination
-b
ackground;
border: 1px solid @pagination
B
order;
border: 1px solid @pagination
-b
order;
border-left-width: 0;
border-left-width: 0;
}
}
.pagination ul > li > a:hover,
.pagination ul > li > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > a,
.pagination ul > .active > span {
.pagination ul > .active > span {
background-color: @pagination
ActiveB
ackground;
background-color: @pagination
-b
ackground
-active
;
}
}
.pagination ul > .active > a,
.pagination ul > .active > a,
.pagination ul > .active > span {
.pagination ul > .active > span {
...
...
This diff is collapsed.
Click to expand it.
less/variables.less
+
10
-
6
View file @
0a93bc14
...
@@ -192,20 +192,24 @@
...
@@ -192,20 +192,24 @@
// Pagination
// Pagination
// -------------------------
// -------------------------
@paginationBackground: #fff;
@paginationBorder: #ddd;
@pagination-background: #fff;
@paginationActiveBackground: #f5f5f5;
@pagination-background-active: #f5f5f5;
@pagination-border: #ddd;
// Hero unit
// Hero unit
// -------------------------
// -------------------------
@heroUnitBackground: @grayLighter;
@heroUnitHeadingColor: inherit;
@hero-background: @grayLighter;
@heroUnitLeadColor: inherit;
@hero-heading-color: inherit;
@hero-lead-color: inherit;
// Form states and alerts
// Form states and alerts
// -------------------------
// -------------------------
@warningText: #c09853;
@warningText: #c09853;
@warningBackground: #fcf8e3;
@warningBackground: #fcf8e3;
@warningBorder: darken(spin(@warningBackground, -10), 3%);
@warningBorder: darken(spin(@warningBackground, -10), 3%);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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