playbook_ui 10.27.0.pre.datepicker1 → 10.27.0.pre.lazysizes1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +0 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +2 -3
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +7 -16
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.md +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_image/_image.scss +9 -4
- data/app/pb_kits/playbook/pb_image/_image.tsx +14 -10
- data/app/pb_kits/playbook/playbook-rails.js +1 -0
- data/dist/reset.css +60 -1
- data/lib/playbook/pb_kit_helper.rb +6 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -8
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb +0 -5
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx +0 -18
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md +0 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss +0 -127
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17b5223ce5053256ecdeca31b0cba4aa944be3e036c5a7f87e618ac210743c70
|
4
|
+
data.tar.gz: 249659c9162fc5866c95f4e7ca93526242cac418d643805106a30024a8f68387
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5795693f1395e8770cac42d3883e784a21249937f31da3608e04c9109e6e07e765a6650f958108fb826a2bc76d99ed4bd8d14395dcf485c3beebd1cb6c0b5239
|
7
|
+
data.tar.gz: b784cac79800c6c20578e8d5b411f665bcbc75ece551eaa577b9026c2ed8de31abf0f785007861b23d27f249579435378cae0ed9f5b4ae9e4df141ac237fae3c
|
@@ -40,7 +40,7 @@ type DatePickerProps = {
|
|
40
40
|
onChange: (String) => void,
|
41
41
|
pickerId?: String,
|
42
42
|
placeholder?: String,
|
43
|
-
plugins?:
|
43
|
+
plugins?: Boolean,
|
44
44
|
type?: String,
|
45
45
|
yearRange?: Array,
|
46
46
|
}
|
@@ -74,7 +74,7 @@ const DatePicker = (props: DatePickerProps) => {
|
|
74
74
|
onChange = () => {},
|
75
75
|
pickerId,
|
76
76
|
placeholder = 'Select Date',
|
77
|
-
plugins =
|
77
|
+
plugins = false,
|
78
78
|
yearRange = [ 1900, 2100 ],
|
79
79
|
} = props
|
80
80
|
|
@@ -41,9 +41,8 @@ module Playbook
|
|
41
41
|
required: true
|
42
42
|
prop :placeholder, type: Playbook::Props::String,
|
43
43
|
default: "Select Date"
|
44
|
-
prop :plugins, type: Playbook::Props::
|
45
|
-
|
46
|
-
default: []
|
44
|
+
prop :plugins, type: Playbook::Props::Boolean,
|
45
|
+
default: false
|
47
46
|
prop :required, type: Playbook::Props::Boolean,
|
48
47
|
default: false
|
49
48
|
prop :year_range, type: Playbook::Props::Array,
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import flatpickr from 'flatpickr'
|
2
2
|
import monthSelectPlugin from 'flatpickr/dist/plugins/monthSelect'
|
3
|
-
import weekSelect from "flatpickr/dist/plugins/weekSelect/weekSelect"
|
4
3
|
|
5
4
|
const datePickerHelper = (config) => {
|
6
5
|
const {
|
@@ -53,15 +52,9 @@ const datePickerHelper = (config) => {
|
|
53
52
|
}
|
54
53
|
}
|
55
54
|
|
56
|
-
const
|
57
|
-
|
58
|
-
|
59
|
-
p = [ monthSelectPlugin({ shorthand: true, dateFormat: 'F Y', altFormat: 'F Y' }) ]
|
60
|
-
} else if ( plugins === "ws") {
|
61
|
-
p = [ weekSelect({shorthand: true, dateFormat: 'F Y', altFormat: 'F Y' })]
|
62
|
-
} else p = []
|
63
|
-
return p
|
64
|
-
}
|
55
|
+
const setMonthAndYearPlugin = () => (
|
56
|
+
plugins ? [ monthSelectPlugin({ shorthand: true, dateFormat: 'F Y', altFormat: 'F Y' }) ] : []
|
57
|
+
)
|
65
58
|
|
66
59
|
// ===========================================================
|
67
60
|
// | Flatpickr initializer w/ config |
|
@@ -105,12 +98,12 @@ const datePickerHelper = (config) => {
|
|
105
98
|
window.removeEventListener('resize', calendarResizer)
|
106
99
|
}],
|
107
100
|
onChange: [(selectedDates, dateStr) => {
|
108
|
-
onChange(dateStr, selectedDates)
|
101
|
+
onChange(dateStr, selectedDates)
|
109
102
|
}],
|
110
103
|
onYearChange: [() => {
|
111
104
|
yearChangeHook()
|
112
105
|
}],
|
113
|
-
plugins:
|
106
|
+
plugins: setMonthAndYearPlugin(),
|
114
107
|
prevArrow: '<i class="far fa-angle-left"></i>',
|
115
108
|
static: true,
|
116
109
|
})
|
@@ -169,10 +162,8 @@ const datePickerHelper = (config) => {
|
|
169
162
|
// Adding dropdown icons to year and month selects
|
170
163
|
dropdown.insertAdjacentHTML('afterend', '<i class="far fa-angle-down year-dropdown-icon" id="test-id"></i>')
|
171
164
|
if (picker.monthElements[0].parentElement) {
|
172
|
-
return picker.monthElements[0].insertAdjacentHTML('afterend', '<i class="far fa-angle-down month-dropdown-icon"></i>')
|
173
|
-
|
174
|
-
// return picker.weekElements[0].insertAdjacentHTML('afterend', '<i class="far fa-angle-down year-dropdown-icon" id="test-id"></i>')
|
175
|
-
// }
|
165
|
+
return picker.monthElements[0].insertAdjacentHTML('afterend', '<i class="far fa-angle-down month-dropdown-icon"></i>')
|
166
|
+
}
|
176
167
|
|
177
168
|
// Remove readonly attribute for validation and or text input
|
178
169
|
if (allowInput){
|
@@ -1 +1 @@
|
|
1
|
-
<%= pb_rails("date_picker", props: { picker_id: "date-picker-default"
|
1
|
+
<%= pb_rails("date_picker", props: { picker_id: "date-picker-default" }) %>
|
@@ -1 +1 @@
|
|
1
|
-
By default month&year plugin is disabled. To activate it set `plugins` prop to `
|
1
|
+
By default month&year plugin is disabled. To activate it set `plugins` prop to `true`. If you're using React just pass a `plugins` prop to the kit.
|
@@ -17,7 +17,6 @@ examples:
|
|
17
17
|
- date_picker_anti_patterns: Anti-Patterns
|
18
18
|
- date_picker_inline: Inline
|
19
19
|
- date_picker_month_and_year: Month & Year Only
|
20
|
-
- date_picker_week: Week
|
21
20
|
|
22
21
|
|
23
22
|
react:
|
@@ -37,4 +36,3 @@ examples:
|
|
37
36
|
- date_picker_year_range: Year Range
|
38
37
|
- date_picker_inline: Inline
|
39
38
|
- date_picker_month_and_year: Month & Year Only
|
40
|
-
- date_picker_week: Week
|
@@ -14,4 +14,3 @@ export { default as DatePickerFlatpickrMethods } from './_date_picker_flatpickr_
|
|
14
14
|
export { default as DatePickerYearRange } from './_date_picker_year_range.jsx'
|
15
15
|
export { default as DatePickerInline } from './_date_picker_inline.jsx'
|
16
16
|
export { default as DatePickerMonthAndYear } from './_date_picker_month_and_year.jsx'
|
17
|
-
export { default as DatePickerWeek } from './_date_picker_week.jsx'
|
@@ -11,9 +11,9 @@ $image-sizes: (
|
|
11
11
|
|
12
12
|
[class^=pb_image_kit] {
|
13
13
|
position: relative;
|
14
|
-
object-fit: cover;
|
15
14
|
|
16
15
|
@each $name, $size in $image-sizes {
|
16
|
+
&.ls-blur-up-img,
|
17
17
|
&[class*=size_#{$name}] {
|
18
18
|
width: $size;
|
19
19
|
height: $size;
|
@@ -22,13 +22,16 @@ $image-sizes: (
|
|
22
22
|
flex-shrink: 0;
|
23
23
|
flex-grow: 0;
|
24
24
|
flex-basis: $size;
|
25
|
+
font-family: "blur-up: auto", "object-fit: cover";
|
26
|
+
object-fit: cover;
|
25
27
|
}
|
26
28
|
|
27
29
|
&[class*= rounded] {
|
28
30
|
border-radius: $border-rad-heaviest;
|
29
31
|
}
|
30
32
|
|
31
|
-
&.
|
33
|
+
&.ls-blur-up-img,
|
34
|
+
&.fade:not(.ls-is-cached) {
|
32
35
|
opacity: 0;
|
33
36
|
&.lazyloaded {
|
34
37
|
opacity: 1;
|
@@ -36,7 +39,8 @@ $image-sizes: (
|
|
36
39
|
}
|
37
40
|
}
|
38
41
|
|
39
|
-
&.blur
|
42
|
+
&.ls-blur-up-img,
|
43
|
+
&.blur:not(.ls-is-cached) {
|
40
44
|
filter: blur(5px);
|
41
45
|
&.lazyloaded {
|
42
46
|
-webkit-filter: blur(0);
|
@@ -45,7 +49,8 @@ $image-sizes: (
|
|
45
49
|
}
|
46
50
|
}
|
47
51
|
|
48
|
-
&.
|
52
|
+
&.ls-blur-up-img,
|
53
|
+
&.scale:not(.ls-is-cached) {
|
49
54
|
opacity: 0;
|
50
55
|
transform: scale(0.9);
|
51
56
|
&.lazyloaded {
|
@@ -2,6 +2,8 @@ import React from 'react'
|
|
2
2
|
import classnames from 'classnames'
|
3
3
|
import { GlobalProps, globalProps } from '../utilities/globalProps'
|
4
4
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
5
|
+
import 'lazysizes';
|
6
|
+
import 'lazysizes/plugins/blur-up/ls.blur-up';
|
5
7
|
|
6
8
|
type ImageType = {
|
7
9
|
alt?: string,
|
@@ -42,16 +44,18 @@ const Image = (props: ImageType): React.ReactElement => {
|
|
42
44
|
const dataProps = buildDataProps(data)
|
43
45
|
|
44
46
|
return (
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
47
|
+
<>
|
48
|
+
<img
|
49
|
+
{...ariaProps}
|
50
|
+
{...dataProps}
|
51
|
+
alt={alt}
|
52
|
+
className={classes}
|
53
|
+
data-src={url}
|
54
|
+
id={id}
|
55
|
+
onError={onError}
|
56
|
+
src={url}
|
57
|
+
/>
|
58
|
+
</>
|
55
59
|
)
|
56
60
|
}
|
57
61
|
|
data/dist/reset.css
CHANGED
@@ -1,2 +1,61 @@
|
|
1
|
-
|
1
|
+
/* CLEAN UP AND REMOVE */
|
2
|
+
/* Headings */
|
3
|
+
/* Standard Font Weights */
|
4
|
+
/* Non_Standard Font Weights */
|
5
|
+
/*=====================================
|
6
|
+
Base colors should not be documented.
|
7
|
+
Only document color use.
|
8
|
+
|
9
|
+
Colors -----------------------------*/
|
10
|
+
/* Specialty Gradient -----------------*/
|
11
|
+
/* Interface colors -------------------*/
|
12
|
+
/* Main colors ------------------------*/
|
13
|
+
/*=====================================
|
14
|
+
|
15
|
+
Background colors ------------------*/
|
16
|
+
/* Card colors ------------------*/
|
17
|
+
/* Active colors ----------------------*/
|
18
|
+
/* Hover colors -----------------------*/
|
19
|
+
/* Focus colors -----------------------*/
|
20
|
+
/* Border colors ----------------------*/
|
21
|
+
/* Shadow colors ----------------------*/
|
22
|
+
/* Text colors ------------------------*/
|
23
|
+
/* Data colors ------------------------*/
|
24
|
+
/* Status colors ----------------------*/
|
25
|
+
/* Link colors ------------------------*/
|
26
|
+
/* Product colors ---------------------*/
|
27
|
+
/* Category colors ---------------------*/
|
28
|
+
* {
|
29
|
+
box-sizing: border-box;
|
30
|
+
margin: 0;
|
31
|
+
padding: 0; }
|
32
|
+
*:before, *:after {
|
33
|
+
box-sizing: border-box; }
|
34
|
+
|
35
|
+
html {
|
36
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
37
|
+
height: 100vh;
|
38
|
+
overflow-x: hidden; }
|
39
|
+
|
40
|
+
body {
|
41
|
+
font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans_serif;
|
42
|
+
font-size: 16px;
|
43
|
+
line-height: 1.5;
|
44
|
+
background-color: #F3F7FB;
|
45
|
+
height: 100%;
|
46
|
+
letter-spacing: 0;
|
47
|
+
font-weight: 400;
|
48
|
+
font-style: normal;
|
49
|
+
text-rendering: optimizeLegibility;
|
50
|
+
-moz-font-feature-settings: "liga" on;
|
51
|
+
color: #242B42;
|
52
|
+
margin: 0 !important;
|
53
|
+
padding: 0 !important;
|
54
|
+
box-sizing: border-box;
|
55
|
+
min-height: 100vh;
|
56
|
+
padding: 50px; }
|
57
|
+
|
58
|
+
a {
|
59
|
+
text-decoration: none;
|
60
|
+
color: #0056CF; }
|
2
61
|
|
@@ -6,7 +6,12 @@ module Playbook
|
|
6
6
|
|
7
7
|
def pb_rails(kit_name, props: {}, &block)
|
8
8
|
kit = Playbook::KitResolver.resolve(kit_name.to_s)
|
9
|
-
|
9
|
+
|
10
|
+
if respond_to? :render_component
|
11
|
+
render_component kit.new(props, &block), &block
|
12
|
+
else
|
13
|
+
render kit.new(props, &block), &block
|
14
|
+
end
|
10
15
|
end
|
11
16
|
end
|
12
17
|
end
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.27.0.pre.
|
4
|
+
version: 10.27.0.pre.lazysizes1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-05-
|
12
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -101,14 +101,14 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 2.
|
104
|
+
version: 2.55.0
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 2.
|
111
|
+
version: 2.55.0
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: webpacker-react
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -686,9 +686,6 @@ files:
|
|
686
686
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
|
687
687
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
|
688
688
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
|
689
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb
|
690
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx
|
691
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md
|
692
689
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb
|
693
690
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx
|
694
691
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md
|
@@ -702,7 +699,6 @@ files:
|
|
702
699
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss
|
703
700
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_month_and_year_styles.scss
|
704
701
|
- app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss
|
705
|
-
- app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss
|
706
702
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx
|
707
703
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss
|
708
704
|
- app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
|
3
|
-
import DatePicker from '../_date_picker'
|
4
|
-
|
5
|
-
const DatePickerWeek = (props) => {
|
6
|
-
return (
|
7
|
-
<div>
|
8
|
-
<DatePicker
|
9
|
-
label="Date Picker"
|
10
|
-
pickerId="week-date-picker"
|
11
|
-
plugins="ws"
|
12
|
-
{...props}
|
13
|
-
/>
|
14
|
-
</div>
|
15
|
-
)
|
16
|
-
}
|
17
|
-
|
18
|
-
export default DatePickerWeek
|
@@ -1 +0,0 @@
|
|
1
|
-
By default month&year plugin is disabled. To activate it set `plugins` prop to `ws`.
|
@@ -1,127 +0,0 @@
|
|
1
|
-
@import "../../tokens/colors";
|
2
|
-
|
3
|
-
|
4
|
-
.numInput {
|
5
|
-
border-left: none !important;
|
6
|
-
}
|
7
|
-
|
8
|
-
// Manual Import
|
9
|
-
.flatpickr-monthSelect-months {
|
10
|
-
margin: 10px 1px 3px 1px;
|
11
|
-
flex-wrap: wrap;
|
12
|
-
}
|
13
|
-
|
14
|
-
.flatpickr-monthSelect-month {
|
15
|
-
background: none;
|
16
|
-
border: 1px solid transparent;
|
17
|
-
border-radius: 4px;
|
18
|
-
-webkit-box-sizing: border-box;
|
19
|
-
box-sizing: border-box;
|
20
|
-
color: $text_lt_default;
|
21
|
-
cursor: pointer;
|
22
|
-
display: inline-block;
|
23
|
-
font-weight: 400;
|
24
|
-
margin: 0.5px;
|
25
|
-
justify-content: center;
|
26
|
-
padding: 10px;
|
27
|
-
position: relative;
|
28
|
-
-webkit-box-pack: center;
|
29
|
-
-webkit-justify-content: center;
|
30
|
-
-ms-flex-pack: center;
|
31
|
-
text-align: center;
|
32
|
-
width: 33%;
|
33
|
-
}
|
34
|
-
|
35
|
-
.flatpickr-monthSelect-month.flatpickr-disabled {
|
36
|
-
color: #eee;
|
37
|
-
}
|
38
|
-
|
39
|
-
.flatpickr-monthSelect-month.flatpickr-disabled:hover,
|
40
|
-
.flatpickr-monthSelect-month.flatpickr-disabled:focus {
|
41
|
-
cursor: not-allowed;
|
42
|
-
background: none !important;
|
43
|
-
}
|
44
|
-
|
45
|
-
.flatpickr-monthSelect-theme-dark {
|
46
|
-
background: #3f4458;
|
47
|
-
}
|
48
|
-
|
49
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-current-month input.cur-year {
|
50
|
-
color: #fff;
|
51
|
-
}
|
52
|
-
|
53
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-prev-month,
|
54
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-next-month {
|
55
|
-
color: #fff;
|
56
|
-
fill: #fff;
|
57
|
-
}
|
58
|
-
|
59
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month {
|
60
|
-
color: rgba(255, 255, 255, 0.95);
|
61
|
-
}
|
62
|
-
|
63
|
-
.flatpickr-monthSelect-month.today {
|
64
|
-
border-color: #959ea9;
|
65
|
-
}
|
66
|
-
|
67
|
-
.flatpickr-monthSelect-month.inRange,
|
68
|
-
.flatpickr-monthSelect-month.inRange.today,
|
69
|
-
.flatpickr-monthSelect-month:hover,
|
70
|
-
.flatpickr-monthSelect-month:focus {
|
71
|
-
background: $active_light;
|
72
|
-
font-weight: $bold;
|
73
|
-
color: $text_lt_default;
|
74
|
-
cursor: pointer;
|
75
|
-
outline: 0;
|
76
|
-
}
|
77
|
-
|
78
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.inRange,
|
79
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:hover,
|
80
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:focus {
|
81
|
-
background: #646c8c;
|
82
|
-
border-color: #646c8c;
|
83
|
-
}
|
84
|
-
|
85
|
-
.flatpickr-monthSelect-month.today:hover,
|
86
|
-
.flatpickr-monthSelect-month.today:focus {
|
87
|
-
background: #959ea9;
|
88
|
-
border-color: #959ea9;
|
89
|
-
color: #fff;
|
90
|
-
}
|
91
|
-
|
92
|
-
.flatpickr-monthSelect-month.selected,
|
93
|
-
.flatpickr-monthSelect-month.startRange,
|
94
|
-
.flatpickr-monthSelect-month.endRange {
|
95
|
-
background-color: $primary;
|
96
|
-
font-weight: $bold;
|
97
|
-
box-shadow: none;
|
98
|
-
color: #fff;
|
99
|
-
border-color: $primary;
|
100
|
-
}
|
101
|
-
|
102
|
-
.flatpickr-monthSelect-month.startRange {
|
103
|
-
border-radius: 50px 0 0 50px;
|
104
|
-
}
|
105
|
-
|
106
|
-
.flatpickr-monthSelect-month.endRange {
|
107
|
-
border-radius: 0 50px 50px 0;
|
108
|
-
}
|
109
|
-
|
110
|
-
.flatpickr-monthSelect-month.startRange.endRange {
|
111
|
-
border-radius: 50px;
|
112
|
-
}
|
113
|
-
|
114
|
-
.flatpickr-monthSelect-month.inRange {
|
115
|
-
border-radius: 0;
|
116
|
-
box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
|
117
|
-
}
|
118
|
-
|
119
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.selected,
|
120
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.startRange,
|
121
|
-
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.endRange {
|
122
|
-
background: #80cbc4;
|
123
|
-
-webkit-box-shadow: none;
|
124
|
-
box-shadow: none;
|
125
|
-
color: #fff;
|
126
|
-
border-color: #80cbc4;
|
127
|
-
}
|