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
b19eb88b
Commit
b19eb88b
authored
Feb 28, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #6935: Use standard decimal points for .opacity() mixin
parent
0dea8b0c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
12 deletions
+15
-12
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+2
-1
less/buttons.less
less/buttons.less
+1
-1
less/carousel.less
less/carousel.less
+2
-2
less/close.less
less/close.less
+2
-2
less/mixins.less
less/mixins.less
+4
-2
less/modals.less
less/modals.less
+2
-2
less/navs.less
less/navs.less
+1
-1
less/tooltip.less
less/tooltip.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
b19eb88b
...
...
@@ -3095,7 +3095,7 @@ button.close {
.nav li.dropdown.open a:hover .caret {
border-top-color: #fff;
border-bottom-color: #fff;
.opacity(1
00
);
.opacity(1);
}
// Dropdowns in stacked tabs
...
...
@@ -3839,6 +3839,7 @@ button.close {
.modal-backdrop.fade
{
opacity
:
0
;
filter
:
alpha
(
opacity
=
0
);
}
.modal-backdrop.fade.in
{
...
...
less/buttons.less
View file @
b19eb88b
...
...
@@ -41,7 +41,7 @@
&[disabled],
fieldset[disabled] & {
cursor: default;
.opacity(65);
.opacity(
.
65);
.box-shadow(none);
}
...
...
less/carousel.less
View file @
b19eb88b
...
...
@@ -75,7 +75,7 @@
left: 0;
bottom: 0;
width: 15%;
.opacity(
50
);
.opacity(
.5
);
font-size: 20px;
color: #fff;
text-align: center;
...
...
@@ -105,7 +105,7 @@
&:focus {
color: #fff;
text-decoration: none;
.opacity(
90
);
.opacity(
.9
);
}
// Toggles
...
...
less/close.less
View file @
b19eb88b
...
...
@@ -10,13 +10,13 @@
line-height: @line-height-base;
color: #000;
text-shadow: 0 1px 0 rgba(255,255,255,1);
.opacity(
20
);
.opacity(
.2
);
&:hover,
&:focus {
color: #000;
text-decoration: none;
cursor: pointer;
.opacity(
50
);
.opacity(
.5
);
}
}
...
...
less/mixins.less
View file @
b19eb88b
...
...
@@ -291,8 +291,10 @@
// Opacity
.opacity(@opacity) {
opacity: @opacity / 100;
filter: ~"alpha(opacity=@{opacity})"; // IE8
opacity: @opacity;
// IE8 filter
@opacity-ie: @opacity * 100;
filter: ~"alpha(opacity=@{opacity-ie})";
}
...
...
less/modals.less
View file @
b19eb88b
...
...
@@ -67,8 +67,8 @@
z-index: @zindex-modal-background - 10;
background-color: #000;
// Fade for backdrop
&.fade {
opacity: 0
; }
&.fade.in { .opacity(
50);
}
&.fade {
.opacity(0)
; }
&.fade.in { .opacity(
.5);
}
}
// Modal header
...
...
less/navs.less
View file @
b19eb88b
...
...
@@ -265,7 +265,7 @@
.nav li.dropdown.open a:hover .caret {
border-top-color: #fff;
border-bottom-color: #fff;
.opacity(1
00
);
.opacity(1);
}
// Dropdowns in stacked tabs
...
...
less/tooltip.less
View file @
b19eb88b
...
...
@@ -13,7 +13,7 @@
line-height: 1.4;
.opacity(0);
&.in { .opacity(1
00
); }
&.in { .opacity(1); }
&.top { margin-top: -3px; padding: 5px 0; }
&.right { margin-left: 3px; padding: 0 5px; }
&.bottom { margin-top: 3px; padding: 5px 0; }
...
...
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