diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/website/static/src/snippets/s_process_steps | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/website/static/src/snippets/s_process_steps')
| -rw-r--r-- | addons/website/static/src/snippets/s_process_steps/000.scss | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/addons/website/static/src/snippets/s_process_steps/000.scss b/addons/website/static/src/snippets/s_process_steps/000.scss new file mode 100644 index 00000000..3daae1d9 --- /dev/null +++ b/addons/website/static/src/snippets/s_process_steps/000.scss @@ -0,0 +1,52 @@ +.s_process_steps { + .s_process_step_icon { + margin: $grid-gutter-width 0; + span { + display: block; + overflow: hidden; + } + .fa { + display: block; + } + } + .s_process_step_content { + padding: 0 $grid-gutter-width/2; + } + @include media-breakpoint-up(lg) { + overflow-x: hidden; + .s_process_step { + .s_process_step_icon { + position: relative; + z-index: 1; + span:after { + content: ''; + z-index: -1; + border-top: 1px solid gray('500'); + @include o-position-absolute(50%, 0, 0, auto); + } + } + .s_process_step_icon { + span:after { + width: 100%; + } + } + &:first-child .s_process_step_icon, + &:last-child .s_process_step_icon { + span:after { + width: 50%; + } + } + &:first-child .s_process_step_icon { + .fa:after { right: 0; } + .fa.float-right:after { width: 0; } + } + &:last-child .s_process_step_icon { + span:after { left: 0; } + .fa { + &:after { left: 0; } + &.float-left:after { width: 0; } + } + } + } + } +} |
