summaryrefslogtreecommitdiff
path: root/hr_organizational_chart/static/src/scss
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /hr_organizational_chart/static/src/scss
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'hr_organizational_chart/static/src/scss')
-rw-r--r--hr_organizational_chart/static/src/scss/chart_view.scss73
1 files changed, 73 insertions, 0 deletions
diff --git a/hr_organizational_chart/static/src/scss/chart_view.scss b/hr_organizational_chart/static/src/scss/chart_view.scss
new file mode 100644
index 0000000..3fd82f2
--- /dev/null
+++ b/hr_organizational_chart/static/src/scss/chart_view.scss
@@ -0,0 +1,73 @@
+.o_chart_head {
+ text-align: center;
+}
+.o_chart_head img {
+ width: 68px;
+ border: 3px solid #777;
+ border-radius: 100%;
+}
+.o_child_container {
+ display: flex;
+ justify-content: center;
+ text-align: center;
+ margin-top: 4rem;
+}
+.o_level_1 img {
+ width: 68px;
+ border: 3px solid #777;
+ border-radius: 100%;
+}
+.o_level_1 {
+ margin: 15px;
+ min-width: 100px;
+}
+
+.empchart table {
+ border-spacing: 0;
+ border-collapse: separate;
+}
+
+.empchart td {
+ text-align: center;
+ padding: 0;
+ vertical-align: top;
+}
+
+.empchart .lines:nth-child(3) td {
+ height: 20px;
+ box-sizing: border-box;
+}
+
+.empchart .lines .leftLine {
+ border-left: 1px solid rgb(89, 87, 87);
+ float: none;
+ border-radius: 0;
+}
+
+.empchart .lines .topLine {
+ border-top: 2px solid rgb(89, 87, 87);
+}
+
+.empchart .lines .downLine {
+ background-color: rgb(89, 87, 87);
+ float: none;
+ margin: 0 auto;
+ width: 2px;
+ height: 20px;
+}
+
+.empchart .lines .rightLine {
+ border-right: 1px solid rgb(89, 87, 87);
+ float: none;
+ border-radius: 0;
+}
+
+.employee_name p:nth-child(1) {
+ font-weight: 600;
+ margin-bottom: -2px;
+ margin-top: 7px;
+}
+#o_organizational_chart .o_org_chart_title.mb16.mt0 {
+ background-color: darkgray;
+ padding: 17px;
+} \ No newline at end of file