cockpit-navigator/navigator/navigator.css

120 lines
1.8 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;
}
.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;
flex-grow: 4;
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 {
2021-05-20 21:55:49 +02:00
margin: 0.5em;
flex: 0;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
}
.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;
}
2021-05-20 21:55:49 +02:00
.info-column {
background-color: #212427;
flex-basis: 0;
flex-grow: 1;
padding: 1em;
border: 1px solid #3c3f42;
border-radius: 4px;
}