/*
 * profiler.css
 *
 * Copyright (C) 2022 by RStudio, PBC
 *
 * Unless you have received this program directly from RStudio pursuant
 * to the terms of a commercial license agreement with RStudio, then
 * this program is licensed to you under the terms of version 3 of the
 * GNU Affero General Public License. This program is distributed WITHOUT
 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
 *
 */

.rstudio-themes-dark .profvis-footer,
.rstudio-themes-dark .profvis-status-bar,
.rstudio-themes-dark .result-block-active,
.rstudio-themes-dark .options-button {
   color: #FFF;
}

span.identifier {
   color: inherit;
}

.rstudio-themes-dark .profvis-table th {
   background: rgba(255, 255, 255, 0.10);
   border-top: none;
   font-weight: 400;
}

.rstudio-themes-dark table.profvis-table tr.active {
   background: rgba(255, 255, 255, 0.05);
}

table.profvis-table .membar-right-cell,
table.profvis-table .timebar-cell {
   border-color: #444;
}

table.profvis-table tr {
   border-top: none;
}

.profvis-splitbar-horizontal {
   background: none;
   border-top: solid 1px #FFF;
   border-bottom: solid 1px #FFF;
}

.separator-block {
   display: none;
}

.info-block {
   border-right: solid 1px #FFF;
}

.profvis-treetable {
   color: inherit !important;
}

.profvis-treetable table tr {
   background: inherit !important;
}

.rstudio-themes-dark .profvis-treetable th {
   color: #FFF;
}

.rstudio-themes-dark .profvis-treetable .treetable-collapse > div > div {
   border-top: 6px solid #FFF;
}

.rstudio-themes-dark .profvis-treetable .treetable-expand > div > div {
   border-left: 6px solid #FFF;
}

.profvis-flamegraph .background {
   fill: rgba(249, 249, 250, 0);
}

.rstudio-themes-dark .profvis-flamegraph .tick {
   fill: #FFF;
}

.rstudio-themes-dark .profvis-flamegraph .tick line {
   stroke: #FFF;
}

.rstudio-themes-dark .profvis-flamegraph .domain {
   stroke: #FFF;
}

.rstudio-themes-dark .profvis-flamegraph .cell text {
   fill: #FFF;
}

.rstudio-themes-dark .profvis-flamegraph .cell rect {
   fill: rgba(255,255,255,0.3);
}

.rstudio-themes-dark .profvis-flamegraph .cell.highlighted .rect {
   fill: rgba(255,255,255,0.5);
}

.rstudio-themes-dark .profvis-flamegraph .cell.highlighted.active .rect {
   fill: rgba(255,255,255,0.7);
}

.rstudio-themes-dark .profvis-message div {
   color: #FFF;
}

.rstudio-themes-dark .profvis-options-panel {
   background: rgb(47, 57, 65);
   border-color: rgb(78, 92, 104);
}
