Skip to content

Commit 7622fd3

Browse files
committed
Temporarily include build output in the repo, so that this branch can be used as a dependency in package.json
1 parent 146b180 commit 7622fd3

File tree

4 files changed

+239
-1
lines changed

4 files changed

+239
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/.css-compare
22
/examples/dist
3-
/lib
43
/node_modules
54
package-lock.json
65
yarn.lock

lib/index.browser.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/react-checkbox-tree.css

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
.react-checkbox-tree {
2+
/*
3+
display: flex;
4+
flex-direction: row-reverse;
5+
*/
6+
font-size: 16px;
7+
}
8+
9+
.react-checkbox-tree > ol {
10+
-webkit-box-flex: 1;
11+
-ms-flex: 1 1 auto;
12+
flex: 1 1 auto;
13+
}
14+
15+
.react-checkbox-tree ol {
16+
margin: 0;
17+
padding-left: 0;
18+
list-style-type: none;
19+
}
20+
21+
.react-checkbox-tree ol ol {
22+
padding-left: 24px;
23+
}
24+
25+
.react-checkbox-tree button {
26+
line-height: normal;
27+
color: inherit;
28+
}
29+
30+
.react-checkbox-tree button:focus {
31+
outline: none;
32+
}
33+
34+
.react-checkbox-tree button:disabled {
35+
cursor: not-allowed;
36+
}
37+
38+
.react-checkbox-tree .rct-bare-label {
39+
cursor: default;
40+
}
41+
42+
.react-checkbox-tree label {
43+
margin-bottom: 0;
44+
cursor: pointer;
45+
}
46+
47+
.react-checkbox-tree label:hover {
48+
background: rgba(51, 51, 204, 0.1);
49+
}
50+
51+
.react-checkbox-tree label:active {
52+
background: rgba(51, 51, 204, 0.15);
53+
}
54+
55+
.react-checkbox-tree:not(.rct-native-display) input {
56+
display: none;
57+
}
58+
59+
.react-checkbox-tree.rct-native-display input {
60+
margin: 0 5px;
61+
}
62+
63+
.react-checkbox-tree .rct-icon {
64+
font-family: "FontAwesome";
65+
font-style: normal;
66+
}
67+
68+
.rct-disabled > .rct-text > label {
69+
opacity: .75;
70+
cursor: not-allowed;
71+
}
72+
73+
.rct-disabled > .rct-text > label:hover {
74+
background: transparent;
75+
}
76+
77+
.rct-disabled > .rct-text > label:active {
78+
background: transparent;
79+
}
80+
81+
.rct-text {
82+
display: -webkit-box;
83+
display: -ms-flexbox;
84+
display: flex;
85+
-webkit-box-align: center;
86+
-ms-flex-align: center;
87+
align-items: center;
88+
}
89+
90+
.rct-options {
91+
-webkit-box-flex: 0;
92+
-ms-flex: 0 0 auto;
93+
flex: 0 0 auto;
94+
margin-left: .5rem;
95+
text-align: right;
96+
}
97+
98+
.rct-option {
99+
opacity: .75;
100+
border: 0;
101+
background: none;
102+
cursor: pointer;
103+
padding: 0 4px;
104+
font-size: 18px;
105+
}
106+
107+
.rct-option:hover {
108+
opacity: 1;
109+
}
110+
111+
.rct-option + .rct-option {
112+
margin-left: 2px;
113+
}
114+
115+
.rct-collapse,
116+
.rct-checkbox,
117+
.rct-node-icon {
118+
padding: 0 5px;
119+
}
120+
121+
.rct-collapse *,
122+
.rct-checkbox *,
123+
.rct-node-icon * {
124+
display: inline-block;
125+
margin: 0;
126+
width: 14px;
127+
}
128+
129+
.rct-collapse {
130+
border: 0;
131+
background: none;
132+
line-height: normal;
133+
color: inherit;
134+
font-size: 12px;
135+
}
136+
137+
.rct-collapse.rct-collapse-btn {
138+
cursor: pointer;
139+
}
140+
141+
.rct-collapse > .rct-icon-expand-close {
142+
opacity: .5;
143+
}
144+
145+
.rct-collapse > .rct-icon-expand-close:hover {
146+
opacity: 1;
147+
}
148+
149+
.rct-native-display .rct-checkbox {
150+
display: none;
151+
}
152+
153+
.rct-node-clickable {
154+
cursor: pointer;
155+
}
156+
157+
.rct-node-clickable:hover {
158+
background: rgba(51, 51, 204, 0.1);
159+
}
160+
161+
.rct-node-clickable:focus {
162+
outline: 0;
163+
background: rgba(51, 51, 204, 0.2);
164+
}
165+
166+
.rct-node-icon {
167+
color: #33c;
168+
}
169+
170+
.rct-title {
171+
padding: 0 5px;
172+
}
173+
174+
.rct-icon-expand-close::before {
175+
content: "\f054";
176+
}
177+
178+
.rct-icon-expand-open::before {
179+
content: "\f078";
180+
}
181+
182+
.rct-icon-uncheck::before {
183+
content: "\f096";
184+
}
185+
186+
.rct-icon-check::before {
187+
content: "\f046";
188+
}
189+
190+
.rct-icon-half-check::before {
191+
opacity: .5;
192+
content: "\f046";
193+
}
194+
195+
.rct-icon-leaf::before {
196+
content: "\f016";
197+
}
198+
199+
.rct-icon-parent-open::before {
200+
content: "\f115";
201+
}
202+
203+
.rct-icon-parent-close::before {
204+
content: "\f114";
205+
}
206+
207+
.rct-icon-expand-all::before {
208+
content: "\f0fe";
209+
}
210+
211+
.rct-icon-collapse-all::before {
212+
content: "\f146";
213+
}

0 commit comments

Comments
 (0)