diff --git a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/edit_bookable_space_button_widget.dart b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/edit_bookable_space_button_widget.dart index b1b0ea43..2a014f75 100644 --- a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/edit_bookable_space_button_widget.dart +++ b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/edit_bookable_space_button_widget.dart @@ -20,38 +20,53 @@ class EditBookableSpaceButtonWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Center( - child: ElevatedButton( - onPressed: () { - final bookableBloc = context.read(); - - showDialog( - context: context, - builder: (context) => MultiBlocProvider( - providers: [ - BlocProvider.value( - value: bookableBloc, - ), - BlocProvider( - create: (context) => UpdateBookableSpacesBloc( - RemoteUpdateBookableSpaceService(HTTPService()), - ), - ), - ], - child: SetupBookableSpacesDialog( - editingBookableSpace: space, + child: Container( + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(20), + boxShadow: [ + BoxShadow( + offset: Offset.zero, + blurRadius: 3, + spreadRadius: 0, + color: ColorsManager.timePickerColor.withValues( + alpha: 0.3, ), - ), - ); - }, - style: ElevatedButton.styleFrom( - padding: EdgeInsets.zero, - minimumSize: const Size(40, 30), - elevation: 1, + ) + ], ), - child: SvgPicture.asset( - Assets.settings, - height: 13, - color: ColorsManager.blue1, + child: ElevatedButton( + onPressed: () { + final bookableBloc = context.read(); + + showDialog( + context: context, + builder: (context) => MultiBlocProvider( + providers: [ + BlocProvider.value( + value: bookableBloc, + ), + BlocProvider( + create: (context) => UpdateBookableSpacesBloc( + RemoteUpdateBookableSpaceService(HTTPService()), + ), + ), + ], + child: SetupBookableSpacesDialog( + editingBookableSpace: space, + ), + ), + ); + }, + style: ElevatedButton.styleFrom( + padding: EdgeInsets.zero, + minimumSize: const Size(45, 30), + elevation: 0, + ), + child: SvgPicture.asset( + Assets.settings, + height: 13, + color: ColorsManager.blue1, + ), ), ), ); diff --git a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/main_manage_bookable_widgets/top_part_widget.dart b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/main_manage_bookable_widgets/top_part_widget.dart index c0c27b1e..65a647a5 100644 --- a/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/main_manage_bookable_widgets/top_part_widget.dart +++ b/lib/pages/access_management/manage_bookable_spaces/presentation/widgets/main_manage_bookable_widgets/top_part_widget.dart @@ -24,21 +24,37 @@ class RowOfButtonsTitleWidget extends StatelessWidget { children: [ Row( children: [ - ElevatedButton( - style: ElevatedButton.styleFrom( - padding: EdgeInsets.zero, - minimumSize: const Size(50, 40), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), + Container( + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(12), + boxShadow: [ + BoxShadow( + offset: Offset.zero, + blurRadius: 3, + spreadRadius: 0, + color: ColorsManager.timePickerColor.withValues( + alpha: 0.3, + ), + ) + ], + ), + child: ElevatedButton( + style: ElevatedButton.styleFrom( + padding: EdgeInsets.zero, + minimumSize: const Size(50, 40), + elevation: 0, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(12), + ), ), - ), - child: SvgPicture.asset( - Assets.backButtonIcon, - height: 15, - ), - onPressed: () { - pageController.jumpToPage(1); - }), + child: SvgPicture.asset( + Assets.backButtonIcon, + height: 15, + ), + onPressed: () { + pageController.jumpToPage(1); + }), + ), const SizedBox( width: 10, ),