2022-05-06 23:10:28 +00:00
|
|
|
// main: theme-gitea-modern.user.styl, out: theme-gitea-modern.css, compress: true
|
|
|
|
// Ignore above, just compiler stuff
|
2022-03-15 21:23:09 +00:00
|
|
|
|
2022-05-16 13:37:19 +00:00
|
|
|
/* Update 1.0.18
|
|
|
|
- Fixed merge icons in pull requests
|
2021-08-12 19:24:57 +00:00
|
|
|
*/
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--base-border-radius: 6px;
|
|
|
|
}
|
|
|
|
html.theme-gitea, html.theme-arc-green {
|
|
|
|
--fonts-override: var(--fonts-regular);
|
2021-10-17 01:17:33 +00:00
|
|
|
accent-color: var(--color-primary);
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
a[rel*="nofollow"]:not(.ui), .link:not(.ui) {
|
|
|
|
&:hover, &:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
text-underline-offset: 5px;
|
|
|
|
}
|
|
|
|
}
|
2022-05-06 23:10:28 +00:00
|
|
|
|
2021-08-22 00:32:07 +00:00
|
|
|
*:not(input) {
|
2021-08-12 19:24:57 +00:00
|
|
|
outline: 0px dashed var(--color-primary);
|
2021-08-22 00:32:07 +00:00
|
|
|
outline-offset: -3px;
|
2021-08-12 19:24:57 +00:00
|
|
|
transition: outline-color .5s, outline-offset .5s;
|
|
|
|
}
|
|
|
|
:focus-visible:not(input) {
|
2021-08-22 00:32:07 +00:00
|
|
|
box-shadow: 0 0 5px 0px var(--color-primary) !important;
|
2021-08-12 19:24:57 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
outline: 2px solid var(--color-primary) !important;
|
2021-08-22 00:32:07 +00:00
|
|
|
outline-offset: 0px;
|
2021-08-12 19:24:57 +00:00
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
@keyframes slideInY {
|
|
|
|
from { opacity: 0; transform: scale(.97); }
|
|
|
|
to { opacity: 1; transform: scale(1); }
|
|
|
|
}
|
|
|
|
@keyframes slideOutY {
|
|
|
|
from { opacity: 1; transform: scale(1); }
|
|
|
|
to { opacity: 0; transform: scale(.97); }
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** Change Border Radius's ***/
|
|
|
|
.ui.buttons .ui.basic.button {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
.ui.button, .ui.basic.button, .ui.menu, .input.action.fluid, .ui.label,
|
|
|
|
.ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="file"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="text"], .ui.form input[type="time"], .ui.form input[type="url"],
|
2021-07-31 19:10:40 +00:00
|
|
|
.ui.table, .tab-size-8,
|
|
|
|
{
|
2021-07-27 16:26:33 +00:00
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.ui.menu:not(.secondary) > .item:first-child,
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.buttons .button:first-child,
|
|
|
|
.ui.buttons > .ui.basic.button:first-child {
|
|
|
|
border-radius: var(--base-border-radius) 0 0 var(--base-border-radius);
|
|
|
|
}
|
|
|
|
.ui.compact.menu:not(.secondary) .item:last-child,
|
|
|
|
.ui.buttons .button:last-child,
|
|
|
|
.ui.action.input > .button:last-child,
|
|
|
|
.ui.buttons > .ui.basic.button:last-child {
|
|
|
|
border-radius: 0 var(--base-border-radius) var(--base-border-radius) 0;
|
|
|
|
}
|
|
|
|
.ui.top.attached.header {
|
|
|
|
border-radius: var(--base-border-radius) var(--base-border-radius) 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.avatar {
|
|
|
|
border-radius: var(--base-border-radius) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** Buttons ***/
|
2022-01-12 15:44:08 +00:00
|
|
|
.button {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.compact.button {
|
|
|
|
padding-top: .3em;
|
|
|
|
padding-bottom: .3em;
|
2021-10-30 15:56:42 +00:00
|
|
|
min-height: 2.4em;
|
2021-07-27 16:26:33 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
margin-bottom: -1px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.basic.button, .ui.basic.label {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*** Inputs ***/
|
|
|
|
|
|
|
|
.input.action.fluid {
|
|
|
|
border: 1px solid var(--color-secondary) !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
height: auto;
|
2021-11-06 15:46:22 +00:00
|
|
|
background-color: var(--color-input-background);
|
2021-07-27 16:26:33 +00:00
|
|
|
input {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin: 2px !important;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: var(--base-border-radius) !important;
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
&:focus-within {
|
2021-08-22 00:32:07 +00:00
|
|
|
// outline: 1px solid var(--color-primary);
|
|
|
|
// outline-offset: -1px;
|
|
|
|
border-color: var(--color-primary) !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.form + .ui.divider {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*** Layouts ***/
|
|
|
|
|
|
|
|
.three.column {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
.column {
|
|
|
|
width: auto !important;
|
|
|
|
align-items: center !important;
|
|
|
|
display: flex !important;
|
2021-10-17 01:17:33 +00:00
|
|
|
.small:not(.modal), a {
|
2021-10-07 00:05:40 +00:00
|
|
|
max-height: 40px !important;
|
|
|
|
min-height: unset;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
form {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.center {
|
|
|
|
flex-grow: 100;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-30 15:56:42 +00:00
|
|
|
|
|
|
|
/*** Popups ***/
|
|
|
|
/* Tooltips */
|
|
|
|
.popup.tiny.inverted {
|
|
|
|
background: var(--color-body);
|
|
|
|
color: var(--color-text);
|
2022-01-12 15:44:08 +00:00
|
|
|
box-shadow: var(--lt-shadowDefault) !important;
|
2022-05-06 23:10:28 +00:00
|
|
|
border: 1px solid var(--color-secondary);
|
2021-10-30 15:56:42 +00:00
|
|
|
pointer-events: none;
|
|
|
|
z-index: 9999999;
|
|
|
|
&::before {
|
|
|
|
background: var(--color-body) !important;
|
|
|
|
z-index: -99999 !important;
|
|
|
|
border-color: var(--color-secondary) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.left.popup::before {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid;
|
|
|
|
border-right: 1px solid;
|
|
|
|
}
|
|
|
|
.ui.right.popup::before {
|
|
|
|
border: 0;
|
|
|
|
border-left: 1px solid;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
|
|
|
.ui.top.popup::before {
|
|
|
|
border: 0;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
|
|
|
.ui.bottom.popup::before {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid;
|
|
|
|
border-left: 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.settings > .ui.container {
|
|
|
|
max-width: 1150px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Other Elements **/
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
// Filter buttons & New Issue buttons on mobile
|
|
|
|
.ui.two.column.stackable.grid > .column {
|
|
|
|
width: auto !important;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.ui.compact.tiny.menu {
|
|
|
|
flex-grow: 1;
|
|
|
|
a {
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Better center content */
|
|
|
|
.page-content:not(.home) > .middle {
|
|
|
|
padding: calc(4vw + 1rem) 4vw !important;
|
|
|
|
width: 100% !important;
|
|
|
|
& > .column {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-12 19:24:57 +00:00
|
|
|
|
|
|
|
/* No Script Message */
|
|
|
|
.full.height > span[style="display: inline !important;"]:first-child {
|
|
|
|
margin: auto;
|
|
|
|
line-height: 40px;
|
|
|
|
padding: 30px;
|
|
|
|
text-align: center;
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 40px;
|
|
|
|
background: var(--color-navbar);
|
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove stuff that isn't needed when JS is disabled */
|
|
|
|
& ~ .page-content {
|
2022-01-12 15:44:08 +00:00
|
|
|
#app, #dashboard-repo-list, #user-heatmap, #user-heatmap + .divider {
|
2021-08-12 19:24:57 +00:00
|
|
|
display: none !important;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.dashboard-navbar {
|
|
|
|
bottom: unset !important;
|
|
|
|
top: 10px !important;
|
|
|
|
align-self: flex-start !important;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2021-08-12 19:24:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-10-30 15:56:42 +00:00
|
|
|
// Make heatmap not smoll on smoll screens
|
2021-07-27 16:26:33 +00:00
|
|
|
#user-heatmap {
|
|
|
|
overflow: auto hidden;
|
|
|
|
justify-content: flex-start;
|
|
|
|
max-width: 900px;
|
|
|
|
margin: auto;
|
2021-10-07 00:05:40 +00:00
|
|
|
align-items: stretch;
|
2021-07-27 16:26:33 +00:00
|
|
|
.vch__wrapper {
|
2021-10-07 00:05:40 +00:00
|
|
|
min-width: 600px;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Bold repo name, not author*/
|
|
|
|
.repo-title a:nth-last-child(2) {
|
|
|
|
font-weight: 600 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Better labels */
|
|
|
|
.label:not(.basic) {
|
|
|
|
border-radius: 100px !important;
|
|
|
|
padding: 4px 8px !important;
|
|
|
|
font-weight: 700;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
min-width: 24px !important;
|
|
|
|
display: inline-flex;
|
2021-07-31 19:10:40 +00:00
|
|
|
&.sha > .detail { /* Fix SHA Padding */
|
|
|
|
margin-left: 6px !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
svg {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-08-12 19:24:57 +00:00
|
|
|
|
|
|
|
/* Alerts */
|
|
|
|
.alert-primary.p-10 {
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 20px !important;
|
|
|
|
.close {
|
|
|
|
// padding: 10px;
|
|
|
|
span {
|
|
|
|
font-size: 1.7em;
|
|
|
|
font-weight: 200;
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
margin-right: 1.7em;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
/*** Menu's ***/
|
|
|
|
.ui.tabular.menu, .ui.tight.menu {
|
|
|
|
position: relative;
|
|
|
|
flex-direction: row !important;
|
|
|
|
flex-wrap: nowrap !important;
|
|
|
|
overflow: auto hidden !important;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
scrollbar-color:var(--color-primary) var(--color-secondary);
|
|
|
|
border-bottom: 1px solid var(--color-secondary) !important;
|
|
|
|
&.ui.tight.menu > .item {
|
|
|
|
width: auto !important;
|
|
|
|
border-bottom-width: 0px !important;
|
|
|
|
position: relative !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
padding: .85714286em 1.14285714em;
|
2021-07-27 16:26:33 +00:00
|
|
|
&::before {
|
|
|
|
content: "" !important;
|
|
|
|
position: absolute !important;
|
|
|
|
bottom: 0 !important;
|
|
|
|
left: 20px !important;
|
|
|
|
right: 20px !important;
|
|
|
|
top: unset !important;
|
|
|
|
width: unset !important;
|
|
|
|
height: 2px !important;
|
|
|
|
opacity: .7;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
background: none;
|
|
|
|
display: flex !important;
|
|
|
|
transition: left 2s;
|
|
|
|
}
|
|
|
|
&.active::before {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.tabular.menu {
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
position: relative;
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: -1;
|
|
|
|
border-top: 1px solid var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
2021-07-31 19:10:40 +00:00
|
|
|
.ui.tabular.menu:not(.borderless) > .item {
|
2021-07-27 16:26:33 +00:00
|
|
|
width: auto !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
padding: 16px 24px;
|
2021-07-27 16:26:33 +00:00
|
|
|
min-width: 70px;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
svg {
|
|
|
|
margin-right: 10px !important;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
border-radius: 10px 10px 0 0 !important;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
&.active::after {
|
|
|
|
content: "" !important;
|
|
|
|
position: absolute;
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
bottom: 1px;
|
|
|
|
right: -7px;
|
|
|
|
border-bottom-left-radius: 100px;
|
|
|
|
box-shadow: -1px 1px 0 0px var(--color-secondary), -3px 3px 0px 2px var(--color-body) ;
|
|
|
|
|
|
|
|
}
|
|
|
|
&.active::before {
|
|
|
|
all: unset;
|
|
|
|
content: "" !important;
|
|
|
|
position: absolute;
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: -7px;
|
|
|
|
border-bottom-right-radius: 100px;
|
|
|
|
box-shadow: 1px 1px 0 0px var(--color-secondary), 3px 3px 0px 2px var(--color-body) ;
|
|
|
|
display: unset !important;
|
|
|
|
}
|
|
|
|
&.active:first-child {
|
|
|
|
&::before {
|
|
|
|
content: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-17 01:17:33 +00:00
|
|
|
// That menu right below the Header
|
|
|
|
.ui.secondary.pointing.menu {
|
|
|
|
background: none !important;
|
|
|
|
.new-menu-inner {
|
|
|
|
width: 1150px;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
// font-weight: 600;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.active {
|
|
|
|
position: relative;
|
|
|
|
&::before {
|
|
|
|
all: unset;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 2px;
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
display: flex !important;
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.item:last-child {
|
|
|
|
padding-right: 1.14286em !important;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
.repository .filter.menu .menu {
|
|
|
|
max-height: 80vh;
|
|
|
|
width: max-content !important;
|
|
|
|
.info {
|
|
|
|
width: 100% !important;
|
|
|
|
padding: .8em !important;
|
|
|
|
line-height: 1.2em;
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*** Body ***/
|
|
|
|
html {
|
2022-01-12 15:44:08 +00:00
|
|
|
scroll-behavior: smooth;
|
|
|
|
scroll-snap-type: y mandatory;
|
2021-07-27 16:26:33 +00:00
|
|
|
scrollbar-width: auto !important;
|
|
|
|
}
|
2021-07-31 19:10:40 +00:00
|
|
|
.full.height {
|
|
|
|
padding-bottom: 30px;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
/*** Header ***/
|
|
|
|
.following.bar {
|
|
|
|
--min-height: 60px;
|
|
|
|
background: none !important;
|
|
|
|
border-bottom: 1px solid var(--color-secondary) !important;
|
|
|
|
background-color: var(--color-navbar) !important;
|
|
|
|
position: relative;
|
|
|
|
min-height: var(--min-height);
|
|
|
|
align-items: center;
|
2021-10-17 01:17:33 +00:00
|
|
|
#navbar {
|
2022-01-12 15:44:08 +00:00
|
|
|
padding: 0 calc(18px + 1%) !important;
|
2021-10-17 01:17:33 +00:00
|
|
|
background: none !important;
|
|
|
|
max-width: 100rem;
|
|
|
|
transition: padding 1s;
|
|
|
|
min-height: var(--min-height) !important;
|
|
|
|
margin: auto;
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
|
2021-10-17 01:17:33 +00:00
|
|
|
& > .item:not(.brand), & > .right > .item {
|
|
|
|
color: var(--color-text-dark) !important;
|
|
|
|
font-size: 1rem !important;
|
|
|
|
font-weight: 600;
|
2021-07-27 16:26:33 +00:00
|
|
|
|
2021-10-30 15:56:42 +00:00
|
|
|
padding: 0 calc(0px + 1%);
|
2021-10-17 01:17:33 +00:00
|
|
|
height: calc(var(--min-height) + 1px) !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
border-radius: 0;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
margin-bottom: -1px !important;
|
|
|
|
background: none !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
transition: border .5s, padding .7s;
|
|
|
|
& > span {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
&:hover, &.active, &:focus {
|
|
|
|
border-bottom: 1px solid var(--color-primary);
|
|
|
|
transition: border .1s;
|
|
|
|
outline: none;
|
|
|
|
}
|
2021-08-12 19:24:57 +00:00
|
|
|
}
|
2021-10-17 01:17:33 +00:00
|
|
|
.item.brand {
|
|
|
|
padding: 0 !important;
|
|
|
|
min-height: var(--min-height) !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
// margin-right: calc(-30px + 2%)!important;
|
2021-10-17 01:17:33 +00:00
|
|
|
}
|
|
|
|
.item.brand a {
|
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
margin-right: 20px;
|
|
|
|
background-position: center;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2021-10-17 01:17:33 +00:00
|
|
|
.right {
|
|
|
|
position: sticky;
|
|
|
|
right: 1%;
|
2022-05-06 23:10:28 +00:00
|
|
|
background-color: var(--color-navbar);
|
2021-10-17 01:17:33 +00:00
|
|
|
box-shadow: 100px 0px 0 var(--color-navbar);
|
2021-07-31 19:10:40 +00:00
|
|
|
width: 100%;
|
2021-10-17 01:17:33 +00:00
|
|
|
min-width: max-content;
|
|
|
|
justify-content: flex-end;
|
|
|
|
& > .item {
|
|
|
|
padding: 0 10px;
|
|
|
|
& > .text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
span:not(.fitted) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
img ~ .fitted {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Page content when width is larger than 850px */
|
|
|
|
@media only screen and (min-width: 850px) {
|
2021-08-29 15:34:45 +00:00
|
|
|
// Still tweaking selectors a bit
|
|
|
|
// .page-content.repository:not(.issues.repository.milestones):not(.new:not(.issue):not(.wiki):not(.release)) {
|
2021-08-31 14:08:36 +00:00
|
|
|
.page-content.repository:not(.issues.repository.milestones) {
|
2021-07-27 16:26:33 +00:00
|
|
|
display: grid;
|
|
|
|
grid-row-gap: 10px;
|
|
|
|
grid-template-columns: 100px calc(100% - 100px);
|
|
|
|
padding: 0 20px;
|
|
|
|
padding-top: 20px;
|
|
|
|
width: 1367px;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: auto;
|
2021-08-31 14:08:36 +00:00
|
|
|
& > .middle {
|
|
|
|
grid-column: 1 / span 2;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.header-wrapper {
|
|
|
|
display: contents;
|
|
|
|
& > .ui.container:first-child {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 1 / span 2;
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 100px;
|
|
|
|
border: 0 !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
.avatar, .repo-icon {
|
|
|
|
width: 50px !important;
|
|
|
|
height: 50px !important;
|
|
|
|
object-fit: contain;
|
|
|
|
margin: 0 10px;
|
|
|
|
margin-left: -90px;
|
|
|
|
margin-right: 39px !important;
|
|
|
|
margin-bottom: -10px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 8px !important;
|
2021-08-29 15:34:45 +00:00
|
|
|
z-index: 2;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.repo-title-wrap {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row !important;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.fork-flag {
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-left: 6px !important;
|
|
|
|
padding: 2px 8px;
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabs {
|
|
|
|
order: -1;
|
|
|
|
width: auto !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-top: 60px !important;
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 2 / span 5;
|
|
|
|
height: min-content;
|
|
|
|
position: sticky;
|
|
|
|
bottom: 20px;
|
|
|
|
margin-bottom: -60px !important;
|
|
|
|
align-self: flex-end;
|
|
|
|
align-content: flex-start;
|
|
|
|
min-height: calc(100vh - 40px);
|
2022-01-12 15:44:08 +00:00
|
|
|
// z-index: 2;
|
2021-08-22 00:32:07 +00:00
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2021-08-29 15:34:45 +00:00
|
|
|
bottom: 0;
|
2021-08-22 00:32:07 +00:00
|
|
|
left: 20px;
|
|
|
|
right: 50px;
|
2021-08-29 15:34:45 +00:00
|
|
|
top: -10px
|
2021-08-22 00:32:07 +00:00
|
|
|
background-color: var(--color-body);
|
|
|
|
box-shadow: 0 0 20px 20px var(--color-body);
|
|
|
|
opacity: .8;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.tabular {
|
|
|
|
flex-direction: column !important;
|
|
|
|
padding-right: 30px;
|
|
|
|
overflow: visible !important;
|
|
|
|
padding-left: 0;
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
&::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
// .item {
|
|
|
|
// display: flex;
|
|
|
|
// flex-direction: column;
|
|
|
|
// text-align: center;
|
|
|
|
// padding-top: 12px;
|
|
|
|
// padding-bottom: 18px;
|
|
|
|
// position: relative;
|
|
|
|
// background: none;
|
|
|
|
// color: var(--color-text);
|
|
|
|
// opacity: .7;
|
|
|
|
// border-radius: 12px !important;
|
|
|
|
// svg {
|
|
|
|
// margin: 0;
|
|
|
|
// width: 22px;
|
|
|
|
// height: 22px;
|
|
|
|
// max-width: unset !important;
|
|
|
|
// margin-bottom: 10px;
|
|
|
|
// margin-right: 0 !important;
|
|
|
|
// overflow: visible;
|
|
|
|
// order: -2;
|
|
|
|
// }
|
|
|
|
// .label {
|
|
|
|
// margin: 0 !important;
|
|
|
|
// margin-top: -3px !important;
|
|
|
|
// margin-bottom: 6px !important;
|
|
|
|
// order: -1;
|
|
|
|
// position: relative;
|
|
|
|
// }
|
|
|
|
// &.active {
|
|
|
|
// border: none;
|
|
|
|
// opacity: 1;
|
|
|
|
// &::before {
|
|
|
|
// content: unset !important;
|
|
|
|
// }
|
|
|
|
// &::after {
|
|
|
|
// all: unset;
|
|
|
|
// content: "";
|
|
|
|
// position: absolute;
|
|
|
|
// top: 2px;
|
|
|
|
// left: -5px;
|
|
|
|
// right: -5px;
|
|
|
|
// bottom: 5px;
|
|
|
|
// background: var(--color-primary);
|
|
|
|
// opacity: .1;
|
|
|
|
// border-radius: 12px !important;
|
|
|
|
// z-index: -1;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// &:hover {
|
|
|
|
// opacity: .9 !important;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// .right.menu {
|
|
|
|
// display: contents;
|
|
|
|
// }
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.divider {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > .ui.container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-08-22 00:32:07 +00:00
|
|
|
|
|
|
|
/* PROJECTS BOARD */
|
|
|
|
#project-board {
|
|
|
|
width: calc(100vw + 10px);
|
|
|
|
max-width: unset;
|
|
|
|
justify-self: center;
|
|
|
|
margin-left: -100px;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-top: -10px;
|
|
|
|
margin-bottom: calc(-100vh + 0px);
|
2021-08-22 00:32:07 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
scrollbar-color: var(--color-primary) transparent;
|
2022-01-12 15:44:08 +00:00
|
|
|
position: static;
|
|
|
|
height: calc(100vh - 175px);
|
|
|
|
scroll-snap-align: end;
|
2021-08-22 00:32:07 +00:00
|
|
|
& > .board {
|
|
|
|
overflow: visible;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin: 0 auto !important;
|
2021-08-22 00:32:07 +00:00
|
|
|
padding-left: 100px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
width: 1227px;
|
2022-01-12 15:44:08 +00:00
|
|
|
height: 100% !important;
|
|
|
|
|
2021-08-22 00:32:07 +00:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: flex;
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
.board-column {
|
2022-01-12 15:44:08 +00:00
|
|
|
height: 100% !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: 20px 0 0 0 var(--color-body);
|
2021-08-22 00:32:07 +00:00
|
|
|
}
|
|
|
|
.card {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Default Page Content, no width restraint */
|
|
|
|
.page-content.repository:not(.milestones) {
|
|
|
|
width: 1300px;
|
|
|
|
height: min-content;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
margin-bottom: -80px;
|
|
|
|
.header-wrapper {
|
|
|
|
padding-top: 40px !important;
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
background: none;
|
|
|
|
.repo-title {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
line-height: 1.5em;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.repo-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
& > * {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabs.container {
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-inline: 0 !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
width: 100%;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-bottom: .7em;
|
2021-07-27 16:26:33 +00:00
|
|
|
.tabular {
|
2022-01-12 15:44:08 +00:00
|
|
|
padding-inline: 3rem;
|
2021-07-27 16:26:33 +00:00
|
|
|
border-bottom: 0 !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
&::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 18px;
|
|
|
|
width: 90px !important;
|
|
|
|
max-width: 100% !important;
|
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
|
|
|
background: none;
|
|
|
|
color: var(--color-text);
|
|
|
|
opacity: .7;
|
|
|
|
border-radius: 12px !important;
|
|
|
|
svg {
|
|
|
|
margin: 0;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
max-width: unset !important;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
overflow: visible;
|
|
|
|
order: -2;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-top: -3px !important;
|
|
|
|
margin-bottom: 6px !important;
|
|
|
|
order: -1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
border: none;
|
|
|
|
opacity: 1;
|
|
|
|
&::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
all: unset;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
left: -5px;
|
|
|
|
right: -5px;
|
|
|
|
bottom: 5px;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: .1;
|
|
|
|
border-radius: 12px !important;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
opacity: .9 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.right.menu {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
.right.menu .item {
|
|
|
|
justify-content: center
|
|
|
|
}
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.divider {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
& > .ui.container {
|
|
|
|
height: min-content;
|
2022-01-12 15:44:08 +00:00
|
|
|
position: relative;
|
|
|
|
// For projects board
|
|
|
|
& > .three.column.stackable.grid:focus-within { // Still allow keyboard users to access menu, since it would be hidden behind
|
|
|
|
position: relative;
|
|
|
|
z-index: 3;
|
|
|
|
background-color: var(--color-body)
|
|
|
|
}
|
|
|
|
& > .three.column.stackable.grid + .ui.divider + .two.column.stackable.grid {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
background-color: var(--color-body);
|
|
|
|
inset: 0;
|
|
|
|
margin: 0 !important;
|
|
|
|
height: 39px;
|
|
|
|
& > .column {
|
|
|
|
padding: 0 !important;
|
|
|
|
.item {
|
|
|
|
padding-block: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
& > div:not(.attached) {
|
|
|
|
height: min-content;
|
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: .7rem !important;
|
|
|
|
}
|
|
|
|
& > .column + .divider:not(.header) {
|
|
|
|
border: 0;
|
|
|
|
margin: -22px 0 !important;
|
|
|
|
}
|
|
|
|
& > .column:first-child > .column {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
|
|
|
|
// Repo Content
|
2021-07-27 16:26:33 +00:00
|
|
|
#repo-desc {
|
|
|
|
font-size: 1.14rem;
|
|
|
|
line-height: 1.6rem;
|
2021-10-07 00:05:40 +00:00
|
|
|
margin-bottom: 0 !important;
|
|
|
|
&:not(:empty) {
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-bottom: .3rem !important;
|
2021-10-07 00:05:40 +00:00
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
#repo-topics {
|
|
|
|
margin: 0 -4px;
|
|
|
|
margin-bottom: 0 !important;
|
2021-08-18 17:42:45 +00:00
|
|
|
margin-top: -.5rem !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
align-items: flex-start !important;
|
|
|
|
& > *:last-child {
|
|
|
|
margin: 2px !important;
|
|
|
|
height: 22px !important;
|
|
|
|
margin-bottom: .7rem !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.repo-topic {
|
|
|
|
border-radius: 100px;
|
|
|
|
padding: 4px 10px;
|
|
|
|
color: var(--color-primary);
|
|
|
|
font-size: .9rem;
|
|
|
|
position: relative;
|
|
|
|
&:not(:hover) {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
border-radius: 100px;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: .07;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form .ui.tabular.menu {
|
|
|
|
margin-bottom: -2px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
#comment-form .markdown {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
.repository-summary-language-stats {
|
|
|
|
border: 0;
|
|
|
|
.language-stats-details {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
position: relative;
|
|
|
|
width: auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0 !important;
|
|
|
|
min-width: min-content;
|
|
|
|
&.ac {
|
|
|
|
padding: 12px !important;
|
|
|
|
}
|
|
|
|
.ui, .ac {
|
|
|
|
display: block;
|
|
|
|
line-height: 1.4em;
|
|
|
|
width: 100%;
|
|
|
|
padding: 8px;
|
|
|
|
svg {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-right: .2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
all: unset;
|
|
|
|
content: "";
|
|
|
|
inset: 0;
|
|
|
|
position: absolute;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
opacity: .1;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.language-stats {
|
|
|
|
border-radius: 100px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-top: .7em
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
.mobile--no-negative-margins {
|
2022-01-12 15:44:08 +00:00
|
|
|
margin: 10px -.35714286em;
|
2021-07-27 16:26:33 +00:00
|
|
|
flex-wrap: wrap;
|
2022-01-12 15:44:08 +00:00
|
|
|
flex-direction: row !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
grid-row-gap: 5px;
|
2022-01-12 15:44:08 +00:00
|
|
|
.mx-0, .mr-1 {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .item:nth-last-child(+2) {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
& > .item:last-child {
|
|
|
|
flex: 3 1 100px;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
& > .item:first-child .floating.filter.dropdown > .basic.small.compact.button {
|
|
|
|
.text {
|
|
|
|
font-size: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
strong {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 4px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.breadcrumb {
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
button, .button {
|
|
|
|
align-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 32px !important;
|
|
|
|
padding-left: 16px !important;
|
|
|
|
padding-right: 16px !important;
|
|
|
|
box-sizing: border-box;
|
2021-07-31 19:10:40 +00:00
|
|
|
&.icon {
|
|
|
|
padding-left: 8px !important;
|
|
|
|
padding-right: 8px !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
#file-buttons {
|
|
|
|
margin: 0 4px !important;
|
|
|
|
}
|
|
|
|
#clone-panel {
|
2022-01-12 15:44:08 +00:00
|
|
|
width: 300px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
flex-grow: 1;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
padding: 2px;
|
2022-01-12 15:44:08 +00:00
|
|
|
height: auto;
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
input {
|
|
|
|
width: 0px !important;
|
|
|
|
min-width: unset;
|
|
|
|
flex-grow: 1;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
border-radius: var(--base-border-radius) !important;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
border-radius: var(--base-border-radius) !important;
|
|
|
|
margin-right: 2px;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
2022-01-12 15:44:08 +00:00
|
|
|
height: 28px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
&:hover {
|
|
|
|
background: var(--color-light);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
button:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#repo-files-table {
|
|
|
|
margin-top: 0;
|
|
|
|
background: none !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-27 16:26:33 +00:00
|
|
|
thead {
|
|
|
|
position: relative;
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: .05;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
background: none !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
// padding: 0 !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
th {
|
|
|
|
padding: 12px 12px;
|
|
|
|
background: none !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
max-width: 100%;
|
|
|
|
&:first-child {
|
|
|
|
width: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex !important;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
& > a {
|
|
|
|
min-width: max-content !important;
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
padding-block: 0 !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
a {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
th > .avatar {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: 4px;
|
|
|
|
margin-right: 8px !important;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
.avatar + a {
|
|
|
|
display: inline-flex !important;
|
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
.commit-summary {
|
|
|
|
display: contents;
|
|
|
|
}
|
2021-08-12 19:24:57 +00:00
|
|
|
.message-wrapper {
|
2022-01-12 15:44:08 +00:00
|
|
|
// overflow: visible;
|
2021-08-12 19:24:57 +00:00
|
|
|
display: inline-flex;
|
2022-01-12 15:44:08 +00:00
|
|
|
width: 100px;
|
|
|
|
flex-grow: 1;
|
2021-08-12 19:24:57 +00:00
|
|
|
a {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.commit-body {
|
|
|
|
padding: 6px;
|
|
|
|
padding-right: 0;
|
2022-01-12 15:44:08 +00:00
|
|
|
width: 100%;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
position: relative;
|
2022-01-12 15:44:08 +00:00
|
|
|
width: 100%;
|
|
|
|
display: flex !important;
|
2022-05-06 23:10:28 +00:00
|
|
|
align-items: center;
|
2022-01-12 15:44:08 +00:00
|
|
|
td:first-child {
|
|
|
|
width: 250px;
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
td:nth-child(2) {
|
|
|
|
width: 0 !important;
|
|
|
|
max-width: unset;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
td::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute !important;
|
|
|
|
inset: 0;
|
|
|
|
pointer-events: none !important;
|
|
|
|
z-index: -100 !important;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
tr:hover td:nth-child(2)::before, tr:focus-within td:nth-child(2)::before {
|
|
|
|
opacity: .1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truncate {
|
2021-08-12 19:24:57 +00:00
|
|
|
overflow: visible;
|
|
|
|
display: inline-flex;
|
2021-07-27 16:26:33 +00:00
|
|
|
a {
|
2021-08-12 19:24:57 +00:00
|
|
|
margin: -8px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
2021-07-27 16:26:33 +00:00
|
|
|
color: var(--color-text);
|
|
|
|
&:hover, &:focus {
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
&:last-child {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
svg {
|
|
|
|
margin: 0 10px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
.name {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2021-10-07 00:05:40 +00:00
|
|
|
.message, .right:not(.popup) {
|
2021-07-27 16:26:33 +00:00
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-header {
|
|
|
|
padding: 8px 16px !important;
|
|
|
|
font-size: 1rem;
|
|
|
|
.octicon-book {
|
|
|
|
color: var(--color-text-light-2) !important;
|
|
|
|
margin-right: 10px !important;
|
|
|
|
}
|
|
|
|
strong {
|
|
|
|
line-height: 35px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.issue.list {
|
|
|
|
margin-top: -8px !important;
|
|
|
|
}
|
|
|
|
|
2021-08-22 00:32:07 +00:00
|
|
|
// Fix pull req header showing borders on the sides
|
|
|
|
.diff-box.sticky {
|
|
|
|
margin: 0 -1px;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
.sticky-2nd-row {
|
|
|
|
// margin-top: 2px;
|
|
|
|
box-shadow: 0 -2px 0 2px var(--color-body);
|
|
|
|
}
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
|
2021-10-17 01:17:33 +00:00
|
|
|
// Issue Comments
|
2022-01-12 15:44:08 +00:00
|
|
|
.ui.timeline {
|
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
.timeline-item {
|
2022-05-06 23:10:28 +00:00
|
|
|
&.comment {
|
|
|
|
display: flex;
|
|
|
|
.content {
|
|
|
|
flex-grow: 1
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.timeline-avatar {
|
2022-05-06 23:10:28 +00:00
|
|
|
position: relative;
|
2022-01-12 15:44:08 +00:00
|
|
|
left: 0;
|
|
|
|
// top: .5em;
|
2022-05-06 23:10:28 +00:00
|
|
|
width: 0;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-top: .7em;
|
|
|
|
z-index: 2;
|
2022-05-06 23:10:28 +00:00
|
|
|
img, svg {
|
2022-01-12 15:44:08 +00:00
|
|
|
margin: 0;
|
|
|
|
height: 1.6em !important;
|
2022-05-06 23:10:28 +00:00
|
|
|
min-width: 1.6em;
|
2022-01-12 15:44:08 +00:00
|
|
|
width: 1.6em !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.form .timeline-avatar {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2022-05-06 23:10:28 +00:00
|
|
|
.comment-header, .form, .no-header {
|
|
|
|
&::after, &::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
2022-05-06 23:10:28 +00:00
|
|
|
.header {
|
|
|
|
padding-left: calc(1.7em + 22px) !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
2022-05-16 13:37:19 +00:00
|
|
|
.attached.segment:first-child {
|
|
|
|
&, & ~ .attached {
|
|
|
|
padding-left: calc(1.7em + 22px) !important
|
|
|
|
}
|
|
|
|
}
|
2021-10-17 01:17:33 +00:00
|
|
|
.reactions {
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 1em;
|
|
|
|
margin-top: -.4em !important;
|
|
|
|
padding-bottom: .4em !important;
|
|
|
|
& > a {
|
|
|
|
padding: 4px 8px !important;
|
|
|
|
margin-right: .5em;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
border-radius: calc(var(--base-border-radius) * 2);
|
|
|
|
|
|
|
|
.reaction {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.select-reaction {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.grid > .eleven {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ui.grid > .four > .metas {
|
|
|
|
position: sticky;
|
|
|
|
min-height: calc(100vh - 40px);
|
|
|
|
bottom: 20px;
|
|
|
|
top: unset;
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Move the repo stats to the side, only when page width larger than 1000px */
|
|
|
|
@media only screen and (min-width: 1000px) {
|
|
|
|
&.file, &.commits, &.branches {
|
|
|
|
& > .ui.container {
|
|
|
|
margin: 0 !important;
|
|
|
|
grid-column: 2;
|
|
|
|
width: auto !important;
|
|
|
|
max-width: 100% !important;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: calc(100% - 100px) 100px;
|
2021-08-12 19:24:57 +00:00
|
|
|
grid-template-rows: min-content !important;
|
|
|
|
align-items: flex-start;
|
2021-07-27 16:26:33 +00:00
|
|
|
& > * {
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
2021-10-07 00:05:40 +00:00
|
|
|
.repository-summary,
|
|
|
|
[class="ui attached segment two column grid"] + [class="ui attached segment horizontal segments"], // Activies buttons
|
|
|
|
{
|
2021-07-27 16:26:33 +00:00
|
|
|
grid-column: 2;
|
2021-08-12 19:24:57 +00:00
|
|
|
grid-row: 1 / span 50;
|
2021-07-27 16:26:33 +00:00
|
|
|
border: 0;
|
|
|
|
margin-top: 12px !important;
|
|
|
|
margin-left: 30px;
|
|
|
|
height: min-content;
|
|
|
|
position: sticky;
|
2021-10-07 00:05:40 +00:00
|
|
|
width: 70px;
|
2021-07-27 16:26:33 +00:00
|
|
|
bottom: 20px;
|
2021-10-07 00:05:40 +00:00
|
|
|
top: unset;
|
2021-07-27 16:26:33 +00:00
|
|
|
align-self: flex-end;
|
|
|
|
background: none !important;
|
|
|
|
min-height: calc(100vh - 40px);
|
|
|
|
margin-bottom: -60px !important;
|
|
|
|
overflow: visible !important;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.segment {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
.language-stats-details {
|
|
|
|
display: flex !important;
|
|
|
|
padding: 0;
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.1);
|
|
|
|
overflow: hidden;
|
|
|
|
background: none !important;
|
|
|
|
.item {
|
|
|
|
flex-direction: column;
|
|
|
|
& > * {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-bottom: 8px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.repository-menu {
|
|
|
|
display: block !important;
|
|
|
|
height: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.language-stats-details {
|
|
|
|
height: unset !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
order: 2;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
.language-stats {
|
2021-08-18 17:42:45 +00:00
|
|
|
border-radius: var(--base-border-radius) !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
overflow: hidden !important;
|
|
|
|
pointer-events: none;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-top: 0;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.horizontal.list:not(.two) {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
2021-10-07 00:05:40 +00:00
|
|
|
.list,
|
|
|
|
&.horizontal, // Activies buttons
|
|
|
|
{
|
2021-07-27 16:26:33 +00:00
|
|
|
flex-direction: column;
|
|
|
|
background: none !important;
|
2021-10-07 00:05:40 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
.item, & > a.attached.segment {
|
2021-07-27 16:26:33 +00:00
|
|
|
border-radius: 12px !important;
|
|
|
|
padding: 12px 0 !important;
|
|
|
|
padding-bottom: 18px !important;
|
2021-10-07 00:05:40 +00:00
|
|
|
flex-grow: 0;
|
2021-07-27 16:26:33 +00:00
|
|
|
position: relative;
|
|
|
|
margin-right: 0 !important;
|
2021-10-07 00:05:40 +00:00
|
|
|
border: none;
|
2021-07-27 16:26:33 +00:00
|
|
|
a {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.bold, b {
|
|
|
|
font-weight: 500 !important;
|
|
|
|
}
|
2021-10-07 00:05:40 +00:00
|
|
|
&.active, &:target {
|
2021-07-27 16:26:33 +00:00
|
|
|
background: none !important;
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: -5px;
|
|
|
|
right:-5px;
|
|
|
|
bottom: 5px;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: .1;
|
|
|
|
z-index: -1;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
&::after {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2021-10-07 00:05:40 +00:00
|
|
|
&.list a, span {
|
2021-07-27 16:26:33 +00:00
|
|
|
& > * {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
width: 100%;
|
|
|
|
height: 20px;
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
}
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0 10px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ISSUES LIST / MILESTONES LIST, mostly issue's list though. */
|
|
|
|
.issue.list, .milestone.list {
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
background: var(--color-menu);
|
|
|
|
padding: 0 !important;
|
|
|
|
margin-top: 1rem;
|
|
|
|
&.milestone.list li {
|
|
|
|
border-bottom-style: solid !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
padding: 10px 15px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
& > a {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
li {
|
2021-08-29 15:34:45 +00:00
|
|
|
padding: 8px 10px !important;
|
|
|
|
// padding-bottom: 6px !important;
|
|
|
|
// padding-top: 0px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
position: relative;
|
2021-08-22 00:32:07 +00:00
|
|
|
&:hover:before, &:focus-within:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
z-index: 0;
|
|
|
|
opacity: .07;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
z-index: 1;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.issue-item-left {
|
|
|
|
padding-top: 2px;
|
|
|
|
svg {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.issue-item-top-row {
|
2021-08-29 15:34:45 +00:00
|
|
|
// margin-bottom: 4px;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-07-27 16:26:33 +00:00
|
|
|
a {
|
|
|
|
vertical-align: unset !important;
|
2021-08-29 15:34:45 +00:00
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
& > a {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
line-height: 1em;
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: capitalize;
|
|
|
|
filter: saturate(.8);
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.issue-item-bottom-row {
|
2021-08-29 15:34:45 +00:00
|
|
|
margin-top: -6px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
svg {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
2021-08-29 15:34:45 +00:00
|
|
|
.checklist {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.content {
|
|
|
|
padding-bottom: 2px;
|
|
|
|
padding-top: 2px !important;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.issue-item-icons-right {
|
|
|
|
width: 5em;
|
|
|
|
justify-content: flex-end;
|
|
|
|
.text {
|
|
|
|
min-width: unset;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2021-08-29 15:34:45 +00:00
|
|
|
.issue-item-icons-right a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.label {
|
|
|
|
margin-top: -1px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Repo page releases list */
|
|
|
|
#release-list {
|
|
|
|
padding-left: 0;
|
|
|
|
.four.wide.column {
|
|
|
|
width: 150px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** USER PROFILES & EXPLORE PAGES ***/
|
2021-08-18 17:42:45 +00:00
|
|
|
.explore, .page-content.user, .profile {
|
2021-07-27 16:26:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
/* Responsive explore page */
|
|
|
|
&.explore > .ui.container {
|
|
|
|
max-width: calc(100vw - 40px);
|
|
|
|
width: 3000px !important;
|
|
|
|
padding: 0 calc(10vw - 80px);
|
|
|
|
}
|
|
|
|
&.organization {
|
|
|
|
& > .ui.container:first-child {
|
|
|
|
padding-top: 30px;
|
|
|
|
padding-bottom: 30px;
|
|
|
|
#org-info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 10px;
|
|
|
|
justify-content: center;
|
|
|
|
& > p {
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-bottom: .2rem !important;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
a {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.eleven.wide.column::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .ui.container {
|
|
|
|
max-width: 1350px;
|
|
|
|
width: 100% !important;
|
|
|
|
padding: 0 20px;
|
2022-01-12 15:44:08 +00:00
|
|
|
// Profile Column
|
2021-07-27 16:26:33 +00:00
|
|
|
&[class="ui container"] .five.wide.column {
|
|
|
|
width: 320px !important;
|
|
|
|
flex: 1 0 320px !important;
|
|
|
|
position: sticky;
|
2021-08-18 17:42:45 +00:00
|
|
|
bottom: 10px;
|
2021-07-27 16:26:33 +00:00
|
|
|
align-self: flex-end;
|
|
|
|
min-height: 100vh;
|
2021-10-07 00:05:40 +00:00
|
|
|
line-height: 1.5em;
|
2021-07-27 16:26:33 +00:00
|
|
|
.card {
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
background: none !important;
|
|
|
|
#profile-avatar {
|
|
|
|
padding-left: .7rem;
|
|
|
|
padding-right: 2rem !important;
|
|
|
|
padding-top: .5rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
#profile-avatar .avatar {
|
|
|
|
border-radius: calc(var(--base-border-radius) * 2) !important;
|
|
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
background: var(--color-body);
|
|
|
|
height: 100% !important;
|
|
|
|
max-height: 80vh;
|
|
|
|
}
|
|
|
|
.profile-avatar-name {
|
|
|
|
font-size: 2rem;
|
|
|
|
display: contents;
|
|
|
|
span {
|
|
|
|
text-align: left;
|
|
|
|
font-weight: 600;
|
|
|
|
padding-left: .7rem;
|
|
|
|
margin: 1.5rem 0;
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
&.header {
|
|
|
|
font-weight: 500;
|
|
|
|
letter-spacing: .1em;
|
2021-08-18 17:42:45 +00:00
|
|
|
height: 39px;
|
|
|
|
line-height: 40px;
|
2021-10-07 00:05:40 +00:00
|
|
|
margin-bottom: -1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2021-07-27 16:26:33 +00:00
|
|
|
margin-top: 0;
|
|
|
|
background: var(--color-body);
|
|
|
|
position: sticky;
|
|
|
|
top: 0px;
|
|
|
|
z-index: 3;
|
|
|
|
box-shadow: 0 -5px 5px var(--color-body);
|
|
|
|
}
|
|
|
|
&.username {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.extra {
|
|
|
|
border: 0 !important;
|
|
|
|
li {
|
|
|
|
border: 0 !important;
|
|
|
|
padding: .3rem .7rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
.user-orgs {
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 1rem !important;
|
|
|
|
li {
|
|
|
|
flex-grow: 1 !important;
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
img {
|
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.render-content {
|
2021-07-27 16:26:33 +00:00
|
|
|
padding: .6rem 0;
|
|
|
|
padding-bottom: .7rem !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
p {
|
|
|
|
word-break: normal !important;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.follow form {
|
|
|
|
margin-top: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
// Repo's column
|
2021-07-27 16:26:33 +00:00
|
|
|
.eleven.wide.column {
|
|
|
|
flex-grow: 100;
|
|
|
|
width: 500px !important;
|
|
|
|
max-width: 100%;
|
|
|
|
.ui.secondary.stackable.pointing.tight.menu {
|
|
|
|
margin: 0 -2px;
|
2021-10-07 00:05:40 +00:00
|
|
|
margin: 0 -20px;
|
|
|
|
margin-left: -40px;
|
2021-07-27 16:26:33 +00:00
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
position: sticky;
|
2021-08-22 00:32:07 +00:00
|
|
|
top: -2px !important;
|
|
|
|
margin-top: -42px;
|
|
|
|
height: 42px;
|
2022-01-12 15:44:08 +00:00
|
|
|
z-index: 99;
|
2021-07-27 16:26:33 +00:00
|
|
|
background-color: var(--color-body);
|
2021-10-07 00:05:40 +00:00
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
min-width: 40px;
|
|
|
|
display: block;
|
|
|
|
position: sticky;
|
|
|
|
left: 0px;
|
|
|
|
background: linear-gradient(to right, var(--color-body), transparent);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
@supports (backdrop-filter: blur(10px)) {
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
background-color: transparent;
|
2021-10-07 00:05:40 +00:00
|
|
|
&::after {
|
|
|
|
all: unset;
|
|
|
|
z-index: -1;
|
2022-01-12 15:44:08 +00:00
|
|
|
content: "" !important;
|
2021-08-18 17:42:45 +00:00
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background-color: var(--color-body);
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: sticky;
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-left: -100vw !important;
|
2021-08-22 00:32:07 +00:00
|
|
|
margin-top: 42px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
width: 200vw;
|
|
|
|
display: block;
|
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2021-08-18 17:42:45 +00:00
|
|
|
top: 39px;
|
2021-07-27 16:26:33 +00:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.item .meta {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
max-width: calc(100% - 20px);
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-22 00:32:07 +00:00
|
|
|
/* USER FEEDS */
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.container > .news, .feeds > .news {
|
|
|
|
border: 1px solid var(--color-secondary) !important;
|
2021-08-18 17:42:45 +00:00
|
|
|
border-bottom: none !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
background: var(--color-box-body);
|
2021-08-18 17:42:45 +00:00
|
|
|
// margin-bottom: 1rem;
|
|
|
|
border-radius: var(--base-border-radius) var(--base-border-radius) 0 0;
|
2021-10-07 00:05:40 +00:00
|
|
|
padding: 12px 12px !important;
|
2021-08-18 17:42:45 +00:00
|
|
|
position: relative;
|
2021-10-17 01:17:33 +00:00
|
|
|
overflow: hidden;
|
2021-08-18 17:42:45 +00:00
|
|
|
& + .news {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 0 var(--base-border-radius) var(--base-border-radius) !important;
|
|
|
|
border-bottom: 1px solid var(--color-secondary) !important;
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background: var(--color-primary);
|
|
|
|
opacity: 0;
|
2022-01-12 15:44:08 +00:00
|
|
|
transition: opacity .2s;
|
2021-08-18 17:42:45 +00:00
|
|
|
}
|
|
|
|
&:hover::before, &:focus-within::before {
|
|
|
|
opacity: .05;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.left {
|
2021-10-07 00:05:40 +00:00
|
|
|
width: 42px;
|
2021-07-27 16:26:33 +00:00
|
|
|
img {
|
|
|
|
margin: 0 !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
// margin-top: 3px !important;
|
2021-10-07 00:05:40 +00:00
|
|
|
margin-right: 18px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.grid {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
2021-08-18 17:42:45 +00:00
|
|
|
padding-top: 1px !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
min-height: 30px;
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .column {
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 100% !important;
|
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-01-12 15:44:08 +00:00
|
|
|
align-items: center;
|
2021-10-17 01:17:33 +00:00
|
|
|
min-height: 100%;
|
2022-01-12 15:44:08 +00:00
|
|
|
p {
|
|
|
|
height: max-content;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
& > *:first-child {
|
2021-10-17 01:17:33 +00:00
|
|
|
// min-width: 100%;
|
|
|
|
min-width: calc(100% - 200px);
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
& > :not(:first-child):not(:last-child) {
|
|
|
|
min-width: calc(100% - 200px);
|
|
|
|
margin-top: .3em;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
& > *:last-child {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
& > .column > div > p:first-child {
|
|
|
|
margin-bottom: 0.4rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
& > .right.column {
|
|
|
|
position: absolute;
|
2022-01-12 15:44:08 +00:00
|
|
|
top: 32px;
|
2021-07-27 16:26:33 +00:00
|
|
|
left: 0;
|
2021-10-17 01:17:33 +00:00
|
|
|
width: 53px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
text-align: center;
|
2021-10-17 01:17:33 +00:00
|
|
|
z-index: 2;
|
2021-07-27 16:26:33 +00:00
|
|
|
svg {
|
2021-10-17 01:17:33 +00:00
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
padding: 3px;
|
|
|
|
fill: black !important;
|
|
|
|
background-color: var(--color-box-body);
|
|
|
|
border-radius: 100px;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
path {
|
|
|
|
fill: var(--color-primary);
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.title, p, ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
ul {
|
2021-08-22 00:32:07 +00:00
|
|
|
margin-top: 0;
|
2021-08-18 17:42:45 +00:00
|
|
|
border-left: 4px solid var(--color-secondary);
|
2021-10-07 00:05:40 +00:00
|
|
|
li .mr-2 {
|
|
|
|
margin-top: .1em;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.divider {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* REPOSITORY LIST */
|
2021-08-18 17:42:45 +00:00
|
|
|
.ui.repository.list,
|
|
|
|
.ui.user.list {
|
2021-07-31 19:10:40 +00:00
|
|
|
margin-top: 16px !important;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
|
|
|
grid-gap: 16px;
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
.item {
|
2021-07-31 19:10:40 +00:00
|
|
|
width: 100%;
|
2021-10-30 15:56:42 +00:00
|
|
|
max-width: calc(100vw - 40px);
|
2021-07-27 16:26:33 +00:00
|
|
|
min-height: unset !important;
|
|
|
|
padding: 14px 16px !important;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
background: var(--color-box-body);
|
|
|
|
border-radius: 8px;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: grid !important;
|
|
|
|
position: relative;
|
|
|
|
grid-template-columns: max-content 1fr;
|
|
|
|
align-content: flex-start;
|
|
|
|
&:hover, &:focus-within {
|
2022-01-12 15:44:08 +00:00
|
|
|
box-shadow: var(--lt-shadowDefault);
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2021-08-12 19:24:57 +00:00
|
|
|
&:focus-within {
|
2021-08-22 00:32:07 +00:00
|
|
|
// outline: 1px solid var(--color-primary) !important;
|
|
|
|
border-color: var(--color-primary) !important;
|
2021-08-12 19:24:57 +00:00
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
.header {
|
|
|
|
display: contents !important;
|
|
|
|
.repo-title {
|
|
|
|
display: contents;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
line-height: 1.4em;
|
|
|
|
a {
|
|
|
|
white-space: normal !important;
|
|
|
|
word-break: normal !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
text-decoration: none !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
grid-column: 2 / span 4;
|
|
|
|
}
|
|
|
|
.labels {
|
|
|
|
grid-column: 3;
|
|
|
|
grid-row: 2;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
a::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 80px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
height: 50px !important;
|
|
|
|
width: 50px !important;
|
|
|
|
margin-right: 12px !important;
|
|
|
|
margin-left: -2px;
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
border-radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metas {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 2;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.description {
|
|
|
|
display: contents;
|
|
|
|
& > p:first-child {
|
|
|
|
padding-top: 4px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
grid-column: 1 / span 4;
|
|
|
|
}
|
|
|
|
& > *:nth-last-child(2) {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
.time {
|
|
|
|
grid-row: 2;
|
|
|
|
grid-column: 4;
|
2022-01-12 15:44:08 +00:00
|
|
|
// padding-top: 7px;
|
2021-07-27 16:26:33 +00:00
|
|
|
margin-left: 10px;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 3;
|
2022-01-12 15:44:08 +00:00
|
|
|
// line-height: 24px
|
|
|
|
height: max-content;
|
|
|
|
margin-block: auto !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
.tags {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
scrollbar-width: none;
|
|
|
|
margin-top: 8px;
|
2021-08-22 00:32:07 +00:00
|
|
|
border-radius: 100px;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
a > div {
|
|
|
|
width: max-content !important;
|
|
|
|
}
|
2021-08-22 00:32:07 +00:00
|
|
|
a:last-child {
|
|
|
|
padding-right: 100px;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
min-width: 100px;
|
2021-08-22 00:32:07 +00:00
|
|
|
margin-left: -100px;
|
2021-07-27 16:26:33 +00:00
|
|
|
height: 100%;
|
|
|
|
position: sticky;
|
2021-08-22 00:32:07 +00:00
|
|
|
display: flex;
|
2021-07-27 16:26:33 +00:00
|
|
|
right: 0px;
|
|
|
|
background: linear-gradient(to right, transparent, var(--color-box-body));
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
|
|
|
|
// User & Organization cards
|
|
|
|
.content {
|
|
|
|
padding-left: 12px;
|
|
|
|
margin-bottom: -.4em;
|
|
|
|
.header {
|
|
|
|
a {
|
|
|
|
font-weight: 600;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.description {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding-left: 22px;
|
|
|
|
line-height: 1.8em;
|
|
|
|
margin-top: .5em;
|
|
|
|
svg {
|
|
|
|
margin-bottom: -1.45em !important;
|
|
|
|
margin-left: -22px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** DASHBOARD ***/
|
2022-05-06 23:10:28 +00:00
|
|
|
.dashboard {
|
2021-07-27 16:26:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
padding: 30px 0;
|
2021-08-22 00:32:07 +00:00
|
|
|
width: 1400px;
|
2021-07-31 19:10:40 +00:00
|
|
|
margin-bottom: -45px;
|
2022-01-12 15:44:08 +00:00
|
|
|
gap: -50px;
|
2021-07-27 16:26:33 +00:00
|
|
|
|
|
|
|
/* Move Navbar to the side */
|
|
|
|
.dashboard-navbar {
|
|
|
|
width: auto;
|
|
|
|
position: sticky;
|
|
|
|
bottom: 10px;
|
|
|
|
align-self: flex-end;
|
|
|
|
height: min-content;
|
|
|
|
z-index: 2;
|
|
|
|
flex: 1 1 80px;
|
|
|
|
max-width: calc(100% - 60px);
|
|
|
|
margin: 0 auto;
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-left: 10px !important;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
background-color: var(--color-bg);
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .menu {
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.button {
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 100% !important;
|
|
|
|
padding-inline: 10px !important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .ui {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row !important;
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
|
|
.right.right {
|
2022-01-12 15:44:08 +00:00
|
|
|
display: contents;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
& > .item, & > .right > .item {
|
|
|
|
|
|
|
|
flex-direction: column;
|
2021-08-18 17:42:45 +00:00
|
|
|
margin: 0px !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
text-align: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex !important;
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
width: 80px !important;
|
|
|
|
text-indent: -.35em !important;
|
|
|
|
|
|
|
|
& > .dropdown, .button {
|
|
|
|
text-indent: 0px !important;
|
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
span {
|
2021-07-27 16:26:33 +00:00
|
|
|
text-align: center;
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
|
|
|
.label {
|
|
|
|
margin: 0 !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
svg:not(.octicon-plus) {
|
|
|
|
width: 100%;
|
|
|
|
height: 22px;
|
|
|
|
margin: 0 !important;
|
|
|
|
margin-bottom: 10px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown > span {
|
|
|
|
flex-direction: column;
|
|
|
|
img {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px !important;
|
|
|
|
max-height: unset;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
border-radius: var(--base-border-radius);
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
margin-bottom: -4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
& > .divider {
|
|
|
|
// margin: 0 -10px;
|
|
|
|
}
|
|
|
|
|
2021-07-27 16:26:33 +00:00
|
|
|
/* Main Content */
|
|
|
|
& > .ui.container {
|
|
|
|
margin: 0 auto !important;
|
|
|
|
display: flex;
|
2021-10-07 00:05:40 +00:00
|
|
|
flex-wrap: wrap-reverse !important;
|
2022-01-12 15:44:08 +00:00
|
|
|
flex: 9999 1 900px;
|
|
|
|
margin-top: -31px !important;
|
|
|
|
padding-top: 30px;
|
|
|
|
border-top: 1px solid var(--color-secondary);
|
2021-07-27 16:26:33 +00:00
|
|
|
--container-padding-x: calc(2.5% + 0px);
|
|
|
|
|
|
|
|
& > .ui.stackable.grid {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: center;
|
2021-10-07 00:05:40 +00:00
|
|
|
margin: 0;
|
2022-01-12 15:44:08 +00:00
|
|
|
// Issues page
|
|
|
|
& > .four.wide.column {
|
|
|
|
|
|
|
|
}
|
|
|
|
// Stll the Dashboard
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .ten.column {
|
|
|
|
z-index: 1;
|
|
|
|
padding: 15px var(--container-padding-x) !important;
|
2021-08-22 00:32:07 +00:00
|
|
|
padding-bottom: var(--container-padding-x) !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
margin: 0 auto !important;
|
|
|
|
}
|
|
|
|
& > .column {
|
|
|
|
max-width: calc(100vw - 40px);
|
|
|
|
margin: 0 auto;
|
|
|
|
flex-grow: 1;
|
2021-08-22 00:32:07 +00:00
|
|
|
#user-heatmap + .divider {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
.ui.secondary.menu, .ui.stackable.grid {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Change to row wrapping for better responsiveness, aswell as adding a border to better differenciate buttons */
|
|
|
|
.four.wide.column {
|
2021-10-07 00:05:40 +00:00
|
|
|
min-width: 230px;
|
|
|
|
+ div {
|
|
|
|
flex-grow: 9999;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
& > .menu {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 -6px !important;
|
|
|
|
background: none !important;
|
|
|
|
a {
|
2021-07-31 19:10:40 +00:00
|
|
|
display: flex;
|
2021-08-22 00:32:07 +00:00
|
|
|
flex: 1 0 auto;
|
2021-07-27 16:26:33 +00:00
|
|
|
min-width: 200px;
|
2021-07-31 19:10:40 +00:00
|
|
|
max-width: calc(100% - 12px);
|
2021-07-27 16:26:33 +00:00
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
margin: 3px 6px;
|
2021-07-31 19:10:40 +00:00
|
|
|
.right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.label {
|
2021-10-07 00:05:40 +00:00
|
|
|
margin-left: 8px;
|
2021-07-31 19:10:40 +00:00
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-light);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui.divider {
|
|
|
|
/* Do what a divider is suppose to do, separate into two rows. */
|
|
|
|
width: 100%;
|
|
|
|
margin: 12px 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
|
|
|
/* Right Sidebar */
|
|
|
|
#app, #dashboard-repo-list {
|
|
|
|
height: min-content;
|
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
align-self: flex-end;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: -81px !important;
|
|
|
|
padding: 0 var(--container-padding-x) !important;
|
|
|
|
padding-top: 10px !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
z-index: 0;
|
|
|
|
max-width: 100% !important;
|
|
|
|
flex-shrink: 9999;
|
|
|
|
& > div {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: calc(100vh - 30px);
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom: -15px;
|
|
|
|
width: 200vw;
|
|
|
|
height: calc(100vh + 25px);
|
|
|
|
right: calc(100% - 15px);
|
|
|
|
right: 100%;
|
|
|
|
z-index: -100;
|
|
|
|
background: var(--color-light);
|
|
|
|
box-shadow: 200vw 0 var(--color-body),
|
|
|
|
inset 0 -8px 8px rgba(0,0,0,0.07);
|
|
|
|
// border-right: 1px solid var(--color-secondary);
|
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
|
|
|
|
.tabable {
|
|
|
|
background: none;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: unset;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.dashboard-repos, .dashboard-orgs {
|
|
|
|
margin: 0 -10px !important;
|
|
|
|
padding: 0 10px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
margin-bottom: 0;
|
|
|
|
min-height: 200px;
|
|
|
|
height: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-top: 15px;
|
|
|
|
scrollbar-color: var(--color-secondary) transparent;
|
|
|
|
.repos-search .input {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
& > .ui:last-child {
|
|
|
|
margin-bottom: 78px;
|
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2021-08-18 17:42:45 +00:00
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
.label {
|
|
|
|
padding: 0 .5em !important;
|
|
|
|
height: 1.4em;
|
|
|
|
min-height: unset;
|
|
|
|
font-size: .9em;
|
|
|
|
min-width: 2em !important;
|
|
|
|
position: relative;
|
|
|
|
background: none;
|
|
|
|
margin-left: .5em;
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
opacity: .9;
|
|
|
|
z-index: -1;
|
|
|
|
border-radius: 100px;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-12 15:44:08 +00:00
|
|
|
.header {
|
|
|
|
// padding-top: 10px;
|
|
|
|
font-weight: 600;
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.header, .repos-search {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
.repos-search {
|
|
|
|
padding-top: 0;
|
|
|
|
input, .button {
|
|
|
|
background: none !important;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
|
|
|
.repos-filter {
|
|
|
|
justify-content: flex-start;
|
|
|
|
.item {
|
|
|
|
padding: .85714286em 1.14285714em;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.active {
|
|
|
|
font-weight: 600;
|
|
|
|
&::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
}
|
|
|
|
.table {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
background: none;
|
|
|
|
font-weight: 700;
|
|
|
|
border: 0;
|
|
|
|
a {
|
|
|
|
padding: 5px 5px;
|
2021-10-17 01:17:33 +00:00
|
|
|
position: relative;
|
2022-01-12 15:44:08 +00:00
|
|
|
&:hover:before {
|
2021-10-17 01:17:33 +00:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2022-01-12 15:44:08 +00:00
|
|
|
inset: -2px -6px;
|
2021-10-17 01:17:33 +00:00
|
|
|
background-color: var(--color-primary);
|
2022-01-12 15:44:08 +00:00
|
|
|
border-radius: var(--base-border-radius);
|
2021-10-17 01:17:33 +00:00
|
|
|
z-index: -1;
|
2022-01-12 15:44:08 +00:00
|
|
|
opacity: .1;
|
2021-10-17 01:17:33 +00:00
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
.item-name {
|
2021-07-27 16:26:33 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-01-12 15:44:08 +00:00
|
|
|
max-width: unset;
|
|
|
|
margin-right: 10px;
|
2021-07-27 16:26:33 +00:00
|
|
|
svg {
|
2022-01-12 15:44:08 +00:00
|
|
|
margin-right: 8px !important;
|
|
|
|
min-width: 16px;
|
2021-10-17 01:17:33 +00:00
|
|
|
}
|
|
|
|
}
|
2022-01-12 15:44:08 +00:00
|
|
|
strong {
|
|
|
|
font-weight: 700;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
footer {
|
|
|
|
border: 0;
|
|
|
|
padding: 20px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: auto !important;
|
|
|
|
border-top: 1px solid var(--color-secondary);
|
|
|
|
background: var(--color-body);
|
|
|
|
z-index: 2;
|
|
|
|
.container {
|
|
|
|
max-width: 1390px !important;
|
|
|
|
padding: 0 40px;
|
2022-01-12 15:44:08 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*** MOBILE FIXES ***/
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
// Padding & Layout.
|
|
|
|
.page-content {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
.ui {
|
|
|
|
--mobile-padding: 18px;
|
|
|
|
}
|
|
|
|
.ui.ui.ui.container:not(.fluid) {
|
|
|
|
margin-inline: var(--mobile-padding) !important;
|
|
|
|
& > #repo-files-table, & > .tab-size-8, .issue.list, .comment-list, .comment {
|
|
|
|
margin-inline: calc(0px - var(--mobile-padding)) !important;
|
|
|
|
width: calc(100% + (var(--mobile-padding) * 2)) !important;
|
|
|
|
border-inline: none !important;
|
|
|
|
border-radius: 0;
|
|
|
|
&.comment-list {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tabular, .attached.header,
|
|
|
|
.issue.list .item,
|
|
|
|
.ui.ui.ui.ui.table:not(.unstackable) > tr, .ui.ui.ui.ui.table:not(.unstackable) > thead > tr, .ui.ui.ui.ui.table:not(.unstackable) > tbody > tr, .ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr {
|
|
|
|
padding-inline: var(--mobile-padding) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.five.wide.column {
|
|
|
|
min-height: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// buttons
|
|
|
|
.ui.button:not(.icon.detail):not(.labeled) {
|
|
|
|
min-height: 45px !important;
|
|
|
|
padding-left: 25px !important;
|
|
|
|
padding-right: 25px !important;
|
|
|
|
max-width: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Repo Page
|
|
|
|
.ui.menu.mobile--margin-between-items > .fitted.item {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
.repo-header {
|
|
|
|
flex-direction: column;
|
|
|
|
.repo-title {
|
|
|
|
flex-direction: column;
|
|
|
|
.repo-icon, .avatar {
|
|
|
|
width: 120px !important;
|
|
|
|
height: 120px !important;
|
|
|
|
margin-bottom: .3em;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
svg {
|
|
|
|
width: 70%;
|
|
|
|
height: 70%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mx-2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.labels {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-top: .2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.repo-buttons {
|
|
|
|
margin-top: 1em;
|
|
|
|
[data-position] {
|
|
|
|
width: 100%;
|
|
|
|
justify-content: center
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// DASHBOARD
|
|
|
|
.dashboard {
|
|
|
|
& > .ui.container {
|
|
|
|
#app {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
&::before {
|
|
|
|
content: unset !important;
|
|
|
|
}
|
|
|
|
& > div {
|
|
|
|
min-height: unset !important;
|
|
|
|
.dashboard-repos {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// FOOTER
|
|
|
|
footer {
|
|
|
|
.links {
|
|
|
|
& > * {
|
|
|
|
display: block;
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2021-07-27 16:26:33 +00:00
|
|
|
}
|
|
|
|
}
|