forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New SQL Activity page that includes Sessions, Statement and Transaction pages. Partially addresses cockroachdb#66052 Release note (ui change): Session, Statement and Transaction pages are now grouped inside the new SQL Activity page.
- Loading branch information
Showing
26 changed files
with
336 additions
and
245 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2021 The Cockroach Authors. | ||
// | ||
// Use of this software is governed by the Business Source License | ||
// included in the file licenses/BSL.txt. | ||
// | ||
// As of the Change Date specified in that file, in accordance with | ||
// the Business Source License, use of this software will be governed | ||
// by the Apache License, Version 2.0, included in the file | ||
// licenses/APL.txt. | ||
|
||
import classNames from "classnames/bind"; | ||
import styles from "./styles.module.scss"; | ||
|
||
export const commonStyles = classNames.bind(styles); |
60 changes: 60 additions & 0 deletions
60
pkg/ui/workspaces/cluster-ui/src/common/styles.module.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,60 @@ | ||
@import "src/core/index.module"; | ||
|
||
.cockroach--tabs { | ||
overflow: visible !important; | ||
:global(.ant-tabs-bar) { | ||
border-bottom: 1px solid $grey2; | ||
} | ||
|
||
:global(.ant-tabs-tab) { | ||
font-family: $font-family--base; | ||
font-size: 16px; | ||
line-height: 1.5; | ||
letter-spacing: normal; | ||
color: $colors--neutral-7; | ||
} | ||
|
||
:global(.ant-tabs-nav .ant-tabs-tab-active) { | ||
color: $colors--link; | ||
} | ||
|
||
:global(.ant-tabs-nav .ant-tabs-tab:hover) { | ||
color: $colors--link; | ||
} | ||
|
||
:global(.ant-tabs-ink-bar) { | ||
height: 3px; | ||
border-radius: 40px; | ||
background-color: $blue; | ||
} | ||
} | ||
|
||
h1.base-heading { | ||
font-size: 24px; | ||
font-family: $font-family--base; | ||
} | ||
|
||
h2.base-heading { | ||
padding: 12px 0; | ||
font-size: 24px; | ||
font-family: $font-family--base | ||
} | ||
|
||
h3.base-heading { | ||
color: $colors--neutral-7; | ||
font-family: $font-family--sans-serif; | ||
font-weight: 600; | ||
font-style: normal; | ||
font-stretch: normal; | ||
font-size: 20px; | ||
padding-bottom: 12px; | ||
} | ||
|
||
.no-margin-bottom { | ||
margin-bottom: 0px; | ||
} | ||
|
||
.separator { | ||
border-left: 1px solid #C0C6D9; | ||
padding-left: 25px; | ||
} |
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
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
Oops, something went wrong.