1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-01-11 04:10:02 +01:00
password-manager-mirror/frontend/delta/less/web/style.less

730 lines
36 KiB
Plaintext
Raw Normal View History

2013-08-30 17:56:53 +02:00
// http://ethanschoonover.com/solarized
@solarize-Background-15: #002b36;
@solarize-Background-20: #073642;
@solarize-Content-45: #586375;
@solarize-Content-50: #657b83;
@solarize-Content-60: #839496;
@solarize-Content-65: #93a1a1;
@solarize-Background-92: #eee8d5;
@solarize-Background-97: #fdf6e3;
@solarize-Accent-Yellow: #b58900;
@solarize-Accent-Orange: #cb4b16;
@solarize-Accent-Red: #dc322f;
@solarize-Accent-Magenta: #d33682;
@solarize-Accent-Violet: #6c71c4;
@solarize-Accent-Blue: #268bd2;
@solarize-Accent-Cyan: #2aa198;
@solarize-Accent-Green: #859900;
@clipperz-orange: #ff9900;
@clipperz-blue: #1863a1;
@terminal-green: #23ff18;
@text-color: @solarize-Content-50;
@background-color: #f8f8f8;
//------------------------------------------------------------------
@side-margin: 10px;
//==================================================================
/*
# box-sizing: { content-box | border-box | inherit };
# css flex box (also with LESSCSS mixin):
- https://github.com/ProLoser/Flexbox.less;
- https://gist.github.com/jayj/4012969
*/
//==================================================================
body {
font-family: "Source Code Pro";
background: @background-color url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKx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9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZ
font-size: 18pt;
}
a {
cursor: pointer;
}
.button {
min-height: 48px;
min-width: 48px;
color: white;
font-size: 100%;
font-weight: 700;
border: 0px;
padding-left: 20px;
padding-right: 20px;
background-color: @solarize-Accent-Red;
.transition(background-color, 0.2s, linear);
// .transition(all, 0.2s, linear);
&:hover {
};
&:disabled {
background-color: #c0c0c0;
&:hover {
};
}
}
div.page {
padding: 0px;
margin: 0px;
width: 100%;
// text-align: center;
div.header {
h1 {
font-size: 36pt;
font-weight: 900;
color: @clipperz-orange;
margin: 0px @side-margin;
}
}
div.content {
margin: 0px @side-margin;
}
}
@Loading_outer-color: @solarize-Accent-Violet;
@Loading_inner-color: lighten(@Loading_outer-color, 30%);
@Loading_h1-color: lighten(@Loading_inner-color, 70%);
@Loading_h3-color: @Loading_outer-color;
#loadingPage {
background-image: -ms-radial-gradient(center, circle farthest-corner, @Loading_inner-color 0%, @Loading_outer-color 100%); /* IE10 */
background-image: -moz-radial-gradient(center, circle farthest-corner, @Loading_inner-color 0%, @Loading_outer-color 100%); /* Mozilla Firefox */
background-image: -o-radial-gradient(center, circle farthest-corner, @Loading_inner-color 0%, @Loading_outer-color 100%); /* Opera */
background-image: -webkit-radial-gradient(center, circle farthest-corner, @Loading_inner-color 0%, @Loading_outer-color 100%); /* Webkit (Chrome 11+) */
background-image: radial-gradient(center, circle farthest-corner, @Loading_inner-color 0%, @Loading_outer-color 100%); /* Proposed W3C Markup */
background-image: -webkit-gradient(radial, center center, 0, center center, 495, color-stop(0, @Loading_inner-color), color-stop(1, @Loading_outer-color)); /* Webkit (Safari/Chrome 10) */
div {
vertical-align: middle;
width: 100%;
text-align: center;
h1 {
font-size: 40pt;
color: @Loading_h1-color;
margin-top: 5%;
margin-bottom: 5px;
}
h3 {
font-size: 18pt;
color: @Loading_h3-color;
margin: 0px;
}
}
}
#loginPage {
form {
label {
display: none;
}
input {
display: block;
border: 1px solid @solarize-Background-92;
.border-radius(6px);
padding: 5px;
margin-top: 5px;
margin-bottom: 10px;
font-size: 100%;
box-shadow:inset 0 0 0;
}
button {
}
}
.registrationLink {
color: @solarize-Accent-Orange;
background: none;
&:before {
content: "> ";
};
a {
color: @solarize-Accent-Orange;
}
}
}
#registrationPage {
label {
display: none;
}
input {
display: block;
border: 1px solid @solarize-Background-92;
.border-radius(6px);
padding: 5px;
margin-top: 5px;
margin-bottom: 10px;
font-size: 100%;
box-shadow:inset 0 0 0;
}
.steps {
.step {
display: none;
&.center {
display: block;
}
h1 {
color: @solarize-Accent-Blue;
font-size: 24pt;
font-weight: 700;
margin: 0px;
}
p {
color: @solarize-Content-50;
font-size: 14pt;
font-weight: 100;
margin: 0px;
}
&.TERMS_OF_SERVICE {
.checkboxBlock {
margin-top: 10px;
margin-bottom: 10px;
clear: both;
input {
display: block;
float: left;
margin: 5px;
width: 30px;
}
p {
font-size: 12pt;
font-weight: 500;
display: block;
a {
color: @solarize-Accent-Red;
}
}
}
}
.stepIndex {
text-align: center;
.stepIndexItem {
font-weight: 900;
font-size: 28pt;
display: inline;
color: lightgrey;
&.center {
color: gray;
}
}
}
.buttons {
text-align: center;
margin-top: 10px;
.button {
margin: 10px;
text-align: center;
vertical-align: middle;
display: inline-block;
width: 80px;
font-weight: 900;
line-height: 45px;
font-size: 24px;
&.back {
background-color: lightgrey;
// &.step_-1 {
// visibility: hidden;
// }
}
&.disabled {
background-color: #c0c0c0;
cursor: default;
}
}
}
}
}
}
#cardListPage {
>div {
// background-color: purple;
}
.header {
border-bottom: 2px solid @solarize-Accent-Cyan;
display: inline-block;
width: 100%;
margin-bottom: 0px;
height: 46px;
a.account {
.icon-font();
color: @clipperz-orange;
display: block;
float: left;
font-size: 28pt;
padding-top: 3px;
padding-left: 15px;
padding-right: 15px;
vertical-align: top;
}
.features {
text-align: right;
display: block;
float: right;
padding-right: 5px;
height: 100%;
a {
.icon-font();
color: @solarize-Accent-Cyan;
display: inline-block;
font-size: 28pt;
padding-left: 10px;
padding-right: 10px;
height: 100%;
line-height: 33pt;
&.selected {
background-color: @solarize-Accent-Cyan;
color: white;
}
}
}
}
.searchBox {
background-color: @solarize-Accent-Cyan;
width: 100%;
// height: 30px;
clear: both;
>div {
padding: 4px;
padding-top: 2px;
}
input {
font-size: 14pt;
display: block;
border: 1px solid @solarize-Background-92;
.border-radius(6px);
box-shadow:inset 0 0 0;
width: 100%;
margin: 0px;
color: @solarize-Content-50;
}
}
.content.cardList {
margin-left: 0px;
margin-right: 0px;
.listItem {
min-height: 48px;
// line-height: 35pt;
line-height: 24pt;
cursor: pointer;
display: inline-table;
width: 100%;
&:nth-child(odd) {
background-color: @solarize-Background-92;
// &:hover {
// background-color: @solarize-Background-97;
// };
}
&:nth-child(even) {
// &:hover {
// background-color: @solarize-Background-97;
// };
}
.labelWrapper {
float: left;
width: 100%;
span {
margin: 0px;
margin-left: 42px;
margin-right: 30px;
display: block;
padding-top: 7px;
padding-bottom: 7px;
color: @solarize-Accent-Red;
font-weight: 400;
}
}
.faviconWrapper {
float: left;
width: 42px;
margin-left: -100%;
.favicon {
width: 32px;
height: 32px;
padding: 8px 5px;
vertical-align: text-bottom;
}
}
.detailLinkWrapper {
float: left;
width: 30px;
margin-left: -30px;
text-align: center;
padding-top: 7px;
span {
color: @solarize-Accent-Cyan;
.icon-font();
}
}
}
}
}
#cardDetailPage {
.header {
border-bottom: 2px solid @solarize-Accent-Cyan;
// display: inline-table;
width: 100%;
margin-bottom: 0px;
height: 46px;
.backWrapper {
float: left;
width: 48px;
margin-left: -100%;
.back {
display: inline-block;
background-color: @solarize-Accent-Cyan;
padding: 11px;
box-sizing: border-box;
.icon-font();
}
}
.titleWrapper {
float: left;
width: 100%;
height: 48px;
overflow: hidden;
.title {
margin-left: 48px;
margin-right: 48px;
display: inline-block;
padding-left: 10px;
color: @solarize-Accent-Red;
font-weight: 400;
line-height: 36pt;
white-space: nowrap;
}
}
.starWrapper {
float: left;
width: 48px;
margin-left: -48px;
text-align: center;
.star {
font-size: 18pt;
line-height: 35pt;
color: @solarize-Accent-Magenta;
.icon-font();
}
}
}
.content {
overflow: scroll;
margin: 0px;
.fields {
.listItem {
display: inline-table;
width: 100%;
font-size: 14pt;
border-bottom: 1px solid @solarize-Background-92;
.fieldWrapper {
width: 100%;
float: left;
.fieldInnerWrapper {
padding: 3px 10px 3px 10px;
margin: 0px;
margin-right: 48px;
display: block;
.labelWrapper {
display: block;
.label {
color: @solarize-Accent-Orange;
font-size: 10pt;
font-weight: 300;
}
}
.valueWrapper {
display: block;
box-sizing: border-box;
.value {
color: @solarize-Accent-Blue;
font-weight: 500;
&.PASSWORD {
.password-font();
font-size: 28pt;
}
}
}
}
}
.actionWrapper {
float: left;
width: 48px;
margin-left: -48px;
text-align: center;
div {
font-size: 18pt;
line-height: 35pt;
color: @solarize-Accent-Cyan;
.icon-font();
}
}
}
}
.directLogins {
// @solarize-Accent-Yellow: #b58900;
// @solarize-Accent-Orange: #cb4b16;
// @solarize-Accent-Red: #dc322f;
// @solarize-Accent-Magenta: #d33682;
// @solarize-Accent-Violet: #6c71c4;
// @solarize-Accent-Blue: #268bd2;
// @solarize-Accent-Cyan: #2aa198;
// @solarize-Accent-Green: #859900;
.listItem {
min-height: 47px;
line-height: 35pt;
cursor: pointer;
display: inline-table;
width: 100%;
background-color: @solarize-Accent-Green;
border-bottom: 1px solid @solarize-Background-92;
font-size: 14pt;
.labelWrapper {
float: left;
width: 100%;
span {
margin: 0px;
margin-left: 42px;
margin-right: 48px;
display: block;
// color: @solarize-Accent-Red;
color: white;
font-weight: 500;
}
}
.faviconWrapper {
float: left;
width: 42px;
margin-left: -100%;
.favicon {
width: 32px;
height: 32px;
padding: 8px 5px;
vertical-align: text-bottom;
}
}
.directLoginLinkWrapper {
float: left;
width: 48px;
margin-left: -48px;
text-align: center;
span {
font-size: 18pt;
color: white;
.icon-font();
}
}
}
}
}
.footer {
.icon-font();
color: white;
width: 100%;
position: fixed;
bottom: 0px;
display: none;
// bottom: -100px;
// display: none;
a {
display: inline-block;
text-align: center;
padding: 11px;
box-sizing: border-box;
&.cancel {
width: 33%;
background-color: @solarize-Accent-Red;
}
&.save {
width: 67%;
background-color: @solarize-Accent-Green;
}
}
}
}
.icon-spin {
display: inline-block;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); }
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(359deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}
/*
==================================
THREE COLUMN LAYOUT (left/right fixed size; center elastic)
------------- ~~~~~~ ------------
| | | |
| a | b | c |
| | | |
------------- ~~~~~~ ------------
==================================
.listItem
.bWrapper
.b
.aWrapper
.a
.cWrapper
.c
==================================
.listItem {
display: inline-table;
width: 100%;
.aWrapper {
float: left;
width: <a.width>px;
margin-left: -100%;
.a {
}
}
.bWrapper {
float: left;
width: 100%;
.b {
margin: 0px;
margin-left: <a.width>px;
margin-right: <c.width>px;
display: block;
}
}
.cWrapper {
float: left;
width: <c.width>px;
margin-left: -<c.width>px;
.c {
}
}
}
*/