1
0
Fork 0
firefox/toolkit/components/satchel/megalist/content/megalist.css
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

109 lines
2.1 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Bug 1869845 - Styles in this file are still experimental! */
.container {
display: flex;
flex-direction: column;
padding: var(--space-medium);
}
/* Password Card styles */
password-card,
.empty-state-card {
margin-block: var(--space-small);
}
.passwords-list {
display: flex;
flex-direction: column;
}
login-form {
margin-block-start: var(--space-small);
}
.search-container {
min-height: var(--input-text-min-height);
padding-inline-start: var(--space-small);
cursor: text;
border-radius: var(--border-radius-medium);
background-color: var(--table-row-background-color-alternate);
display: flex;
&:focus-within {
outline: 1px auto;
}
}
.search-icon {
background-image: url(chrome://global/skin/icons/search-textbox.svg);
background-position: center;
background-repeat: no-repeat;
-moz-context-properties: fill;
fill: currentColor;
width: var(--icon-size-default);
flex-shrink: 0;
}
.search {
border: none;
outline: none;
margin-inline-start: var(--space-xsmall);
background: transparent;
width: 100%;
text-overflow: ellipsis;
}
.first-row {
display: grid;
grid-template-columns: 1fr min-content;
grid-gap: var(--space-small);
align-items: center;
margin-block-end: var(--space-medium);
}
.second-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-block-end: var(--space-small);
}
.no-logins-card-buttons {
display: flex;
flex-direction: column;
gap: var(--space-small);
> moz-button {
width: 100%
}
}
.no-logins-card-content {
display: flex;
flex-direction: column;
> img {
max-width: 232px;
align-self: center;
}
}
.alert-card {
display: flex;
flex-direction: column;
margin-block: var(--space-medium);
> ul {
list-style-type: none;
padding-inline: var(--space-small);
margin-block: var(--space-small);
> li:not(:last-child) {
margin-block-end: var(--space-medium);
}
}
}