c4c4151f7d
Seems this has recently regressed, previously, there was a significant whitespace between icon and text, but it seems to be gone, so I added the margin and also vertically aligned the icon because it was slightly misaligned. Before: <img width="419" alt="Screenshot 2022-12-13 at 20 03 51" src="https://user-images.githubusercontent.com/115237/207422938-7c45110c-f73e-4344-afc8-c072266d1f95.png"> After: <img width="419" alt="image" src="https://user-images.githubusercontent.com/115237/207447579-95525405-574d-4ca8-84ba-d8a9af50015a.png"> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
198 lines
3.2 KiB
Text
198 lines
3.2 KiB
Text
.dashboard {
|
|
&.feeds,
|
|
&.issues {
|
|
.context.user.menu {
|
|
z-index: 101;
|
|
min-width: 200px;
|
|
|
|
.ui.header {
|
|
font-size: 1rem;
|
|
text-transform: none;
|
|
}
|
|
}
|
|
|
|
.filter.menu {
|
|
width: initial;
|
|
|
|
.item {
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.text {
|
|
height: 16px;
|
|
vertical-align: middle;
|
|
|
|
&.truncate {
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
.floating.label {
|
|
top: 7px;
|
|
left: 90%;
|
|
width: 15%;
|
|
|
|
@media @mediaSm {
|
|
top: 10px;
|
|
left: auto;
|
|
width: auto;
|
|
right: 13px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Sort
|
|
.jump.item {
|
|
margin: 1px;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.menu {
|
|
max-height: 300px;
|
|
overflow-x: auto;
|
|
right: 0 !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
@media @mediaSm {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.right.stackable.menu > .item.active {
|
|
color: var(--color-red);
|
|
}
|
|
}
|
|
|
|
.dashboard-repos,
|
|
.dashboard-orgs {
|
|
margin: 0 1px; /* Accommodate for Semantic's 1px hacks on .attached elements */
|
|
}
|
|
|
|
.dashboard-navbar {
|
|
width: 100vw;
|
|
padding-left: .5rem;
|
|
padding-right: .5rem;
|
|
.org-visibility .label {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.ui.dropdown {
|
|
max-width: 100%;
|
|
|
|
@media @mediaSm {
|
|
> .menu {
|
|
position: static;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.feeds {
|
|
.news {
|
|
li {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-top: .5rem;
|
|
margin-bottom: .5rem;
|
|
|
|
img {
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
li > * + * {
|
|
margin-left: .35rem;
|
|
}
|
|
|
|
> .ui.grid {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.left .ui.avatar {
|
|
margin-top: 13px;
|
|
}
|
|
|
|
.time-since {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.issue.title {
|
|
width: 80%;
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
.push.news .content ul {
|
|
line-height: 18px;
|
|
font-size: 13px;
|
|
list-style: none;
|
|
padding-left: 10px;
|
|
|
|
.text.truncate {
|
|
width: 80%;
|
|
}
|
|
}
|
|
|
|
.commit-id {
|
|
font-family: var(--fonts-monospace);
|
|
}
|
|
|
|
code {
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
background-color: var(--color-markup-code-block);
|
|
word-break: break-all;
|
|
}
|
|
|
|
&:last-of-type .divider {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.list {
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 0;
|
|
|
|
li {
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
&.private {
|
|
background-color: var(--color-box-body-highlight);
|
|
}
|
|
|
|
.repo-list-link {
|
|
padding: 6px 1em;
|
|
display: block;
|
|
|
|
.svg {
|
|
color: var(--color-text-light-2);
|
|
}
|
|
|
|
.star-num {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#privateFilterCheckbox .svg {
|
|
color: var(--color-grey);
|
|
margin-right: .25rem;
|
|
}
|
|
|
|
.repo-owner-name-list .item-name {
|
|
min-width: 0;
|
|
}
|
|
|
|
.repo-owner-name-list .item-name svg {
|
|
min-width: 16px;
|
|
}
|
|
}
|
|
}
|