Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ssb-konjunk"
version = "2.1.2"
version = "2.1.3"
description = "SSB Konjunk 422"
authors = [
{name = "Johanne Saxegaard", email = "jox@ssb.no"},
Expand Down
27 changes: 27 additions & 0 deletions src/ssb_konjunk/dash/assets/indirect.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

@import "main.css";

.indirect-container {
display: flex;
justify-content: center;
flex-direction: row;
}

.indirect-wrapper {
display: flex;
justify-content: center;
flex-direction: column;
}
.indirect-label {
font-size: 16px;
font-weight: bolder;
color: var(--secondary-color);
margin:0px
}

.main-number {
font-size:46px;
color: var(--secondary-color);
margin:0px;
font-weight: bolder;
}
11 changes: 11 additions & 0 deletions src/ssb_konjunk/dash/assets/kontroller.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import "main.css";

.kontroller-main-layout {
display: flex;
}

.kontroller-subpage-container {
display: grid;
columns: 1;
gap: 20px;
}
127 changes: 127 additions & 0 deletions src/ssb_konjunk/dash/assets/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@

:root {
--main-color: #00824D;
--secondary-color: #274247;
--error-color: #DC3400;
}

.main-layout {
gap: 20px;
}
.divider {
margin-bottom: 10px;
}

.card {
border: thin solid var(--main-color);
margin: 20px;
padding-top:10px;
padding-bottom:20px;
padding-left:20px;
padding-right:20px;

}

table {
width:100%;
}

td {

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
table, th, td {
border: 1px solid var(--main-color);
padding-top:4px;
padding-bottom:4px;
padding-left:8px;
padding-right:8px;
border-collapse: collapse;
text-align: right;
font-size: 14px;
}

.small-header {
color: var(--secondary-color);
font-size: 24px
}

.row-container{
display: flex;
}

@media (max-width: 1200px) {
.row-container {
flex-direction: column;
}
}

.graph-container {
width: 100%;
height: 100%;
padding-top:20px;
display: flex;
flex-direction: column;
}

.graph-class {
width: 100%;
display: flex;
}
.table-container {
display: flex;
flex-direction: column;
}

.chart-row-container {
display: flex;
}

.column {
display: flex;
width: 100%;
}


.dropdown-container {
padding:20px;
}

.nav-container {
display:flex;
flex-direction: row;
justify-content: space-between;
border-bottom: thin solid var(--main-color);
margin-bottom: 10px;
padding:10px;
}

.nav-row-container {

display:flex;
flex-direction: row;
align-items: flex-end;

}
.nav-item-container{
height: fit-content;
margin-right: 10px;
padding-left: 10px;
border-left: var(--main-color);
border-left-width: 2px;
border-left-style: solid;
}

.nav-item {
color: var(--main-secondary);
font-size:18px;

}

a.nav-item:hover {
color: var(--main-color);
font-size:18px
}

30 changes: 30 additions & 0 deletions src/ssb_konjunk/dash/assets/selector.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@import "main.css";

.selector-option-text {

}

.selector-option-active {
background-color: var(--main-color);
color: white;
padding-right: 70px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 6px;
}

.selector-option-passive {
background-color: transparent;
padding-right: 70px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 6px;
}
.selector-container{

padding-left: 10px;
border-right: 1px solid var(--main-color);
height: 100%;
margin-right: 10px;
white-space: nowrap;
}
105 changes: 105 additions & 0 deletions src/ssb_konjunk/dash/assets/visualize.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
@import "main.css";

.visualize-selector-container {
display: flex;
flex-direction: column;
gap: 20px
}

.visualize-layout {
gap: 20px;
display: flex;
flex-direction: column;
}

.visualize-content-container {
display: grid;
grid-template-columns: 30% 70%;
}

.visualize-alert-container {
position: absolute;
top: 100px;
right: 100px;
}

.visualizer-alert {
border-radius: 10px;
border-color: var(--error-color);
border-style: dotted;
border-width: 1px;
color: var(--error-color);
padding: 20px;
}


.visualizer-dropdown-item {
width: 100%;
margin:0px;
padding:0px
}

.visualizer-dropdown-item:hover {

}

.visualizer-nace-dropdown {
border-color: black;
border-radius: 0px;
max-width: 350px;
min-width: 230px;
}

.visualizer-nace-dropdown:focus {
border-color: black;
border-radius: 0px;
}
.Select-control {
border-color: black;
border-radius: 0px;
height: 43px;
}

.Select-control:hover{
outline-width: 2px;
outline-color: var(--main-color);
outline-style: solid;
cursor: pointer;
}

.is-focused:not(.is-open)>.Select-control {
border: 0px solid var(--main-color);
outline: 3px solid var(--main-color);
}

.Select-control:focus{
outline-width: 2px;
outline-color: var(--main-color);
outline-style: solid;
cursor: pointer;
}
.Select-placeholder {
color:black;
opacity:0.8;
}

.Select-value {
border: 0px solid transparent !important;
color: black !important;
height: 43px;
}
.Select-value-icon {
display: none !important;
}

.Select-value-label {
height: 43px !important;
}
#react-select-2–value-item {
color: white;
}

.VirtualizedSelectOption:hover {
background-color: var(--secondary-color);
color:white
}
Loading