Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
/* app/assets/stylesheets/components/custom_select.css
*
* Custom dropdown component of the project permissions (project_permissions/index,
* Stimulus: custom-select). Lived until 06/2026 as the <style> partial _styles.html.erb in the views. */
/* Styles for custom dropdowns */
.custom-select-wrapper {
position: relative;
width: 100%;
}
.custom-select {
display: flex;
align-items: center;
width: 100%;
padding: 0.5rem;
border: 1px solid rgb(var(--cream-300));
border-radius: 0.375rem;
background-color: rgb(var(--white));
cursor: pointer;
font-size: 0.75rem;
}
.custom-select.no-access {
border-color: #ef4444;
color: #ef4444;
}
.custom-select.read-only {
border-color: #f59e0b;
color: #f59e0b;
}
.custom-select.read-write {
border-color: #10b981;
color: #10b981;
}
.custom-select i {
margin-right: 0.5rem;
}
.custom-select::after {
content: '';
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #888;
}
.custom-dropdown {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: rgb(var(--white));
border: 1px solid rgb(var(--cream-300));
border-radius: 0.375rem;
margin-top: 2px;
z-index: 30; /* dropdown */
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
display: none;
}
.custom-dropdown.open {
display: block;
}
.custom-option {
display: flex;
align-items: center;
padding: 0.5rem;
cursor: pointer;
}
.custom-option:hover {
background-color: rgb(var(--cream-100));
}
.custom-option.selected {
background-color: rgb(var(--cream-200));
}
.custom-option i {
margin-right: 0.5rem;
}
.default-option {
background-color: rgb(var(--cream-50));
}
/* Hide original select */
.hidden-select {
display: none;
}
/* Icon Radio Button Styles */
input[type="radio"]:checked + i {
padding: 2px;
border-radius: 9999px;
box-shadow: 0 0 0 2px currentColor;
}
label:has(input[type="radio"]) i {
transition: all 0.15s ease;
}
label:has(input[type="radio"]):hover i {
transform: scale(1.1);
}