@@ -750,6 +750,136 @@ span.form-control {
750750 margin : 5px ;
751751}
752752
753+ /* Enhanced styling for SweetAlert2 elements */
754+ .swal2-title {
755+ font-size : 18px !important ;
756+ margin-bottom : 15px !important ;
757+ color : # 2c3e50 !important ;
758+ border-bottom : 1px solid # eee !important ;
759+ padding-bottom : 10px !important ;
760+ }
761+
762+ .swal2-content {
763+ font-size : 13px !important ;
764+ }
765+
766+ .swal2-modal {
767+ padding : 20px !important ;
768+ border-radius : 8px !important ;
769+ box-shadow : 0 5px 15px rgba (0 , 0 , 0 , 0.1 ) !important ;
770+ }
771+
772+ /* Make SweetAlert2 modals more visually appealing */
773+ .swal2-popup {
774+ padding : 0 !important ;
775+ }
776+
777+ /* Improve form elements in SweetAlert2 */
778+ .swal2-content input [type = "text" ],
779+ .swal2-content input [type = "date" ],
780+ .swal2-content input [type = "datetime-local" ],
781+ .swal2-content select {
782+ border : 1px solid # ddd !important ;
783+ border-radius : 4px !important ;
784+ padding : 6px 12px !important ;
785+ margin-bottom : 5px !important ;
786+ box-shadow : inset 0 1px 3px rgba (0 , 0 , 0 , 0.05 ) !important ;
787+ transition : border-color 0.2s , box-shadow 0.2s !important ;
788+ }
789+
790+ .swal2-content input [type = "text" ]: focus ,
791+ .swal2-content input [type = "date" ]: focus ,
792+ .swal2-content input [type = "datetime-local" ]: focus ,
793+ .swal2-content select : focus {
794+ border-color : # 3498db !important ;
795+ box-shadow : inset 0 1px 3px rgba (0 , 0 , 0 , 0.05 ), 0 0 8px rgba (52 , 152 , 219 , 0.3 ) !important ;
796+ outline : none !important ;
797+ }
798+
799+ /* Style labels in SweetAlert2 */
800+ .swal2-content label {
801+ font-weight : 600 !important ;
802+ color : # 555 !important ;
803+ font-size : 13px !important ;
804+ margin-bottom : 3px !important ;
805+ display : block !important ;
806+ }
807+
808+ /* Style the warning icon */
809+ .swal2-icon .swal2-warning {
810+ border-color : # f39c12 !important ;
811+ color : # f39c12 !important ;
812+ }
813+
814+ /* Style the buttons */
815+ .swal2-confirm .btn-warning {
816+ background-color : # f39c12 !important ;
817+ border-color : # e08e0b !important ;
818+ transition : all 0.2s ease !important ;
819+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 ) !important ;
820+ }
821+
822+ .swal2-confirm .btn-warning : hover {
823+ background-color : # e08e0b !important ;
824+ transform : translateY (-1px ) !important ;
825+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.15 ) !important ;
826+ }
827+
828+ .swal2-cancel {
829+ transition : all 0.2s ease !important ;
830+ }
831+
832+ .swal2-cancel : hover {
833+ background-color : # f5f5f5 !important ;
834+ }
835+
836+ /* Improve the appearance of the form sections */
837+ .swal2-content h4 {
838+ font-size : 14px !important ;
839+ font-weight : 600 !important ;
840+ color : # 3498db !important ;
841+ margin-top : 20px !important ;
842+ margin-bottom : 10px !important ;
843+ }
844+
845+ /* Style the specific form elements in the bulk copy form */
846+ .swal2-content .form-control {
847+ height : 36px !important ;
848+ }
849+
850+ /* Reduce spacing between form groups in SweetAlert2 */
851+ .swal2-content > div {
852+ margin-bottom : 5px !important ;
853+ }
854+
855+ /* Reduce vertical spacing in SweetAlert2 forms */
856+ .swal2-content {
857+ margin-top : -5px !important ;
858+ }
859+
860+ /* Specifically target the spacing between Data/ora richiesta and Stato fields */
861+ .swal2-content label [for = "Stato" ],
862+ .swal2-content label [for = "stato" ] {
863+ margin-top : 0 !important ;
864+ }
865+
866+ /* Target the specific fields in the screenshot */
867+ .swal2-content input [name = "data" ] + label ,
868+ .swal2-content input [name = "Data/ora richiesta" ] + label ,
869+ .swal2-content input [type = "datetime-local" ] + label {
870+ margin-top : 0 !important ;
871+ }
872+
873+ /* Style the "Duplica righe", "Duplica sessioni", etc. labels */
874+ .swal2-content label [for ^= "Duplica" ] {
875+ font-size : 13px !important ;
876+ color : # 444 !important ;
877+ font-weight : 500 !important ;
878+ margin-top : 10px !important ;
879+ margin-bottom : 5px !important ;
880+ display : block !important ;
881+ }
882+
753883
754884/* Personalizzazione del plugin Select2 */
755885
@@ -1284,6 +1414,13 @@ table.dataTable {
12841414 padding-top : 0.05em ;
12851415}
12861416
1417+ /* Smaller font for select2 placeholder, selected values and dropdown options */
1418+ .select2-selection__placeholder ,
1419+ .select2-selection__rendered ,
1420+ .select2-results__option {
1421+ font-size : 11px !important ;
1422+ }
1423+
12871424.btn-group > .btn-xs > input [type = "checkbox" ], .label > input [type = "checkbox" ] {
12881425 margin : 2px 0px ;
12891426}
0 commit comments