gecko-dev/mobile/android/themes/core/aboutLogins.css

239 строки
4.4 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/. */
@import "defines.css";
html {
height: 100%;
}
body {
height: 100%;
}
.hidden {
display: none;
}
.username {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.hostname {
font-weight: bold;
overflow: hidden;
flex: 1;
}
.realm {
/* hostname is not localized, so keep the margin on the left side */
margin-left: .67em;
}
.toolbar-buttons {
display: flex;
align-items: center;
justify-content: center;
list-style: none;
margin: 0px;
padding: 0px;
height: 48px;
width: 48px;
}
.toolbar-buttons > li {
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
height: 20px;
width: 20px;
}
#filter-input-container {
position: fixed;
bottom: 0;
width: 100%;
padding: 10px 0;
display: flex;
background: var(--color_about_background);
border-top: 2px solid var(--color_about_item_border);
}
#filter-input-container[hidden] {
display: none;
}
#filter-input {
flex: 1;
padding: 5px;
margin-inline-start: 10px;
border-radius: 3px;
}
#filter-button {
background-image: url("resource://android/res/drawable-mdpi-v4/ab_search.png");
}
#filter-clear {
background-image: url("resource://android/res/drawable-mdpi-v4/close_edit_mode_light.png");
background-position: center;
background-size: 12px 12px;
background-repeat: no-repeat;
height: 32px;
width: 32px;
margin: 0 5px;
}
.edit-login-icon {
background-image: url("resource://android/res/drawable-hdpi-v4/favicon_globe.png");
background-position: center;
background-size: 32px 32px;
background-repeat: no-repeat;
height: 32px;
width: 32px;
padding: 5px;
}
#edit-login-page {
background-color: #FFFFFF;
height: 100%;
}
#edit-login-header {
background-color: #F5F5F5;
}
.update-button {
flex: 1;
height: 60px;
background-color: #E66000; /*matched to action_orange in java codebase*/
color: #FFFFFF;
font-size: 20px;
font-weight: bold;
border-radius: 4px;
border-width: 0px;
margin-top: 10px;
}
.disabled-btn {
background-color: #BFBFBF; /*matched to disabled_grey in the java codebase,in colors.xml*/
}
.password-btn-hide {
background-color: #777777;
color: white;
}
.edit-login-input {
flex: 1;
height: 36px;
font-size: 15px;
color: #222222;
border-radius: 4px;
border: solid 1px #AFB1B3;
padding-left: 10px;
}
.edit-login-div {
margin: 20px 30px;
display: flex;
flex-flow: row;
align-items: center;
}
#password-btn {
border-radius: 4px;
border-top-left-radius: 0em 0em;
border-bottom-left-radius: 0em 0em;
font-size: 15px;
height: 40px;
}
#password {
margin: none;
border-top-right-radius: 0em 0em;
border-bottom-right-radius: 0em 0em;
}
.icon {
background-image: url("resource://android/res/drawable-mdpi-v4/favicon_globe.png");
background-position: center;
background-size: 32px 32px;
background-repeat: no-repeat;
height: 32px;
width: 32px;
visibility: hidden;
}
@media screen and (min-resolution: 1.25dppx) {
#filter-button {
background-image: url("resource://android/res/drawable-hdpi-v4/ab_search.png");
}
#filter-clear {
background-image: url("resource://android/res/drawable-hdpi-v4/close_edit_mode_light.png");
}
.icon {
background-image: url("resource://android/res/drawable-hdpi-v4/favicon_globe.png");
}
}
@media screen and (min-resolution: 2dppx) {
#filter-button {
background-image: url("resource://android/res/drawable-xhdpi-v4/ab_search.png");
}
#filter-clear {
background-image: url("resource://android/res/drawable-hdpi-v4/close_edit_mode_light.png");
}
.icon {
background-image: url("resource://android/res/drawable-xhdpi-v4/favicon_globe.png");
}
}
#loading-img-container{
display: flex;
align-items: center;
justify-content: center;
}
#spinner {
margin-top: 60px;
}
#empty-body {
padding-left: 60px;
padding-right: 60px;
}
#empty-obj-text-container {
display: flex;
flex-flow: column;
align-items: center;
text-align: center;
justify-content: center;
}
.empty-text {
color: #363B40;
font-size: 25px;
font-weight: lighter;
margin-bottom: 20px;
}
.empty-hint {
color: #777777;
font-size: 20px;
}
#empty-icon {
margin-top: 60px;
margin-bottom: 20px;
}