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

63 lines
944 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-08-25 10:00:10 +00:00
.segment > div > h3 {
2020-06-15 06:56:21 +00:00
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;
}
2020-08-25 10:00:10 +00:00
.segment > div > h3 > a {
2020-07-01 07:27:18 +00:00
padding: 1rem 2rem;
2020-08-20 12:56:11 +00:00
display: flex;
}
2020-08-25 10:00:10 +00:00
.segment > div > h3 > a > img {
2020-08-20 12:56:11 +00:00
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-08-25 10:00:10 +00:00
.segment > div > h3:hover {
2020-07-01 07:27:18 +00:00
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;
}
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;
}