2015-02-06 16:33:38 +01:00
|
|
|
// ARCHIVE - RESTORE
|
|
|
|
//
|
|
|
|
// background-color: #800;
|
|
|
|
// box-shadow: inset 0 2px 3px 0 rgba(0,0,0,0.3);
|
|
|
|
// color: #ccc;
|
|
|
|
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
$cardListHeight: 48px;
|
|
|
|
$faviconSize: 32px;
|
|
|
|
$padding: ($cardListHeight - $faviconSize) / 2;
|
2015-02-04 23:44:32 +01:00
|
|
|
$cardArchivedColor: #eee;
|
2015-02-06 16:33:38 +01:00
|
|
|
//$cardToolbarBackgroundColor: #e38800;
|
|
|
|
$cardToolbarBackgroundColor: $clipperz-blue;
|
2015-02-04 23:44:32 +01:00
|
|
|
$iconMargin: 6px;
|
|
|
|
$labelColor: gray;
|
2014-07-28 18:07:48 +02:00
|
|
|
|
|
|
|
div.cardList {
|
|
|
|
// background-color: $yellow;
|
|
|
|
|
|
|
|
&.loadingCard {
|
|
|
|
li.selected {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2015-02-04 23:57:57 +01:00
|
|
|
background-color: $cardToolbarBackgroundColor;
|
2015-02-04 23:44:32 +01:00
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #eee;
|
2015-02-04 23:44:32 +01:00
|
|
|
background-color: white;
|
2015-02-06 20:34:00 +01:00
|
|
|
transition: margin-left 0.1s ease-in-out, padding-right 0.1s ease-in-out;
|
2015-02-08 11:11:06 +01:00
|
|
|
// padding-right:40px; // prevent new lines on selection
|
2014-07-28 18:07:48 +02:00
|
|
|
|
2015-02-06 16:33:38 +01:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
@include flexbox();
|
|
|
|
@include flex-direction(row);
|
|
|
|
|
2014-07-30 09:28:05 +02:00
|
|
|
&.selected {
|
2015-02-04 23:44:32 +01:00
|
|
|
// background-color: yellow;
|
|
|
|
// background-color: brown;
|
|
|
|
// background-color: $clipperz-blue;
|
|
|
|
// color: white;
|
2015-02-06 20:34:00 +01:00
|
|
|
margin-left: 40px;
|
|
|
|
padding-right: 0px; // prevent new lines on selection
|
|
|
|
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2);
|
2014-07-30 09:28:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.archived {
|
2015-02-03 22:48:29 +01:00
|
|
|
// background-color: pink;
|
|
|
|
background-color: $cardArchivedColor;
|
2015-02-04 23:44:32 +01:00
|
|
|
color: #999;
|
|
|
|
|
2014-07-30 09:28:05 +02:00
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.favicon {
|
|
|
|
width: $cardListHeight;
|
|
|
|
@include flex(none);
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: $faviconSize;
|
|
|
|
height: $faviconSize;
|
|
|
|
padding: $padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
@include flex(auto);
|
|
|
|
|
|
|
|
font-size: 18pt;
|
|
|
|
|
|
|
|
padding-top: 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
padding-left: $padding;
|
|
|
|
padding-right: $padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
div.cardList.narrow {
|
2015-02-06 17:26:27 +01:00
|
|
|
@include overflow-scroll;
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
&.loadingCard {
|
|
|
|
li.selected {
|
|
|
|
// background-color: gray;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
color: white;
|
|
|
|
margin-right: 10px;
|
|
|
|
content: "loading";
|
|
|
|
@include animation(spin, 1s, linear, infinite);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "show detail";
|
|
|
|
@include flex(none);
|
|
|
|
@include icon-font();
|
|
|
|
height: 48px;
|
|
|
|
font-size: 24pt;
|
|
|
|
line-height: 48px;
|
|
|
|
margin-right: 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-01-21 18:29:30 +01:00
|
|
|
|
|
|
|
&.EXPIRED {
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
$cardViewBasePadding: 10px;
|
|
|
|
|
|
|
|
#cardDetailPage, .cardDetail {
|
|
|
|
.loading {
|
|
|
|
// height: 100%;
|
|
|
|
// width: 100%;
|
|
|
|
// background-color: rgba(0,0,0,0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.view {
|
|
|
|
|
2014-07-30 18:34:12 +02:00
|
|
|
&.archived {
|
2015-02-03 22:48:29 +01:00
|
|
|
// background-color: pink;
|
|
|
|
background-color: $cardArchivedColor;
|
2014-07-30 18:34:12 +02:00
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardDetailToolbar {
|
2014-08-22 08:38:53 +02:00
|
|
|
background-color: $cardToolbarBackgroundColor;
|
|
|
|
color: white;
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
&.narrow {
|
2014-08-22 08:38:53 +02:00
|
|
|
font-size: 24pt;
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.back {
|
|
|
|
@include icon-font();
|
|
|
|
}
|
|
|
|
|
|
|
|
.cardMenuOptions {
|
|
|
|
@include icon-font();
|
|
|
|
text-align: right;
|
|
|
|
font-size: 18pt;
|
|
|
|
padding-right: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.commandMenu {
|
|
|
|
// display: none;
|
|
|
|
.commandMenuMask {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commandMenu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
|
|
|
|
.commandMenuMask {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.commandMenu {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
position: absolute;
|
|
|
|
min-width: 200px;
|
|
|
|
top: 48px;
|
|
|
|
right: 5px;
|
|
|
|
color: black;
|
|
|
|
background-color: white;
|
|
|
|
@include box-shadow(0px, 2px, 5px, rgba(50, 50, 50, 0.75));
|
|
|
|
|
|
|
|
ul {
|
|
|
|
@include flex-direction(column);
|
|
|
|
|
|
|
|
li {
|
|
|
|
text-align: left;
|
|
|
|
font-size: 18pt;
|
|
|
|
padding: 5px 10px;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-22 08:38:53 +02:00
|
|
|
|
|
|
|
.edit {
|
2015-02-04 23:44:32 +01:00
|
|
|
// box-shadow: inset 2px 0 6px 0 rgba(0,0,0, 0.1);
|
|
|
|
|
2014-08-22 08:38:53 +02:00
|
|
|
.cardDetailToolbar {
|
2015-02-03 22:48:29 +01:00
|
|
|
background-color: $cardToolbarBackgroundColor;
|
2014-08-22 08:38:53 +02:00
|
|
|
color: white;
|
2015-02-04 23:44:32 +01:00
|
|
|
|
|
|
|
// box-shadow: inset 2px 0 6px 0 rgba(0, 0, 0, 0.1);
|
2014-08-22 08:38:53 +02:00
|
|
|
}
|
2015-02-06 16:33:38 +01:00
|
|
|
|
|
|
|
.cardField {
|
|
|
|
&:hover {
|
|
|
|
background-color: #eee;
|
2015-02-08 11:47:50 +01:00
|
|
|
}
|
|
|
|
}
|
2014-08-22 08:38:53 +02:00
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cardDetailToolbar {
|
2014-08-22 08:38:53 +02:00
|
|
|
&.edit {
|
|
|
|
li {
|
|
|
|
font-weight: 100;
|
2015-02-03 22:48:29 +01:00
|
|
|
// color: #aaa;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: white;
|
|
|
|
};
|
2014-08-22 08:38:53 +02:00
|
|
|
}
|
|
|
|
li.save {
|
2015-02-03 22:48:29 +01:00
|
|
|
// color: yellow;
|
2014-08-22 08:38:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.hasPendingChanges {
|
|
|
|
li {
|
2015-02-03 22:48:29 +01:00
|
|
|
// color: #ccc;
|
2014-08-22 08:38:53 +02:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
li.save {
|
2015-02-03 22:48:29 +01:00
|
|
|
// color: white;
|
2014-08-22 08:38:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
|
|
|
|
&.narrow {
|
|
|
|
.cardMenuOptions {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
.cardLabel {
|
2014-10-12 14:48:34 +02:00
|
|
|
@include user-select(text);
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
font-size: 24pt;
|
2015-02-04 23:44:32 +01:00
|
|
|
// width: 100%;
|
2014-07-28 18:07:48 +02:00
|
|
|
padding: $cardViewBasePadding;
|
2015-02-03 22:48:29 +01:00
|
|
|
// height: 52px;
|
|
|
|
// line-height: 32px;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.cardLabel {
|
2015-02-04 23:44:32 +01:00
|
|
|
width: 100%;
|
2015-02-03 22:48:29 +01:00
|
|
|
height: 52px;
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
2014-09-19 18:27:26 +02:00
|
|
|
.tagEditor {
|
2014-07-28 18:07:48 +02:00
|
|
|
padding: $cardViewBasePadding;
|
2015-02-04 23:44:32 +01:00
|
|
|
// background-color: cyan;
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
2014-09-19 18:27:26 +02:00
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardNotes {
|
|
|
|
padding: $cardViewBasePadding;
|
2015-02-03 22:48:29 +01:00
|
|
|
width: 100%;
|
2015-02-04 23:44:32 +01:00
|
|
|
border: 0px;
|
|
|
|
|
|
|
|
font-size: 10pt;
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
// background-color: gold;
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
2014-09-04 18:58:56 +02:00
|
|
|
.dropArea {
|
2015-02-04 23:44:32 +01:00
|
|
|
// border: 3px dashed red;
|
|
|
|
background-color: #ccc;
|
2014-09-04 18:58:56 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardField {
|
|
|
|
@include flexbox;
|
|
|
|
@include flex-direction(row);
|
2015-02-04 23:44:32 +01:00
|
|
|
background-color: rgba(255, 255, 255, 0.75);
|
|
|
|
// border-bottom: 1px solid #eee;
|
2014-09-04 18:58:56 +02:00
|
|
|
|
2015-02-03 22:48:29 +01:00
|
|
|
// background-color: lightgreen;
|
2014-07-28 18:07:48 +02:00
|
|
|
|
2014-09-04 18:58:56 +02:00
|
|
|
&.dragged {
|
|
|
|
// border: 4px dotted red;
|
|
|
|
display: none;
|
|
|
|
}
|
2015-02-04 23:44:32 +01:00
|
|
|
|
|
|
|
.fieldEditAction {
|
|
|
|
@include flex(none);
|
|
|
|
width: 32px;
|
|
|
|
// background-color: pink;
|
|
|
|
|
|
|
|
// @include flexbox;
|
|
|
|
// @include flex-direction(column);
|
|
|
|
|
|
|
|
.removeField {
|
|
|
|
@include align-self(flex-start);
|
|
|
|
@include icon-font();
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
margin: $iconMargin;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #ccc;
|
|
|
|
font-size: 20pt;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgb(155, 0, 0);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggleLock {
|
|
|
|
@include align-self(flex-end);
|
|
|
|
@include icon-font();
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
margin: $iconMargin;
|
|
|
|
margin-left: $iconMargin * 2;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #ccc;
|
|
|
|
font-size: 20pt;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #888;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.fieldValues {
|
|
|
|
@include flex(1);
|
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
|
|
|
|
.fieldLabel {
|
2015-02-04 23:44:32 +01:00
|
|
|
color: $labelColor;
|
|
|
|
border-bottom: 1px dotted #ddd;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
input {
|
|
|
|
font-size: 12pt;
|
|
|
|
color: $labelColor;
|
|
|
|
border: 0px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldValue {
|
|
|
|
font-size: 18pt;
|
2015-02-04 23:44:32 +01:00
|
|
|
line-height: 28px;
|
2014-10-12 14:48:34 +02:00
|
|
|
@include user-select(text);
|
2014-07-28 18:07:48 +02:00
|
|
|
|
2015-02-04 23:44:32 +01:00
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
border: 0px;
|
|
|
|
width: 100%;
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
&.hidden {
|
|
|
|
font-family: clipperz-password;
|
2015-02-04 23:44:32 +01:00
|
|
|
font-size: 23pt;
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldAction {
|
|
|
|
@include flex(none);
|
2015-02-04 23:44:32 +01:00
|
|
|
// @include align-self(center);
|
|
|
|
@include align-self(flex-start);
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.action {
|
|
|
|
@include icon-font();
|
2015-02-04 23:44:32 +01:00
|
|
|
color: #aaa;
|
|
|
|
|
|
|
|
// width: 32px;
|
|
|
|
width: 20px;
|
|
|
|
// height: 32px;
|
|
|
|
height: 20px;
|
|
|
|
// font-size: 20pt;
|
|
|
|
font-size: 15pt;
|
|
|
|
margin: $iconMargin;
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-09-19 18:27:26 +02:00
|
|
|
.newCardField {
|
2015-02-03 22:48:29 +01:00
|
|
|
@include icon-font();
|
2015-02-04 23:44:32 +01:00
|
|
|
margin: $iconMargin;
|
2014-09-19 18:27:26 +02:00
|
|
|
cursor: pointer;
|
2015-02-04 23:44:32 +01:00
|
|
|
color: #ccc;
|
2015-02-03 22:48:29 +01:00
|
|
|
font-size: 20pt;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: green;
|
|
|
|
};
|
2014-09-19 18:27:26 +02:00
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardDirectLogin {
|
|
|
|
font-size: 18pt;
|
|
|
|
padding: $cardViewBasePadding;
|
2015-02-03 22:48:29 +01:00
|
|
|
// background-color: pink;
|
|
|
|
background-color: $clipperz-orange;
|
|
|
|
color: white;
|
2014-07-28 18:07:48 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2014-08-22 08:38:53 +02:00
|
|
|
|