-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAASDEV-2188: add banner to UserEffect
Change-Id: I31796dd03d45cb91fa536d10fb0088e662894cbd
- Loading branch information
Showing
9 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
packages/cmk-frontend/src/themes/facelift/scss/_cse_banner.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@charset "UTF-8"; | ||
// Copyright (C) 2019 Checkmk GmbH - License: GNU General Public License v2 | ||
// This file is part of Checkmk (https://checkmk.com). It is subject to the terms and | ||
// conditions defined in the file COPYING, which is part of this source code package. | ||
|
||
/* Styles used to show the banner in CSE */ | ||
|
||
.cse-banner { | ||
display: flex; | ||
align-items: center; | ||
padding-left: 20px; | ||
color: $font-color-white; | ||
|
||
&:not(:last-child) { | ||
padding-right: 20px; | ||
} | ||
|
||
&__message { | ||
font-weight: $font-weight-default; | ||
} | ||
|
||
&__button { | ||
margin-left: 10px; | ||
padding: 5px 15px; | ||
border-radius: $theme-border-radius; | ||
background-color: $success-dimmed; | ||
line-height: 1.5; | ||
color: $font-color-black !important; | ||
font-weight: $font-weight-bold; | ||
text-decoration: none; | ||
white-space: nowrap; | ||
|
||
&:hover { | ||
background-color: mix($black, $success-dimmed, 10%); | ||
} | ||
|
||
&:visited { | ||
color: $font-color-black !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters