Skip to content

Commit 7e6821a

Browse files
committed
Add 'rz-' prefix to class names
Before the class names were too generic and therefore potentially causing class name collisions.
1 parent 77b80ba commit 7e6821a

File tree

5 files changed

+37
-37
lines changed

5 files changed

+37
-37
lines changed

dist/rzslider.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ rzslider span {
2222
white-space: nowrap;
2323
}
2424

25-
rzslider span.base {
25+
rzslider span.rz-base {
2626
width: 100%;
2727
height: 100%;
2828
padding: 0;
2929
}
3030

31-
rzslider span.bar {
31+
rzslider span.rz-bar {
3232
z-index: 0;
3333
width: 100%;
3434
height: 100%;
3535
background: #fff;
3636
}
3737

38-
rzslider span.bar.selection {
38+
rzslider span.rz-bar.rz-selection {
3939
z-index: 1;
4040
width: 0;
4141
background: #67b700;
4242
}
4343

44-
rzslider span.pointer {
44+
rzslider span.rz-pointer {
4545
top: -15px;
4646
z-index: 2;
4747
width: 32px;
@@ -53,7 +53,7 @@ rzslider span.pointer {
5353
border-radius: 16px;
5454
}
5555

56-
rzslider span.pointer:after {
56+
rzslider span.rz-pointer:after {
5757
position: absolute;
5858
top: 12px;
5959
left: 12px;
@@ -66,25 +66,25 @@ rzslider span.pointer:after {
6666
content: '';
6767
}
6868

69-
rzslider span.pointer:hover:after {
69+
rzslider span.rz-pointer:hover:after {
7070
background-color: #67b700;
7171
}
7272

73-
rzslider span.pointer.active:after {
73+
rzslider span.rz-pointer.rz-active:after {
7474
background-color: #67b700;
7575
}
7676

77-
rzslider span.bubble {
77+
rzslider span.rz-bubble {
7878
top: -32px;
7979
padding: 1px 3px 1px 3px;
8080
color: #67b700;
8181
cursor: default;
8282
}
8383

84-
rzslider span.bubble.selection {
84+
rzslider span.rz-bubble.rz-selection {
8585
top: 15px;
8686
}
8787

88-
rzslider span.bubble.limit {
88+
rzslider span.rz-bubble.rz-limit {
8989
color: #67b700;
9090
}

dist/rzslider.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)