Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Moved CSS changes to SCSS source file.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudek committed Jan 9, 2014
1 parent 9ec4b10 commit 9c35894
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
7 changes: 3 additions & 4 deletions src/jcsdl.css
Expand Up @@ -8,7 +8,6 @@
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box; }

.jcsdl-container ul, .jcsdl-container li {
margin: 0;
padding: 0; }
Expand Down Expand Up @@ -3504,10 +3503,10 @@ a.jcsdl-filters-logic-option {
.jcsdl-dropdown {
display: block;
width: 250px;
z-index: 10;
position: relative;
top: -10px;
margin-left: 20px;
z-index: 10;
text-align: left;
border: 1px solid gainsboro;
border-top: 0;
Expand Down Expand Up @@ -3541,8 +3540,6 @@ a.jcsdl-filters-logic-option {
overflow: hidden;
border-top: 1px solid gainsboro;
cursor: pointer; }
.jcsdl-dropdown .jcsdl-dropdown-option:first-child {
border-top: 0; }
.jcsdl-dropdown .jcsdl-dropdown-option .jcsdl-icon {
border: 0;
margin: 0;
Expand Down Expand Up @@ -3585,6 +3582,8 @@ a.jcsdl-filters-logic-option {
line-height: 1.2em; }
.jcsdl-dropdown .jcsdl-dropdown-option:hover {
background: #f8f8f8; }
.jcsdl-dropdown .jcsdl-dropdown-option:first-child {
border-top: 0; }

/* JCSDL Popup */
.jcsdl-popup {
Expand Down
22 changes: 18 additions & 4 deletions src/jcsdl.scss
Expand Up @@ -2190,10 +2190,18 @@ a.jcsdl-filters-logic-option {
}

.jcsdl-dropdown {
display: block; width: 250px; margin-bottom: 50px;
position: absolute; top: 10px; left: 10px; z-index: 10;
border: 1px solid $borderColor; border-top: 0;
font-size: $fontSize; font-family: $fontFamily; color: $colorLight;
display: block;
width: 250px;
z-index: 10;
position: relative;
top: -10px;
margin-left: 20px;
text-align: left;
border: 1px solid $borderColor;
border-top: 0;
font-size: $fontSize;
font-family: $fontFamily;
color: $colorLight;
@include roundedCorner(0, 0, 3px, 3px);
background: white;

Expand All @@ -2207,6 +2215,8 @@ a.jcsdl-filters-logic-option {
border-top: 1px solid $borderColor;
cursor: pointer;



.jcsdl-icon {
border: 0; margin: 0; margin-left: 5px; @include opacity(1);
&:hover {@include opacity(1);}
Expand All @@ -2231,6 +2241,10 @@ a.jcsdl-filters-logic-option {
.jcsdl-operator-desc {font-size: 0.9em; color: $colorLight; line-height: 1.2em;}

&:hover {background: #f8f8f8;}

&:first-child {
border-top: 0;
}
}
}

Expand Down

0 comments on commit 9c35894

Please sign in to comment.