passman/css/public-page.css
2025-03-09 19:10:25 +01:00

169 lines
5.8 KiB
CSS

/**
* Nextcloud - passman
*
* @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* Nextcloud - passman
*
* @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* Nextcloud - passman
*
* @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
header {
display: none; }
#content-wrapper {
padding-top: 0; }
.share-controller {
width: 100%;
overflow-y: scroll;
align-items: center; }
.share-controller .share-container {
width: 100%;
padding: 20px; }
.share-controller .share-container .credential_container {
max-width: 800px;
width: 90%;
margin: 20px auto;
padding: 30px;
filter: drop-shadow(0 2px 4px var(--color-box-shadow));
background: var(--color-main-background);
-webkit-border-radius: 8px;
border-radius: 8px;
background-clip: padding-box;
/* stops bg color from leaking outside the border: */ }
.share-controller .share-container .credential_container .text {
text-align: center;
font-size: 1.1em;
margin: 15px 0; }
.share-controller .share-container .credential_container h2 {
font-weight: bold;
text-align: center;
margin-bottom: 25px;
color: var(--color-primary); }
.share-controller .share-container .credential_container button {
margin: 15px auto;
display: block;
padding: 8px 20px;
font-size: 1.1em; }
.share-controller .share-container .credential_container button i {
margin-right: 8px; }
.share-controller .share-container .credential_container table {
width: 100%;
margin: 20px 0; }
.share-controller .share-container .credential_container table td:first-child {
width: 140px;
font-weight: 600;
padding-right: 15px; }
.share-controller .share-container .credential_container table td {
padding: 12px 8px;
word-break: break-word; }
.share-controller .share-container .credential_container table td.whitespace_normal_field > span > div > span {
white-space: normal; }
.credential_field {
/* overflow: hidden; */
display: flex;
flex-wrap: wrap;
align-items: center; }
.credential_field .cell, .credential_field .value {
margin-right: 10px; }
.credential_field .tools {
display: flex;
gap: 8px; }
.credential_field .tools .cell {
cursor: pointer;
opacity: 0.8;
transition: opacity 0.2s; }
.credential_field .tools .cell:hover {
opacity: 1; }
.tags {
gap: 6px;
display: flex;
flex-wrap: wrap; }
.tags .tag {
background-color: var(--color-background-dark);
color: var(--color-text-maxcontrast);
padding: 6px 12px;
font-size: 0.9em;
margin-right: 6px;
margin-bottom: 6px;
display: inline-block;
-webkit-border-radius: 20px;
border-radius: 20px;
background-clip: padding-box;
/* stops bg color from leaking outside the border: */ }
.footer {
font-size: 0.9em;
margin-top: 30px;
text-align: center; }
.footer a.link {
color: var(--color-primary);
text-decoration: none;
margin: 0 8px; }
.footer a.link:hover {
text-decoration: underline; }
@media (max-width: 768px) {
.share-controller .share-container .credential_container {
width: 95%;
padding: 20px; }
.share-controller .share-container .credential_container table td:first-child {
width: 100px; } }
/*# sourceMappingURL=public-page.css.map */