473 lines
6.7 KiB
SCSS
473 lines
6.7 KiB
SCSS
@import "parameters";
|
|
|
|
.page {
|
|
@include pageElement();
|
|
@include user-select(none);
|
|
}
|
|
|
|
.mainPage {
|
|
// background-color: yellow;
|
|
}
|
|
|
|
.mainPage > #selectionPanel {
|
|
@include sliding-panel(left, $selectionPanelWidth);
|
|
|
|
&.open {
|
|
@include sliding-panel-open(left, $selectionPanelWidth);
|
|
}
|
|
}
|
|
|
|
#selections {
|
|
@include flexbox();
|
|
@include flex-direction(column);
|
|
min-height: 100%;
|
|
|
|
ul.defaultSet {
|
|
@include flex(none);
|
|
}
|
|
|
|
.search {
|
|
@include flex(none);
|
|
}
|
|
|
|
ul.tagList {
|
|
@include flex(auto);
|
|
margin-left: 0px;
|
|
// overflow-y: scroll;
|
|
overflow:auto;
|
|
|
|
li {
|
|
// @include flexbox();
|
|
|
|
span.tagLabel {
|
|
// @include flex(auto);
|
|
}
|
|
|
|
span.tagCount {
|
|
// @include flex(none);
|
|
}
|
|
}
|
|
}
|
|
|
|
.showArchivedCards {
|
|
@include flex(none);
|
|
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
#mainPanel {
|
|
// background-color: $yellow;
|
|
|
|
&.extra-wide {
|
|
@include sliding-panel-container();
|
|
|
|
.container {
|
|
@include flexbox;
|
|
}
|
|
|
|
.subpanel {
|
|
|
|
&.selection {
|
|
@include flex($selectionPanelFlexWidth, 0);
|
|
// height: 100%;
|
|
@include overflow-scroll;
|
|
}
|
|
|
|
&.cardContent {
|
|
@include flex($cardContentPanelFlexWidth);
|
|
@include flexbox;
|
|
@include flex-direction(column);
|
|
}
|
|
}
|
|
|
|
.selectionToggle {
|
|
.button {
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
div.addCardButton {
|
|
margin-left: 20%;
|
|
}
|
|
}
|
|
|
|
&.wide {
|
|
.container {
|
|
@include sliding-panel-container();
|
|
}
|
|
}
|
|
|
|
&.narrow {
|
|
.container {
|
|
@include sliding-panel-container();
|
|
}
|
|
|
|
.column {
|
|
@include pageElement();
|
|
}
|
|
|
|
div.addCardButton {
|
|
margin-left: 75%;
|
|
}
|
|
}
|
|
|
|
&.open.left {
|
|
@include sliding-panel-wrapper-open (left, $selectionPanelWidth);
|
|
@include mask();
|
|
}
|
|
|
|
&.open.right {
|
|
// @include sliding-panel-wrapper-open (right, $settingsPanelWidth);
|
|
@include mask();
|
|
}
|
|
|
|
}
|
|
|
|
|
|
#extraFeaturesPanel {
|
|
@include sliding-panel(right, $settingsPanelWidth);
|
|
@include flexbox();
|
|
@include flex-direction(column);
|
|
min-height: 100%;
|
|
|
|
&.open {
|
|
@include sliding-panel-open(right, $settingsPanelWidth);
|
|
}
|
|
|
|
header {
|
|
@include flex(none);
|
|
|
|
}
|
|
|
|
& > div {
|
|
@include flex(auto);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.container {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.cardToolbarFrame {
|
|
height: 100%;
|
|
|
|
@include flexbox;
|
|
@include flex-direction(column);
|
|
|
|
.cardToolbar {
|
|
@include flex(none);
|
|
|
|
}
|
|
|
|
.cardContent {
|
|
}
|
|
}
|
|
|
|
div.cardToolbar {
|
|
// background-color: $orange;
|
|
|
|
header {
|
|
@include flexbox;
|
|
height: $mainCardToolbarHeight;
|
|
line-height: $mainCardToolbarHeight;
|
|
|
|
background-color: $clipperz-orange;
|
|
color: white;
|
|
font-size: 24pt;
|
|
|
|
div {
|
|
|
|
&.clipperz {
|
|
|
|
span.logo {
|
|
@include icon-font();
|
|
|
|
@include align-self(center);
|
|
@include flex(4);
|
|
text-align: center;
|
|
|
|
&.tag, &.search {
|
|
font-size: 14pt;
|
|
}
|
|
}
|
|
|
|
span.value {
|
|
display: inline-block;
|
|
padding-left: 5px;
|
|
font-size: 18pt;
|
|
}
|
|
}
|
|
|
|
&.selectionToggle {
|
|
@include flex(1);
|
|
|
|
.button {
|
|
text-align: left;
|
|
|
|
.label {
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// &.logo {
|
|
// @include align-self(center);
|
|
// @include flex(4);
|
|
// text-align: center;
|
|
// }
|
|
|
|
&.settingsToggle {
|
|
@include flex(1);
|
|
|
|
.button {
|
|
text-align: right;
|
|
|
|
.label {
|
|
padding-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.button {
|
|
overflow: hidden;
|
|
font-size: 24pt;
|
|
@include icon-font();
|
|
vertical-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
div.cardContent {
|
|
// @include flex(flex-grow); // ???
|
|
|
|
@include flexbox();
|
|
@include flex-direction(row);
|
|
|
|
div.cardListColumn.column {
|
|
@include flex($cardListWidth, 0);
|
|
// overflow-y: scroll;
|
|
overflow:auto;
|
|
|
|
z-index: 5;
|
|
box-shadow: 2px 0 6px 0 rgba(0,0,0, 0.1);
|
|
|
|
div.cardToolbar.narrow {
|
|
}
|
|
|
|
&.addCard {
|
|
div.cardList {
|
|
padding-bottom: 100px;
|
|
}
|
|
}
|
|
|
|
$addButtonSize: 60px;
|
|
div.addCardButton {
|
|
@include icon-font();
|
|
@include border-radius($addButtonSize / 2);
|
|
// @include radial-gradient (white, rgba(0, 0, 0, 0));
|
|
|
|
position: relative;
|
|
bottom: 0px;
|
|
font-size: 45pt;
|
|
// text-align: center;
|
|
// line-height: 56px;
|
|
|
|
color: white;
|
|
background-color: $clipperz-blue;
|
|
box-shadow: 2px 8px 6px 0 rgba(0,0,0, 0.2);
|
|
|
|
width: $addButtonSize;
|
|
height: $addButtonSize;
|
|
|
|
// float: right;
|
|
position: absolute;
|
|
// margin-left: 150px;
|
|
margin-left: 25%;
|
|
margin-bottom: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: darken($clipperz-blue, 10%);
|
|
};
|
|
}
|
|
}
|
|
|
|
div.cardDetail.column {
|
|
@include flex($cardDetailWidth);
|
|
|
|
@include flexbox();
|
|
|
|
div.editWrapper {
|
|
@include flex(auto);
|
|
@include mask();
|
|
|
|
@include flexbox;
|
|
& > div.edit {
|
|
@include flex(auto);
|
|
@include flexbox;
|
|
@include flex-direction(column);
|
|
|
|
box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.75);
|
|
|
|
position: relative;
|
|
z-index: 10+1;
|
|
|
|
.content {
|
|
// background-color: yellow;
|
|
background-color: white;
|
|
}
|
|
}
|
|
|
|
.mask {
|
|
// background-color: rgba(255, 255, 255, 0.8);
|
|
// background-color: rgba(24, 99, 161, 0.6);
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
}
|
|
|
|
& > div.view /*, & > div.editWrapper > div.edit */ {
|
|
@include flex(auto);
|
|
|
|
@include flexbox;
|
|
@include flex-direction(column);
|
|
}
|
|
|
|
.content {
|
|
@include flex(auto);
|
|
// overflow-y: scroll;
|
|
overflow:auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#cardDetailPage {
|
|
& > .view, & > .editWrapper > .edit {
|
|
@include flexbox();
|
|
@include flex-direction(column);
|
|
height: 100%;
|
|
|
|
.content {
|
|
@include flex(auto);
|
|
overflow-y: scroll;
|
|
}
|
|
}
|
|
}
|
|
|
|
.cardDetailToolbar {
|
|
@include flex(none);
|
|
height: $mainCardToolbarHeight;
|
|
line-height: $mainCardToolbarHeight;
|
|
|
|
&.edit {
|
|
li.save {
|
|
cursor: default;
|
|
}
|
|
|
|
&.hasPendingChanges {
|
|
li.save {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.commands > div {
|
|
@include flexbox();
|
|
@include flex-direction(row);
|
|
// font-size: 24pt;
|
|
|
|
.back {
|
|
@include flex(auto);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cardMenuOptions {
|
|
@include flex(auto);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
// &.edit {
|
|
// ul {
|
|
// @include flexbox();
|
|
// @include flex-direction(row);
|
|
//
|
|
// li {
|
|
// @include flex(auto);
|
|
// cursor: pointer;
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
ul {
|
|
@include flexbox();
|
|
@include flex-direction(row);
|
|
|
|
li {
|
|
@include flex(auto);
|
|
cursor: pointer;
|
|
|
|
span {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.button {
|
|
cursor: pointer;
|
|
|
|
&.disabled {
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
|
|
div.dialogBox {
|
|
@include mask();
|
|
|
|
@include flexbox();
|
|
@include align-items(center);
|
|
@include justify-content(center);
|
|
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.mask {
|
|
z-index: 12;
|
|
}
|
|
div.dialog {
|
|
@include flex(none);
|
|
z-index: 99999;
|
|
|
|
h3.message {
|
|
}
|
|
|
|
div.answers {
|
|
@include flexbox();
|
|
@include flex-direction(row);
|
|
@include justify-content(flex-end);
|
|
|
|
div.button {
|
|
@include flex(none);
|
|
cursor: pointer;
|
|
|
|
&.isDefault {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |