mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-24 07:23:54 +08:00
297 lines
8.2 KiB
SCSS
297 lines
8.2 KiB
SCSS
/**
|
|
* 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/>.
|
|
*
|
|
*/
|
|
|
|
.settings-container {
|
|
div {
|
|
padding-left: 15px;
|
|
}
|
|
button {
|
|
width: 80%;
|
|
margin-left: 15px !important;
|
|
margin-right: 15px !important;
|
|
}
|
|
}
|
|
|
|
.settings-container-label {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
#app-navigation > ul{
|
|
> li > a{
|
|
z-index: auto;
|
|
}
|
|
> li {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.nav-trashbin {
|
|
//position: fixed !important;
|
|
//bottom: 44px;
|
|
width: inherit !important;
|
|
|
|
a {
|
|
&.active{
|
|
//border-left: 3px solid #0082c9;
|
|
background-image: var(--icon-delete-color-red);
|
|
}
|
|
//background-color: #fff !important;
|
|
opacity: 1 !important;
|
|
z-index: 140;
|
|
//padding: 0 20px;
|
|
.fa {
|
|
margin-right: 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
//Overrides transparent entry bullet on hover from server
|
|
#app-navigation{
|
|
.collapsible:hover .app-navigation-entry-bullet{
|
|
background: var(--color-primary) !important;
|
|
}
|
|
/* Custom bullet icon */
|
|
.app-navigation-entry-bullet-with-hover {
|
|
position: absolute;
|
|
display: block;
|
|
margin: 16px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background 100ms ease-in-out;
|
|
z-index: 101;
|
|
}
|
|
}
|
|
|
|
|
|
#app-navigation {
|
|
|
|
a{
|
|
.selected{
|
|
opacity: 1!important;
|
|
box-shadow: inset 4px 0 var(--color-primary)!important;
|
|
}
|
|
}
|
|
|
|
li {
|
|
.app-navigation-entry-bullet-color {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.bullet-color-red {
|
|
background-color: #ff0000;
|
|
}
|
|
|
|
.bullet-color-yellow {
|
|
background-color: #ebbb00;
|
|
}
|
|
|
|
.bullet-color-green {
|
|
background-color: #4db728;
|
|
}
|
|
|
|
.highlight-selected {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.autocomplete {
|
|
position: relative;
|
|
}
|
|
|
|
a.taginput {
|
|
opacity: 1;
|
|
}
|
|
a {
|
|
overflow: visible;
|
|
padding-left: 44px!important;
|
|
tags-input {
|
|
opacity: 1.0;
|
|
li {
|
|
width: auto !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.hidden-list{
|
|
display: none !important;
|
|
}
|
|
|
|
//source https://material.io/tools/icons/?icon=restore&style=baseline
|
|
.icon-expired{
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M0 0h24v24H0z' fill='none'/><path d='M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/></svg>");
|
|
}
|
|
|
|
// re-implement app-navigation entry style since the new files app (>=nc28) is doing vue magic
|
|
#app-navigation:not(.vue) > ul {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: calc(var(--default-grid-baseline)*2);
|
|
padding-bottom: 0;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li.pinned.first-pinned {
|
|
margin-top: auto !important;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li.pinned {
|
|
order: 2;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li, #app-navigation:not(.vue) > ul > li > ul > li {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
order: 1;
|
|
flex-shrink: 0;
|
|
margin: 0;
|
|
margin-bottom: 0px;
|
|
margin-bottom: 3px;
|
|
width: 100%;
|
|
border-radius: var(--border-radius-pill);
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > ul {
|
|
flex: 0 1 auto;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > ul > li {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
padding-left: 44px;
|
|
width: 100%;
|
|
margin-bottom: 3px;
|
|
}
|
|
#app-navigation:not(.vue) {
|
|
--border-radius-pill: calc(var(--default-clickable-area) / 2);
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > a.svg, #app-navigation:not(.vue) > ul > li > ul > li > a.svg {
|
|
padding: 0 12px 0 44px;
|
|
padding-left: 44px;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li.active, #app-navigation:not(.vue) > ul > li.active > a, #app-navigation:not(.vue) > ul > li a:active, #app-navigation:not(.vue) > ul > li a:active > a, #app-navigation:not(.vue) > ul > li a.selected, #app-navigation:not(.vue) > ul > li a.selected > a, #app-navigation:not(.vue) > ul > li a.active, #app-navigation:not(.vue) > ul > li a.active > a {
|
|
background-color: var(--color-primary-element-light);
|
|
}
|
|
#app-navigation:not(.vue) > ul > li a:hover, #app-navigation:not(.vue) > ul > li a:hover > a, #app-navigation:not(.vue) > ul > li a:focus, #app-navigation:not(.vue) > ul > li a:focus > a {
|
|
background-color: var(--color-background-hover);
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > a, #app-navigation:not(.vue) > ul > li > ul > li > a {
|
|
background-size: 16px 16px;
|
|
background-position: 14px center;
|
|
background-repeat: no-repeat;
|
|
display: block;
|
|
justify-content: space-between;
|
|
line-height: 44px;
|
|
min-height: 44px;
|
|
padding: 0 12px 0 14px;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
border-radius: var(--border-radius-pill);
|
|
color: var(--color-main-text);
|
|
flex: 1 1 0px;
|
|
z-index: 100;
|
|
}
|
|
#app-navigation:not(.vue) .collapsible .collapse {
|
|
opacity: 0;
|
|
position: absolute;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin: 0;
|
|
z-index: 110;
|
|
left: 0;
|
|
}
|
|
#app-navigation:not(.vue) .collapsible.open::before {
|
|
-webkit-transform: rotate(0);
|
|
-ms-transform: rotate(0);
|
|
transform: rotate(0);
|
|
}
|
|
#app-navigation:not(.vue) .collapsible:hover::before, #app-navigation:not(.vue) .collapsible:focus::before {
|
|
opacity: 1;
|
|
}
|
|
#app-navigation:not(.vue) .collapsible::before {
|
|
position: absolute;
|
|
height: 44px;
|
|
width: 44px;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: none;
|
|
background-position-x: 0%;
|
|
background-position-y: 0%;
|
|
background-repeat: repeat;
|
|
background-image: none;
|
|
background-size: auto;
|
|
background-image: var(--icon-triangle-s-dark);
|
|
background-size: 16px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
border: none;
|
|
border-radius: 0;
|
|
outline: none !important;
|
|
box-shadow: none;
|
|
content: " ";
|
|
opacity: 0;
|
|
-webkit-transform: rotate(-90deg);
|
|
-ms-transform: rotate(-90deg);
|
|
transform: rotate(-90deg);
|
|
z-index: 105;
|
|
border-radius: 50%;
|
|
transition: opacity 100ms ease-in-out;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li.deleted > ul, #app-navigation:not(.vue) > ul > li.collapsible:not(.open) > ul {
|
|
display: none;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet + a, #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet + a {
|
|
background: rgba(0,0,0,0) !important;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > a.svg, #app-navigation:not(.vue) > ul > li > ul > li > a.svg {
|
|
padding: 0 12px 0 44px;
|
|
padding-left: 44px;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet, #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet {
|
|
position: absolute;
|
|
display: block;
|
|
margin: 16px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background 100ms ease-in-out;
|
|
}
|
|
#app-navigation:not(.vue) > ul > li > ul > li:hover, #app-navigation:not(.vue) > ul > li > ul > li:hover > a, #app-navigation:not(.vue) > ul > li > ul > li:focus, #app-navigation:not(.vue) > ul > li > ul > li:focus > a {
|
|
border-radius: var(--border-radius-pill);
|
|
background-color: var(--color-background-hover);
|
|
}
|
|
#app-navigation:not(.vue) .collapsible:hover > a, #app-navigation:not(.vue) .collapsible:focus > a {
|
|
background-image: none;
|
|
}
|