1
0
Fork 0
mirror of synced 2024-07-05 14:40:42 +12:00
appwrite/public/styles/comps/header.less

109 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
header {
position: fixed;
top: 0;
width: ~"calc(100% - 130px)";
height: 40px;
line-height: 40px;
padding: 15px 30px;
background: #fff;
box-shadow: 0 0 4px rgba(0, 0, 0, .25);
margin: 0 -30px;
z-index: 2;
font-size: 14px;
.logo {
height: 26px;
margin: 7px 0;
display: block;
img {
display: block;
}
}
.project {
font-size: 15px;
color: #1b3445;
display: inline-block;
line-height: 40px;
height: 40px;
}
.account {
.func-margin-start(25px);
}
.avatar {
height: 40px;
width: 40px;
}
.notifications {
position: relative;
font-size: 20px;
&:after {
position: absolute;
content: "";
display: block;
2020-02-11 06:04:57 +13:00
background: var(--config-color-danger);
2019-05-09 18:54:39 +12:00
width: 8px;
height: 8px;
border-radius: 50%;
top: 3px;
.func-end(3px);
}
}
nav {
box-shadow: 0 0 4px rgba(0, 0, 0, .25);
background: #1b3445;
color: #788c99;
position: fixed;
height: 100%;
width: 70px;
top: 0;
.func-start(0);
.icon {
display: block;
border: none;
margin: 18px 10px 50px 10px;
2019-08-05 17:51:02 +12:00
2019-05-09 18:54:39 +12:00
img {
display: block;
}
&:hover {
border-bottom: none;
svg g {
2020-02-11 06:04:57 +13:00
fill: var(--config-color-focus)
2019-05-09 18:54:39 +12:00
}
}
}
2019-08-05 17:51:02 +12:00
2019-05-09 18:54:39 +12:00
.links a {
padding: 0;
border: none;
display: block;
text-align: center;
color: #788c99;
font-size: 12px;
margin-bottom: 30px;
.icon {
margin: 0 10px;
height: 24px;
font-size: 20px;
line-height: 24px;
}
&:hover {
border-bottom: none;
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
}
}
}
2020-06-10 02:43:24 +12:00
}