Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated The file so as not to override default bootstrap classes
The classes have been appended with jq-dropdown so as to differentiate from bootstrap
  • Loading branch information
abhikmitra committed May 25, 2014
commit 02e426f34bd11eb406d503edbf641a22e23a4d4a
48 changes: 17 additions & 31 deletions jquery.dropdown.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.dropdown {
.jq-dropdown {
position: absolute;
z-index: 9999999;
display: none;
}

.dropdown .dropdown-menu,
.dropdown .dropdown-panel {
.jq-dropdown .dropdown-menu,
.jq-dropdown .dropdown-panel {
min-width: 160px;
max-width: 360px;
list-style: none;
Expand All @@ -19,15 +19,15 @@
margin: 0;
}

.dropdown .dropdown-panel {
.jq-dropdown .dropdown-panel {
padding: 10px;
}

.dropdown.dropdown-tip {
.jq-dropdown.dropdown-tip {
margin-top: 8px;
}

.dropdown.dropdown-tip:before {
.jq-dropdown.dropdown-tip:before {
position: absolute;
top: -6px;
left: 9px;
Expand All @@ -39,12 +39,12 @@
display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:before {
.jq-dropdown.dropdown-tip.dropdown-anchor-right:before {
left: auto;
right: 9px;
}

.dropdown.dropdown-tip:after {
.jq-dropdown.dropdown-tip:after {
position: absolute;
top: -5px;
left: 10px;
Expand All @@ -55,27 +55,27 @@
display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:after {
.jq-dropdown.dropdown-tip.dropdown-anchor-right:after {
left: auto;
right: 10px;
}


.dropdown.dropdown-scroll .dropdown-menu,
.dropdown.dropdown-scroll .dropdown-panel {
.jq-dropdown.dropdown-scroll .dropdown-menu,
.jq-dropdown.dropdown-scroll .dropdown-panel {
max-height: 358px;
overflow: auto;
}

.dropdown .dropdown-menu LI {
.jq-dropdown .dropdown-menu LI {
list-style: none;
padding: 0 0;
margin: 0;
line-height: 18px;
}

.dropdown .dropdown-menu LI > A,
.dropdown .dropdown-menu LABEL {
.jq-dropdown .dropdown-menu LI > A,
.jq-dropdown .dropdown-menu LABEL {
display: block;
color: #555;
text-decoration: none;
Expand All @@ -84,30 +84,16 @@
white-space: nowrap;
}

.dropdown .dropdown-menu LI > A:hover,
.dropdown .dropdown-menu LABEL:hover {
.jq-dropdown .dropdown-menu LI > A:hover,
.jq-dropdown .dropdown-menu LABEL:hover {
background-color: #08C;
color: #FFF;
cursor: pointer;
}

.dropdown .dropdown-menu .dropdown-divider {
.jq-dropdown .dropdown-menu .dropdown-divider {
font-size: 1px;
border-top: solid 1px #E5E5E5;
padding: 0;
margin: 5px 0;
}

/* Icon Examples - icons courtesy of http://p.yusukekamiyamane.com/ */
.dropdown.has-icons LI > A {
padding-left: 30px;
background-position: 8px center;
background-repeat: no-repeat;
}

.dropdown .undo A { background-image: url(icons/arrow-curve-180-left.png); }
.dropdown .redo A { background-image: url(icons/arrow-curve.png); }
.dropdown .cut A { background-image: url(icons/scissors.png); }
.dropdown .copy A { background-image: url(icons/document-copy.png); }
.dropdown .paste A { background-image: url(icons/clipboard.png); }
.dropdown .delete A { background-image: url(icons/cross-script.png); }