@steroidsjs/bootstrap 2.1.14 → 2.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@
21
21
 
22
22
  cursor: pointer;
23
23
  transition: color .1s ease-in;
24
+
24
25
  &:hover, &:active, &:focus {
25
26
  color: $calendar-primary-color;
26
27
  }
@@ -37,24 +38,27 @@
37
38
  fill: rgba(0, 0, 0, 0.25);
38
39
  transition: fill .1s ease-in;
39
40
  }
40
- &_one-arrow.IconView svg{
41
+
42
+ &_one-arrow.IconView svg {
41
43
  width: 8px;
42
44
  }
43
45
 
44
46
  &:hover svg {
45
- fill: rgba(0,0,0,.7);
47
+ fill: rgba(0, 0, 0, .7);
46
48
  }
47
49
  }
48
50
 
49
51
  &__selected-month, &__selected-year {
50
52
  font-size: 16px;
51
53
  }
54
+
52
55
  &__selected-month {
53
56
  margin-right: 5px;
54
57
  }
55
58
 
56
59
  // Panel changing Month/Year
57
60
 
61
+
58
62
  &__panel {
59
63
  z-index: 10;
60
64
  position: absolute;
@@ -63,67 +67,67 @@
63
67
  right: 0;
64
68
  bottom: 50px;
65
69
  background-color: $white;
66
- display: flex;
70
+
71
+ display: grid;
72
+ grid-template-columns: 1fr 1fr 1fr;
73
+ grid-template-rows: 0fr 1fr;
74
+ gap: 0 0;
75
+ grid-template-areas:
76
+ "HeaderMonths HeaderMonths HeaderYears"
77
+ "Months1stCol Months2ndCol YearsCol";
67
78
 
68
79
  &_full-height {
69
80
  bottom: 0;
70
81
  }
82
+ }
71
83
 
72
- &-inner {
73
- width: 100%;
74
- display: grid;
75
- grid-template-columns: 1fr 1fr 1fr;
76
- grid-template-rows: 0fr 1fr;
77
- gap: 0 0;
78
- grid-template-areas:
79
- "HeaderMonths HeaderMonths HeaderYears"
80
- "Months1stCol Months2ndCol YearsCol";
81
- }
84
+ &__panel-header {
85
+ padding: 5px;
82
86
 
83
- &-header {
84
- padding: 5px;
87
+ text-align: center;
88
+ border-bottom: 1px solid $border-color;
89
+ background-color: $calendar-primary-light-color;
85
90
 
86
- text-align: center;
87
- border-bottom: 1px solid $border-color;
88
- background-color: $calendar-primary-light-color;
91
+ &_months {
92
+ grid-area: HeaderMonths;
93
+ border-right: 1px solid $border-color;
94
+ }
89
95
 
90
- &_months {
91
- grid-area: HeaderMonths;
92
- border-right: 1px solid $border-color;
93
- }
94
- &_years {
95
- grid-area: HeaderYears;
96
- }
96
+ &_years {
97
+ grid-area: HeaderYears;
97
98
  }
99
+ }
98
100
 
99
- &-column-months {
100
- border-right: 1px solid $border-color;
101
+ &__panel-column-months {
102
+ border-right: 1px solid $border-color;
101
103
 
102
- &_first {
103
- grid-area: Months1stCol;
104
- }
105
- &_second {
106
- grid-area: Months2ndCol;
107
- }
104
+ &_first {
105
+ grid-area: Months1stCol;
108
106
  }
109
- &-column-years {
110
- height: 100%;
111
- grid-area: YearsCol;
112
- overflow: auto;
107
+
108
+ &_second {
109
+ grid-area: Months2ndCol;
113
110
  }
111
+ }
114
112
 
115
- &-cell {
116
- padding: 5px 15px;
117
- cursor: pointer;
113
+ &__panel-column-years {
114
+ height: 100%;
115
+ grid-area: YearsCol;
116
+ overflow: auto;
117
+ }
118
+
119
+ &__panel-cell {
120
+ padding: 5px 15px;
121
+ cursor: pointer;
122
+
123
+ &_selected {
124
+ background-color: $calendar-primary-light-color;
125
+ }
118
126
 
119
- &_selected {
120
- background-color: $calendar-primary-light-color;
121
- }
127
+ transition: background-color .1s ease-in;
122
128
 
123
- transition: background-color .1s ease-in;
124
- &:hover {
125
- background-color: $calendar-secondary-light-color;
126
- }
129
+ &:hover {
130
+ background-color: $calendar-secondary-light-color;
127
131
  }
128
132
  }
129
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/bootstrap",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "Vladimir Kozhin <hello@kozhindev.com>",