2014-07-28 18:07:48 +02:00
|
|
|
$cardListHeight: 48px;
|
|
|
|
$faviconSize: 32px;
|
|
|
|
$padding: ($cardListHeight - $faviconSize) / 2;
|
|
|
|
|
|
|
|
$cardToolbarBackgroundColor: brown;
|
|
|
|
|
|
|
|
div.cardList {
|
|
|
|
// background-color: $yellow;
|
|
|
|
|
|
|
|
&.loadingCard {
|
|
|
|
li.selected {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
|
|
|
@include flexbox();
|
|
|
|
@include flex-direction(row);
|
|
|
|
|
2014-07-30 09:28:05 +02:00
|
|
|
&.selected {
|
|
|
|
background-color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.archived {
|
|
|
|
background-color: pink;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
&.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$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 {
|
|
|
|
background-color: pink;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
.cardDetailToolbar {
|
|
|
|
background-color: purple;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cardDetailToolbar {
|
2014-08-22 08:38:53 +02:00
|
|
|
&.edit {
|
|
|
|
li {
|
|
|
|
font-weight: 100;
|
|
|
|
}
|
|
|
|
li.save {
|
|
|
|
color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.hasPendingChanges {
|
|
|
|
li {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
li.save {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
}
|
|
|
|
|
2014-09-19 18:27:26 +02:00
|
|
|
.tagEditor {
|
2014-07-28 18:07:48 +02:00
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
}
|
2014-09-19 18:27:26 +02:00
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardNotes {
|
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
}
|
|
|
|
|
2014-09-04 18:58:56 +02:00
|
|
|
.dropArea {
|
|
|
|
border: 3px dashed red;
|
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardField {
|
|
|
|
@include flexbox;
|
|
|
|
@include flex-direction(row);
|
2014-09-04 18:58:56 +02: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;
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
.fieldValues {
|
|
|
|
@include flex(1);
|
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
|
|
|
|
.fieldLabel {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldValue {
|
|
|
|
font-size: 18pt;
|
2014-10-12 14:48:34 +02:00
|
|
|
@include user-select(text);
|
2014-07-28 18:07:48 +02:00
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
font-family: clipperz-password;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-19 18:27:26 +02:00
|
|
|
.removeField {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-07-28 18:07:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fieldAction {
|
|
|
|
@include flex(none);
|
|
|
|
@include align-self(center);
|
|
|
|
}
|
|
|
|
|
|
|
|
.action {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
@include icon-font();
|
|
|
|
font-size: 20pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-09-19 18:27:26 +02:00
|
|
|
.newCardField {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-07-28 18:07:48 +02:00
|
|
|
.cardDirectLogin {
|
|
|
|
font-size: 18pt;
|
|
|
|
padding: $cardViewBasePadding;
|
|
|
|
background-color: pink;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2014-08-22 08:38:53 +02:00
|
|
|
|