Commit 2be16887 authored by Phil Hughes's avatar Phil Hughes

Merge branch '217865-update-card-borders-to-be-consistent-with-pajamas' into 'master'

Update card grey border color to #dbdbdb

See merge request gitlab-org/gitlab!32272
parents 93b1d300 7bba70c2
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
v-for="(result, i) in results" v-for="(result, i) in results"
:key="i" :key="i"
role="option" role="option"
:class="{ 'gl-bg-gray-100': i === arrowCounter }" :class="{ 'gl-bg-gray-50': i === arrowCounter }"
:aria-selected="i === arrowCounter" :aria-selected="i === arrowCounter"
> >
<gl-button tabindex="-1" class="btn-transparent pl-2" @click="selectToken(result)">{{ <gl-button tabindex="-1" class="btn-transparent pl-2" @click="selectToken(result)">{{
......
...@@ -111,7 +111,7 @@ kbd { ...@@ -111,7 +111,7 @@ kbd {
code { code {
padding: 2px 4px; padding: 2px 4px;
color: $code-color; color: $code-color;
background-color: $gray-100; background-color: $gray-50;
border-radius: $border-radius-default; border-radius: $border-radius-default;
.code > & { .code > & {
......
...@@ -67,10 +67,10 @@ ...@@ -67,10 +67,10 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-image: linear-gradient(to right, background-image: linear-gradient(to right,
$gray-100 0%, $gray-50 0%,
$gray-10 20%, $gray-10 20%,
$gray-100 40%, $gray-50 40%,
$gray-100 100%); $gray-50 100%);
border-radius: $gl-padding; border-radius: $gl-padding;
height: $gl-padding; height: $gl-padding;
margin-top: -$gl-padding-8; margin-top: -$gl-padding-8;
......
...@@ -177,7 +177,7 @@ a { ...@@ -177,7 +177,7 @@ a {
[class^='skeleton-line-'] { [class^='skeleton-line-'] {
position: relative; position: relative;
background-color: $gray-100; background-color: $gray-50;
height: 10px; height: 10px;
overflow: hidden; overflow: hidden;
...@@ -192,10 +192,10 @@ a { ...@@ -192,10 +192,10 @@ a {
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
background-image: linear-gradient(to right, background-image: linear-gradient(to right,
$gray-100 0%, $gray-50 0%,
$gray-10 20%, $gray-10 20%,
$gray-100 40%, $gray-50 40%,
$gray-100 100%); $gray-50 100%);
height: 10px; height: 10px;
} }
} }
......
...@@ -576,7 +576,7 @@ img.emoji { ...@@ -576,7 +576,7 @@ img.emoji {
bottom: 40px; bottom: 40px;
right: 40px; right: 40px;
font-size: $gl-font-size-small; font-size: $gl-font-size-small;
background: $gray-100; background: $gray-50;
width: 200px; width: 200px;
border-radius: 24px; border-radius: 24px;
box-shadow: 0 2px 4px $issue-boards-card-shadow; box-shadow: 0 2px 4px $issue-boards-card-shadow;
......
...@@ -940,7 +940,7 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu { ...@@ -940,7 +940,7 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu {
position: absolute; position: absolute;
top: 13px; top: 13px;
right: 25px; right: 25px;
color: $gray-100; color: $gray-50;
} }
} }
...@@ -979,7 +979,7 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu { ...@@ -979,7 +979,7 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu {
&:hover { &:hover {
.frequent-items-item-avatar-container .avatar { .frequent-items-item-avatar-container .avatar {
border-color: $gray-100; border-color: $gray-50;
} }
} }
......
...@@ -480,7 +480,7 @@ span.idiff { ...@@ -480,7 +480,7 @@ span.idiff {
padding-bottom: $gl-padding; padding-bottom: $gl-padding;
.discussion-reply-holder { .discussion-reply-holder {
border-bottom: 1px solid $gray-100; border-bottom: 1px solid $gray-50;
border-radius: 0; border-radius: 0;
} }
} }
......
...@@ -314,12 +314,12 @@ body { ...@@ -314,12 +314,12 @@ body {
$gray-800, $gray-800,
$gray-700, $gray-700,
$gray-700, $gray-700,
$gray-100, $gray-50,
$gray-700 $gray-700
); );
.navbar-gitlab { .navbar-gitlab {
background-color: $gray-100; background-color: $gray-50;
box-shadow: 0 1px 0 0 $border-color; box-shadow: 0 1px 0 0 $border-color;
.logo-text svg { .logo-text svg {
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
.markdown-area { .markdown-area {
border-radius: 0; border-radius: 0;
background: $white; background: $white;
border: 1px solid $gray-100; border: 1px solid $gray-50;
min-height: 140px; min-height: 140px;
max-height: 500px; max-height: 500px;
padding: 5px; padding: 5px;
......
...@@ -47,7 +47,7 @@ table { ...@@ -47,7 +47,7 @@ table {
} }
th { th {
@include gl-bg-gray-100; @include gl-bg-gray-50;
border-bottom: 0; border-bottom: 0;
&.wide { &.wide {
......
...@@ -165,7 +165,7 @@ $red-950: #4b140b; ...@@ -165,7 +165,7 @@ $red-950: #4b140b;
$gray-10: #fafafa; $gray-10: #fafafa;
$gray-50: #f0f0f0; $gray-50: #f0f0f0;
$gray-100: #f2f2f2; $gray-100: #dbdbdb;
$gray-200: #dfdfdf; $gray-200: #dfdfdf;
$gray-300: #ccc; $gray-300: #ccc;
$gray-400: #bababa; $gray-400: #bababa;
......
...@@ -387,7 +387,7 @@ $ide-commit-header-height: 48px; ...@@ -387,7 +387,7 @@ $ide-commit-header-height: 48px;
&:hover, &:hover,
&:focus { &:focus {
background: var(--ide-background, $gray-100); background: var(--ide-background, $gray-50);
outline: 0; outline: 0;
} }
...@@ -559,7 +559,7 @@ $ide-commit-header-height: 48px; ...@@ -559,7 +559,7 @@ $ide-commit-header-height: 48px;
&:hover { &:hover {
color: var(--ide-text-color, $gl-text-color); color: var(--ide-text-color, $gl-text-color);
background-color: var(--ide-background-hover, $gray-100); background-color: var(--ide-background-hover, $gray-50);
} }
&:focus { &:focus {
...@@ -1041,7 +1041,7 @@ $ide-commit-header-height: 48px; ...@@ -1041,7 +1041,7 @@ $ide-commit-header-height: 48px;
.ide-entry-dropdown-toggle { .ide-entry-dropdown-toggle {
padding: $gl-padding-4; padding: $gl-padding-4;
color: var(--ide-text-color, $gl-text-color); color: var(--ide-text-color, $gl-text-color);
background-color: var(--ide-background, $gray-100); background-color: var(--ide-background, $gray-50);
&:hover { &:hover {
background-color: var(--ide-file-row-btn-hover-background, $gray-200); background-color: var(--ide-file-row-btn-hover-background, $gray-200);
...@@ -1142,12 +1142,12 @@ $ide-commit-header-height: 48px; ...@@ -1142,12 +1142,12 @@ $ide-commit-header-height: 48px;
} }
.file-row.is-active { .file-row.is-active {
background: var(--ide-background, $gray-100); background: var(--ide-background, $gray-50);
} }
.file-row:hover, .file-row:hover,
.file-row:focus { .file-row:focus {
background: var(--ide-background, $gray-100); background: var(--ide-background, $gray-50);
.ide-new-btn { .ide-new-btn {
display: block; display: block;
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
justify-content: space-between; justify-content: space-between;
padding: $gl-padding; padding: $gl-padding;
border-radius: $border-radius-default; border-radius: $border-radius-default;
border: 1px solid $gray-100; border: 1px solid $gray-50;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
} }
.label-badge-gray { .label-badge-gray {
background-color: $gray-100; background-color: $gray-50;
} }
.label-links { .label-links {
......
...@@ -253,11 +253,11 @@ table { ...@@ -253,11 +253,11 @@ table {
background-color: $gray-light; background-color: $gray-light;
border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
padding: $gl-padding; padding: $gl-padding;
border-top: 1px solid $gray-100; border-top: 1px solid $gray-50;
+ .new-note { + .new-note {
background-color: $gray-light; background-color: $gray-light;
border-top: 1px solid $gray-100; border-top: 1px solid $gray-50;
} }
&.is-replying { &.is-replying {
......
...@@ -5,7 +5,7 @@ $note-form-margin-left: 72px; ...@@ -5,7 +5,7 @@ $note-form-margin-left: 72px;
@mixin vertical-line($left) { @mixin vertical-line($left) {
&::before { &::before {
content: ''; content: '';
border-left: 2px solid $gray-100; border-left: 2px solid $gray-50;
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
...@@ -83,8 +83,8 @@ $note-form-margin-left: 72px; ...@@ -83,8 +83,8 @@ $note-form-margin-left: 72px;
.replies-toggle { .replies-toggle {
background-color: $gray-light; background-color: $gray-light;
padding: $gl-padding-8 $gl-padding; padding: $gl-padding-8 $gl-padding;
border-top: 1px solid $gray-100; border-top: 1px solid $gray-50;
border-bottom: 1px solid $gray-100; border-bottom: 1px solid $gray-50;
.collapse-replies-btn:hover { .collapse-replies-btn:hover {
color: $blue-600; color: $blue-600;
......
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
margin-right: $gl-padding-4; margin-right: $gl-padding-4;
margin-bottom: $gl-padding-4; margin-bottom: $gl-padding-4;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
background-color: $gray-100; background-color: $gray-50;
line-height: $gl-btn-line-height; line-height: $gl-btn-line-height;
&:hover { &:hover {
......
...@@ -255,7 +255,7 @@ html.group-epics-roadmap-html { ...@@ -255,7 +255,7 @@ html.group-epics-roadmap-html {
&:hover { &:hover {
.epic-details-cell, .epic-details-cell,
.epic-timeline-cell { .epic-timeline-cell {
background-color: $gray-100; background-color: $gray-50;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment