aboutsummaryrefslogtreecommitdiffstats
path: root/components/checklist/_checklist.scss
diff options
context:
space:
mode:
Diffstat (limited to 'components/checklist/_checklist.scss')
-rw-r--r--components/checklist/_checklist.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/components/checklist/_checklist.scss b/components/checklist/_checklist.scss
new file mode 100644
index 0000000..248993d
--- /dev/null
+++ b/components/checklist/_checklist.scss
@@ -0,0 +1,21 @@
+$space-lines: 14px;
+$padding-for-sub-level: 28px;
+.checkbox-item{
+ margin: $space-lines 0;
+ .sdc-checkbox__label{
+ @include body-2-emphasis;
+ }
+ .semi-checked{
+ .sdc-checkbox__label:before{
+ background: no-repeat url('data:image/svg+xml;utf8,<svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M2,0 L12,-2.22044605e-16 C13.1045695,5.56104062e-16 14,0.8954305 14,2 L14,12 C14,13.1045695 13.1045695,14 12,14 L2,14 C0.8954305,14 8.94280938e-16,13.1045695 -2.22044605e-16,12 L-2.22044605e-16,2 C-3.57315355e-16,0.8954305 0.8954305,-1.91384796e-17 2,-2.22044605e-16 Z" id="path-1"></path><rect id="path-2" x="3" y="6" width="8" height="2" rx="1"></rect></defs><g id="Symbols-" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="icons/checkbox/semiselected"><g id="form/checkbox_checked-copy-3"><g id="Rectangle-Copy-2"><use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use><path stroke="#D2D2D2" stroke-width="1" d="M2,0.5 C1.17157288,0.5 0.5,1.17157288 0.5,2 L0.5,12 C0.5,12.8284271 1.17157288,13.5 2,13.5 L12,13.5 C12.8284271,13.5 13.5,12.8284271 13.5,12 L13.5,2 C13.5,1.17157288 12.8284271,0.5 12,0.5 L2,0.5 Z"></path></g></g><mask id="mask-3" fill="white"><use xlink:href="#path-2"></use></mask><use id="Mask" fill="#009FDB" xlink:href="#path-2"></use></g></g></svg>');
+ }
+ }
+}
+.checkbox-sublist{
+ padding-left: $padding-for-sub-level;
+ .checkbox-item{
+ .sdc-checkbox__label{
+ @include body-2;
+ }
+ }
+}