Files
react-native-devtools-frontend/front_end/panels/application/components/sharedStorageMetadataViewResetBudgetButton.css
T
Camillia Smith Barnes 5ba1a2db0b Shared Storage: Add reset budget button and align info icon.
We add a button to the `SharedStorageMetdataView` to reset the entropy
budget. This will make it easier for developers who are testing; if
they exhaust the budget, they won't have to wait for it to be reset
or use workarounds like clearing browsing data or logging in from a
different profile.

https://imgur.com/a/77QAol0

Bug:1372007,1218540,1403414
Change-Id: I198c3957dbb7877f3958d63983b19ce921831c0b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4098470
Commit-Queue: Cammie Smith Barnes <cammie@chromium.org>
Reviewed-by: Peter Müller <petermueller@chromium.org>
Reviewed-by: Danil Somsikov <dsv@chromium.org>
2023-01-10 17:34:45 +00:00

31 lines
601 B
CSS

/*
* Copyright (c) 2022 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
.reset-budget-button {
width: 16px;
height: 16px;
background: transparent;
overflow: hidden;
border: none;
padding: 0;
outline: none;
margin-left: 5px;
vertical-align: middle;
}
.reset-budget-button:hover devtools-icon {
--icon-color: var(--color-text-primary);
}
.reset-budget-button:focus devtools-icon {
--icon-color: var(--color-text-secondary);
}
.icon-basic {
width: 12px;
height: 14px;
}