Consistent use of the backend-page css class

This commit is contained in:
Alex Tselegidis 2020-09-03 14:35:58 +03:00
parent 126a3ee3ef
commit 9b3502bf4a
6 changed files with 15 additions and 5 deletions

View file

@ -40,7 +40,7 @@
}); });
</script> </script>
<div class="container-fluid" id="calendar-page"> <div class="container-fluid backend-page" id="calendar-page">
<div class="row" id="calendar-toolbar"> <div class="row" id="calendar-toolbar">
<div id="calendar-filter" class="col-12 col-sm-5"> <div id="calendar-filter" class="col-12 col-sm-5">
<div class="form-group calendar-filter-items"> <div class="form-group calendar-filter-items">

View file

@ -26,7 +26,7 @@
}); });
</script> </script>
<div id="customers-page" class="container-fluid backend-page"> <div class="container-fluid backend-page" id="customers-page">
<div class="row"> <div class="row">
<div id="filter-customers" class="filter-records col col-12 col-md-5"> <div id="filter-customers" class="filter-records col col-12 col-md-5">
<form class="mb-4"> <form class="mb-4">

View file

@ -24,7 +24,7 @@
}); });
</script> </script>
<div id="services-page" class="container-fluid backend-page"> <div class="container-fluid backend-page" id="services-page">
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="nav-item"><a class="nav-link active" href="#services" aria-controls="services" role="tab" data-toggle="tab"><?= lang('services') ?></a></li> <li role="presentation" class="nav-item"><a class="nav-link active" href="#services" aria-controls="services" role="tab" data-toggle="tab"><?= lang('services') ?></a></li>
<li role="presentation" class="nav-item"><a class="nav-link" href="#categories" aria-controls="categories" role="tab" data-toggle="tab"><?= lang('categories') ?></a></li> <li role="presentation" class="nav-item"><a class="nav-link" href="#categories" aria-controls="categories" role="tab" data-toggle="tab"><?= lang('categories') ?></a></li>

View file

@ -31,7 +31,7 @@
}); });
</script> </script>
<div id="settings-page" class="container-fluid"> <div id="settings-page" class="container-fluid backend-page">
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
<?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?> <?php if ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE): ?>
<li role="presentation" class="nav-item"> <li role="presentation" class="nav-item">

View file

@ -33,7 +33,7 @@
}); });
</script> </script>
<div id="users-page" class="container-fluid backend-page"> <div class="container-fluid backend-page" id="users-page">
<!-- PAGE NAVIGATION --> <!-- PAGE NAVIGATION -->
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">

View file

@ -218,6 +218,11 @@ body legend {
/* BACKEND COMPONENTS /* BACKEND COMPONENTS
-------------------------------------------------------------------- */ -------------------------------------------------------------------- */
.backend-page {
padding-top: 15px;
padding-bottom: 15px;
}
.backend-page .filter-records { .backend-page .filter-records {
max-width: 350px; max-width: 350px;
margin-bottom: 20px; margin-bottom: 20px;
@ -273,6 +278,11 @@ body legend {
/* BACKEND CALENDAR PAGE /* BACKEND CALENDAR PAGE
-------------------------------------------------------------------- */ -------------------------------------------------------------------- */
#calendar-page {
padding-top: 0;
padding-bottom: 0;
}
#calendar-page #calendar-toolbar { #calendar-page #calendar-toolbar {
margin-bottom: 15px; margin-bottom: 15px;
color: white; color: white;