debian-mirror-gitlab/app/assets/stylesheets/framework/contextual_sidebar_header.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

59 lines
1 KiB
SCSS
Raw Normal View History

2021-09-04 01:27:46 +05:30
.context-header {
position: relative;
margin-right: 2px;
width: $contextual-sidebar-width;
> a,
> button {
2022-08-27 11:52:29 +05:30
transition: padding $gl-transition-duration-medium;
2021-09-04 01:27:46 +05:30
font-weight: $gl-font-weight-bold;
display: flex;
width: 100%;
align-items: center;
padding: 10px 16px 10px 10px;
color: $gl-text-color;
background-color: transparent;
border: 0;
text-align: left;
&:hover,
&:focus {
background-color: $link-hover-background;
color: $gl-text-color;
outline: 0;
}
}
.avatar-container {
2022-08-27 11:52:29 +05:30
flex: 0 0 32px;
2021-09-04 01:27:46 +05:30
background-color: $white;
}
.sidebar-context-title {
overflow: hidden;
text-overflow: ellipsis;
2021-09-30 23:02:18 +05:30
color: $gray-900;
2021-09-04 01:27:46 +05:30
&.text-secondary {
font-weight: normal;
font-size: 0.8em;
}
}
}
@mixin context-header-collapsed {
.context-header {
height: 60px;
width: $contextual-sidebar-collapsed-width;
a {
padding: 10px 4px;
}
}
.sidebar-context-title {
@include gl-sr-only;
}
}