From ba6e21a71c8600f96de59bcbd0b8fa0500c4a924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20Morin?= Date: Fri, 18 Oct 2019 10:26:08 +0200 Subject: [PATCH] wip --- .../layout/circle-profile/circle-edit.scss | 67 ++++--------------- src/templates/hd-circle-team.pug | 0 2 files changed, 12 insertions(+), 55 deletions(-) create mode 100644 src/templates/hd-circle-team.pug diff --git a/src/styles/layout/circle-profile/circle-edit.scss b/src/styles/layout/circle-profile/circle-edit.scss index c6be16c..d7c7f80 100644 --- a/src/styles/layout/circle-profile/circle-edit.scss +++ b/src/styles/layout/circle-profile/circle-edit.scss @@ -1,73 +1,26 @@ -/*.table { - display: table; - width: 100%; - - .row.header { - display: table-row; - - .cell { - display: table-cell; - - &.un { - background: pink; - } - - &.deux { - background: paleturquoise; - } - } - } -} - -[widget='circle-team-template'] { - - >div { - display: table; - width: 100%; - - >circle-team-template { - display: table-row; - - >* { - border-bottom: 1px solid $color-228-25-79; - border-left: 1px solid $color-228-25-79; - } - - >sib-display { - display: table-cell; - - div { - display: flex; - background: bisque; - } - } - - sib-delete { - border-right: 1px solid $color-228-25-79; - display: table-cell; - } - } - } -}*/ - .table { + background: $color-228-25-79; + color: white; display: flex; justify-content: space-around; - background: pink; + font-weight: 600; + font-size: 1.6rem; >*{ flex: 1; width: 50%; padding: 1rem; border-right: 1px solid $color-228-25-79; - border-bottom: 1px solid $color-228-25-79; + } + + >*:first-of-type { + border-right: 1px solid white; } } circle-team-template { display: flex; justify-content: space-between; - background: paleturquoise; >* { flex: 1; @@ -76,4 +29,8 @@ circle-team-template { border-right: 1px solid $color-228-25-79; border-bottom: 1px solid $color-228-25-79; } + + >*:nth-child(odd) { + border-left: 1px solid $color-228-25-79; + } } \ No newline at end of file diff --git a/src/templates/hd-circle-team.pug b/src/templates/hd-circle-team.pug new file mode 100644 index 0000000..e69de29