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
03d7c1a6
Commit
03d7c1a6
authored
Jan 05, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make dropdowns use unicode character for :after
parent
621dd13d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
bootstrap.css
bootstrap.css
+2
-2
bootstrap.min.css
bootstrap.min.css
+1
-1
lib/dropdowns.less
lib/dropdowns.less
+1
-1
No files found.
bootstrap.css
View file @
03d7c1a6
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Thu Jan 5 15:4
2:23
PST 2012
* Date: Thu Jan 5 15:4
6:10
PST 2012
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -1486,7 +1486,7 @@ i {
...
@@ -1486,7 +1486,7 @@ i {
filter
:
alpha
(
opacity
=
30
);
filter
:
alpha
(
opacity
=
30
);
-moz-opacity
:
0.3
;
-moz-opacity
:
0.3
;
opacity
:
0.3
;
opacity
:
0.3
;
content
:
"
↓
"
;
content
:
"
\2193
"
;
}
}
.dropdown
:hover
.dropdown-toggle
:after
{
.dropdown
:hover
.dropdown-toggle
:after
{
filter
:
alpha
(
opacity
=
100
);
filter
:
alpha
(
opacity
=
100
);
...
...
bootstrap.min.css
View file @
03d7c1a6
...
@@ -267,7 +267,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
...
@@ -267,7 +267,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.minus
{
background-position
:
-432px
-96px
;}
.minus
{
background-position
:
-432px
-96px
;}
.asterisk
{
background-position
:
-456px
-96px
;}
.asterisk
{
background-position
:
-456px
-96px
;}
.dropdown
{
position
:
relative
;}
.dropdown
{
position
:
relative
;}
.dropdown-toggle
:after
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-top
:
8px
;
margin-left
:
6px
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#ffffff
;
filter
:
alpha
(
opacity
=
30
);
-moz-opacity
:
0.3
;
opacity
:
0.3
;
content
:
"
↓
"
;}
.dropdown-toggle
:after
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-top
:
8px
;
margin-left
:
6px
;
text-indent
:
-99999px
;
vertical-align
:
top
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
4px
solid
#ffffff
;
filter
:
alpha
(
opacity
=
30
);
-moz-opacity
:
0.3
;
opacity
:
0.3
;
content
:
"
\2193
"
;}
.dropdown
:hover
.dropdown-toggle
:after
{
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;}
.dropdown
:hover
.dropdown-toggle
:after
{
filter
:
alpha
(
opacity
=
100
);
-moz-opacity
:
1
;
opacity
:
1
;}
.dropdown-menu
{
position
:
absolute
;
top
:
40px
;
z-index
:
900
;
float
:
left
;
display
:
none
;
min-width
:
160px
;
max-width
:
220px
;
_width
:
160px
;
padding
:
6px
0
;
margin-left
:
0
;
margin-right
:
0
;
background-color
:
#ffffff
;
border-color
:
#999
;
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-style
:
solid
;
border-width
:
0
1px
1px
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;
zoom
:
1
;}
.dropdown-menu
li
{
float
:
none
;
display
:
block
;
background-color
:
none
;}
.dropdown-menu
{
position
:
absolute
;
top
:
40px
;
z-index
:
900
;
float
:
left
;
display
:
none
;
min-width
:
160px
;
max-width
:
220px
;
_width
:
160px
;
padding
:
6px
0
;
margin-left
:
0
;
margin-right
:
0
;
background-color
:
#ffffff
;
border-color
:
#999
;
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-style
:
solid
;
border-width
:
0
1px
1px
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-moz-box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-background-clip
:
padding-box
;
-moz-background-clip
:
padding-box
;
background-clip
:
padding-box
;
zoom
:
1
;}
.dropdown-menu
li
{
float
:
none
;
display
:
block
;
background-color
:
none
;}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
5px
0
;
overflow
:
hidden
;
background-color
:
#eee
;
border-bottom
:
1px
solid
#ffffff
;}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
5px
0
;
overflow
:
hidden
;
background-color
:
#eee
;
border-bottom
:
1px
solid
#ffffff
;}
...
...
lib/dropdowns.less
View file @
03d7c1a6
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
border-right: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid @white;
border-top: 4px solid @white;
.opacity(30);
.opacity(30);
content: "
↓
";
content: "
\2193
";
}
}
.dropdown:hover .dropdown-toggle:after {
.dropdown:hover .dropdown-toggle:after {
.opacity(100);
.opacity(100);
...
...
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