Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/eventyay/static/common/css/_variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
var(--color-primary),
black 40%
);
--color-primary-hover: color-mix(in srgb, var(--color-primary), black 20%);
--color-primary-light: color-mix(in srgb, var(--color-primary), white 45%);
--color-primary-lighter: color-mix(in srgb, var(--color-primary), white 72%);
--color-secondary: var(--color-grey-medium);
Expand Down
14 changes: 12 additions & 2 deletions app/eventyay/static/orga/css/_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,11 @@ aside.sidebar {
background-color: var(--color-grey-pale);
}

#nav-search-wrapper.nav-link:hover {
background-color: transparent;
}

#nav-search {
display: flex;
flex-direction: column;
padding: 8px 0 8px 4px;
display: flex;
flex-direction: row;
Expand All @@ -323,6 +325,11 @@ aside.sidebar {
color: var(--color-primary);
height: 56px;

&:hover #search-context-icon,
&:hover #search-context-text .context-name {
color: var(--color-primary-hover);
}

&:after {
/* dropdown indicator */
margin-right: 12px;
Expand All @@ -346,12 +353,15 @@ aside.sidebar {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
line-height: 17px;
}

.context-name {
font-family: "Open Sans";
font-weight: 600;
font-size: 15px;
padding-bottom: 2px;
margin-bottom: 2px;
}

.context-meta {
Expand Down
1 change: 1 addition & 0 deletions app/eventyay/static/pretixbase/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $gray-lightest: lighten(#000, 97.25%);
$font-family-sans-serif: "Open Sans", "OpenSans", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$text-color: #222222 !default;
$text-muted: #767676 !default;
$body-color-light: rgba(0, 0, 0, 0.6) !default;

$brand-primary: #2185d0 !default;
$brand-success: #50a167 !default;
Expand Down
11 changes: 7 additions & 4 deletions app/eventyay/static/pretixcontrol/scss/_sb-admin-2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,29 +182,32 @@ body {
opacity: 1;
}
}
border-bottom: 2px solid darken($gray-lightest, 6.5%);
border-bottom: 1px solid darken($gray-lightest, 6.5%);

.context-indicator {
display: inline-block;
padding-left: 5px;
padding-right: 2px;
line-height: 15px;
vertical-align: middle;
span {
display: block;
width: 170px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
line-height: 17px;
}
span.context-name {
font-weight: bold;
font-weight: 600;
vertical-align: middle;
font-size: 15px;
padding-bottom: 2px;
margin-bottom: 2px;
}
span.context-meta {
opacity: 0.7;
font-size: 11px;
color: $body-color-light;
font-weight: normal;
}
}
}
Expand Down
21 changes: 15 additions & 6 deletions app/eventyay/static/pretixcontrol/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ body:not(.sidebar-minimized) .sidebar {
display: flex;
flex-direction: row;
align-items: center;
height: 56px;

.context-icon {
min-width: 38px;
Expand All @@ -119,22 +120,26 @@ body:not(.sidebar-minimized) .sidebar {
flex-direction: column;
flex-grow: 1;
overflow: hidden;
margin-left: 6px;
margin-left: 2px;

span {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
line-height: 17px;
}

span.context-name {
font-weight: bold;
font-weight: 600;
font-size: 15px;
padding-bottom: 2px;
margin-bottom: 2px;
}

span.context-meta {
opacity: 0.7;
font-size: 11px;
color: $body-color-light;
font-weight: normal;
}
}
}
Expand Down Expand Up @@ -361,22 +366,26 @@ body:not(.sidebar-minimized) #page-wrapper {
flex-direction: column;
flex-grow: 1;
overflow: hidden;
margin-left: 6px;
margin-left: 2px;

span {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
line-height: 17px;
}

span.context-name {
font-weight: bold;
font-weight: 600;
font-size: 15px;
padding-bottom: 2px;
margin-bottom: 2px;
}

span.context-meta {
opacity: 0.7;
font-size: 11px;
color: $body-color-light;
font-weight: normal;
}
}
}
Expand Down