diff options
| author | Richard Sassine <richardsassine@tutanota.com> | 2021-05-04 18:00:38 +0300 |
|---|---|---|
| committer | Richard Sassine <richardsassine@tutanota.com> | 2021-05-04 18:00:38 +0300 |
| commit | ad97722b1b35aff50d0adf13a19715f7b8373c07 (patch) | |
| tree | edf36f1114b896a01602e31dafd74efe45736427 /theme_common/static/src/old_snippets/s_big_icons | |
initial commit
Diffstat (limited to 'theme_common/static/src/old_snippets/s_big_icons')
| -rw-r--r-- | theme_common/static/src/old_snippets/s_big_icons/000.scss | 42 | ||||
| -rw-r--r-- | theme_common/static/src/old_snippets/s_big_icons/000_variables.scss | 23 |
2 files changed, 65 insertions, 0 deletions
diff --git a/theme_common/static/src/old_snippets/s_big_icons/000.scss b/theme_common/static/src/old_snippets/s_big_icons/000.scss new file mode 100644 index 0000000..b1e5fc4 --- /dev/null +++ b/theme_common/static/src/old_snippets/s_big_icons/000.scss @@ -0,0 +1,42 @@ +.s_big_icons { + text-align: center; + @include s-big-icon-circle-height-hook; + //fix -- without this in mobile view the circles go to the top and so they hide the h2 and h3 above it. + .col-lg-12 { + float: none; + } +} + +.s_big_icons_box { + text-align: center; + width: 150px; + margin: 0 auto; + .fa { + color: #fff; + font-size: 40px; + @include s-big-icon-circle-fa-hook; + } +} + +.s_big_icons_icon { + width: $s-big-icon-circle-icon-size; + height: $s-big-icon-circle-icon-size; + text-align: center; + padding: 40px 0; + transition: all 0.3s ease-in-out; + border-radius: 80px; + margin: 0px auto; + h5 { + margin-top: 48px; + } +} + +.s_big_icons_box:hover .s_big_icons_icon { + transition: all 0.3s ease-in-out; + background-color: o-color('gamma'); +} + +.s_big_icons_box:hover .s_big_icons_content h4 { + transition: all 0.3s ease-in-out; + color: o-color('gamma'); +} diff --git a/theme_common/static/src/old_snippets/s_big_icons/000_variables.scss b/theme_common/static/src/old_snippets/s_big_icons/000_variables.scss new file mode 100644 index 0000000..828f6a4 --- /dev/null +++ b/theme_common/static/src/old_snippets/s_big_icons/000_variables.scss @@ -0,0 +1,23 @@ +$s-big-icon-circle-icon-size: 120px; + +@mixin s-big-icon-circle-height-hook {} +@mixin s-big-icon-circle-fa-hook {} + +@mixin o-theme-chd-big-icons-classes($border, $font-color) { + .s_big_icons_box { + .s_big_icons_icon { + border: $border; + color: #fff; + .fa { + color: o-color('alpha') !important; + } + h5.o_default_snippet_text { + color: $font-color; + margin-top: 20px; + } + } + &:hover .s_big_icons_icon { + @include o-theme-chd-big-icons-styles($h5-color: o-color('alpha')); + } + } +} |
