_activities.scss
9 months ago
_addons.scss
9 months ago
_agents.scss
9 months ago
_animations.scss
9 months ago
_booking_form_preview.scss
9 months ago
_bookings.scss
3 weeks ago
_bundles.scss
9 months ago
_buttons.scss
9 months ago
_calendars.scss
9 months ago
_categories.scss
9 months ago
_customers.scss
9 months ago
_dark.scss
9 months ago
_daterangepicker.scss
9 months ago
_elements.scss
1 month ago
_forms.scss
9 months ago
_grid.scss
1 year ago
_grid_variables.scss
1 year ago
_icons.scss
1 year ago
_latecheckbox.scss
9 months ago
_lateselect.scss
1 year ago
_layout.scss
9 months ago
_lightbox.scss
9 months ago
_menu.scss
9 months ago
_messages.scss
9 months ago
_misc.scss
9 months ago
_mixins.scss
9 months ago
_notifications.scss
9 months ago
_orders.scss
9 months ago
_pickr.scss
1 year ago
_processes.scss
1 month ago
_quick_availability.scss
9 months ago
_reminders.scss
1 year ago
_responsive.scss
9 months ago
_roles.scss
1 year ago
_schedule.scss
3 months ago
_services.scss
9 months ago
_settings.scss
2 days ago
_side-panel.scss
9 months ago
_steps.scss
1 year ago
_tables.scss
9 months ago
_type.scss
1 year ago
_updates.scss
9 months ago
_utilities.scss
1 year ago
_variables.scss
9 months ago
_widgets.scss
9 months ago
_wizard.scss
2 weeks ago
_roles.scss
258 lines
| 1 | /*! |
| 2 | * Copyright (c) 2023 LatePoint LLC. All rights reserved. |
| 3 | */ |
| 4 | |
| 5 | .role-users-wrapper { |
| 6 | display: grid; |
| 7 | grid-template-columns: 1fr 1fr 1fr; |
| 8 | grid-gap: 20px; |
| 9 | } |
| 10 | .role-user-wrapper { |
| 11 | background-color: #fff; |
| 12 | box-shadow: $box-shadow; |
| 13 | border-radius: 6px; |
| 14 | cursor: pointer; |
| 15 | position: relative; |
| 16 | .ru-meta-permissions { |
| 17 | position: absolute; |
| 18 | top: 0px; |
| 19 | right: 0px; |
| 20 | background-color: #8371dd; |
| 21 | color: #fff; |
| 22 | padding: 3px 4px; |
| 23 | border-radius: 4px; |
| 24 | text-transform: uppercase; |
| 25 | letter-spacing: 0.5px; |
| 26 | font-size: 9px; |
| 27 | font-weight: $body-font-weight-bold; |
| 28 | display: flex; |
| 29 | align-items: center; |
| 30 | .latepoint-icon { |
| 31 | font-size: 10px; |
| 32 | margin-right: 3px; |
| 33 | } |
| 34 | } |
| 35 | &:hover { |
| 36 | box-shadow: 0px 0px 0px 3px $brand-primary; |
| 37 | border-color: transparent; |
| 38 | &:before { |
| 39 | @include latepointfont_admin("\e919"); |
| 40 | display: block; |
| 41 | position: absolute; |
| 42 | top: 4px; |
| 43 | left: 4px; |
| 44 | font-size: 12px; |
| 45 | color: $brand-primary; |
| 46 | } |
| 47 | } |
| 48 | & + .role-user-wrapper { |
| 49 | } |
| 50 | .ru-main-info { |
| 51 | padding: 20px; |
| 52 | display: flex; |
| 53 | align-items: center; |
| 54 | } |
| 55 | .ru-meta-info { |
| 56 | border-top: 1px solid $border-color-lightest; |
| 57 | padding: 10px 15px; |
| 58 | display: flex; |
| 59 | font-size: floor($font-size-base * 0.9); |
| 60 | color: $color-faded; |
| 61 | .ru-meta-connected-user { |
| 62 | i { |
| 63 | margin-right: 5px; |
| 64 | font-size: 12px; |
| 65 | } |
| 66 | } |
| 67 | .ru-meta-connected-user { |
| 68 | strong { |
| 69 | color: $body-color; |
| 70 | font-weight: $body-font-weight-bold; |
| 71 | } |
| 72 | .latepoint-icon-checkmark { |
| 73 | color: #2fa05c; |
| 74 | } |
| 75 | .latepoint-icon-eye-off { |
| 76 | } |
| 77 | a { |
| 78 | text-decoration: none; |
| 79 | border-bottom: 1px dotted $link-color; |
| 80 | &:hover { |
| 81 | border-bottom-style: solid; |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | a { |
| 86 | text-decoration: none; |
| 87 | margin-left: 4px; |
| 88 | span { |
| 89 | border-bottom: 1px dotted $link-color; |
| 90 | } |
| 91 | i { |
| 92 | font-size: 10px; |
| 93 | } |
| 94 | i + span, span + i { |
| 95 | margin-left: 2px; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | .ru-avatar { |
| 100 | width: 60px; |
| 101 | height: 60px; |
| 102 | border-radius: 40px; |
| 103 | background-size: cover; |
| 104 | background-position: center center; |
| 105 | margin-right: 20px; |
| 106 | } |
| 107 | .ru-wp-user-name { |
| 108 | padding-bottom: 5px; |
| 109 | .ru-name { |
| 110 | font-size: floor($font-size-base * 1.3); |
| 111 | font-weight: $body-font-weight-black; |
| 112 | line-height: 1.2; |
| 113 | } |
| 114 | .ru-email { |
| 115 | margin-top: 5px; |
| 116 | color: $color-faded; |
| 117 | font-size: floor($font-size-base * 0.9); |
| 118 | } |
| 119 | } |
| 120 | .ru-user-links { |
| 121 | margin-left: auto; |
| 122 | display: flex; |
| 123 | align-items: center; |
| 124 | a { |
| 125 | margin-left: 10px; |
| 126 | display: flex; |
| 127 | align-items: center; |
| 128 | text-decoration: none; |
| 129 | span { |
| 130 | border-bottom: 1px dotted $link-color; |
| 131 | } |
| 132 | i { |
| 133 | margin-left: 5px; |
| 134 | } |
| 135 | & + a { |
| 136 | margin-left: 15px; |
| 137 | padding-left: 15px; |
| 138 | border-left: 1px solid $border-color-main; |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | .os-form-block .os-form-block-i .role-actions-grid { |
| 145 | .role-actions-item { |
| 146 | padding: 10px 0; |
| 147 | border-bottom: 1px solid $border-color-main; |
| 148 | display: flex; |
| 149 | align-items: center; |
| 150 | &:last-child { |
| 151 | border-bottom: none; |
| 152 | } |
| 153 | &:hover { |
| 154 | border-bottom-color: #aaa; |
| 155 | .role-actions-group-name { |
| 156 | transform: translateX(5px); |
| 157 | } |
| 158 | .role-actions-group-description { |
| 159 | } |
| 160 | h3 { |
| 161 | color: $brand-primary; |
| 162 | } |
| 163 | } |
| 164 | &:has(+.role-actions-item:hover){ |
| 165 | border-bottom-color: #aaa; |
| 166 | } |
| 167 | } |
| 168 | .role-actions-group-name { |
| 169 | margin-right: auto; |
| 170 | transition: all 0.2s ease; |
| 171 | } |
| 172 | .role-actions-group-description { |
| 173 | color: $color-faded; |
| 174 | } |
| 175 | h3 { |
| 176 | margin: 0; |
| 177 | transition: all 0.2s ease; |
| 178 | line-height: 1.5; |
| 179 | } |
| 180 | .role-toggler-wrapper { |
| 181 | min-width: 100px; |
| 182 | padding-left: 10px; |
| 183 | margin-left: 10px; |
| 184 | border-left: 1px solid $border-color-lightest; |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | .role-user-edit-form { |
| 189 | .role-actions-grid { |
| 190 | display: grid; |
| 191 | grid-template-columns: 1fr 1fr; |
| 192 | grid-gap: 20px; |
| 193 | margin-bottom: 30px; |
| 194 | h3 { |
| 195 | margin-bottom: 5px; |
| 196 | font-size: floor($headings-font-size * 0.65); |
| 197 | border-bottom: 1px solid $border-color-lightest; |
| 198 | padding-bottom: 5px; |
| 199 | } |
| 200 | } |
| 201 | .ru-user-meta { |
| 202 | display: flex; |
| 203 | align-items: center; |
| 204 | margin-top: 5px; |
| 205 | .ru-role { |
| 206 | padding: 2px 4px; |
| 207 | border-radius: 4px; |
| 208 | background-color: #e4e4e4; |
| 209 | color: #444; |
| 210 | font-weight: $body-font-weight-bold; |
| 211 | font-size: floor($font-size-base * 0.8); |
| 212 | margin-right: 8px; |
| 213 | } |
| 214 | .ru-wp-user-link { |
| 215 | display: flex; |
| 216 | align-items: center; |
| 217 | text-decoration: none; |
| 218 | span { |
| 219 | border-bottom: 1px dotted $link-color; |
| 220 | } |
| 221 | i { |
| 222 | margin-left: 4px; |
| 223 | font-size: 10px; |
| 224 | } |
| 225 | } |
| 226 | } |
| 227 | .role-actions-action { |
| 228 | .role-toggler-wrapper { |
| 229 | + .role-toggler-wrapper { |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | .ru-main-info { |
| 234 | padding-bottom: 20px; |
| 235 | display: flex; |
| 236 | align-items: center; |
| 237 | } |
| 238 | .ru-avatar { |
| 239 | width: 80px; |
| 240 | height: 80px; |
| 241 | border-radius: 40px; |
| 242 | background-size: cover; |
| 243 | background-position: center center; |
| 244 | margin-right: 20px; |
| 245 | } |
| 246 | .ru-wp-user-name { |
| 247 | padding-bottom: 5px; |
| 248 | .ru-name { |
| 249 | font-size: floor($font-size-base * 1.6); |
| 250 | font-weight: $body-font-weight-black; |
| 251 | line-height: 1.4; |
| 252 | } |
| 253 | .ru-email { |
| 254 | color: $color-faded; |
| 255 | font-size: floor($font-size-base * 0.9); |
| 256 | } |
| 257 | } |
| 258 | } |