phcthemes_admin_panel_pack 5.0.0 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/app/assets/javascripts/smarty/core.js +28154 -0
- data/app/assets/javascripts/smarty/core.min.js +2 -0
- data/app/assets/javascripts/smarty/core.sow_builder.js +84 -0
- data/app/assets/javascripts/smarty/core.sow_builder.min.js +1 -0
- data/app/assets/javascripts/smarty/phcthemes_admin_panel_pack_smarty.js +3 -0
- data/app/assets/javascripts/smarty/vendor.chartjs.js +20776 -0
- data/app/assets/javascripts/smarty/vendor.chartjs.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.cocoen.js +1 -0
- data/app/assets/javascripts/smarty/vendor.cocoen.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.colorpicker.js +3 -0
- data/app/assets/javascripts/smarty/vendor.colorpicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.datatables.js +42928 -0
- data/app/assets/javascripts/smarty/vendor.datatables.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.datepicker.js +2039 -0
- data/app/assets/javascripts/smarty/vendor.datepicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.daterangepicker.js +1578 -0
- data/app/assets/javascripts/smarty/vendor.daterangepicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.easypie.js +364 -0
- data/app/assets/javascripts/smarty/vendor.easypie.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.fancybox.js +5632 -0
- data/app/assets/javascripts/smarty/vendor.fancybox.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.flickity.js +4597 -0
- data/app/assets/javascripts/smarty/vendor.flickity.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.flot.js +11921 -0
- data/app/assets/javascripts/smarty/vendor.flot.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.fullcalendar.js +14597 -0
- data/app/assets/javascripts/smarty/vendor.fullcalendar.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.leaflet.js +6 -0
- data/app/assets/javascripts/smarty/vendor.leaflet.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.markdowneditor.js +7 -0
- data/app/assets/javascripts/smarty/vendor.markdowneditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.mediumeditor.js +7893 -0
- data/app/assets/javascripts/smarty/vendor.mediumeditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.pdfmake.js +79493 -0
- data/app/assets/javascripts/smarty/vendor.pdfmake.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.photoswipe.js +4595 -0
- data/app/assets/javascripts/smarty/vendor.photoswipe.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.prismjs.js +7219 -0
- data/app/assets/javascripts/smarty/vendor.prismjs.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.quilleditor.js +11562 -0
- data/app/assets/javascripts/smarty/vendor.quilleditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.sparkline.js +3068 -0
- data/app/assets/javascripts/smarty/vendor.sparkline.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.summernoteeditor.js +10235 -0
- data/app/assets/javascripts/smarty/vendor.summernoteeditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.swiper.js +9899 -0
- data/app/assets/javascripts/smarty/vendor.swiper.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor_bundle.js +30514 -0
- data/app/assets/javascripts/smarty/vendor_bundle.min.js +2 -0
- data/app/assets/stylesheets/coloradmin/apple/phcthemes_admin_panel_pack_coloradmin.scss +3 -0
- data/app/assets/stylesheets/coloradmin/default/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/facebook/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/google/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/material/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/transparent/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/common/fontawesome/css/all.css +12785 -0
- data/app/assets/stylesheets/common/fontawesome/css/all.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.css +5609 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.css +7135 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.css +16 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.css +371 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/v4-shims.css +2172 -0
- data/app/assets/stylesheets/common/fontawesome/css/v4-shims.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.svg +3717 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.svg +15328 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.svg +12423 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.svg +11323 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.svg +9653 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/app/assets/stylesheets/smarty/default/phcthemes_admin_panel_pack_smarty.scss +10 -0
- data/app/assets/stylesheets/smarty/theme/css/core.css +20170 -0
- data/app/assets/stylesheets/smarty/theme/css/core.min.css +2 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.css +55 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.css +59 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.css +1196 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.css +1258 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.css +173 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.css +545 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.css +927 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.css +263 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flot.css +17 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flot.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.css +1685 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.css +653 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.css +7 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.css +308 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.css +436 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.css +364 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.css +953 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.css +710 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.css +762 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.css +168 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.min.css +2 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.eot +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.svg +250 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.ttf +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff2 +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.eot +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.hash +1 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.ttf +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff2 +0 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/2co.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon_pay_logo.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/american_express.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/apple_pay.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/bitcoin.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/dinners_club.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/discover.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/ebay.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/jcb.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/mastercard.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal_logo.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/shopify.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/skrill.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/switch.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/visa.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/western_union.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/flags.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_dark.svg +2 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_light.svg +2 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_sm.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/icon_192x192.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/icon_512x512.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/manifest.json +20 -0
- data/app/assets/stylesheets/smarty/theme/images/masks/shape-line-lense.svg +1 -0
- data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
- metadata +171 -2
@@ -0,0 +1,1196 @@
|
|
1
|
+
/*$modal-backdrop-bg: #131f43 !default;*/
|
2
|
+
.pickr {
|
3
|
+
position: relative;
|
4
|
+
overflow: visible;
|
5
|
+
transform: translateY(0); }
|
6
|
+
.pickr * {
|
7
|
+
box-sizing: border-box;
|
8
|
+
outline: none;
|
9
|
+
border: none;
|
10
|
+
-webkit-appearance: none; }
|
11
|
+
|
12
|
+
.pickr .pcr-button {
|
13
|
+
position: relative;
|
14
|
+
height: 2em;
|
15
|
+
width: 2em;
|
16
|
+
padding: 0.5em;
|
17
|
+
cursor: pointer;
|
18
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
19
|
+
border-radius: 0.15em;
|
20
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;
|
21
|
+
background-size: 0;
|
22
|
+
transition: all 0.3s; }
|
23
|
+
.pickr .pcr-button::before {
|
24
|
+
position: absolute;
|
25
|
+
content: '';
|
26
|
+
top: 0;
|
27
|
+
left: 0;
|
28
|
+
width: 100%;
|
29
|
+
height: 100%;
|
30
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
31
|
+
background-size: 0.5em;
|
32
|
+
border-radius: 0.15em;
|
33
|
+
z-index: -1; }
|
34
|
+
.pickr .pcr-button::before {
|
35
|
+
z-index: initial; }
|
36
|
+
.pickr .pcr-button::after {
|
37
|
+
position: absolute;
|
38
|
+
content: '';
|
39
|
+
top: 0;
|
40
|
+
left: 0;
|
41
|
+
height: 100%;
|
42
|
+
width: 100%;
|
43
|
+
transition: background 0.3s;
|
44
|
+
background: var(--pcr-color);
|
45
|
+
border-radius: 0.15em; }
|
46
|
+
.pickr .pcr-button.clear {
|
47
|
+
background-size: 70%; }
|
48
|
+
.pickr .pcr-button.clear::before {
|
49
|
+
opacity: 0; }
|
50
|
+
.pickr .pcr-button.clear:focus {
|
51
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
52
|
+
.pickr .pcr-button.disabled {
|
53
|
+
cursor: not-allowed; }
|
54
|
+
|
55
|
+
.pickr *,
|
56
|
+
.pcr-app * {
|
57
|
+
box-sizing: border-box;
|
58
|
+
outline: none;
|
59
|
+
border: none;
|
60
|
+
-webkit-appearance: none; }
|
61
|
+
|
62
|
+
.pickr input:focus, .pickr input.pcr-active,
|
63
|
+
.pickr button:focus,
|
64
|
+
.pickr button.pcr-active,
|
65
|
+
.pcr-app input:focus,
|
66
|
+
.pcr-app input.pcr-active,
|
67
|
+
.pcr-app button:focus,
|
68
|
+
.pcr-app button.pcr-active {
|
69
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
70
|
+
|
71
|
+
.pickr .pcr-palette,
|
72
|
+
.pickr .pcr-slider,
|
73
|
+
.pcr-app .pcr-palette,
|
74
|
+
.pcr-app .pcr-slider {
|
75
|
+
transition: box-shadow 0.3s; }
|
76
|
+
.pickr .pcr-palette:focus,
|
77
|
+
.pickr .pcr-slider:focus,
|
78
|
+
.pcr-app .pcr-palette:focus,
|
79
|
+
.pcr-app .pcr-slider:focus {
|
80
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25); }
|
81
|
+
|
82
|
+
.pcr-app {
|
83
|
+
position: fixed;
|
84
|
+
display: flex;
|
85
|
+
flex-direction: column;
|
86
|
+
z-index: 10000;
|
87
|
+
border-radius: 0.1em;
|
88
|
+
background: #fff;
|
89
|
+
opacity: 0;
|
90
|
+
visibility: hidden;
|
91
|
+
transition: opacity 0.3s, visibility 0s 0.3s;
|
92
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
93
|
+
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
94
|
+
left: 0;
|
95
|
+
top: 0; }
|
96
|
+
.pcr-app.visible {
|
97
|
+
transition: opacity 0.3s;
|
98
|
+
visibility: visible;
|
99
|
+
opacity: 1; }
|
100
|
+
.pcr-app .pcr-swatches {
|
101
|
+
display: flex;
|
102
|
+
flex-wrap: wrap;
|
103
|
+
margin-top: 0.75em; }
|
104
|
+
.pcr-app .pcr-swatches.pcr-last {
|
105
|
+
margin: 0; }
|
106
|
+
@supports (display: grid) {
|
107
|
+
.pcr-app .pcr-swatches {
|
108
|
+
display: grid;
|
109
|
+
align-items: center;
|
110
|
+
grid-template-columns: repeat(auto-fit, 1.75em); } }
|
111
|
+
.pcr-app .pcr-swatches > button {
|
112
|
+
font-size: 1em;
|
113
|
+
position: relative;
|
114
|
+
width: calc(1.75em - 5px);
|
115
|
+
height: calc(1.75em - 5px);
|
116
|
+
border-radius: 0.15em;
|
117
|
+
cursor: pointer;
|
118
|
+
margin: 2.5px;
|
119
|
+
flex-shrink: 0;
|
120
|
+
justify-self: center;
|
121
|
+
transition: all 0.15s;
|
122
|
+
overflow: hidden;
|
123
|
+
background: transparent;
|
124
|
+
z-index: 1; }
|
125
|
+
.pcr-app .pcr-swatches > button::before {
|
126
|
+
position: absolute;
|
127
|
+
content: '';
|
128
|
+
top: 0;
|
129
|
+
left: 0;
|
130
|
+
width: 100%;
|
131
|
+
height: 100%;
|
132
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
133
|
+
background-size: 6px;
|
134
|
+
border-radius: 0.15em;
|
135
|
+
z-index: -1; }
|
136
|
+
.pcr-app .pcr-swatches > button::after {
|
137
|
+
content: '';
|
138
|
+
position: absolute;
|
139
|
+
top: 0;
|
140
|
+
left: 0;
|
141
|
+
width: 100%;
|
142
|
+
height: 100%;
|
143
|
+
background: var(--pcr-color);
|
144
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
145
|
+
border-radius: 0.15em;
|
146
|
+
box-sizing: border-box; }
|
147
|
+
.pcr-app .pcr-swatches > button:hover {
|
148
|
+
filter: brightness(1.05); }
|
149
|
+
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
150
|
+
box-shadow: none; }
|
151
|
+
.pcr-app .pcr-interaction {
|
152
|
+
display: flex;
|
153
|
+
flex-wrap: wrap;
|
154
|
+
align-items: center;
|
155
|
+
margin: 0 -0.2em 0 -0.2em; }
|
156
|
+
.pcr-app .pcr-interaction > * {
|
157
|
+
margin: 0 0.2em; }
|
158
|
+
.pcr-app .pcr-interaction input {
|
159
|
+
letter-spacing: 0.07em;
|
160
|
+
font-size: 0.75em;
|
161
|
+
text-align: center;
|
162
|
+
cursor: pointer;
|
163
|
+
color: #75797e;
|
164
|
+
background: #f1f3f4;
|
165
|
+
border-radius: 0.15em;
|
166
|
+
transition: all 0.15s;
|
167
|
+
padding: 0.45em 0.5em;
|
168
|
+
margin-top: 0.75em; }
|
169
|
+
.pcr-app .pcr-interaction input:hover {
|
170
|
+
filter: brightness(0.975); }
|
171
|
+
.pcr-app .pcr-interaction input:focus {
|
172
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75); }
|
173
|
+
.pcr-app .pcr-interaction .pcr-result {
|
174
|
+
color: #75797e;
|
175
|
+
text-align: left;
|
176
|
+
flex: 1 1 8em;
|
177
|
+
min-width: 8em;
|
178
|
+
transition: all 0.2s;
|
179
|
+
border-radius: 0.15em;
|
180
|
+
background: #f1f3f4;
|
181
|
+
cursor: text; }
|
182
|
+
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
183
|
+
background: #4285f4;
|
184
|
+
color: #fff; }
|
185
|
+
.pcr-app .pcr-interaction .pcr-result::selection {
|
186
|
+
background: #4285f4;
|
187
|
+
color: #fff; }
|
188
|
+
.pcr-app .pcr-interaction .pcr-type.active {
|
189
|
+
color: #fff;
|
190
|
+
background: #4285f4; }
|
191
|
+
.pcr-app .pcr-interaction .pcr-save,
|
192
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
193
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
194
|
+
color: #fff;
|
195
|
+
width: auto; }
|
196
|
+
.pcr-app .pcr-interaction .pcr-save,
|
197
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
198
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
199
|
+
color: #fff; }
|
200
|
+
.pcr-app .pcr-interaction .pcr-save:hover,
|
201
|
+
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
202
|
+
.pcr-app .pcr-interaction .pcr-clear:hover {
|
203
|
+
filter: brightness(0.925); }
|
204
|
+
.pcr-app .pcr-interaction .pcr-save {
|
205
|
+
background: #4285f4; }
|
206
|
+
.pcr-app .pcr-interaction .pcr-clear,
|
207
|
+
.pcr-app .pcr-interaction .pcr-cancel {
|
208
|
+
background: #f44250; }
|
209
|
+
.pcr-app .pcr-interaction .pcr-clear:focus,
|
210
|
+
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
211
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75); }
|
212
|
+
.pcr-app .pcr-selection .pcr-picker {
|
213
|
+
position: absolute;
|
214
|
+
height: 18px;
|
215
|
+
width: 18px;
|
216
|
+
border: 2px solid #fff;
|
217
|
+
border-radius: 100%;
|
218
|
+
-webkit-user-select: none;
|
219
|
+
-moz-user-select: none;
|
220
|
+
-ms-user-select: none;
|
221
|
+
user-select: none; }
|
222
|
+
.pcr-app .pcr-selection .pcr-color-palette,
|
223
|
+
.pcr-app .pcr-selection .pcr-color-chooser,
|
224
|
+
.pcr-app .pcr-selection .pcr-color-opacity {
|
225
|
+
position: relative;
|
226
|
+
-webkit-user-select: none;
|
227
|
+
-moz-user-select: none;
|
228
|
+
-ms-user-select: none;
|
229
|
+
user-select: none;
|
230
|
+
display: flex;
|
231
|
+
flex-direction: column;
|
232
|
+
cursor: grab;
|
233
|
+
cursor: -webkit-grab; }
|
234
|
+
.pcr-app .pcr-selection .pcr-color-palette:active,
|
235
|
+
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
236
|
+
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
237
|
+
cursor: grabbing;
|
238
|
+
cursor: -webkit-grabbing; }
|
239
|
+
|
240
|
+
.pickr {
|
241
|
+
position: relative;
|
242
|
+
overflow: visible;
|
243
|
+
transform: translateY(0); }
|
244
|
+
.pickr * {
|
245
|
+
box-sizing: border-box;
|
246
|
+
outline: none;
|
247
|
+
border: none;
|
248
|
+
-webkit-appearance: none; }
|
249
|
+
|
250
|
+
.pickr .pcr-button {
|
251
|
+
position: relative;
|
252
|
+
height: 2em;
|
253
|
+
width: 2em;
|
254
|
+
padding: 0.5em;
|
255
|
+
cursor: pointer;
|
256
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
257
|
+
border-radius: 0.15em;
|
258
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;
|
259
|
+
background-size: 0;
|
260
|
+
transition: all 0.3s; }
|
261
|
+
.pickr .pcr-button::before {
|
262
|
+
position: absolute;
|
263
|
+
content: '';
|
264
|
+
top: 0;
|
265
|
+
left: 0;
|
266
|
+
width: 100%;
|
267
|
+
height: 100%;
|
268
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
269
|
+
background-size: 0.5em;
|
270
|
+
border-radius: 0.15em;
|
271
|
+
z-index: -1; }
|
272
|
+
.pickr .pcr-button::before {
|
273
|
+
z-index: initial; }
|
274
|
+
.pickr .pcr-button::after {
|
275
|
+
position: absolute;
|
276
|
+
content: '';
|
277
|
+
top: 0;
|
278
|
+
left: 0;
|
279
|
+
height: 100%;
|
280
|
+
width: 100%;
|
281
|
+
transition: background 0.3s;
|
282
|
+
background: var(--pcr-color);
|
283
|
+
border-radius: 0.15em; }
|
284
|
+
.pickr .pcr-button.clear {
|
285
|
+
background-size: 70%; }
|
286
|
+
.pickr .pcr-button.clear::before {
|
287
|
+
opacity: 0; }
|
288
|
+
.pickr .pcr-button.clear:focus {
|
289
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
290
|
+
.pickr .pcr-button.disabled {
|
291
|
+
cursor: not-allowed; }
|
292
|
+
|
293
|
+
.pickr *,
|
294
|
+
.pcr-app * {
|
295
|
+
box-sizing: border-box;
|
296
|
+
outline: none;
|
297
|
+
border: none;
|
298
|
+
-webkit-appearance: none; }
|
299
|
+
|
300
|
+
.pickr input:focus, .pickr input.pcr-active,
|
301
|
+
.pickr button:focus,
|
302
|
+
.pickr button.pcr-active,
|
303
|
+
.pcr-app input:focus,
|
304
|
+
.pcr-app input.pcr-active,
|
305
|
+
.pcr-app button:focus,
|
306
|
+
.pcr-app button.pcr-active {
|
307
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
308
|
+
|
309
|
+
.pickr .pcr-palette,
|
310
|
+
.pickr .pcr-slider,
|
311
|
+
.pcr-app .pcr-palette,
|
312
|
+
.pcr-app .pcr-slider {
|
313
|
+
transition: box-shadow 0.3s; }
|
314
|
+
.pickr .pcr-palette:focus,
|
315
|
+
.pickr .pcr-slider:focus,
|
316
|
+
.pcr-app .pcr-palette:focus,
|
317
|
+
.pcr-app .pcr-slider:focus {
|
318
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25); }
|
319
|
+
|
320
|
+
.pcr-app {
|
321
|
+
position: fixed;
|
322
|
+
display: flex;
|
323
|
+
flex-direction: column;
|
324
|
+
z-index: 10000;
|
325
|
+
border-radius: 0.1em;
|
326
|
+
background: #fff;
|
327
|
+
opacity: 0;
|
328
|
+
visibility: hidden;
|
329
|
+
transition: opacity 0.3s, visibility 0s 0.3s;
|
330
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
331
|
+
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
332
|
+
left: 0;
|
333
|
+
top: 0; }
|
334
|
+
.pcr-app.visible {
|
335
|
+
transition: opacity 0.3s;
|
336
|
+
visibility: visible;
|
337
|
+
opacity: 1; }
|
338
|
+
.pcr-app .pcr-swatches {
|
339
|
+
display: flex;
|
340
|
+
flex-wrap: wrap;
|
341
|
+
margin-top: 0.75em; }
|
342
|
+
.pcr-app .pcr-swatches.pcr-last {
|
343
|
+
margin: 0; }
|
344
|
+
@supports (display: grid) {
|
345
|
+
.pcr-app .pcr-swatches {
|
346
|
+
display: grid;
|
347
|
+
align-items: center;
|
348
|
+
grid-template-columns: repeat(auto-fit, 1.75em); } }
|
349
|
+
.pcr-app .pcr-swatches > button {
|
350
|
+
font-size: 1em;
|
351
|
+
position: relative;
|
352
|
+
width: calc(1.75em - 5px);
|
353
|
+
height: calc(1.75em - 5px);
|
354
|
+
border-radius: 0.15em;
|
355
|
+
cursor: pointer;
|
356
|
+
margin: 2.5px;
|
357
|
+
flex-shrink: 0;
|
358
|
+
justify-self: center;
|
359
|
+
transition: all 0.15s;
|
360
|
+
overflow: hidden;
|
361
|
+
background: transparent;
|
362
|
+
z-index: 1; }
|
363
|
+
.pcr-app .pcr-swatches > button::before {
|
364
|
+
position: absolute;
|
365
|
+
content: '';
|
366
|
+
top: 0;
|
367
|
+
left: 0;
|
368
|
+
width: 100%;
|
369
|
+
height: 100%;
|
370
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
371
|
+
background-size: 6px;
|
372
|
+
border-radius: 0.15em;
|
373
|
+
z-index: -1; }
|
374
|
+
.pcr-app .pcr-swatches > button::after {
|
375
|
+
content: '';
|
376
|
+
position: absolute;
|
377
|
+
top: 0;
|
378
|
+
left: 0;
|
379
|
+
width: 100%;
|
380
|
+
height: 100%;
|
381
|
+
background: var(--pcr-color);
|
382
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
383
|
+
border-radius: 0.15em;
|
384
|
+
box-sizing: border-box; }
|
385
|
+
.pcr-app .pcr-swatches > button:hover {
|
386
|
+
filter: brightness(1.05); }
|
387
|
+
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
388
|
+
box-shadow: none; }
|
389
|
+
.pcr-app .pcr-interaction {
|
390
|
+
display: flex;
|
391
|
+
flex-wrap: wrap;
|
392
|
+
align-items: center;
|
393
|
+
margin: 0 -0.2em 0 -0.2em; }
|
394
|
+
.pcr-app .pcr-interaction > * {
|
395
|
+
margin: 0 0.2em; }
|
396
|
+
.pcr-app .pcr-interaction input {
|
397
|
+
letter-spacing: 0.07em;
|
398
|
+
font-size: 0.75em;
|
399
|
+
text-align: center;
|
400
|
+
cursor: pointer;
|
401
|
+
color: #75797e;
|
402
|
+
background: #f1f3f4;
|
403
|
+
border-radius: 0.15em;
|
404
|
+
transition: all 0.15s;
|
405
|
+
padding: 0.45em 0.5em;
|
406
|
+
margin-top: 0.75em; }
|
407
|
+
.pcr-app .pcr-interaction input:hover {
|
408
|
+
filter: brightness(0.975); }
|
409
|
+
.pcr-app .pcr-interaction input:focus {
|
410
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75); }
|
411
|
+
.pcr-app .pcr-interaction .pcr-result {
|
412
|
+
color: #75797e;
|
413
|
+
text-align: left;
|
414
|
+
flex: 1 1 8em;
|
415
|
+
min-width: 8em;
|
416
|
+
transition: all 0.2s;
|
417
|
+
border-radius: 0.15em;
|
418
|
+
background: #f1f3f4;
|
419
|
+
cursor: text; }
|
420
|
+
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
421
|
+
background: #4285f4;
|
422
|
+
color: #fff; }
|
423
|
+
.pcr-app .pcr-interaction .pcr-result::selection {
|
424
|
+
background: #4285f4;
|
425
|
+
color: #fff; }
|
426
|
+
.pcr-app .pcr-interaction .pcr-type.active {
|
427
|
+
color: #fff;
|
428
|
+
background: #4285f4; }
|
429
|
+
.pcr-app .pcr-interaction .pcr-save,
|
430
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
431
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
432
|
+
color: #fff;
|
433
|
+
width: auto; }
|
434
|
+
.pcr-app .pcr-interaction .pcr-save,
|
435
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
436
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
437
|
+
color: #fff; }
|
438
|
+
.pcr-app .pcr-interaction .pcr-save:hover,
|
439
|
+
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
440
|
+
.pcr-app .pcr-interaction .pcr-clear:hover {
|
441
|
+
filter: brightness(0.925); }
|
442
|
+
.pcr-app .pcr-interaction .pcr-save {
|
443
|
+
background: #4285f4; }
|
444
|
+
.pcr-app .pcr-interaction .pcr-clear,
|
445
|
+
.pcr-app .pcr-interaction .pcr-cancel {
|
446
|
+
background: #f44250; }
|
447
|
+
.pcr-app .pcr-interaction .pcr-clear:focus,
|
448
|
+
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
449
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75); }
|
450
|
+
.pcr-app .pcr-selection .pcr-picker {
|
451
|
+
position: absolute;
|
452
|
+
height: 18px;
|
453
|
+
width: 18px;
|
454
|
+
border: 2px solid #fff;
|
455
|
+
border-radius: 100%;
|
456
|
+
-webkit-user-select: none;
|
457
|
+
-moz-user-select: none;
|
458
|
+
-ms-user-select: none;
|
459
|
+
user-select: none; }
|
460
|
+
.pcr-app .pcr-selection .pcr-color-palette,
|
461
|
+
.pcr-app .pcr-selection .pcr-color-chooser,
|
462
|
+
.pcr-app .pcr-selection .pcr-color-opacity {
|
463
|
+
position: relative;
|
464
|
+
-webkit-user-select: none;
|
465
|
+
-moz-user-select: none;
|
466
|
+
-ms-user-select: none;
|
467
|
+
user-select: none;
|
468
|
+
display: flex;
|
469
|
+
flex-direction: column;
|
470
|
+
cursor: grab;
|
471
|
+
cursor: -webkit-grab; }
|
472
|
+
.pcr-app .pcr-selection .pcr-color-palette:active,
|
473
|
+
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
474
|
+
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
475
|
+
cursor: grabbing;
|
476
|
+
cursor: -webkit-grabbing; }
|
477
|
+
|
478
|
+
.pcr-app[data-theme='classic'] {
|
479
|
+
width: 28.5em;
|
480
|
+
max-width: 95vw;
|
481
|
+
padding: 0.8em; }
|
482
|
+
.pcr-app[data-theme='classic'] .pcr-selection {
|
483
|
+
display: flex;
|
484
|
+
justify-content: space-between;
|
485
|
+
flex-grow: 1; }
|
486
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview {
|
487
|
+
position: relative;
|
488
|
+
z-index: 1;
|
489
|
+
width: 2em;
|
490
|
+
display: flex;
|
491
|
+
flex-direction: column;
|
492
|
+
justify-content: space-between;
|
493
|
+
margin-right: 0.75em; }
|
494
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview::before {
|
495
|
+
position: absolute;
|
496
|
+
content: '';
|
497
|
+
top: 0;
|
498
|
+
left: 0;
|
499
|
+
width: 100%;
|
500
|
+
height: 100%;
|
501
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
502
|
+
background-size: 0.5em;
|
503
|
+
border-radius: 0.15em;
|
504
|
+
z-index: -1; }
|
505
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview .pcr-last-color {
|
506
|
+
cursor: pointer;
|
507
|
+
border-radius: 0.15em 0.15em 0 0;
|
508
|
+
z-index: 2; }
|
509
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview .pcr-current-color {
|
510
|
+
border-radius: 0 0 0.15em 0.15em; }
|
511
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview .pcr-last-color,
|
512
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-preview .pcr-current-color {
|
513
|
+
background: var(--pcr-color);
|
514
|
+
width: 100%;
|
515
|
+
height: 50%; }
|
516
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-palette {
|
517
|
+
width: 100%;
|
518
|
+
height: 8em;
|
519
|
+
z-index: 1; }
|
520
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-palette .pcr-palette {
|
521
|
+
flex-grow: 1;
|
522
|
+
border-radius: 0.15em; }
|
523
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-palette .pcr-palette::before {
|
524
|
+
position: absolute;
|
525
|
+
content: '';
|
526
|
+
top: 0;
|
527
|
+
left: 0;
|
528
|
+
width: 100%;
|
529
|
+
height: 100%;
|
530
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
531
|
+
background-size: 0.5em;
|
532
|
+
border-radius: 0.15em;
|
533
|
+
z-index: -1; }
|
534
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-chooser,
|
535
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-opacity {
|
536
|
+
margin-left: 0.75em; }
|
537
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-chooser .pcr-picker,
|
538
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-opacity .pcr-picker {
|
539
|
+
left: 50%;
|
540
|
+
transform: translateX(-50%); }
|
541
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-chooser .pcr-slider,
|
542
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
543
|
+
width: 8px;
|
544
|
+
flex-grow: 1;
|
545
|
+
border-radius: 50em; }
|
546
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-chooser .pcr-slider {
|
547
|
+
background: linear-gradient(to bottom, red, yellow, lime, cyan, blue, magenta, red); }
|
548
|
+
.pcr-app[data-theme='classic'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
549
|
+
background: linear-gradient(to bottom, transparent, black), url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
550
|
+
background-size: 100%, 50%; }
|
551
|
+
|
552
|
+
.pickr {
|
553
|
+
position: relative;
|
554
|
+
overflow: visible;
|
555
|
+
transform: translateY(0); }
|
556
|
+
.pickr * {
|
557
|
+
box-sizing: border-box;
|
558
|
+
outline: none;
|
559
|
+
border: none;
|
560
|
+
-webkit-appearance: none; }
|
561
|
+
|
562
|
+
.pickr .pcr-button {
|
563
|
+
position: relative;
|
564
|
+
height: 2em;
|
565
|
+
width: 2em;
|
566
|
+
padding: 0.5em;
|
567
|
+
cursor: pointer;
|
568
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
569
|
+
border-radius: 0.15em;
|
570
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;
|
571
|
+
background-size: 0;
|
572
|
+
transition: all 0.3s; }
|
573
|
+
.pickr .pcr-button::before {
|
574
|
+
position: absolute;
|
575
|
+
content: '';
|
576
|
+
top: 0;
|
577
|
+
left: 0;
|
578
|
+
width: 100%;
|
579
|
+
height: 100%;
|
580
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
581
|
+
background-size: 0.5em;
|
582
|
+
border-radius: 0.15em;
|
583
|
+
z-index: -1; }
|
584
|
+
.pickr .pcr-button::before {
|
585
|
+
z-index: initial; }
|
586
|
+
.pickr .pcr-button::after {
|
587
|
+
position: absolute;
|
588
|
+
content: '';
|
589
|
+
top: 0;
|
590
|
+
left: 0;
|
591
|
+
height: 100%;
|
592
|
+
width: 100%;
|
593
|
+
transition: background 0.3s;
|
594
|
+
background: var(--pcr-color);
|
595
|
+
border-radius: 0.15em; }
|
596
|
+
.pickr .pcr-button.clear {
|
597
|
+
background-size: 70%; }
|
598
|
+
.pickr .pcr-button.clear::before {
|
599
|
+
opacity: 0; }
|
600
|
+
.pickr .pcr-button.clear:focus {
|
601
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
602
|
+
.pickr .pcr-button.disabled {
|
603
|
+
cursor: not-allowed; }
|
604
|
+
|
605
|
+
.pickr *,
|
606
|
+
.pcr-app * {
|
607
|
+
box-sizing: border-box;
|
608
|
+
outline: none;
|
609
|
+
border: none;
|
610
|
+
-webkit-appearance: none; }
|
611
|
+
|
612
|
+
.pickr input:focus, .pickr input.pcr-active,
|
613
|
+
.pickr button:focus,
|
614
|
+
.pickr button.pcr-active,
|
615
|
+
.pcr-app input:focus,
|
616
|
+
.pcr-app input.pcr-active,
|
617
|
+
.pcr-app button:focus,
|
618
|
+
.pcr-app button.pcr-active {
|
619
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
620
|
+
|
621
|
+
.pickr .pcr-palette,
|
622
|
+
.pickr .pcr-slider,
|
623
|
+
.pcr-app .pcr-palette,
|
624
|
+
.pcr-app .pcr-slider {
|
625
|
+
transition: box-shadow 0.3s; }
|
626
|
+
.pickr .pcr-palette:focus,
|
627
|
+
.pickr .pcr-slider:focus,
|
628
|
+
.pcr-app .pcr-palette:focus,
|
629
|
+
.pcr-app .pcr-slider:focus {
|
630
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25); }
|
631
|
+
|
632
|
+
.pcr-app {
|
633
|
+
position: fixed;
|
634
|
+
display: flex;
|
635
|
+
flex-direction: column;
|
636
|
+
z-index: 10000;
|
637
|
+
border-radius: 0.1em;
|
638
|
+
background: #fff;
|
639
|
+
opacity: 0;
|
640
|
+
visibility: hidden;
|
641
|
+
transition: opacity 0.3s, visibility 0s 0.3s;
|
642
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
643
|
+
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
644
|
+
left: 0;
|
645
|
+
top: 0; }
|
646
|
+
.pcr-app.visible {
|
647
|
+
transition: opacity 0.3s;
|
648
|
+
visibility: visible;
|
649
|
+
opacity: 1; }
|
650
|
+
.pcr-app .pcr-swatches {
|
651
|
+
display: flex;
|
652
|
+
flex-wrap: wrap;
|
653
|
+
margin-top: 0.75em; }
|
654
|
+
.pcr-app .pcr-swatches.pcr-last {
|
655
|
+
margin: 0; }
|
656
|
+
@supports (display: grid) {
|
657
|
+
.pcr-app .pcr-swatches {
|
658
|
+
display: grid;
|
659
|
+
align-items: center;
|
660
|
+
grid-template-columns: repeat(auto-fit, 1.75em); } }
|
661
|
+
.pcr-app .pcr-swatches > button {
|
662
|
+
font-size: 1em;
|
663
|
+
position: relative;
|
664
|
+
width: calc(1.75em - 5px);
|
665
|
+
height: calc(1.75em - 5px);
|
666
|
+
border-radius: 0.15em;
|
667
|
+
cursor: pointer;
|
668
|
+
margin: 2.5px;
|
669
|
+
flex-shrink: 0;
|
670
|
+
justify-self: center;
|
671
|
+
transition: all 0.15s;
|
672
|
+
overflow: hidden;
|
673
|
+
background: transparent;
|
674
|
+
z-index: 1; }
|
675
|
+
.pcr-app .pcr-swatches > button::before {
|
676
|
+
position: absolute;
|
677
|
+
content: '';
|
678
|
+
top: 0;
|
679
|
+
left: 0;
|
680
|
+
width: 100%;
|
681
|
+
height: 100%;
|
682
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
683
|
+
background-size: 6px;
|
684
|
+
border-radius: 0.15em;
|
685
|
+
z-index: -1; }
|
686
|
+
.pcr-app .pcr-swatches > button::after {
|
687
|
+
content: '';
|
688
|
+
position: absolute;
|
689
|
+
top: 0;
|
690
|
+
left: 0;
|
691
|
+
width: 100%;
|
692
|
+
height: 100%;
|
693
|
+
background: var(--pcr-color);
|
694
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
695
|
+
border-radius: 0.15em;
|
696
|
+
box-sizing: border-box; }
|
697
|
+
.pcr-app .pcr-swatches > button:hover {
|
698
|
+
filter: brightness(1.05); }
|
699
|
+
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
700
|
+
box-shadow: none; }
|
701
|
+
.pcr-app .pcr-interaction {
|
702
|
+
display: flex;
|
703
|
+
flex-wrap: wrap;
|
704
|
+
align-items: center;
|
705
|
+
margin: 0 -0.2em 0 -0.2em; }
|
706
|
+
.pcr-app .pcr-interaction > * {
|
707
|
+
margin: 0 0.2em; }
|
708
|
+
.pcr-app .pcr-interaction input {
|
709
|
+
letter-spacing: 0.07em;
|
710
|
+
font-size: 0.75em;
|
711
|
+
text-align: center;
|
712
|
+
cursor: pointer;
|
713
|
+
color: #75797e;
|
714
|
+
background: #f1f3f4;
|
715
|
+
border-radius: 0.15em;
|
716
|
+
transition: all 0.15s;
|
717
|
+
padding: 0.45em 0.5em;
|
718
|
+
margin-top: 0.75em; }
|
719
|
+
.pcr-app .pcr-interaction input:hover {
|
720
|
+
filter: brightness(0.975); }
|
721
|
+
.pcr-app .pcr-interaction input:focus {
|
722
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75); }
|
723
|
+
.pcr-app .pcr-interaction .pcr-result {
|
724
|
+
color: #75797e;
|
725
|
+
text-align: left;
|
726
|
+
flex: 1 1 8em;
|
727
|
+
min-width: 8em;
|
728
|
+
transition: all 0.2s;
|
729
|
+
border-radius: 0.15em;
|
730
|
+
background: #f1f3f4;
|
731
|
+
cursor: text; }
|
732
|
+
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
733
|
+
background: #4285f4;
|
734
|
+
color: #fff; }
|
735
|
+
.pcr-app .pcr-interaction .pcr-result::selection {
|
736
|
+
background: #4285f4;
|
737
|
+
color: #fff; }
|
738
|
+
.pcr-app .pcr-interaction .pcr-type.active {
|
739
|
+
color: #fff;
|
740
|
+
background: #4285f4; }
|
741
|
+
.pcr-app .pcr-interaction .pcr-save,
|
742
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
743
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
744
|
+
color: #fff;
|
745
|
+
width: auto; }
|
746
|
+
.pcr-app .pcr-interaction .pcr-save,
|
747
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
748
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
749
|
+
color: #fff; }
|
750
|
+
.pcr-app .pcr-interaction .pcr-save:hover,
|
751
|
+
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
752
|
+
.pcr-app .pcr-interaction .pcr-clear:hover {
|
753
|
+
filter: brightness(0.925); }
|
754
|
+
.pcr-app .pcr-interaction .pcr-save {
|
755
|
+
background: #4285f4; }
|
756
|
+
.pcr-app .pcr-interaction .pcr-clear,
|
757
|
+
.pcr-app .pcr-interaction .pcr-cancel {
|
758
|
+
background: #f44250; }
|
759
|
+
.pcr-app .pcr-interaction .pcr-clear:focus,
|
760
|
+
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
761
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75); }
|
762
|
+
.pcr-app .pcr-selection .pcr-picker {
|
763
|
+
position: absolute;
|
764
|
+
height: 18px;
|
765
|
+
width: 18px;
|
766
|
+
border: 2px solid #fff;
|
767
|
+
border-radius: 100%;
|
768
|
+
-webkit-user-select: none;
|
769
|
+
-moz-user-select: none;
|
770
|
+
-ms-user-select: none;
|
771
|
+
user-select: none; }
|
772
|
+
.pcr-app .pcr-selection .pcr-color-palette,
|
773
|
+
.pcr-app .pcr-selection .pcr-color-chooser,
|
774
|
+
.pcr-app .pcr-selection .pcr-color-opacity {
|
775
|
+
position: relative;
|
776
|
+
-webkit-user-select: none;
|
777
|
+
-moz-user-select: none;
|
778
|
+
-ms-user-select: none;
|
779
|
+
user-select: none;
|
780
|
+
display: flex;
|
781
|
+
flex-direction: column;
|
782
|
+
cursor: grab;
|
783
|
+
cursor: -webkit-grab; }
|
784
|
+
.pcr-app .pcr-selection .pcr-color-palette:active,
|
785
|
+
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
786
|
+
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
787
|
+
cursor: grabbing;
|
788
|
+
cursor: -webkit-grabbing; }
|
789
|
+
|
790
|
+
.pcr-app[data-theme='monolith'] {
|
791
|
+
width: 14.25em;
|
792
|
+
max-width: 95vw;
|
793
|
+
padding: 0.8em; }
|
794
|
+
.pcr-app[data-theme='monolith'] .pcr-selection {
|
795
|
+
display: flex;
|
796
|
+
flex-direction: column;
|
797
|
+
justify-content: space-between;
|
798
|
+
flex-grow: 1; }
|
799
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview {
|
800
|
+
position: relative;
|
801
|
+
z-index: 1;
|
802
|
+
width: 100%;
|
803
|
+
height: 1em;
|
804
|
+
display: flex;
|
805
|
+
flex-direction: row;
|
806
|
+
justify-content: space-between;
|
807
|
+
margin-bottom: 0.5em; }
|
808
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview::before {
|
809
|
+
position: absolute;
|
810
|
+
content: '';
|
811
|
+
top: 0;
|
812
|
+
left: 0;
|
813
|
+
width: 100%;
|
814
|
+
height: 100%;
|
815
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
816
|
+
background-size: 0.5em;
|
817
|
+
border-radius: 0.15em;
|
818
|
+
z-index: -1; }
|
819
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview .pcr-last-color {
|
820
|
+
cursor: pointer;
|
821
|
+
transition: background-color 0.3s, box-shadow 0.3s;
|
822
|
+
border-radius: 0.15em 0 0 0.15em;
|
823
|
+
z-index: 2; }
|
824
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview .pcr-current-color {
|
825
|
+
border-radius: 0 0.15em 0.15em 0; }
|
826
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview .pcr-last-color,
|
827
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-preview .pcr-current-color {
|
828
|
+
background: var(--pcr-color);
|
829
|
+
width: 50%;
|
830
|
+
height: 100%; }
|
831
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-palette {
|
832
|
+
width: 100%;
|
833
|
+
height: 8em;
|
834
|
+
z-index: 1; }
|
835
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-palette .pcr-palette {
|
836
|
+
border-radius: 0.15em;
|
837
|
+
width: 100%;
|
838
|
+
height: 100%; }
|
839
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-palette .pcr-palette::before {
|
840
|
+
position: absolute;
|
841
|
+
content: '';
|
842
|
+
top: 0;
|
843
|
+
left: 0;
|
844
|
+
width: 100%;
|
845
|
+
height: 100%;
|
846
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
847
|
+
background-size: 0.5em;
|
848
|
+
border-radius: 0.15em;
|
849
|
+
z-index: -1; }
|
850
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-chooser,
|
851
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-opacity {
|
852
|
+
height: 0.5em;
|
853
|
+
margin-top: 0.75em; }
|
854
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-chooser .pcr-picker,
|
855
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-opacity .pcr-picker {
|
856
|
+
top: 50%;
|
857
|
+
transform: translateY(-50%); }
|
858
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-chooser .pcr-slider,
|
859
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
860
|
+
flex-grow: 1;
|
861
|
+
border-radius: 50em; }
|
862
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-chooser .pcr-slider {
|
863
|
+
background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red); }
|
864
|
+
.pcr-app[data-theme='monolith'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
865
|
+
background: linear-gradient(to right, transparent, black), url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
866
|
+
background-size: 100%, 0.25em; }
|
867
|
+
|
868
|
+
.pickr {
|
869
|
+
position: relative;
|
870
|
+
overflow: visible;
|
871
|
+
transform: translateY(0); }
|
872
|
+
.pickr * {
|
873
|
+
box-sizing: border-box;
|
874
|
+
outline: none;
|
875
|
+
border: none;
|
876
|
+
-webkit-appearance: none; }
|
877
|
+
|
878
|
+
.pickr .pcr-button {
|
879
|
+
position: relative;
|
880
|
+
height: 2em;
|
881
|
+
width: 2em;
|
882
|
+
padding: 0.5em;
|
883
|
+
cursor: pointer;
|
884
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
885
|
+
border-radius: 0.15em;
|
886
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;
|
887
|
+
background-size: 0;
|
888
|
+
transition: all 0.3s; }
|
889
|
+
.pickr .pcr-button::before {
|
890
|
+
position: absolute;
|
891
|
+
content: '';
|
892
|
+
top: 0;
|
893
|
+
left: 0;
|
894
|
+
width: 100%;
|
895
|
+
height: 100%;
|
896
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
897
|
+
background-size: 0.5em;
|
898
|
+
border-radius: 0.15em;
|
899
|
+
z-index: -1; }
|
900
|
+
.pickr .pcr-button::before {
|
901
|
+
z-index: initial; }
|
902
|
+
.pickr .pcr-button::after {
|
903
|
+
position: absolute;
|
904
|
+
content: '';
|
905
|
+
top: 0;
|
906
|
+
left: 0;
|
907
|
+
height: 100%;
|
908
|
+
width: 100%;
|
909
|
+
transition: background 0.3s;
|
910
|
+
background: var(--pcr-color);
|
911
|
+
border-radius: 0.15em; }
|
912
|
+
.pickr .pcr-button.clear {
|
913
|
+
background-size: 70%; }
|
914
|
+
.pickr .pcr-button.clear::before {
|
915
|
+
opacity: 0; }
|
916
|
+
.pickr .pcr-button.clear:focus {
|
917
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
918
|
+
.pickr .pcr-button.disabled {
|
919
|
+
cursor: not-allowed; }
|
920
|
+
|
921
|
+
.pickr *,
|
922
|
+
.pcr-app * {
|
923
|
+
box-sizing: border-box;
|
924
|
+
outline: none;
|
925
|
+
border: none;
|
926
|
+
-webkit-appearance: none; }
|
927
|
+
|
928
|
+
.pickr input:focus, .pickr input.pcr-active,
|
929
|
+
.pickr button:focus,
|
930
|
+
.pickr button.pcr-active,
|
931
|
+
.pcr-app input:focus,
|
932
|
+
.pcr-app input.pcr-active,
|
933
|
+
.pcr-app button:focus,
|
934
|
+
.pcr-app button.pcr-active {
|
935
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color); }
|
936
|
+
|
937
|
+
.pickr .pcr-palette,
|
938
|
+
.pickr .pcr-slider,
|
939
|
+
.pcr-app .pcr-palette,
|
940
|
+
.pcr-app .pcr-slider {
|
941
|
+
transition: box-shadow 0.3s; }
|
942
|
+
.pickr .pcr-palette:focus,
|
943
|
+
.pickr .pcr-slider:focus,
|
944
|
+
.pcr-app .pcr-palette:focus,
|
945
|
+
.pcr-app .pcr-slider:focus {
|
946
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25); }
|
947
|
+
|
948
|
+
.pcr-app {
|
949
|
+
position: fixed;
|
950
|
+
display: flex;
|
951
|
+
flex-direction: column;
|
952
|
+
z-index: 10000;
|
953
|
+
border-radius: 0.1em;
|
954
|
+
background: #fff;
|
955
|
+
opacity: 0;
|
956
|
+
visibility: hidden;
|
957
|
+
transition: opacity 0.3s, visibility 0s 0.3s;
|
958
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
|
959
|
+
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
960
|
+
left: 0;
|
961
|
+
top: 0; }
|
962
|
+
.pcr-app.visible {
|
963
|
+
transition: opacity 0.3s;
|
964
|
+
visibility: visible;
|
965
|
+
opacity: 1; }
|
966
|
+
.pcr-app .pcr-swatches {
|
967
|
+
display: flex;
|
968
|
+
flex-wrap: wrap;
|
969
|
+
margin-top: 0.75em; }
|
970
|
+
.pcr-app .pcr-swatches.pcr-last {
|
971
|
+
margin: 0; }
|
972
|
+
@supports (display: grid) {
|
973
|
+
.pcr-app .pcr-swatches {
|
974
|
+
display: grid;
|
975
|
+
align-items: center;
|
976
|
+
grid-template-columns: repeat(auto-fit, 1.75em); } }
|
977
|
+
.pcr-app .pcr-swatches > button {
|
978
|
+
font-size: 1em;
|
979
|
+
position: relative;
|
980
|
+
width: calc(1.75em - 5px);
|
981
|
+
height: calc(1.75em - 5px);
|
982
|
+
border-radius: 0.15em;
|
983
|
+
cursor: pointer;
|
984
|
+
margin: 2.5px;
|
985
|
+
flex-shrink: 0;
|
986
|
+
justify-self: center;
|
987
|
+
transition: all 0.15s;
|
988
|
+
overflow: hidden;
|
989
|
+
background: transparent;
|
990
|
+
z-index: 1; }
|
991
|
+
.pcr-app .pcr-swatches > button::before {
|
992
|
+
position: absolute;
|
993
|
+
content: '';
|
994
|
+
top: 0;
|
995
|
+
left: 0;
|
996
|
+
width: 100%;
|
997
|
+
height: 100%;
|
998
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
999
|
+
background-size: 6px;
|
1000
|
+
border-radius: 0.15em;
|
1001
|
+
z-index: -1; }
|
1002
|
+
.pcr-app .pcr-swatches > button::after {
|
1003
|
+
content: '';
|
1004
|
+
position: absolute;
|
1005
|
+
top: 0;
|
1006
|
+
left: 0;
|
1007
|
+
width: 100%;
|
1008
|
+
height: 100%;
|
1009
|
+
background: var(--pcr-color);
|
1010
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
1011
|
+
border-radius: 0.15em;
|
1012
|
+
box-sizing: border-box; }
|
1013
|
+
.pcr-app .pcr-swatches > button:hover {
|
1014
|
+
filter: brightness(1.05); }
|
1015
|
+
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
1016
|
+
box-shadow: none; }
|
1017
|
+
.pcr-app .pcr-interaction {
|
1018
|
+
display: flex;
|
1019
|
+
flex-wrap: wrap;
|
1020
|
+
align-items: center;
|
1021
|
+
margin: 0 -0.2em 0 -0.2em; }
|
1022
|
+
.pcr-app .pcr-interaction > * {
|
1023
|
+
margin: 0 0.2em; }
|
1024
|
+
.pcr-app .pcr-interaction input {
|
1025
|
+
letter-spacing: 0.07em;
|
1026
|
+
font-size: 0.75em;
|
1027
|
+
text-align: center;
|
1028
|
+
cursor: pointer;
|
1029
|
+
color: #75797e;
|
1030
|
+
background: #f1f3f4;
|
1031
|
+
border-radius: 0.15em;
|
1032
|
+
transition: all 0.15s;
|
1033
|
+
padding: 0.45em 0.5em;
|
1034
|
+
margin-top: 0.75em; }
|
1035
|
+
.pcr-app .pcr-interaction input:hover {
|
1036
|
+
filter: brightness(0.975); }
|
1037
|
+
.pcr-app .pcr-interaction input:focus {
|
1038
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75); }
|
1039
|
+
.pcr-app .pcr-interaction .pcr-result {
|
1040
|
+
color: #75797e;
|
1041
|
+
text-align: left;
|
1042
|
+
flex: 1 1 8em;
|
1043
|
+
min-width: 8em;
|
1044
|
+
transition: all 0.2s;
|
1045
|
+
border-radius: 0.15em;
|
1046
|
+
background: #f1f3f4;
|
1047
|
+
cursor: text; }
|
1048
|
+
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
1049
|
+
background: #4285f4;
|
1050
|
+
color: #fff; }
|
1051
|
+
.pcr-app .pcr-interaction .pcr-result::selection {
|
1052
|
+
background: #4285f4;
|
1053
|
+
color: #fff; }
|
1054
|
+
.pcr-app .pcr-interaction .pcr-type.active {
|
1055
|
+
color: #fff;
|
1056
|
+
background: #4285f4; }
|
1057
|
+
.pcr-app .pcr-interaction .pcr-save,
|
1058
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
1059
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
1060
|
+
color: #fff;
|
1061
|
+
width: auto; }
|
1062
|
+
.pcr-app .pcr-interaction .pcr-save,
|
1063
|
+
.pcr-app .pcr-interaction .pcr-cancel,
|
1064
|
+
.pcr-app .pcr-interaction .pcr-clear {
|
1065
|
+
color: #fff; }
|
1066
|
+
.pcr-app .pcr-interaction .pcr-save:hover,
|
1067
|
+
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
1068
|
+
.pcr-app .pcr-interaction .pcr-clear:hover {
|
1069
|
+
filter: brightness(0.925); }
|
1070
|
+
.pcr-app .pcr-interaction .pcr-save {
|
1071
|
+
background: #4285f4; }
|
1072
|
+
.pcr-app .pcr-interaction .pcr-clear,
|
1073
|
+
.pcr-app .pcr-interaction .pcr-cancel {
|
1074
|
+
background: #f44250; }
|
1075
|
+
.pcr-app .pcr-interaction .pcr-clear:focus,
|
1076
|
+
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
1077
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75); }
|
1078
|
+
.pcr-app .pcr-selection .pcr-picker {
|
1079
|
+
position: absolute;
|
1080
|
+
height: 18px;
|
1081
|
+
width: 18px;
|
1082
|
+
border: 2px solid #fff;
|
1083
|
+
border-radius: 100%;
|
1084
|
+
-webkit-user-select: none;
|
1085
|
+
-moz-user-select: none;
|
1086
|
+
-ms-user-select: none;
|
1087
|
+
user-select: none; }
|
1088
|
+
.pcr-app .pcr-selection .pcr-color-palette,
|
1089
|
+
.pcr-app .pcr-selection .pcr-color-chooser,
|
1090
|
+
.pcr-app .pcr-selection .pcr-color-opacity {
|
1091
|
+
position: relative;
|
1092
|
+
-webkit-user-select: none;
|
1093
|
+
-moz-user-select: none;
|
1094
|
+
-ms-user-select: none;
|
1095
|
+
user-select: none;
|
1096
|
+
display: flex;
|
1097
|
+
flex-direction: column;
|
1098
|
+
cursor: grab;
|
1099
|
+
cursor: -webkit-grab; }
|
1100
|
+
.pcr-app .pcr-selection .pcr-color-palette:active,
|
1101
|
+
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
1102
|
+
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
1103
|
+
cursor: grabbing;
|
1104
|
+
cursor: -webkit-grabbing; }
|
1105
|
+
|
1106
|
+
.pcr-app[data-theme='nano'] {
|
1107
|
+
width: 14.25em;
|
1108
|
+
max-width: 95vw; }
|
1109
|
+
.pcr-app[data-theme='nano'] .pcr-swatches {
|
1110
|
+
margin-top: 0.6em;
|
1111
|
+
padding: 0 0.6em; }
|
1112
|
+
.pcr-app[data-theme='nano'] .pcr-interaction {
|
1113
|
+
padding: 0 0.6em 0.6em 0.6em; }
|
1114
|
+
.pcr-app[data-theme='nano'] .pcr-selection {
|
1115
|
+
display: grid;
|
1116
|
+
grid-gap: 0.6em;
|
1117
|
+
grid-template-columns: 1fr 4fr;
|
1118
|
+
grid-template-rows: 5fr auto auto;
|
1119
|
+
align-items: center;
|
1120
|
+
height: 10.5em;
|
1121
|
+
width: 100%;
|
1122
|
+
align-self: flex-start; }
|
1123
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview {
|
1124
|
+
grid-area: 2 / 1 / 4 / 1;
|
1125
|
+
height: 100%;
|
1126
|
+
width: 100%;
|
1127
|
+
display: flex;
|
1128
|
+
flex-direction: row;
|
1129
|
+
justify-content: center;
|
1130
|
+
margin-left: 0.6em; }
|
1131
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-last-color {
|
1132
|
+
display: none; }
|
1133
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-current-color {
|
1134
|
+
position: relative;
|
1135
|
+
background: var(--pcr-color);
|
1136
|
+
width: 2em;
|
1137
|
+
height: 2em;
|
1138
|
+
border-radius: 50em;
|
1139
|
+
overflow: hidden; }
|
1140
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview .pcr-current-color::before {
|
1141
|
+
position: absolute;
|
1142
|
+
content: '';
|
1143
|
+
top: 0;
|
1144
|
+
left: 0;
|
1145
|
+
width: 100%;
|
1146
|
+
height: 100%;
|
1147
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
1148
|
+
background-size: 0.5em;
|
1149
|
+
border-radius: 0.15em;
|
1150
|
+
z-index: -1; }
|
1151
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette {
|
1152
|
+
grid-area: 1 / 1 / 2 / 3;
|
1153
|
+
width: 100%;
|
1154
|
+
height: 100%;
|
1155
|
+
z-index: 1; }
|
1156
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette .pcr-palette {
|
1157
|
+
border-radius: 0.15em;
|
1158
|
+
width: 100%;
|
1159
|
+
height: 100%; }
|
1160
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette .pcr-palette::before {
|
1161
|
+
position: absolute;
|
1162
|
+
content: '';
|
1163
|
+
top: 0;
|
1164
|
+
left: 0;
|
1165
|
+
width: 100%;
|
1166
|
+
height: 100%;
|
1167
|
+
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
1168
|
+
background-size: 0.5em;
|
1169
|
+
border-radius: 0.15em;
|
1170
|
+
z-index: -1; }
|
1171
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser {
|
1172
|
+
grid-area: 2 / 2 / 2 / 2; }
|
1173
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity {
|
1174
|
+
grid-area: 3 / 2 / 3 / 2; }
|
1175
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser,
|
1176
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity {
|
1177
|
+
height: 0.5em;
|
1178
|
+
margin: 0 0.6em; }
|
1179
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-picker,
|
1180
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-picker {
|
1181
|
+
top: 50%;
|
1182
|
+
transform: translateY(-50%); }
|
1183
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-slider,
|
1184
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
1185
|
+
flex-grow: 1;
|
1186
|
+
border-radius: 50em; }
|
1187
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-slider {
|
1188
|
+
background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red); }
|
1189
|
+
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity .pcr-slider {
|
1190
|
+
background: linear-gradient(to right, transparent, black), url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
1191
|
+
background-size: 100%, 0.25em; }
|
1192
|
+
|
1193
|
+
.form-control-pill .pcr-button,
|
1194
|
+
.input-group-over.form-control-pill .pcr-button {
|
1195
|
+
overflow: hidden;
|
1196
|
+
border-radius: 50rem !important; }
|