From 22c9eff08661e436cd4aeb0e8d3840facc1ca1b3 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Fri, 18 Nov 2022 08:27:41 -0600 Subject: [PATCH] Merge pull request #10552 from overleaf/jel-cms-icon-with-content [web] Add "Element | Icon with Content" GitOrigin-RevId: 5fd2cc16b44612b70e3817c5ad21798ba58422d2 --- .../frontend/stylesheets/app/cms-page.less | 33 +++++++++++++++++++ .../frontend/stylesheets/core/variables.less | 2 ++ 2 files changed, 35 insertions(+) diff --git a/services/web/frontend/stylesheets/app/cms-page.less b/services/web/frontend/stylesheets/app/cms-page.less index 8e91523a64..cb0bdb38c7 100644 --- a/services/web/frontend/stylesheets/app/cms-page.less +++ b/services/web/frontend/stylesheets/app/cms-page.less @@ -279,3 +279,36 @@ max-width: 100%; } } + +.icon-with-content { + display: flex; + + h2, + h3, + h4 { + margin-top: 15px; + } + + .icon-container { + background-color: @green-10; + padding: 7.5px; + height: 56px; + width: 56px; + border-radius: 50%; + margin-right: 24px; + .icon-inner-container { + align-items: center; + border: @green-30 3.5px solid; + border-radius: 50%; + display: flex; + justify-content: center; + height: 42px; + width: 42px; + } + + i { + color: @green; + font-size: 21px; + } + } +} diff --git a/services/web/frontend/stylesheets/core/variables.less b/services/web/frontend/stylesheets/core/variables.less index 204171592e..5ad98749b8 100644 --- a/services/web/frontend/stylesheets/core/variables.less +++ b/services/web/frontend/stylesheets/core/variables.less @@ -33,6 +33,8 @@ @blue-30: #97b6e5; @blueDark: #040d2d; @green: #46a546; +@green-10: #ebf6ea; +@green-30: #8cca86; @red: #a93529; @yellow: #a1a729; @orange: #f89406;