cockpit-navigator/navigator/navigator.css

159 lines
2.4 KiB
CSS
Raw Normal View History

2021-05-20 21:55:49 +02:00
.flex-row {
display: flex;
flex-direction: row;
}
.flex-col {
display: flex;
flex-direction: column;
}
.space-between {
justify-content: space-between;
}
2021-05-20 21:55:49 +02:00
.horizontal-spacer {
margin-right: 1em;
}
.vertical-spacer {
margin-bottom: 1em;
}
.outer-container {
height: 100%;
background-color: #212427;
color: #fff;
padding: 1em;
}
.navigation-bar {
background-color: #212427;
flex-grow: 1;
padding: 0.25em 1em 0.25em 1em;
border: 1px solid #3c3f42;
border-radius: 4px;
}
.inner-container {
height: 100%;
flex-grow: 1;
overflow: hidden;
}
.contents-view {
height: 100%;
flex-basis: 0;
2021-05-25 19:37:59 +02:00
flex-grow: 8;
2021-05-20 21:55:49 +02:00
background-color: #151515;
border: 1px solid #3c3f42;
border-radius: 4px;
padding: 0.5em;
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
overflow: auto;
}
.nav-item {
padding: 12px;
2021-05-20 21:55:49 +02:00
flex: 0;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
box-sizing: border-box;
}
.nav-item-selected {
background-color: #191a1b;
border: 1px solid #3c3f42;
border-radius: 4px;
box-sizing: border-box;
padding: 11px;
2021-05-20 21:55:49 +02:00
}
.nav-item .nav-item-title {
text-align: center;
overflow-wrap: anywhere;
}
.nav-item .nav-dir-icon {
2021-05-21 18:31:23 +02:00
position: relative;
2021-05-20 21:55:49 +02:00
background-color: #212427;
2021-05-21 18:31:23 +02:00
width: 100px;
height: 80px;
border-radius: 0 5px 5px 5px;
margin-top: 12px;
}
.nav-item .nav-dir-icon:before {
content: "";
position: absolute;
top: -12px;
left: 0;
width: 50%;
height: 12px;
border-radius: 5px 5px 0 0;
background-color: #3c3f42;
display: block;
}
.nav-item .nav-file-icon {
position: relative;
background-color: #212427;
2021-05-21 18:31:23 +02:00
width: 70px;
height: 92px;
margin-left: 15px;
margin-right: 15px;
2021-05-20 21:55:49 +02:00
}
.nav-item .nav-file-icon:before {
content: "";
position: absolute;
top: 0;
right: 0;
border-width: 0 16px 16px 0;
border-style: solid;
border-color: #3c3f42 #151515;
display: block;
width: 0;
}
.nav-info-column {
2021-05-20 21:55:49 +02:00
background-color: #212427;
flex-basis: 0;
2021-05-25 19:37:59 +02:00
flex-grow: 3;
2021-05-20 21:55:49 +02:00
padding: 1em;
border: 1px solid #3c3f42;
border-radius: 4px;
}
2021-05-25 19:37:59 +02:00
.nav-info-column-filename {
margin: 0 12px 0 12px;
font-weight: bolder;
font-size: 150%;
}
.nav-property-pair {
margin: 0 12px 0 12px;
display: flex;
flex-flow: row nowrap;
align-items: baseline;
}
.nav-property-pair-key {
font-weight: bold;
flex-basis: 0;
flex: 2;
padding-right: 5px;
}
.nav-property-pair-value {
font-family:'Courier New', Courier, monospace;
font-size: 85%;
flex-basis: 0;
flex: 3;
}