Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
accgit committed Sep 5, 2018
1 parent ccc66b0 commit a6e709f
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 38 deletions.
41 changes: 23 additions & 18 deletions src/css/style.dropdown.css
Original file line number Diff line number Diff line change
@@ -1,47 +1,52 @@

/*
dropdown menu
*/
/* dropdown menu
========================================================================== */
.dropdown {
margin-left: 12px;
position: relative;
position: relative;
}

.dropdown p {
margin: 0;
}

.dropdown .employ-toggle {
text-decoration: none;
}

.dropdown p { margin: 0; }
.dropdown .employ-toggle { text-decoration: none; }
.dropdown .employ-toggle.click {
border-radius: 30px;
font-size: 14px;
padding: 2px 12px;
font-size: 14px;
padding: 2px 12px;
}

.dropdown ul.expand-dropdown {
display: none;
list-style: none;
margin-top: 5px;
position: absolute;
display: none;
right: 0;
top: 100%;
position: absolute;
right: 0;
top: 100%;
}

.dropdown ul.expand-dropdown li {
margin: 0;
min-width: 110px;
margin: 0;
}

.dropdown ul.expand-dropdown li a.top {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}

.dropdown ul.expand-dropdown li a.bottom {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}

.dropdown ul.expand-dropdown li a {
display: block;
margin-bottom: -1px;
padding: 3px 10px;
text-decoration: none;
margin-bottom: -1px;
display: block;
padding: 3px 10px;
}
19 changes: 9 additions & 10 deletions src/css/style.dropdown.dark.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@

/*
dark theme dropdown menu
*/
/* dark color for dropdown menu
========================================================================== */
.dropdown .employ-toggle.click {
transition: all 0.1s ease-in-out;
color: #acacac;
color: #acacac;
transition: all 0.1s ease-in-out;
}

.dropdown .employ-toggle.click:hover {
background-color: #f2f2f2;
background: #f2f2f2;
}

.dropdown ul.expand-dropdown li a {
background-color: rgb(29, 34, 44);
color: #9197a1;
background: #1d222c;
color: #9197a1;
}

.dropdown ul.expand-dropdown li a:hover {
background-color: rgb(39, 48, 63);
color: white;
background: #27303f;
color: #fff;
}
19 changes: 9 additions & 10 deletions src/css/style.dropdown.light.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@

/*
dark theme dropdown menu
*/
/* light color for dropdown menu
========================================================================== */
.dropdown .employ-toggle.click {
transition: all 0.1s ease-in-out;
color: #acacac;
color: #acacac;
transition: all 0.1s ease-in-out;
}

.dropdown .employ-toggle.click:hover {
background-color: #f2f2f2;
background: #f2f2f2;
}

.dropdown ul.expand-dropdown li a {
background-color: rgb(242, 242, 242);
color: #737373;
background: #f2f2f2;
color: #737373;
}

.dropdown ul.expand-dropdown li a:hover {
background-color: rgb(248, 248, 248);
color: #3c3c3c;
background: #f8f8f8;
color: #3c3c3c;
}

0 comments on commit a6e709f

Please sign in to comment.