summaryrefslogtreecommitdiff
path: root/addons/sale_timesheet/static/src/scss
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/sale_timesheet/static/src/scss
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/sale_timesheet/static/src/scss')
-rw-r--r--addons/sale_timesheet/static/src/scss/sale_timesheet.scss165
-rw-r--r--addons/sale_timesheet/static/src/scss/sale_timesheet_portal.scss15
2 files changed, 180 insertions, 0 deletions
diff --git a/addons/sale_timesheet/static/src/scss/sale_timesheet.scss b/addons/sale_timesheet/static/src/scss/sale_timesheet.scss
new file mode 100644
index 00000000..c23f7459
--- /dev/null
+++ b/addons/sale_timesheet/static/src/scss/sale_timesheet.scss
@@ -0,0 +1,165 @@
+$canceled-color: gray;
+
+
+.o_timesheet_plan_sale_timesheet {
+
+ .o_title {
+ margin-top: 30px;
+ margin-bottom: 30px;
+ }
+
+ [type='action'] {
+ color: $o-brand-primary;
+ cursor: pointer;
+ }
+
+ .o_timesheet_plan_stat_buttons {
+ text-align: right;
+ float: none;
+ width: auto;
+ }
+
+ .o_profitability_wrapper {
+ display: flex;
+ flex: 1;
+ flex-wrap: wrap;
+
+ .o_profitability_section {
+ display: flex;
+ flex: 1;
+ justify-content: flex-start;
+ }
+
+ }
+
+ .o_timesheet_plan_sale_timesheet_dashboard {
+
+ .table {
+ margin-top: 15px;
+ a {
+ cursor: pointer;
+ }
+ }
+ .table > thead > tr > th, .table > thead > tr > td,
+ .table > tbody > tr > th, .table > tbody > tr > td {
+ border: none;
+ }
+ .table > tbody > tr > td.o_timesheet_plan_dashboard_cell {
+ text-align: right;
+ }
+ .table > tbody > tr > td.o_timesheet_plan_dashboard_total {
+ border-top: 1px solid;
+ text-align: right;
+ }
+
+ .section {
+
+ }
+
+ }
+
+ .o_timesheet_plan_sale_timesheet_people_time {
+
+ .o_progress_billable_time {
+ background-color: #f0ad4e;
+ color: white;
+ cursor: pointer;
+ }
+ .o_progress_billable_fixed {
+ background-color: #5bc0de;
+ color: white;
+ cursor: pointer;
+ }
+ .o_progress_non_billable_project {
+ background-color: theme-color('primary');
+ color: white;
+ cursor: pointer;
+ }
+ .o_progress_non_billable_timesheet {
+ background-color: rgb(11, 194, 1);
+ color: white;
+ cursor: pointer;
+ }
+ .o_progress_non_billable {
+ background-color: purple;
+ color: white;
+ cursor: pointer;
+ }
+ .o_progress_canceled {
+ background-color: $canceled-color;
+ color: white;
+ cursor: pointer;
+ }
+ .progress {
+ border-radius: 3px;
+ }
+
+ .o_timesheet_plan_badge {
+ margin-bottom: 10px;
+ > .badge {
+ border: none;
+ font-size: unset;
+ a {
+ color: white;
+ }
+ }
+ }
+
+ .table > thead > tr > td,
+ .table > tbody > tr > th, .table > tbody > tr > td {
+ border: none;
+ padding: 0px;
+ }
+
+ .table > thead > tr > th {
+ border: none;
+ padding-left: 0px;;
+ }
+ }
+
+ .o_project_plan_project_timesheet_forecast {
+
+ margin-top: 50px;
+
+ th{
+ text-align: center;
+ vertical-align: top;
+ }
+ th.o_right_bordered, td.o_right_bordered {
+ border-right: 2px solid $o-brand-primary;
+ text-align: center;
+ }
+
+ .o_timesheet_forecast_sale_order{
+ font-weight: bold;
+ & > td:first-child {
+ color: $o-brand-primary;
+ }
+ }
+ .o_timesheet_forecast_sale_order_line{
+ td:first-child {
+ padding-left: 15px;
+ }
+ td:first-child > a {
+ margin-left: 15px;
+ cursor: pointer;
+ }
+ }
+ .o_timesheet_forecast_hr_employee{
+ td:first-child {
+ padding-left: 30px;
+ }
+ }
+
+ .o_timesheet_plan_redirect {
+ cursor: pointer;
+ }
+
+ .o_canceled_tag {
+ background-color: $canceled-color;
+ color: white;
+ border: 0px;
+ }
+ }
+
+}
diff --git a/addons/sale_timesheet/static/src/scss/sale_timesheet_portal.scss b/addons/sale_timesheet/static/src/scss/sale_timesheet_portal.scss
new file mode 100644
index 00000000..4898a5b8
--- /dev/null
+++ b/addons/sale_timesheet/static/src/scss/sale_timesheet_portal.scss
@@ -0,0 +1,15 @@
+.o_timesheet_accordion {
+ .card-header {
+ a {
+ text-decoration: none;
+ &:after {
+ content: "\f0d7";
+ font-family: 'FontAwesome';
+ }
+ &.collapsed:after {
+ content: "\f0da";
+ font-family: 'FontAwesome';
+ }
+ }
+ }
+}