Skip to content

Instantly share code, notes, and snippets.

@y-ack
Last active July 5, 2021 05:22
Show Gist options
  • Save y-ack/0cab25957e035dcff8ed7737840eaf1c to your computer and use it in GitHub Desktop.
Save y-ack/0cab25957e035dcff8ed7737840eaf1c to your computer and use it in GitHub Desktop.
/* y */
/* zendesk */
/* for 12 frontend */
/* ~10% complete */
:root {
--navigation-hue-primary: rgb(15, 53, 84);
--navigation-hue-secondary: rgb(11, 39, 62);
--navigation-text-color: #FFFFFF;
--button-primary: rgb(31, 115, 183);
--button-primary-light: rgb(31, 115, 183);
--button-primary-dark: #5293c7;
--button-primary: var(--button-primary-dark);
--input-background-light: rgb(255, 255, 255);
--input-text-light: rgb(47, 57, 65);
--background-primary-dark: #2f3941;
--background-2-dark: #49545c;
--background-3-dark: #68737d;
--text-primary-dark: #f8f9f9;
--input-background-dark: var(--background-3-dark);
--input-text-dark: var(--text-primary-dark);
--time-dark: #d8dcde;
--link-color-light: var(--button-primary);
--link-color-dark: var(--button-primary);
--link-hover-light: rgb(20, 74, 117);
--link-hover-dark: var(--input-text-dark);
--background-primary: var(--background-primary-dark);
--background-2: var(--background-2-dark);
--background-3: var(--background-3-dark);
--input-background: var(--input-background-dark);
--input-text: var(--input-text-dark);
--text-primary: var(--text-primary-dark);
--time-color: var(--time-dark);
--link-color: var(--link-color-dark);
--link-hover: var(--link-hover-dark);
}
body, img {
filter: none;
}
time {
color: #d8dcde;
}
body {
background-color: var(--background-primary);
color: var(--text-primary);
}
.userlist, .pageInfoPane, .inputPane {
background-color: var(--background-2);
color: var(--text-primary);
}
a, .markup-root a {
background-color: transparent;
color: var(--link-color);
}
a:hover, .markup-root a:hover {
color: var(--link-hover);
text-decoration: underline;
}
input:not([type]):hover, input[type="password"]:hover, input[type="email"]:hover,
textarea:hover {
border-color: var(--button-primary);
}
input:not([type]), input[type="password"], input[type="email"],
textarea {
appearance: none;
transition: border-color 0.25s ease-in-out 0s, box-shadow 0.1s ease-in-out 0s, background-color 0.25s ease-in-out 0s, color 0.25s ease-in-out 0s;
border: 1px solid var(--input-text);
border-radius: 4px;
box-sizing: border-box;
vertical-align: middle;
font-family: inherit;
padding: 0.714286em 0.857143em;
min-height: 40px;
line-height: 1.28571;
background-color: var(--input-background);
color: var(--input-text);
}
textarea {
overflow: auto;
}
textarea-container {
background-color: var(--input-background);
}
input[type="file"]:hover {
border-color: rgb(20, 74, 117);
background-color: rgba(31, 115, 183, 0.08);
color: rgb(20, 74, 117);
}
input[type="file"] {
box-sizing: content-box;
direction: ltr;
transition: border-color 0.25s ease-in-out 0s, box-shadow 0.1s ease-in-out 0s, background-color 0.25s ease-in-out 0s, color 0.25s ease-in-out 0s;
border: 1px dashed rgb(104, 115, 125);
border-radius: 4px;
cursor: pointer;
padding: 20px 4px;
min-width: 4em;
text-align: center;
line-height: 1.42857;
user-select: none;
color: rgb(31, 115, 183);
}
sidebar-container#\$sidebar {
background-color: var(--navigation-hue-primary);
color: var(--navigation-text-color);
border: none;
}
#\$sidebarTabs button {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
border: medium none;
padding: 13px 8.5px;
margin: 0px;
transition: box-shadow 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s, opacity 0.1s ease-in-out 0s;
background: transparent none repeat scroll 0% 0%;
color: inherit;
cursor: pointer;
opacity: 0.6;
}
#\$sidebarTabs button:hover, #\$sidebarTabs button:focus {
opacity: 1;
background-color: rgba(0, 0, 0, 0.1);
text-decoration: none;
color: inherit;
}
#\$sidebarTabs button[aria-selected="true"] {
transition: box-shadow 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s, opacity 0.1s ease-in-out 0s;
background: rgba(255, 255, 255, 0.3) none repeat scroll 0% 0%;
color: inherit;
opacity: 1.0;
}
#\$sidebarActivityPanel, #\$sidebarWatchPanel {
flex-direction: column;
order: 0;
font-size: 14px;
background-color: var(--navigation-hue-secondary);
color: var(--navigation-text-color);
}
.linkBar {
display: flex;
align-items: center;
transition: box-shadow 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s, opacity 0.1s ease-in-out 0s;
margin-top: 8px;
border: medium none;
border-radius: 4px;
box-sizing: border-box;
background: transparent none repeat scroll 0% 0%;
cursor: pointer;
padding: 0px 8px;
width: 100%;
min-height: 30px;
/*opacity: 0.6;*/
}
.linkBar:hover, .linkBar:focus {
transition: box-shadow 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s, opacity 0.1s ease-in-out 0s;
opacity: 1;
background-color: rgba(0, 0, 0, 0.1);
text-decoration: none;
color: inherit;
}
.buttonContainer {
box-sizing: border-box;
flex-basis: 0px;
flex-grow: 1;
max-width: 100%;
text-align: center;
}
button {
display: inline-flex;
align-items: center;
justify-content: center;
transition: border-color 0.25s ease-in-out 0s, box-shadow 0.1s ease-in-out 0s, background-color 0.25s ease-in-out 0s, color 0.25s ease-in-out 0s;
margin: 0px;
border: 1px solid var(--button-primary);;
border-radius: 4px;
cursor: pointer;
overflow: hidden;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
font-family: inherit;
font-weight: 400;
box-sizing: border-box;
user-select: none;
padding: 0px 1.07143em;
height: 40px;
line-height: 38px;
font-size: 14px;
background: initial;
background-color: transparent;
color: var(--button-primary);
}
button {
border: 1px solid transparent;
background-color: var(--button-primary);
color: rgb(255, 255, 255);
}
button:hover {
border-color: rgb(20, 74, 117);
background-color: rgba(31, 115, 183, 0.08);
color: rgb(20, 74, 117);
text-decoration: none;
}
button:hover {
background-color: rgb(20, 74, 117);
color: inherit;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment