Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight === 'left' without border #27

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slider",
"version": "0.2.3",
"version": "0.2.17",
"description": "Slider directive implementation for AngularJS, without jQuery dependencies.",
"main": "slider.js",
"repository": {
Expand Down
24 changes: 12 additions & 12 deletions slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slider, [slider] {
display: inline-block;
position: relative;
height: 7px;
height: 25px;
width: 100%;
margin: 25px 5px 25px 5px;
vertical-align: middle;
Expand All @@ -16,33 +16,33 @@ slider div, [slider] div {
slider div.bar, [slider] div.bar {
width: 100%;
height: 100%;
border-radius: 7px;
background: #444;
border-radius: 5px;
background: #93e0b6;
overflow: hidden;
}
/* line 21, slider.scss */
slider div.bar .selection, [slider] div.bar .selection {
width: 0%;
height: 100%;
background: #13b6ff;
background: #0cba5a;
}
/* line 28, slider.scss */
slider div.handle, [slider] div.handle {
cursor: pointer;
width: 20px;
height: 20px;
width: 40px;
height: 40px;
top: -8px;
background-color: #fff;
border: 1px solid #000;
background-color: #0cba5a;
border: 3px solid #ffffff;
z-index: 2;
border-radius: 100%;
}
/* line 38, slider.scss */
slider div.handle:after, [slider] div.handle:after {
content: '';
background-color: #777;
width: 8px;
height: 8px;
content: initial;
background-color: transparent;
width: 40px;
height: 40px;
position: absolute;
top: 6px;
left: 6px;
Expand Down
2 changes: 1 addition & 1 deletion slider.js

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

16 changes: 8 additions & 8 deletions slider.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$height: 7px;
$height: 25px;
slider, [slider] {
display: inline-block;
position: relative;
Expand All @@ -14,14 +14,14 @@ slider, [slider] {
&.bar {
width: 100%;
height: 100%;
border-radius: $height;
background: #444;
border-radius:5px;
background: #93e0b6;
overflow: hidden;

.selection {
width: 0%;
height: 100%;
background: #13b6ff;
background: #0cba5a;
}
}

Expand All @@ -30,14 +30,14 @@ slider, [slider] {
width: 20px;
height: 20px;
top: -8px;
background-color: #fff;
border: 1px solid #000;
background-color: #0cba5a;
border: 3px solid #ffffff;
z-index: 2;
border-radius: 100%;

&:after {
content: '';
background-color: #777;
content: initial;
background-color: transparent;
width: 8px;
height: 8px;
position: absolute;
Expand Down