@intellias/menu 1.0.2 → 1.0.5
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.
- package/README.md +44 -9
- package/dist/css/main.css +155 -2
- package/dist/index.html +9 -0
- package/dist/js/{1.js → kudosForm.js} +24 -58
- package/dist/js/main.js +654 -689
- package/dist/js/rejectComponent.js +363 -0
- package/dist/js/{6.js → vendors~kudosForm.js} +5 -5
- package/dist/js/{0.js → vendors~kudosForm~rejectComponent.js} +27 -27
- package/dist/js/vue.js +2 -2
- package/package.json +100 -112
- package/Menu.ts +0 -625
- package/assets/icons/arrow-down.svg +0 -13
- package/assets/icons/arrow-left.svg +0 -3
- package/assets/icons/arrow-submenu.svg +0 -8
- package/assets/icons/close.svg +0 -3
- package/assets/icons/delete.svg +0 -13
- package/assets/icons/faq-new.svg +0 -4
- package/assets/icons/kudos.svg +0 -14
- package/assets/icons/loading-spinner.svg +0 -40
- package/assets/icons/notification.svg +0 -11
- package/assets/icons/notifications/assessment.svg +0 -10
- package/assets/icons/notifications/buddy_program.svg +0 -8
- package/assets/icons/notifications/compensation_packages.svg +0 -10
- package/assets/icons/notifications/dsat.svg +0 -8
- package/assets/icons/notifications/feedback.svg +0 -7
- package/assets/icons/notifications/kudos.svg +0 -4
- package/assets/icons/notifications/overtime_requests.svg +0 -15
- package/assets/icons/notifications/pdu_program.svg +0 -4
- package/assets/icons/notifications/profile_update.svg +0 -6
- package/assets/icons/notifications/recommendation_program.svg +0 -7
- package/assets/icons/notifications/reminders.svg +0 -4
- package/assets/icons/notifications/sick_leaves.svg +0 -5
- package/assets/icons/notifications/smarts.svg +0 -4
- package/assets/icons/notifications/survey.svg +0 -8
- package/assets/icons/notifications/unpaid_leave.svg +0 -4
- package/assets/icons/notifications/vacations.svg +0 -4
- package/assets/icons/pause.svg +0 -13
- package/assets/icons/play.svg +0 -13
- package/assets/icons/smart.svg +0 -14
- package/assets/icons/smarts-kudos.svg +0 -11
- package/assets/icons/spinner-solid.svg +0 -1
- package/assets/icons/vacation.svg +0 -14
- package/assets/icons/visibility.svg +0 -1
- package/assets/intems-logo.svg +0 -3
- package/babel.config.js +0 -6
- package/buses/eventBus.ts +0 -19
- package/buses/events/GiveKudosEvent.ts +0 -7
- package/components/buttons/action-button/ActionButton.scss +0 -133
- package/components/buttons/action-button/ActionButton.ts +0 -57
- package/components/buttons/action-button/ActionButton.vue +0 -50
- package/components/buttons/secondary-button/SecondaryButton.scss +0 -48
- package/components/buttons/secondary-button/SecondaryButton.ts +0 -28
- package/components/buttons/secondary-button/SecondaryButton.vue +0 -27
- package/components/confirm/Confirm.scss +0 -44
- package/components/confirm/Confirm.ts +0 -82
- package/components/confirm/Confirm.vue +0 -64
- package/components/give-kudos-form/GiveKudosForm.scss +0 -114
- package/components/give-kudos-form/GiveKudosForm.ts +0 -159
- package/components/give-kudos-form/GiveKudosForm.vue +0 -131
- package/components/give-kudos-form/mixins/UserSelectMixin.ts +0 -57
- package/components/give-kudos-form/models/KudosShareModel.ts +0 -6
- package/components/give-kudos-form/models/UserListModel.ts +0 -5
- package/components/give-kudos-form/validators/InEnglishValidatorRegex.ts +0 -17
- package/components/give-kudos-form/validators/KudosBalance.ts +0 -10
- package/components/modal/Modal.scss +0 -53
- package/components/modal/Modal.ts +0 -70
- package/components/modal/Modal.vue +0 -28
- package/components/notifications-sidebar/NotificationsSidebar.scss +0 -665
- package/components/notifications-sidebar/NotificationsSidebar.ts +0 -203
- package/components/notifications-sidebar/NotificationsSidebar.vue +0 -171
- package/components/notifications-sidebar/models/BroadcastNotificationPayload.ts +0 -8
- package/components/notifications-sidebar/models/TotalCounter.ts +0 -50
- package/components/notifications-sidebar/notification/Notification.ts +0 -17
- package/components/notifications-sidebar/notification/Notification.vue +0 -87
- package/components/play-pause/PlayPause.scss +0 -33
- package/components/play-pause/PlayPause.ts +0 -156
- package/components/play-pause/PlayPause.vue +0 -36
- package/components/play-pause/PlayPauseStatus.ts +0 -4
- package/components/play-pause/helpers/LatestTrackedTimeDurationHelper.ts +0 -55
- package/components/play-pause/helpers/PauseHelper.ts +0 -55
- package/components/play-pause/helpers/TrackedTimeHelper.ts +0 -80
- package/components/preloader/Preloader.vue +0 -34
- package/components/request-loader/RequestLoader.scss +0 -20
- package/components/request-loader/RequestLoader.ts +0 -80
- package/components/request-loader/RequestLoader.vue +0 -15
- package/components/sub-menu/SubMenu.scss +0 -33
- package/components/sub-menu/SubMenu.ts +0 -38
- package/components/sub-menu/SubMenu.vue +0 -21
- package/components/time-ago/TimeAgo.ts +0 -34
- package/components/time-ago/TimeAgo.vue +0 -9
- package/components/user-picture/UserPicture.scss +0 -62
- package/components/user-picture/UserPicture.ts +0 -105
- package/components/user-picture/UserPicture.vue +0 -23
- package/components/v-select-intems/VSelectIntems.ts +0 -112
- package/components/v-select-intems/VSelectIntems.vue +0 -68
- package/components/v-select-intems/open-indicator/OpenIndicator.vue +0 -3
- package/dist/css/1.css +0 -85
- package/dist/css/2.css +0 -34
- package/dist/css/3.css +0 -34
- package/dist/css/4.css +0 -34
- package/dist/css/5.css +0 -34
- package/dist/html/app.html +0 -19
- package/dist/html/styles.html +0 -1
- package/dist/js/2.js +0 -217
- package/dist/js/3.js +0 -181
- package/dist/js/4.js +0 -181
- package/dist/js/5.js +0 -181
- package/helpers/GeneralHelper.ts +0 -61
- package/helpers/PublisherSubscriber.ts +0 -34
- package/helpers/QueryFilter.ts +0 -204
- package/helpers/TimeHelper.ts +0 -54
- package/helpers/Validations.ts +0 -7
- package/helpers/model/ModelHelper.ts +0 -155
- package/helpers/model/decorators/AsCollection.ts +0 -26
- package/helpers/model/decorators/AsModel.ts +0 -25
- package/helpers/model/decorators/DateTime.ts +0 -26
- package/helpers/model/decorators/TimeDuration.ts +0 -33
- package/helpers/moment/Duration.ts +0 -64
- package/helpers/moment/Moment.ts +0 -17
- package/helpers/moment/index.d.ts +0 -20
- package/helpers/response/AxiosProxy.ts +0 -72
- package/helpers/response/ErrorsToToastHelper.ts +0 -42
- package/helpers/response/ResponseCode.ts +0 -16
- package/helpers/response/ResponseHelper.ts +0 -42
- package/helpers/response/ResponseInterface.ts +0 -34
- package/helpers/response/ResponseState.ts +0 -6
- package/jsconfig.json +0 -19
- package/mixins/IntemsMath.ts +0 -29
- package/mixins/notifications/ActionProcessing.ts +0 -134
- package/mixins/notifications/confirms/AssetRejectionConfirm.vue +0 -59
- package/mixins/notifications/confirms/SickLeaveRejectionConfirm.vue +0 -31
- package/mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue +0 -31
- package/mixins/notifications/confirms/VacationRejectionConfirm.vue +0 -31
- package/models/AssetModel.ts +0 -80
- package/models/AssetRequestModel.ts +0 -25
- package/models/ConfigModel.ts +0 -20
- package/models/EmployeeStartEndDateModel.ts +0 -16
- package/models/EmploymentTypeModel.ts +0 -95
- package/models/LogoutModel.ts +0 -3
- package/models/Model.ts +0 -12
- package/models/ModuleOptions.ts +0 -24
- package/models/PublicInfoModel.ts +0 -38
- package/models/PublicLocationModel.ts +0 -36
- package/models/StatusModel.ts +0 -8
- package/models/TrackedTimeModel.ts +0 -32
- package/models/location/PublicLocationModel.ts +0 -36
- package/models/timezones/LocalTimezoneHistoryModel.ts +0 -8
- package/models/timezones/TimezoneModel.ts +0 -9
- package/models/user/ExtendedInfoModel.ts +0 -37
- package/models/user/NotificationActionModel.ts +0 -53
- package/models/user/NotificationModel.ts +0 -84
- package/models/user/PublicInfoModel.ts +0 -38
- package/models/user/WelcomeProgram.ts +0 -4
- package/repositories/BaseRepository.ts +0 -42
- package/repositories/BaseUrl.ts +0 -107
- package/repositories/Repository.ts +0 -291
- package/repositories/ResourceRepository.ts +0 -99
- package/repositories/TrackedTimeRepository.ts +0 -43
- package/repositories/UserRepository.ts +0 -75
- package/repositories/subscribers/CreateSubscribers.ts +0 -28
- package/repositories/subscribers/DefaultSubscribers.ts +0 -82
- package/repositories/subscribers/DeleteSubscribers.ts +0 -28
- package/repositories/subscribers/DownloadSubscribers.ts +0 -28
- package/repositories/subscribers/Subscribers.ts +0 -13
- package/repositories/subscribers/UpdateSubscribers.ts +0 -32
- package/scss/components/_global.scss +0 -66
- package/scss/components/_mixins.scss +0 -31
- package/scss/components/_tooltip.scss +0 -45
- package/scss/components/_utils.scss +0 -26
- package/scss/components/_variables.scss +0 -103
- package/scss/main.scss +0 -7
- package/shims-vue.d.ts +0 -9
- package/tsconfig.json +0 -31
- package/webpack.config.js +0 -126
- package/wrapper.ts +0 -51
package/README.md
CHANGED
|
@@ -1,52 +1,73 @@
|
|
|
1
1
|
# intems-menu
|
|
2
2
|
|
|
3
3
|
## Project setup
|
|
4
|
+
|
|
4
5
|
```
|
|
5
6
|
npm install
|
|
6
7
|
```
|
|
7
8
|
|
|
8
9
|
### Compiles and minifies for production
|
|
10
|
+
|
|
9
11
|
```
|
|
10
12
|
npm run dev
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
### Lints and fixes files
|
|
16
|
+
|
|
14
17
|
```
|
|
15
18
|
npm run lint
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
### NPM publish guideline:
|
|
19
|
-
|
|
22
|
+
|
|
23
|
+
1. Login to NPM
|
|
24
|
+
|
|
20
25
|
#### If you aren't already logged in, you should use corporate npm account(intems) to get access to this package, as it's private on npm. Use user that's added as a collaborator to organization, or organization account.
|
|
26
|
+
|
|
21
27
|
```
|
|
22
28
|
npm login
|
|
23
29
|
|
|
24
30
|
```
|
|
25
|
-
|
|
31
|
+
|
|
32
|
+
2. Build
|
|
33
|
+
|
|
26
34
|
```
|
|
27
35
|
npm run dev
|
|
28
36
|
```
|
|
29
|
-
|
|
37
|
+
|
|
38
|
+
3. Publish
|
|
39
|
+
|
|
30
40
|
```
|
|
31
41
|
npm publish
|
|
32
42
|
```
|
|
33
43
|
|
|
34
|
-
# Introduction
|
|
44
|
+
# Introduction
|
|
45
|
+
|
|
35
46
|
Entry point of the project is "wrapper.ts" file. Here our component is registered, all data transfered to it from options parameter. MenuOptions interface is declaring, which options can be passed when importing module. If there's a demand to add anything new, you can extend this interface and add necessary data. It's automatically parsed and sent as props to "./Menu.vue" component.
|
|
36
47
|
|
|
37
48
|
# Using the Package
|
|
49
|
+
|
|
38
50
|
Since now have our package published, Let's take a look at how we can use this package in other repositories
|
|
39
51
|
|
|
40
52
|
To Install
|
|
53
|
+
|
|
41
54
|
```
|
|
42
55
|
npm install --save @intellias/menu
|
|
43
56
|
```
|
|
57
|
+
|
|
44
58
|
Once you have installed the package, in your entry file of the repository (wrapper.ts) if you are using it in a Vue CLI project. Write the import command
|
|
45
59
|
|
|
46
60
|
```
|
|
47
61
|
import MainMenu, { MenuOptions, ProjectNameType } from '@intellias/menu';
|
|
62
|
+
// Importing necessary chunks for dynamic modules from menu( will be fixed if moving to webpack ^5.0.0)
|
|
63
|
+
import '@intellias/menu/dist/js/kudosForm.js';
|
|
64
|
+
import '@intellias/menu/dist/js/vendors~kudosForm.js';
|
|
65
|
+
import '@intellias/menu/dist/js/rejectComponent.js';
|
|
66
|
+
import '@intellias/menu/dist/js/vendors~kudosForm~rejectComponent.js';
|
|
67
|
+
import '@intellias/menu/dist/js/vue.js';
|
|
48
68
|
|
|
49
69
|
```
|
|
70
|
+
|
|
50
71
|
To install it globally.
|
|
51
72
|
|
|
52
73
|
```
|
|
@@ -57,6 +78,13 @@ const menuOptions: MenuOptions = {
|
|
|
57
78
|
|
|
58
79
|
```
|
|
59
80
|
|
|
81
|
+
It's also necessary to install styles(You can import them to App.vue or main.scss file) as follows:
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
import MainMenu, { MenuOptions, ProjectNameType } from '@intellias/menu/dist/css/main.css' // Menu css import must be here for correct adding to the DOM
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
|
|
60
88
|
## MenuOptions explained
|
|
61
89
|
|
|
62
90
|
```
|
|
@@ -70,21 +98,24 @@ export interface MenuOptions {
|
|
|
70
98
|
|
|
71
99
|
```
|
|
72
100
|
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
101
|
+
- projectName -> provide specific value from ProjectName enum (Lite/IntelliHub/ManagersPortal)
|
|
102
|
+
- storeAdapter -> provide necessary Vuex store adapters( StoreAdapter)
|
|
103
|
+
- subMenus -> provide subMenuList object, optional. DEMANDED ONLY WHEN IMPORTING TO LITE PROJECT (@app/core/helpers/sub-menu/SubMenuList)
|
|
104
|
+
- helperFunctions -> provide necessary helpers functions (add getUrlPathByName from @/bootstrap/vue-router)
|
|
77
105
|
|
|
78
106
|
# Updating the package and versioning
|
|
107
|
+
|
|
79
108
|
So you have the package published on NPM and now you need to change certain things on the package and re-publish it with new changes. This process involves a list of steps which I am listing down below.
|
|
80
109
|
|
|
81
110
|
Make changes to the codebase
|
|
82
111
|
Before we can publish the changes we need to make sure the working directory is clean
|
|
112
|
+
|
|
83
113
|
```
|
|
84
114
|
git add -A
|
|
85
115
|
|
|
86
116
|
git commit -m "Fix bug in the package"
|
|
87
117
|
```
|
|
118
|
+
|
|
88
119
|
Increment the version number in NPM
|
|
89
120
|
NPM follows the semantic version (semver) versions, in which each number denotes if it's a major release, minor change, or a patch fix. (Read details about semver here )
|
|
90
121
|
|
|
@@ -94,6 +125,7 @@ In this case, let's just bump the patch version by 1
|
|
|
94
125
|
npm version patch -m "Minor changes to the Hello World Text"
|
|
95
126
|
|
|
96
127
|
```
|
|
128
|
+
|
|
97
129
|
This will update the version number in your package.json file.
|
|
98
130
|
|
|
99
131
|
And since we have the GitHub repository linked to the npm. It will also create a tag for the bumped up version number.
|
|
@@ -104,12 +136,14 @@ Run the following command to check the latest tag
|
|
|
104
136
|
git tag
|
|
105
137
|
|
|
106
138
|
```
|
|
139
|
+
|
|
107
140
|
Next up, push the latest changes to git along with the new tag.
|
|
108
141
|
|
|
109
142
|
```
|
|
110
143
|
git push --follow-tags
|
|
111
144
|
|
|
112
145
|
```
|
|
146
|
+
|
|
113
147
|
Now you can go ahead and publish the new changes on npm
|
|
114
148
|
|
|
115
149
|
```
|
|
@@ -118,4 +152,5 @@ npm publish
|
|
|
118
152
|
```
|
|
119
153
|
|
|
120
154
|
# Additional information
|
|
121
|
-
|
|
155
|
+
|
|
156
|
+
- [Full guideline of using package is shown here](https://5balloons.info/create-publish-you-first-vue-plugin-on-npm-the-right-way/)
|
package/dist/css/main.css
CHANGED
|
@@ -172,6 +172,25 @@
|
|
|
172
172
|
align-items: center;
|
|
173
173
|
padding: 0 30px 0 0;
|
|
174
174
|
}
|
|
175
|
+
.notifications-sidebar .v-dropdown-menu__container .v-dropdown-menu__header .note-title-row .col.s2 .notification-manage-toggler {
|
|
176
|
+
position: relative;
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-wrap: wrap;
|
|
179
|
+
flex-direction: column;
|
|
180
|
+
justify-content: center;
|
|
181
|
+
width: 20px;
|
|
182
|
+
height: 64px;
|
|
183
|
+
line-height: 64px;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
}
|
|
186
|
+
.notifications-sidebar .v-dropdown-menu__container .v-dropdown-menu__header .note-title-row .col.s2 .notification-manage-toggler span {
|
|
187
|
+
background-color: #94a3b8;
|
|
188
|
+
width: 4px;
|
|
189
|
+
height: 4px;
|
|
190
|
+
display: inline-block;
|
|
191
|
+
border-radius: 50%;
|
|
192
|
+
margin: 1px auto;
|
|
193
|
+
}
|
|
175
194
|
.notifications-sidebar .v-dropdown-menu__container .v-dropdown-menu__header .note-title-row .sub-menu {
|
|
176
195
|
border: 1px #cbd5e1 solid;
|
|
177
196
|
border-radius: 2px;
|
|
@@ -537,9 +556,8 @@
|
|
|
537
556
|
.modal-wrapper {
|
|
538
557
|
padding-bottom: 1rem;
|
|
539
558
|
border-radius: 6px !important;
|
|
540
|
-
background-color: #ffffff
|
|
559
|
+
background-color: #ffffff;
|
|
541
560
|
box-shadow: 0 15px 30px rgba(37, 55, 70, 0.202715);
|
|
542
|
-
color: #1a2732;
|
|
543
561
|
}
|
|
544
562
|
.modal-header {
|
|
545
563
|
display: flex;
|
|
@@ -547,6 +565,7 @@
|
|
|
547
565
|
padding: 2rem 2rem 1rem 2rem;
|
|
548
566
|
font-size: 1.25rem;
|
|
549
567
|
font-weight: bold;
|
|
568
|
+
color: #1a2732 !important;
|
|
550
569
|
}
|
|
551
570
|
.modal-header i.icon:before {
|
|
552
571
|
background-color: #1a2732 !important;
|
|
@@ -1562,3 +1581,137 @@ a:hover {
|
|
|
1562
1581
|
text-decoration: none;
|
|
1563
1582
|
color: #008c79;
|
|
1564
1583
|
}
|
|
1584
|
+
.modal.confirm {
|
|
1585
|
+
box-sizing: border-box;
|
|
1586
|
+
min-width: 280px;
|
|
1587
|
+
min-height: 150px;
|
|
1588
|
+
flex-direction: column;
|
|
1589
|
+
background-color: #ffffff;
|
|
1590
|
+
position: fixed;
|
|
1591
|
+
}
|
|
1592
|
+
.modal.confirm.open {
|
|
1593
|
+
display: flex !important;
|
|
1594
|
+
}
|
|
1595
|
+
.modal.confirm .header {
|
|
1596
|
+
padding-bottom: 10px;
|
|
1597
|
+
}
|
|
1598
|
+
.modal.confirm .header i.modal-close {
|
|
1599
|
+
float: right;
|
|
1600
|
+
height: 24px;
|
|
1601
|
+
line-height: 24px;
|
|
1602
|
+
}
|
|
1603
|
+
.modal.confirm .header h3 {
|
|
1604
|
+
color: #1a2732;
|
|
1605
|
+
}
|
|
1606
|
+
.modal.confirm .header + .modal-footer {
|
|
1607
|
+
padding-top: 30px;
|
|
1608
|
+
}
|
|
1609
|
+
.modal.confirm .modal-content {
|
|
1610
|
+
white-space: normal;
|
|
1611
|
+
color: #1a2732;
|
|
1612
|
+
overflow: initial;
|
|
1613
|
+
font-weight: normal;
|
|
1614
|
+
line-height: normal;
|
|
1615
|
+
margin-right: 0;
|
|
1616
|
+
padding-right: 0;
|
|
1617
|
+
}
|
|
1618
|
+
.give-kudos .user ul {
|
|
1619
|
+
max-height: 200px;
|
|
1620
|
+
}
|
|
1621
|
+
.give-kudos a {
|
|
1622
|
+
font-weight: bold;
|
|
1623
|
+
}
|
|
1624
|
+
.give-kudos .subtitle {
|
|
1625
|
+
padding: 0px 0 30px 0;
|
|
1626
|
+
}
|
|
1627
|
+
.give-kudos .form {
|
|
1628
|
+
display: grid;
|
|
1629
|
+
grid-template-columns: auto 207px;
|
|
1630
|
+
grid-gap: 15px;
|
|
1631
|
+
/* Chrome, Safari, Edge, Opera */
|
|
1632
|
+
/* Firefox */
|
|
1633
|
+
}
|
|
1634
|
+
.give-kudos .form .vs__selected-options {
|
|
1635
|
+
flex-wrap: nowrap;
|
|
1636
|
+
}
|
|
1637
|
+
.give-kudos .form .vs__selected-options span.vs__selected {
|
|
1638
|
+
white-space: nowrap;
|
|
1639
|
+
}
|
|
1640
|
+
.give-kudos .form .kudos-quantity {
|
|
1641
|
+
height: 38px;
|
|
1642
|
+
margin: 0;
|
|
1643
|
+
border: solid 1px #cbd5e1;
|
|
1644
|
+
background-color: #ffffff;
|
|
1645
|
+
padding: 0 15px;
|
|
1646
|
+
width: 175px;
|
|
1647
|
+
}
|
|
1648
|
+
.give-kudos .form .kudos-quantity.theme-reactive {
|
|
1649
|
+
border: solid 1px var(--border);
|
|
1650
|
+
background-color: var(--surface-primary);
|
|
1651
|
+
color: var(--text-primary);
|
|
1652
|
+
}
|
|
1653
|
+
.give-kudos .form .kudos-quantity:focus,
|
|
1654
|
+
.give-kudos .form .kudos-quantity:active,
|
|
1655
|
+
.give-kudos .form .kudos-quantity:focus-visible {
|
|
1656
|
+
border: solid 1px #00a58e !important;
|
|
1657
|
+
box-shadow: none;
|
|
1658
|
+
outline: none !important;
|
|
1659
|
+
}
|
|
1660
|
+
.give-kudos .form input::-webkit-outer-spin-button,
|
|
1661
|
+
.give-kudos .form input::-webkit-inner-spin-button {
|
|
1662
|
+
-webkit-appearance: none;
|
|
1663
|
+
margin: 0;
|
|
1664
|
+
}
|
|
1665
|
+
.give-kudos .form input[type=number] {
|
|
1666
|
+
-moz-appearance: textfield;
|
|
1667
|
+
}
|
|
1668
|
+
.give-kudos .form .user {
|
|
1669
|
+
grid-column: span 2;
|
|
1670
|
+
margin-right: 1px;
|
|
1671
|
+
}
|
|
1672
|
+
.give-kudos .form .block-kudos-quantity {
|
|
1673
|
+
width: 190px;
|
|
1674
|
+
}
|
|
1675
|
+
.give-kudos .form .block-kudos-category {
|
|
1676
|
+
margin-right: 5px;
|
|
1677
|
+
}
|
|
1678
|
+
.give-kudos .form .description {
|
|
1679
|
+
grid-column: span 2;
|
|
1680
|
+
margin-right: 1px;
|
|
1681
|
+
}
|
|
1682
|
+
.give-kudos .form .description textarea {
|
|
1683
|
+
resize: none;
|
|
1684
|
+
min-height: 100px;
|
|
1685
|
+
max-height: 300px;
|
|
1686
|
+
min-width: 100%;
|
|
1687
|
+
max-width: 100%;
|
|
1688
|
+
border-radius: 2px;
|
|
1689
|
+
outline: none;
|
|
1690
|
+
padding: 10px;
|
|
1691
|
+
}
|
|
1692
|
+
.give-kudos .form .description textarea.theme-reactive {
|
|
1693
|
+
border: solid 1px var(--border);
|
|
1694
|
+
background-color: var(--surface-primary);
|
|
1695
|
+
color: var(--text-primary);
|
|
1696
|
+
}
|
|
1697
|
+
.give-kudos .form .description textarea.theme-reactive:focus {
|
|
1698
|
+
border: solid 1px var(--accent-primary);
|
|
1699
|
+
}
|
|
1700
|
+
.give-kudos .form label {
|
|
1701
|
+
display: flex;
|
|
1702
|
+
font-size: 0.94rem;
|
|
1703
|
+
margin-bottom: 10px;
|
|
1704
|
+
color: var(--text-primary);
|
|
1705
|
+
}
|
|
1706
|
+
.give-kudos .form .error {
|
|
1707
|
+
font-size: 0.8rem;
|
|
1708
|
+
}
|
|
1709
|
+
.give-kudos .form .error-field {
|
|
1710
|
+
border: solid 1px var(--error);
|
|
1711
|
+
}
|
|
1712
|
+
.give-kudos button.btn-large[disabled] {
|
|
1713
|
+
background-color: #c2e9e4 !important;
|
|
1714
|
+
}
|
|
1715
|
+
.give-kudos .vs__clear svg {
|
|
1716
|
+
display: none;
|
|
1717
|
+
}
|