diff --git a/Modules/Helpdesk/Resources/assets/css/app.css b/Modules/Helpdesk/Resources/assets/css/app.css index 733f1452..c908ab89 100644 --- a/Modules/Helpdesk/Resources/assets/css/app.css +++ b/Modules/Helpdesk/Resources/assets/css/app.css @@ -427,3 +427,158 @@ border-color: rgb(63 63 70) !important; background: rgb(9 9 11) !important; } + +.select2-container--default .select2-selection--single { + border: 1px solid rgb(63 63 70) !important; + background: rgb(9 9 11) !important; +} + +.select2-container--default .select2-selection--single .select2-selection__rendered { + color: rgb(244 244 245) !important; +} + +.select2-container--default .select2-selection--single .select2-selection__placeholder { + color: rgb(113 113 122) !important; +} + +.select2-container--default .select2-selection--single .select2-selection__arrow b { + border-color: rgb(161 161 170) transparent transparent transparent !important; +} + +.select2-container--default.select2-container--open .select2-selection--single { + border-color: rgb(59 130 246) !important; + box-shadow: 0 0 0 2px rgb(59 130 246 / 0.35); +} + +.select2-container--default .select2-selection--multiple { + border: 1px solid rgb(63 63 70) !important; + background: rgb(9 9 11) !important; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice { + border: 1px solid rgb(59 130 246 / 0.45) !important; + background: rgb(30 64 175 / 0.35) !important; + color: rgb(219 234 254) !important; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + color: rgb(191 219 254) !important; +} + +.select2-container--default .select2-selection--single, +.select2-container--default .select2-selection--multiple { + border-radius: 0.75rem !important; +} + +.select2-dropdown { + overflow: hidden; + border-radius: 0.75rem !important; +} + +.select2-container--open .select2-dropdown--below { + margin-top: 0.35rem; + border-radius: 0.75rem !important; +} + +.select2-container--open .select2-dropdown--above { + margin-bottom: 0.35rem; + border-radius: 0.75rem !important; +} + +.select2-container--default .select2-selection--single { + position: relative; + padding-right: 3.5rem; +} + +.select2-container--default .select2-selection--single .select2-selection__rendered { + padding-right: 3.5rem; +} + +.select2-container--default .select2-selection--single .select2-selection__clear { + position: absolute; + right: 2rem; + top: 50%; + z-index: 3; + margin: 0; + transform: translateY(-50%); + color: rgb(161 161 170); + font-size: 1rem; + line-height: 1; +} + +.select2-container--default .select2-selection--single .select2-selection__clear:hover { + color: rgb(248 113 113); +} + +.select2-container--default .select2-selection--single .select2-selection__arrow { + right: 0.75rem; +} + +.select2-container--default .select2-selection--single { + position: relative !important; +} + +.select2-container--default .select2-selection--single .select2-selection__rendered { + padding-left: 0.75rem !important; + padding-right: 4.25rem !important; +} + +.select2-container--default .select2-selection--single .select2-selection__clear { + position: absolute !important; + right: 2.35rem !important; + top: 50% !important; + float: none !important; + margin: 0 !important; + transform: translateY(-50%) !important; +} + +.select2-container--default .select2-selection--single .select2-selection__clear span { + color: rgb(161 161 170) !important; + font-size: 1.1rem !important; + line-height: 1 !important; +} + +.select2-container--default .select2-selection--single .select2-selection__arrow { + right: 0.75rem !important; +} + +.select2-container--default .select2-selection--single { + display: flex !important; + align-items: center !important; + position: relative !important; +} + +.select2-container--default .select2-selection--single .select2-selection__rendered { + flex: 1 1 auto !important; + width: 100% !important; + padding-right: 4.5rem !important; +} + +.select2-container--default .select2-selection--single .select2-selection__clear { + position: absolute !important; + right: 2.25rem !important; + top: 50% !important; + z-index: 20 !important; + display: inline-flex !important; + align-items: center !important; + justify-content: center !important; + width: 1.25rem !important; + height: 1.25rem !important; + float: none !important; + margin: 0 !important; + padding: 0 !important; + transform: translateY(-50%) !important; + color: rgb(161 161 170) !important; + cursor: pointer !important; +} + +.select2-container--default .select2-selection--single .select2-selection__clear:hover { + color: rgb(248 113 113) !important; +} + +.select2-container--default .select2-selection--single .select2-selection__arrow { + position: absolute !important; + right: 0.75rem !important; + top: 50% !important; + transform: translateY(-50%) !important; +} diff --git a/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php b/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php index fe2bf50e..d03ef7f7 100644 --- a/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php +++ b/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php @@ -3,6 +3,7 @@ 'resources/css/app.css', 'resources/js/app.js', ]) + @include('helpdesk::partials.page-header', [ 'eyebrow' => 'Helpdesk', 'title' => 'Create ticket', @@ -36,7 +37,7 @@ /> @error('subject') -

{{ $message }}

+

{{ $message }}

@enderror @@ -46,15 +47,22 @@ Company * - +
+ +
@error('company_id') -

{{ $message }}

+

{{ $message }}

@enderror @endif @@ -64,11 +72,19 @@ Board * - +
+ +
@error('board_id')

{{ $message }}

@@ -80,15 +96,23 @@ Priority * - +
+ +
@error('priority_id') -

{{ $message }}

+

{{ $message }}

@enderror @@ -97,15 +121,22 @@ Category * - +
+ +
@error('category_id') -

{{ $message }}

+

{{ $message }}

@enderror @@ -114,15 +145,22 @@ Project * - +
+ +
@error('project_id') -

{{ $message }}

+

{{ $message }}

@enderror @@ -131,19 +169,25 @@ Team * - +
+ +
@error('team_id') -

{{ $message }}

+

{{ $message }}

@enderror -
@@ -152,8 +196,8 @@ - Optional · select all that apply - + Optional · select all that apply +
@@ -171,8 +215,8 @@ > - {{ $tag->name }} - + {{ $tag->name }} + @empty
@@ -197,7 +241,7 @@ @error('due_at') -

{{ $message }}

+

{{ $message }}

@enderror
@@ -205,7 +249,7 @@ @error('body') -

{{ $message }}

+

{{ $message }}

@enderror
@@ -215,16 +259,24 @@ @error('attachments') -

{{ $message }}

+

{{ $message }}

@enderror @error('attachments.*') -

{{ $message }}

+

{{ $message }}

@enderror
+ + Cancel @@ -242,6 +294,4 @@
- - diff --git a/Modules/Helpdesk/Resources/views/livewire/ticket-edit.blade.php b/Modules/Helpdesk/Resources/views/livewire/ticket-edit.blade.php index 80e6e737..cbc73e25 100644 --- a/Modules/Helpdesk/Resources/views/livewire/ticket-edit.blade.php +++ b/Modules/Helpdesk/Resources/views/livewire/ticket-edit.blade.php @@ -3,6 +3,7 @@ 'resources/css/app.css', 'resources/js/app.js', ]) + @include('helpdesk::partials.page-header', [ 'eyebrow' => 'Helpdesk', 'title' => 'Edit Ticket', @@ -65,12 +66,19 @@ Company * - +
+ +
@error('company_id')

{{ $message }}

@@ -81,12 +89,20 @@
- +
+ +
@error('board_id')

{{ $message }}

@@ -98,11 +114,19 @@ Status * - +
+ +
@error('status_id')

{{ $message }}

@@ -114,11 +138,19 @@ Priority * - +
+ +
@error('priority_id')

{{ $message }}

@@ -128,12 +160,20 @@
- +
+ +
@error('agent_id')

{{ $message }}

@@ -145,12 +185,19 @@ Category * - +
+ +
@error('category_id')

{{ $message }}

@@ -162,12 +209,19 @@ Project * - +
+ +
@error('project_id')

{{ $message }}

@@ -179,17 +233,25 @@ Team * - +
+ +
@error('team_id')

{{ $message }}

@enderror
+
@@ -198,8 +260,8 @@ - Optional · select all that apply - + Optional · select all that apply +
@@ -217,8 +279,8 @@ > - {{ $tag->name }} - + {{ $tag->name }} + @empty
@@ -236,6 +298,7 @@ @enderror
+
@@ -256,6 +319,14 @@
+ + Cancel @@ -273,5 +344,4 @@
-