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
c2e37414
Commit
c2e37414
authored
Jul 20, 2013
by
syed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move inline properties to variables.less
moved buttons.less, carousel.less & close.less in this commit
parent
45334626
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
11 deletions
+30
-11
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/variables.less
less/variables.less
+19
-0
No files found.
less/buttons.less
View file @
c2e37414
...
...
@@ -27,7 +27,7 @@
&:hover,
&:focus {
color:
#fff
;
color:
@btn-hover-color
;
text-decoration: none;
}
...
...
less/carousel.less
View file @
c2e37414
...
...
@@ -72,9 +72,9 @@
width: 15%;
.opacity(.5);
font-size: 20px;
color:
#fff
;
color:
@carousel-control-color
;
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
// animation if you trip this while in the middle of another animation.
...
...
@@ -93,7 +93,7 @@
// Hover/focus state
&:hover,
&:focus {
color:
#fff
;
color:
@carousel-control-hover-color
;
text-decoration: none;
.opacity(.9);
}
...
...
@@ -144,7 +144,7 @@
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid
#fff
;
border: 1px solid
@carousel-indicators-li-border-color
;
border-radius: 10px;
cursor: pointer;
}
...
...
@@ -152,7 +152,7 @@
margin: 0;
width: 12px;
height: 12px;
background-color:
#fff
;
background-color:
@carousel-indicators-active-bg
;
}
}
...
...
@@ -167,9 +167,9 @@
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color:
#fff
;
color:
@carousel-caption-color
;
text-align: center;
text-shadow:
0 1px 2px rgba(0,0,0,.6)
;
text-shadow:
@carousel-caption-text-shadow
;
& .btn {
text-shadow: none; // No shadow for button elements in carousel-caption
}
...
...
less/close.less
View file @
c2e37414
...
...
@@ -8,13 +8,13 @@
font-size: (@font-size-base * 1.5);
font-weight: bold;
line-height: 1;
color:
#000
;
text-shadow:
0 1px 0 rgba(255,255,255,1)
;
color:
@close-color
;
text-shadow:
@close-text-shadow
;
.opacity(.2);
&:hover,
&:focus {
color:
#000
;
color:
@close-hover-color
;
text-decoration: none;
cursor: pointer;
.opacity(.5);
...
...
less/variables.less
View file @
c2e37414
...
...
@@ -117,6 +117,8 @@
@btn-info-bg: @brand-info;
@btn-info-border: @btn-info-bg;
@btn-hover-color: #fff;
// Forms
...
...
@@ -390,6 +392,23 @@
@breadcrumb-color: #ccc;
@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);
// 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