Ekapp/skolehjem/resources/sass/admin/nav/nav.scss

67 lines
945 B
SCSS
Raw Normal View History

2020-06-15 06:56:21 +00:00
.nav {
width: 15%;
height: 100%;
2020-08-20 12:56:11 +00:00
min-width: calc(1.5em + 4rem);
//transition: width .5s;
}
div.w-85 {
//transition: width .5s;
2020-06-15 06:56:21 +00:00
}
2020-08-20 13:12:06 +00:00
.segment.active {
background-color: #00788A;
2020-08-20 13:12:06 +00:00
}
2020-06-15 06:56:21 +00:00
.segment > h3 {
margin-left: -1rem;
margin-top: 0;
2020-07-01 07:27:18 +00:00
width: calc(100% + 1rem);
margin-bottom: 0;
font-size: 1.15em;
}
.segment > h3 > a {
padding: 1rem 2rem;
2020-08-20 12:56:11 +00:00
display: flex;
}
.segment > h3 > a > img {
width: 1.5em;
2020-06-15 06:56:21 +00:00
}
.segment > div {
2020-08-20 12:56:11 +00:00
/*padding: 0 1.25rem 0 1.25rem;
2020-06-15 06:56:21 +00:00
width: calc(100% - 2.5rem);
align-items: center;
2020-08-20 12:56:11 +00:00
margin-bottom: .5rem;*/
2020-06-15 06:56:21 +00:00
}
2020-07-01 07:27:18 +00:00
.segment > h3:hover {
background-color: rgba(0,0,0, 0.2);
2020-06-15 06:56:21 +00:00
}
.segment > div > a > img {
height: 1em;
padding-right: 8px;
}
.segment > div > a {
}
2020-07-01 07:27:18 +00:00
.btn-inline {
display: inline-flex;
align-items: center;
}
.btn-inline > img {
height: 1em;
margin-right: 4px;
}
#search {
margin-bottom: 0;
line-height: 2.3rem;
}