Skip to content

Commit

Permalink
Style sheet changes and version number change in file
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert DeLuca committed Jan 12, 2014
1 parent 7380044 commit b824583
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 34 deletions.
16 changes: 0 additions & 16 deletions dropkick.css
Expand Up @@ -46,22 +46,16 @@
border-right: 5px solid transparent;
border-top: 5px solid #4B4B4B; }

/* Applied when the dropdown is focused */
.dk_focus .dk_toggle {
border-color: #40b5e2;
box-shadow: 0 0 5px #40b5e2;
-moz-box-shadow: 0 0 5px #40b5e2;
-webkit-box-shadow: 0 0 5px #40b5e2; }

/* Applied whenever the dropdown is open */
.dk_open {
box-shadow: 0 0 5px #40b5e2;
-moz-box-shadow: 0 0 5px #40b5e2;
-webkit-box-shadow: 0 0 5px #40b5e2;
/**
* Help: Dropdown menu is covered by something
* Try setting this value higher
*/
z-index: 10; }
.dk_open .dk_toggle {
background-color: #ececec;
Expand All @@ -72,7 +66,6 @@
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0; }

/* Applied whenever the dropdown is open at the top */
.dk_open_top .dk_toggle {
border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px;
Expand All @@ -82,10 +75,8 @@
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0; }

/* The outer container of the options */
.dk_options {
background: #fefefe;
/* Removes transparent background on iOS5+ scroll */
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
Expand Down Expand Up @@ -116,7 +107,6 @@
border-bottom-color: #999;
text-shadow: none; }

/* Inner container for options, this is what makes the scrollbar possible. */
.dk_options_inner {
max-height: 250px;
border: 1px solid #8c8c8e;
Expand All @@ -128,8 +118,6 @@
-moz-border-radius: 0 0 5px 5px;
-webkit-border-radius: 0 0 5px 5px; }

/****** End Theme ******/
/***** Critical to the continued enjoyment of working dropdowns ******/
.dk_container {
display: none;
float: left; }
Expand Down Expand Up @@ -164,13 +152,11 @@
position: relative;
-webkit-overflow-scrolling: touch; }

/* Hides only dropkick <select> instances */
.dk_container select {
position: absolute;
top: -99999em;
visibility: hidden; }

/* nativeMobile override */
.dk_mobile {
position: relative; }
.dk_mobile select {
Expand All @@ -184,5 +170,3 @@
appearance: none;
-moz-appearance: none;
-webkit-appearance: none; }

/***** End Critical to the continued enjoyment of working dropdowns ******/
28 changes: 13 additions & 15 deletions dropkick.scss
Expand Up @@ -56,7 +56,7 @@
border-top: 5px solid #4B4B4B;
}
}
/* Applied when the dropdown is focused */
// Applied when the dropdown is focused
.dk_focus{
.dk_toggle {
border-color: #40b5e2;
Expand All @@ -66,15 +66,13 @@
}
}

/* Applied whenever the dropdown is open */
// Applied whenever the dropdown is open
.dk_open {
box-shadow: 0 0 5px #40b5e2;
-moz-box-shadow: 0 0 5px #40b5e2;
-webkit-box-shadow: 0 0 5px #40b5e2;
/**
* Help: Dropdown menu is covered by something
* Try setting this value higher
*/
//* Help: Dropdown menu is covered by something
//* Try setting this value higher
z-index: 10;
.dk_toggle {
background-color: #ececec;
Expand All @@ -87,7 +85,7 @@
}
}

/* Applied whenever the dropdown is open at the top */
// Applied whenever the dropdown is open at the top
.dk_open_top {
.dk_toggle {
border-radius: 0 0 5px 5px;
Expand All @@ -101,9 +99,9 @@
}
}

/* The outer container of the options */
//* The outer container of the options
.dk_options {
background: #fefefe; /* Removes transparent background on iOS5+ scroll */
background: #fefefe; // Removes transparent background on iOS5+ scroll
box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
-moz-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
Expand Down Expand Up @@ -140,7 +138,7 @@
}
}
}
/* Inner container for options, this is what makes the scrollbar possible. */
// Inner container for options, this is what makes the scrollbar possible.
.dk_options_inner {
max-height: 250px;
border: 1px solid #8c8c8e;
Expand All @@ -153,9 +151,9 @@
-webkit-border-radius: 0 0 5px 5px;
}

/****** End Theme ******/
//****** End Theme ******

/***** Critical to the continued enjoyment of working dropdowns ******/
//***** Critical to the continued enjoyment of working dropdowns ******

.dk_container {
display: none;
Expand Down Expand Up @@ -201,14 +199,14 @@
}


/* Hides only dropkick <select> instances */
// Hides only dropkick <select> instances
.dk_container select {
position: absolute;
top: -99999em;
visibility: hidden;
}

/* nativeMobile override */
// nativeMobile override
.dk_mobile {
position: relative;
select {
Expand All @@ -224,4 +222,4 @@
}
}

/***** End Critical to the continued enjoyment of working dropdowns ******/
//***** End Critical to the continued enjoyment of working dropdowns ******
2 changes: 1 addition & 1 deletion jquery.dropkick-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions jquery.dropkick.js
@@ -1,5 +1,5 @@
/*
* DropKick 1.3.3
* DropKick 1.4
*
* Highly customizable <select> lists
* https://github.com/robdel12/DropKick
Expand Down Expand Up @@ -301,7 +301,7 @@
settings = $.extend({}, defaults, settings);
dropdownTemplate = settings.dropdownTemplate ? settings.dropdownTemplate : dropdownTemplate;
optionTemplate = settings.optionTemplate ? settings.optionTemplate : optionTemplate;

return this.each(function () {
var
// The current <select> element
Expand Down

0 comments on commit b824583

Please sign in to comment.