lbry-desktop/src/renderer/scss/component/_header.scss

61 lines
975 B
SCSS
Raw Normal View History

#header {
display: flex;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
2018-01-04 06:05:20 +01:00
height: var(--header-height);
z-index: 3;
box-sizing: border-box;
2018-01-04 06:05:20 +01:00
color: var(--header-color);
background-color: var(--header-bg);
}
2017-08-22 04:23:38 +02:00
2018-01-04 06:05:20 +01:00
.header__actions-left {
display: flex;
padding: 0 5px;
}
2018-01-04 06:05:20 +01:00
.header__actions-right {
margin-left: auto;
}
2017-04-27 15:17:18 +02:00
2018-01-04 06:05:20 +01:00
.header__wunderbar {
flex: 1;
max-width: 325px;
min-width: 175px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 100%;
display: flex;
align-items: center;
padding: 10px 5px;
cursor: text;
}
2017-04-27 15:17:18 +02:00
.wunderbar__input {
2018-01-04 06:05:20 +01:00
height: 50%;
width: 100%;
color: var(--search-color);
2018-01-04 06:05:20 +01:00
padding: 10px;
background-color: #f3f3f3;
border-radius: 10px;
font-size: 0.9em;
&:focus {
2018-01-04 06:05:20 +01:00
// TODO: focus style
}
}
2018-01-04 06:05:20 +01:00
.wunderbar__suggestion {
padding: 5px;
background-color: var(--header-bg);
cursor: pointer;
}
.wunderbar__active-suggestion {
background-color: #a3ffb0;
}