From 76314386aeafdd6849b7b70c517779d6b2013473 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 27 Mar 2020 15:19:03 +0100 Subject: Add overview of a user's actions in user-edit (#2558) --- client/src/sass/include/_mixins.scss | 82 ++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) (limited to 'client/src/sass/include') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index e8dfb79bc..f96a43b34 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -621,3 +621,85 @@ } } } + +@mixin breadcrumb { + display: flex; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: var(--submenuColor); + border-radius: 0.25rem; + + .breadcrumb-item { + display: flex; + + a { + color: var(--mainColor); + } + + & + .breadcrumb-item { + padding-left: 0.5rem; + &::before { + display: inline-block; + padding-right: 0.5rem; + color: #6c757d; + content: "/"; + } + } + + &.active { + color: #6c757d; + } + } +} + +@mixin dashboard { + display: flex; + flex-wrap: wrap; + margin: 0 -5px; + + & > div { + box-sizing: border-box; + flex: 0 0 percentage(1/3); + padding: 0 5px; + margin-bottom: 10px; + + & > a { + text-decoration: none; + color: inherit; + display: block; + font-size: 18px; + + &:active, + &:focus, + &:hover { + opacity: .8; + } + } + + & > a, + & > div { + padding: 20px; + background: var(--submenuColor); + border-radius: 4px; + box-sizing: border-box; + height: 100%; + } + } + + .dashboard-num, .dashboard-text { + text-align: center; + font-size: 130%; + line-height: 21px; + color: var(--mainForegroundColor); + line-height: 30px; + margin-bottom: 20px; + } + + .dashboard-label { + font-size: 90%; + color: var(--inputPlaceholderColor); + text-align: center; + } +} -- cgit v1.2.3