Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change tabs background color #18173

Closed
joaopereiradsantos opened this issue Jan 26, 2022 · 1 comment
Closed

Unable to change tabs background color #18173

joaopereiradsantos opened this issue Jan 26, 2022 · 1 comment

Comments

@joaopereiradsantos
Copy link

Screenshot

Image 1:
image

Image 2:
image

Description

I'm trying to use the following CSS config from (#4040) but I'm having some difficulties with the following:

  • How to remove/ change the background on tabs (Image 2 for reference).
  • How to change the text color from some graphs such as the piechart (hard to read 'girl' and 'boy' - dark over dark color)

CSS Script:

@import 'https://fonts.googleapis.com/css?family=Open+Sans';

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body{
	font-family: 'Open Sans', sans-serif;
	line-height: 1.75em;
	font-size: 16px;
	background-color: #222;
	color: #aaa;
}
.superset-legacy-chart-table {
    background-color: #333 !important;
}

.nvtooltip table td, .nvtooltip table td strong.x-value {
color:#222;
}

iframe {
width: 80%;
height: 80%;
}

.table{
   background-color:#333 !important;
}

.table .table{
   background-color:#333 !important;
}

.table-striped>tbody>tr:nth-of-type(odd){
background-color:#333 !important;
}

.dashboard-component-chart-holder {
   background-color: #303030;
   border-radius: 5px;
}
.header-line {
  color: #f5f5f5;
}

.nv-legend-text{
 fill:#fcfcfc !important;
}
.treemap text tspan{
   fill: midnightblue;
   text-shadow:none;
}

.nv-label text {
 fill:#fcfcfc !important;

}
.nvd3.nv-pie.nv-slice path{
stroke:#c5c5c5;
}

text {
 fill: #fcfcfc;
text-shadow:0 0 1px #000;
}

.dashboard-component-chart-holder{
color:#c2c2c2;
}

.simple-container {
	max-width: 675px;
	margin: 0 auto;
	padding-top: 70px;
	padding-bottom: 20px;
}

.Select-control{
background-color: #ccc;
}
.Select-value-label{
color: #c66e01e0;
}

.simple-print {
	fill: white;
	stroke: white;
}
.simple-print svg {
	height: 100%;
}

.simple-close {
	color: white;
	border-color: white;
}

.simple-ext-info {
	border-top: 1px solid #aaa;
}

p {
	font-size: 16px;
}

h1 {
	font-size: 30px;
	line-height: 34px;
}

h2 {
	font-size: 20px;
	line-height: 25px;
}

h3 {
	font-size: 16px;
	line-height: 27px;
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #D8D8D8;
	border-top: 1px solid #D8D8D8;
}

hr {
	height: 1px;
	background-color: #d8d8d8;
	border: none;
	width: 100%;
	margin: 0px;
}

a[href] {
	color: #1e8ad6;
}

a[href]:hover {
	color: #3ba0e6;
}

img {
	max-width: 100%;
}

li {
	line-height: 1.5em;
}

aside,
[class *= "sidebar"],
[id *= "sidebar"] {
	max-width: 90%;
	margin: 0 auto;
	border: 1px solid lightgrey;
	padding: 5px 15px;
}

@media (min-width: 1921px) {
	body {
		font-size: 18px;
	}
}
@srinify
Copy link
Contributor

srinify commented Jan 26, 2022

Hi there! Do you mind reposting in the Superset Slack or in Github discussions? Github issues is meant to be a focused place for bugs that have clear reproduction instructions or need to be reproduced :)

@srinify srinify closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants