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
1803b2f0
Commit
1803b2f0
authored
Jul 23, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3.0.0-wip' of
https://github.com/saas786/bootstrap
into saas786-3.0.0-wip
parents
1d1bd625
330f40c8
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
72 additions
and
26 deletions
+72
-26
less/buttons.less
less/buttons.less
+1
-1
less/carousel.less
less/carousel.less
+7
-7
less/close.less
less/close.less
+3
-3
less/code.less
less/code.less
+5
-5
less/dropdowns.less
less/dropdowns.less
+3
-3
less/forms.less
less/forms.less
+3
-3
less/labels.less
less/labels.less
+2
-2
less/list-group.less
less/list-group.less
+2
-2
less/variables.less
less/variables.less
+46
-0
No files found.
less/buttons.less
View file @
1803b2f0
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
&:hover,
&:hover,
&:focus {
&:focus {
color:
#fff
;
color:
@btn-hover-color
;
text-decoration: none;
text-decoration: none;
}
}
...
...
less/carousel.less
View file @
1803b2f0
...
@@ -72,9 +72,9 @@
...
@@ -72,9 +72,9 @@
width: 15%;
width: 15%;
.opacity(.5);
.opacity(.5);
font-size: 20px;
font-size: 20px;
color:
#fff
;
color:
@carousel-control-color
;
text-align: center;
text-align: center;
text-shadow:
0 1px 2px rgba(0,0,0,.6)
;
text-shadow:
@carousel-control-text-shadow
;
// We can't have this transition here because webkit cancels the carousel
// We can't have this transition here because webkit cancels the carousel
// animation if you trip this while in the middle of another animation.
// animation if you trip this while in the middle of another animation.
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
// Hover/focus state
// Hover/focus state
&:hover,
&:hover,
&:focus {
&:focus {
color:
#fff
;
color:
@carousel-control-hover-color
;
text-decoration: none;
text-decoration: none;
.opacity(.9);
.opacity(.9);
}
}
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
height: 10px;
height: 10px;
margin: 1px;
margin: 1px;
text-indent: -999px;
text-indent: -999px;
border: 1px solid
#fff
;
border: 1px solid
@carousel-indicators-li-border-color
;
border-radius: 10px;
border-radius: 10px;
cursor: pointer;
cursor: pointer;
}
}
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
margin: 0;
margin: 0;
width: 12px;
width: 12px;
height: 12px;
height: 12px;
background-color:
#fff
;
background-color:
@carousel-indicators-active-bg
;
}
}
}
}
...
@@ -167,9 +167,9 @@
...
@@ -167,9 +167,9 @@
z-index: 10;
z-index: 10;
padding-top: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-bottom: 20px;
color:
#fff
;
color:
@carousel-caption-color
;
text-align: center;
text-align: center;
text-shadow:
0 1px 2px rgba(0,0,0,.6)
;
text-shadow:
@carousel-caption-text-shadow
;
& .btn {
& .btn {
text-shadow: none; // No shadow for button elements in carousel-caption
text-shadow: none; // No shadow for button elements in carousel-caption
}
}
...
...
less/close.less
View file @
1803b2f0
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
font-size: (@font-size-base * 1.5);
font-size: (@font-size-base * 1.5);
font-weight: bold;
font-weight: bold;
line-height: 1;
line-height: 1;
color:
#000
;
color:
@close-color
;
text-shadow:
0 1px 0 rgba(255,255,255,1)
;
text-shadow:
@close-text-shadow
;
.opacity(.2);
.opacity(.2);
&:hover,
&:hover,
&:focus {
&:focus {
color:
#000
;
color:
@close-hover-color
;
text-decoration: none;
text-decoration: none;
cursor: pointer;
cursor: pointer;
.opacity(.5);
.opacity(.5);
...
...
less/code.less
View file @
1803b2f0
...
@@ -13,8 +13,8 @@ pre {
...
@@ -13,8 +13,8 @@ pre {
code {
code {
padding: 2px 4px;
padding: 2px 4px;
font-size: 90%;
font-size: 90%;
color:
#c7254e
;
color:
@code-color:
;
background-color:
#f9f2f4
;
background-color:
@code-bg
;
white-space: nowrap;
white-space: nowrap;
border-radius: 4px;
border-radius: 4px;
}
}
...
@@ -29,9 +29,9 @@ pre {
...
@@ -29,9 +29,9 @@ pre {
word-break: break-all;
word-break: break-all;
word-wrap: break-word;
word-wrap: break-word;
color: @gray-dark;
color: @gray-dark;
background-color:
#f5f5f5
;
background-color:
@pre-bg
;
border: 1px solid
#ccc
; // IE8 fallback
border: 1px solid
@pre-fallback-border-color
; // IE8 fallback
border: 1px solid
rgba(0,0,0,.15)
;
border: 1px solid
@pre-border-color
;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
// Make prettyprint styles more spaced out for readability
// Make prettyprint styles more spaced out for readability
...
...
less/dropdowns.less
View file @
1803b2f0
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
height: 0;
height: 0;
margin-left: 2px;
margin-left: 2px;
vertical-align: middle;
vertical-align: middle;
border-top: 4px solid
#000
;
border-top: 4px solid
@caret-border-top-color
;
border-right: 4px solid transparent;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
content: "";
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
margin: 2px 0 0; // override default ul
margin: 2px 0 0; // override default ul
list-style: none;
list-style: none;
background-color: @dropdown-bg;
background-color: @dropdown-bg;
border: 1px solid
#ccc
; // IE8 fallback
border: 1px solid
@dropdown-fallback-border
; // IE8 fallback
border: 1px solid @dropdown-border;
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0,0,0,.175));
.box-shadow(0 6px 12px rgba(0,0,0,.175));
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
// Reverse the caret
// Reverse the caret
.caret {
.caret {
border-top: 0;
border-top: 0;
border-bottom: 4px solid
#000
;
border-bottom: 4px solid
@dropup-caret-border-color
;
content: "";
content: "";
}
}
// Different positioning for bottom up menu
// Different positioning for bottom up menu
...
...
less/forms.less
View file @
1803b2f0
...
@@ -25,7 +25,7 @@ legend {
...
@@ -25,7 +25,7 @@ legend {
line-height: inherit;
line-height: inherit;
color: @gray-dark;
color: @gray-dark;
border: 0;
border: 0;
border-bottom: 1px solid
#e5e5e5
;
border-bottom: 1px solid
@legend-border-color
;
}
}
label {
label {
...
@@ -344,9 +344,9 @@ select {
...
@@ -344,9 +344,9 @@ select {
font-weight: normal;
font-weight: normal;
line-height: @line-height-base;
line-height: @line-height-base;
text-align: center;
text-align: center;
text-shadow:
0 1px 0 #fff
;
text-shadow:
@input-group-addon-text-shadow
;
background-color: @gray-lighter;
background-color: @gray-lighter;
border: 1px solid
#ccc
;
border: 1px solid
@input-group-addon-border-color
;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
&.input-small {
&.input-small {
...
...
less/labels.less
View file @
1803b2f0
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
font-size: 75%;
font-size: 75%;
font-weight: 500;
font-weight: 500;
line-height: 1;
line-height: 1;
color:
#fff
;
color:
@label-color
;
text-align: center;
text-align: center;
white-space: nowrap;
white-space: nowrap;
vertical-align: middle;
vertical-align: middle;
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
&[href] {
&[href] {
&:hover,
&:hover,
&:focus {
&:focus {
color:
#fff
;
color:
@label-link-hover-color
;
text-decoration: none;
text-decoration: none;
cursor: pointer;
cursor: pointer;
background-color: darken(@gray-light, 10%);
background-color: darken(@gray-light, 10%);
...
...
less/list-group.less
View file @
1803b2f0
...
@@ -58,10 +58,10 @@
...
@@ -58,10 +58,10 @@
a.list-group-item {
a.list-group-item {
// Colorize content accordingly
// Colorize content accordingly
.list-group-item-heading {
.list-group-item-heading {
color:
#333
;
color:
@link-list-group-heading-color
;
}
}
.list-group-item-text {
.list-group-item-text {
color:
#555
;
color:
@link-list-group-color
;
}
}
// Hover state
// Hover state
...
...
less/variables.less
View file @
1803b2f0
...
@@ -117,6 +117,7 @@
...
@@ -117,6 +117,7 @@
@btn-info-bg: @brand-info;
@btn-info-bg: @brand-info;
@btn-info-border: @btn-info-bg;
@btn-info-border: @btn-info-bg;
@btn-hover-color: #fff;
// Forms
// Forms
...
@@ -134,12 +135,18 @@
...
@@ -134,12 +135,18 @@
@input-height-large: (ceil(@font-size-large * @line-height-base) + (@padding-large-vertical * 2) + 2);
@input-height-large: (ceil(@font-size-large * @line-height-base) + (@padding-large-vertical * 2) + 2);
@input-height-small: (ceil(@font-size-small * @line-height-base) + (@padding-small-vertical * 2) + 2);
@input-height-small: (ceil(@font-size-small * @line-height-base) + (@padding-small-vertical * 2) + 2);
@legend-border-color: #e5e5e5;
@input-group-addon-text-shadow: 0 1px 0 #fff;
@input-group-addon-border-color: #ccc;
// Dropdowns
// Dropdowns
// -------------------------
// -------------------------
@dropdown-bg: #fff;
@dropdown-bg: #fff;
@dropdown-border: rgba(0,0,0,.15);
@dropdown-border: rgba(0,0,0,.15);
@dropdown-fallback-border: #ccc;
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-bottom: #fff;
@dropdown-divider-bottom: #fff;
...
@@ -150,6 +157,10 @@
...
@@ -150,6 +157,10 @@
@dropdown-link-hover-color: #fff;
@dropdown-link-hover-color: #fff;
@dropdown-link-hover-bg: @dropdown-link-active-bg;
@dropdown-link-hover-bg: @dropdown-link-active-bg;
@caret-border-top-color: #000;
@dropup-caret-border-color: #000;
// COMPONENT VARIABLES
// COMPONENT VARIABLES
// --------------------------------------------------
// --------------------------------------------------
...
@@ -278,6 +289,9 @@
...
@@ -278,6 +289,9 @@
@label-warning-bg: @brand-warning;
@label-warning-bg: @brand-warning;
@label-danger-bg: @brand-danger;
@label-danger-bg: @brand-danger;
@label-color: #fff;
@label-link-hover-color: #fff;
// Modals
// Modals
// -------------------------
// -------------------------
...
@@ -327,6 +341,9 @@
...
@@ -327,6 +341,9 @@
@list-group-active-bg: @component-active-bg;
@list-group-active-bg: @component-active-bg;
@list-group-active-border: @list-group-active-bg;
@list-group-active-border: @list-group-active-bg;
@link-list-group-color: #555;
@link-list-group-heading-color:#333;
// Panels
// Panels
// -------------------------
// -------------------------
@panel-bg: #fff;
@panel-bg: #fff;
...
@@ -390,6 +407,35 @@
...
@@ -390,6 +407,35 @@
@breadcrumb-color: #ccc;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
@breadcrumb-active-color: @gray-light;
// Carousel
// ------------------------
@carousel-control-color: #fff;
@carousel-control-hover-color: #fff;
@carousel-control-text-shadow: 0 1px 2px rgba(0,0,0,.6);
@carousel-indicators-active-bg: #fff;
@carousel-indicators-li-border-color: #fff;
@carousel-caption-color: #fff;
@carousel-caption-text-shadow: 0 1px 2px rgba(0,0,0,.6);
// Close
// ------------------------
@close-color: #000;
@close-hover-color: #000;
@close-text-shadow: 0 1px 0 rgba(255,255,255,1);
// Code
// ------------------------
@code-bg: #f9f2f4;
@code-color: #c7254e;
@pre-bg: #f5f5f5;
@pre-border-color: rgba(0,0,0,.15);
@pre-fallback-border-color: #ccc;
// Miscellaneous
// Miscellaneous
// -------------------------
// -------------------------
...
...
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