diff --git a/src/Bootstrap/dist/css/bootstrap-theme.css b/src/Bootstrap/dist/css/bootstrap-theme.css index cdac068cad..09f03c60f2 100644 --- a/src/Bootstrap/dist/css/bootstrap-theme.css +++ b/src/Bootstrap/dist/css/bootstrap-theme.css @@ -319,7 +319,7 @@ h2 a:focus, h3 a:focus, h2 a:active, h3 a:active { - color: #000; + color: var(--neutralForeground1Rest); text-decoration: none; } @media screen and (max-width: 768px) { @@ -1245,16 +1245,16 @@ p.frameworktableinfo-text { width: 20%; } .page-admin-popularity-transfers .col-group-from-header { - background-color: #f2f2f2; + background-color: transparent; } .page-admin-popularity-transfers .col-group-to-header { - background-color: #ebebeb; + background-color: var(--neutralBackground1Rest); } .page-admin-popularity-transfers .col-group-from-data { - background-color: #f2f2f2; + background-color: transparent; } .page-admin-popularity-transfers .col-group-to-data { - background-color: #ebebeb; + background-color: var(--neutralBackground1Rest); } .page-api-keys .example-commands { background-color: #002440; diff --git a/src/Bootstrap/dist/css/bootstrap.css b/src/Bootstrap/dist/css/bootstrap.css index 87ea341618..d290db558d 100644 --- a/src/Bootstrap/dist/css/bootstrap.css +++ b/src/Bootstrap/dist/css/bootstrap.css @@ -303,6 +303,8 @@ a:focus { } a:focus { outline: 4px solid -webkit-focus-ring-color; + outline: 2px solid var(--neutralStrokeFocus2Rest); + border-radius: 4px; outline-offset: -2px; } figure { @@ -2067,6 +2069,8 @@ input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: 4px solid -webkit-focus-ring-color; + outline: 2px solid var(--neutralStrokeFocus2Rest); + border-radius: 4px; outline-offset: -2px; } @media (forced-colors: active) { @@ -2814,6 +2818,8 @@ select[multiple].input-lg { .btn:active.focus, .btn.active.focus { outline: 4px solid -webkit-focus-ring-color; + outline: 2px solid var(--neutralStrokeFocus2Rest); + border-radius: 4px; outline-offset: -2px; } .btn:hover, @@ -3291,7 +3297,6 @@ fieldset[disabled] .btn-danger.focus { border: 2px solid transparent; -webkit-box-shadow: none !important; box-shadow: none !important; - padding: 5px 12px; } .btn-brand-danger:hover, .btn-brand-danger:focus:hover { @@ -3310,7 +3315,7 @@ fieldset[disabled] .btn-danger.focus { } .btn-link { font-weight: 400; - color: #337ab7; + color: var(--brandForegroundLinkRest); border-radius: 0; } .btn-link, @@ -3330,7 +3335,7 @@ fieldset[disabled] .btn-link { } .btn-link:hover, .btn-link:focus { - color: #23527c; + color: var(--brandForegroundLinkHover); text-decoration: underline; background-color: transparent; } @@ -3338,7 +3343,7 @@ fieldset[disabled] .btn-link { fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus { - color: #666666; + color: var(--neutralForegroundDisabledRest); text-decoration: none; } .btn-lg, diff --git a/src/Bootstrap/less/buttons.less b/src/Bootstrap/less/buttons.less index 3deadca918..c25c8a3029 100644 --- a/src/Bootstrap/less/buttons.less +++ b/src/Bootstrap/less/buttons.less @@ -223,7 +223,6 @@ border-radius: var(--Medium, 4px); border: 2px solid transparent; box-shadow: none !important; - padding: 5px 12px; &:hover, &:focus:hover { @@ -250,7 +249,7 @@ // Make a button look and behave like a link .btn-link { font-weight: 400; - color: @link-color; + color: var(--brandForegroundLinkRest); border-radius: 0; &, @@ -269,7 +268,7 @@ } &:hover, &:focus { - color: @link-hover-color; + color: var(--brandForegroundLinkHover); text-decoration: @link-hover-decoration; background-color: transparent; } @@ -277,7 +276,7 @@ fieldset[disabled] & { &:hover, &:focus { - color: @btn-link-disabled-color; + color: var(--neutralForegroundDisabledRest); text-decoration: none; } } diff --git a/src/Bootstrap/less/mixins/tab-focus.less b/src/Bootstrap/less/mixins/tab-focus.less index bf9814baee..91b15de561 100644 --- a/src/Bootstrap/less/mixins/tab-focus.less +++ b/src/Bootstrap/less/mixins/tab-focus.less @@ -5,6 +5,8 @@ // (Initially tried to also force default via `outline: initial`, // but that seems to erroneously remove the outline in Firefox altogether.) outline: 4px solid -webkit-focus-ring-color; + outline: 2px solid var(--neutralStrokeFocus2Rest); + border-radius: 4px; outline-offset: -2px; } diff --git a/src/Bootstrap/less/theme/base.less b/src/Bootstrap/less/theme/base.less index 87fbfef248..04eb71a8fb 100644 --- a/src/Bootstrap/less/theme/base.less +++ b/src/Bootstrap/less/theme/base.less @@ -390,7 +390,7 @@ h2, h3 { } a, a:hover, a:focus, a:active { - color: @text-color; + color: var(--neutralForeground1Rest); text-decoration: none; } } diff --git a/src/Bootstrap/less/theme/page-admin-popularity-transfers.less b/src/Bootstrap/less/theme/page-admin-popularity-transfers.less index 52c05fbc29..8c52dd796b 100644 --- a/src/Bootstrap/less/theme/page-admin-popularity-transfers.less +++ b/src/Bootstrap/less/theme/page-admin-popularity-transfers.less @@ -21,18 +21,18 @@ } .col-group-from-header { - background-color: #f2f2f2; + background-color: transparent; } .col-group-to-header { - background-color: #ebebeb; + background-color: var(--neutralBackground1Rest); } .col-group-from-data { - background-color: #f2f2f2; + background-color: transparent; } .col-group-to-data { - background-color: #ebebeb; + background-color: var(--neutralBackground1Rest); } } \ No newline at end of file diff --git a/src/NuGetGallery/Areas/Admin/Views/ApiKeys/Index.cshtml b/src/NuGetGallery/Areas/Admin/Views/ApiKeys/Index.cshtml index 950c607994..7c34ed27e9 100644 --- a/src/NuGetGallery/Areas/Admin/Views/ApiKeys/Index.cshtml +++ b/src/NuGetGallery/Areas/Admin/Views/ApiKeys/Index.cshtml @@ -12,8 +12,8 @@ {"ApiKey":"oy2apikey2","LeakedUrl":"https://leakedUrl2","RevocationSource":"GitHub"}

-
-
+
+
@ViewHelpers.AlertDanger(@) @@ -34,7 +34,7 @@ - + @@ -84,7 +84,7 @@ This will expire and revoke the selected API keys, and send the emails to notify customers!


- +
} diff --git a/src/NuGetGallery/Areas/Admin/Views/Features/Index.cshtml b/src/NuGetGallery/Areas/Admin/Views/Features/Index.cshtml index 8bcae35f91..f3a9ba3a7b 100644 --- a/src/NuGetGallery/Areas/Admin/Views/Features/Index.cshtml +++ b/src/NuGetGallery/Areas/Admin/Views/Features/Index.cshtml @@ -104,8 +104,10 @@ - - +
+ + +