password-manager/frontend/delta/scss/style/settingsPanel.scss

312 lines
5.0 KiB
SCSS
Raw Normal View History

/*
Copyright 2008-2015 Clipperz Srl
This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz 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.
* Clipperz 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 Clipperz. If not, see http://www.gnu.org/licenses/.
*/
#extraFeaturesPanel {
.extraFeatureIndex {
background-color: $main-alternate-color;
color: $main-alternate-text-color;
header {
text-align: right;
height: 48px;
font-size: 24pt;
.button {
@include icon-font();
.label {
padding-top: 8px;
padding-right: 8px;
}
}
}
2015-01-21 18:29:30 +01:00
& > div {
border-top: 1px solid white;
& > ul > li {
// padding: 10px;
// padding-right: 0px;
border-bottom: 1px solid white;
2015-01-21 18:29:30 +01:00
& > h1 {
cursor: pointer;
font-size: 16pt;
padding: 10px;
}
& > ul {
// padding-left: 10px;
}
2015-01-21 18:29:30 +01:00
// &:last-child {
// border-bottom: 1px solid white;
// }
2015-01-21 18:29:30 +01:00
&.closed > ul {
display: none;
visibility: hidden;
}
2015-01-21 18:29:30 +01:00
}
ul {
2015-01-21 18:29:30 +01:00
li {
& > ul > li {
padding: 10px;
padding-left: 20px;
padding-right: 0px;
cursor: pointer;
2015-01-21 18:29:30 +01:00
&.selected {
background-color: #333;
// color: black;
}
& > div {
padding: 4px;
}
2015-01-21 18:29:30 +01:00
}
&.open {
2015-01-21 18:29:30 +01:00
}
2015-01-21 18:29:30 +01:00
&.close {
2015-01-21 18:29:30 +01:00
}
2015-01-21 18:29:30 +01:00
// h1 {
// cursor: pointer;
// font-size: 16pt;
// padding: 10px;
// }
2015-01-21 18:29:30 +01:00
h2 {
// cursor: pointer;
font-weight: 300;
font-size: 14pt;
}
2015-01-21 18:29:30 +01:00
h3 {
font-size: 12pt;
}
2015-01-21 18:29:30 +01:00
p {
font-size: 10pt;
font-weight: 100;
padding-bottom: 5px;
line-height: 1.2em;
}
2015-01-21 18:29:30 +01:00
a.button {
@include border-radius(2);
display: inline-block;
padding: 10px 16px;
background-color: green;
color: lightgrey;
2015-03-11 18:28:28 +01:00
&:hover {
color: white;
2015-03-11 18:28:28 +01:00
};
&.disabled {
background-color: #999;
&:hover {
color: white;
};
}
2015-03-11 18:28:28 +01:00
}
2015-01-21 18:29:30 +01:00
}
}
}
2015-03-22 22:43:19 +01:00
footer {
$applicationVersionColor: #999;
font-size: 8pt;
padding: 5px 5px 5px 5px;
border-top: 1px solid $applicationVersionColor;
span {
color: $applicationVersionColor;
&:after {
content: ":";
};
}
a {
color: $applicationVersionColor;
text-decoration: none;
padding-left: 5px;
font-weight: bold;
}
2015-03-22 22:43:19 +01:00
}
}
.extraFeatureContent {
border-right: 1px solid #222;
color: white;
header {
display: none;
2015-03-22 22:43:19 +01:00
}
2015-04-03 14:44:04 +02:00
.extraFeature {
padding: 20px;
h1 {
font-size: 20pt;
padding-bottom: 20px;
}
}
/*
2015-04-03 14:44:04 +02:00
.changePassphraseForm {
label {
display: block;
}
2015-04-03 14:44:04 +02:00
input {
display: block;
}
}
.deleteAccountForm {
margin-top: 1em;
label {
display: block;
}
input {
display: inline-block;
margin-right: 1em;
margin-bottom: 1em;
}
.confirmCheckbox {
display: inline-block;
}
2015-04-03 14:44:04 +02:00
}
*/
form {
label {
display: none;
}
input {
$border-size: 0px; // 2px;
display: block;
font-size: 18pt;
margin-bottom: 8px;
padding: (6px - $border-size) (10px - $border-size);
border: $border-size solid white;
width: 350px;
color: black;
&.invalid {
border: $border-size solid $clipperz-orange;
color: gray;
}
}
p {
@include flexbox;
@include flex-direction(row);
input {
width: 30px;
@include flex(auto);
}
span {
@include flex(auto);
font-size: 12pt;
}
}
button {
font-family: "clipperz-font";
// min-height: 48px;
// min-width: 48px;
color: white;
// font-size: 24pt;
font-size: 14pt;
// font-weight: 500;
border: 0px;
margin-top: 20px;
padding: 6px 10px;
border: 1px solid white;
background-color: $main-color;
@include transition(background-color font-weight, 0.2s, linear);
&:hover {
};
&:disabled {
font-weight: 100;
background-color: #c0c0c0;
cursor: default;
&:hover {
};
}
}
// input.valid:focus {
// border: 2px solid $clipperz-blue;
// }
}
2015-03-22 22:43:19 +01:00
}
}
.mainPage.narrow {
#extraFeaturesPanel {
.extraFeatureContent {
header {
display: block;
height: 48px;
border-bottom : 1px solid white;
.button {
@include icon-font();
cursor: pointer;
color: white;
font-size: 16pt;
padding-top: 15px;
padding-left: 10px;
}
}
}
}
}