Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
f9d0487c
Commit
f9d0487c
authored
Oct 13, 2012
by
Jehan Tremback
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sweet dropdown bro
parent
4769d0c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
+26
-7
app.scss
h/sass/app.scss
+1
-1
common.scss
h/sass/common.scss
+25
-6
No files found.
h/sass/app.scss
View file @
f9d0487c
...
...
@@ -180,7 +180,7 @@ svg { -webkit-tap-highlight-color: rgba(255, 255, 255, 0); }
width
:
100%
;
}
.sheet
,
.dropdown-menu
{
.sheet
{
@include
box-shadow
(
5px
5px
40px
hsla
(
0
,
0%
,
0%
,
.1
));
@include
single-transition
(
all
,
.4s
,
ease-in-out
);
@include
transform-origin
(
50%
,
0
);
...
...
h/sass/common.scss
View file @
f9d0487c
...
...
@@ -305,10 +305,15 @@ blockquote {
//DROPDOWNS
.dropdown
{
position
:
relative
;
span
{
cursor
:
pointer
;
&
:hover
{
color
:
black
;
}
}
}
.dropdown-menu
{
@include
border-radius
(
0
0
.5em
.5em
);
@include
rotateX
(
90deg
);
@include
smallshadow
;
background
:
$white
;
...
...
@@ -316,18 +321,32 @@ blockquote {
border-top
:
0
;
left
:
0
;
float
:
left
;
list-style
:
none
;
min-width
:
0
;
opacity
:
0
;
padding
:
.5em
;
pointer-events
:
none
;
position
:
absolute
;
top
:
100%
;
li
{
line-height
:
1
.5
;
margin
:
.25em
.5em
;
border-top
:
dotted
1px
$grayLighter
;
&
:hover
{
color
:
black
;
}
&
:first-child
{
border-top
:
0
;
}
}
a
{
text-decoration
:
none
;
color
:
inherit
;
}
// Aligns the dropdown menu to right
&
.pull-right
{
right
:
0
;
right
:
-1px
;
left
:
auto
;
text-align
:
right
;
}
}
...
...
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