|
|
@ -14,24 +14,18 @@
|
|
|
|
flex-flow: column;
|
|
|
|
flex-flow: column;
|
|
|
|
max-height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
min-height: auto;
|
|
|
|
min-height: auto;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
|
|
|
|
background-color: @cp_app-bg;
|
|
|
|
|
|
|
|
|
|
|
|
@board-bg: #eaeaea;
|
|
|
|
@board-bg: @cp_kanban-board-bg;
|
|
|
|
|
|
|
|
|
|
|
|
@palette0: #C9C9C9; // Default bg color for header
|
|
|
|
@palette0: @cp_kanban-color0; // Default bg color for header
|
|
|
|
|
|
|
|
|
|
|
|
@kanban-colors:
|
|
|
|
@kanban-colors: @cp_kanban-colors;
|
|
|
|
#FFD4D4,
|
|
|
|
|
|
|
|
#FFDECA,
|
|
|
|
|
|
|
|
#FFE69C,
|
|
|
|
|
|
|
|
#DBFFB7,
|
|
|
|
|
|
|
|
#AFFDC2,
|
|
|
|
|
|
|
|
#C9FFFE,
|
|
|
|
|
|
|
|
#C8D6FF,
|
|
|
|
|
|
|
|
#E4CAFF;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.kanban-board-header {
|
|
|
|
.kanban-board-header {
|
|
|
|
background-color: @palette0;
|
|
|
|
background-color: @palette0;
|
|
|
|
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.kanban-board {
|
|
|
|
.kanban-board {
|
|
|
|
.kanban-board-inner {
|
|
|
|
.kanban-board-inner {
|
|
|
@ -41,7 +35,10 @@
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
flex-flow: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cp-kanban-palette-nocolor {
|
|
|
|
.cp-kanban-palette-nocolor {
|
|
|
@ -70,8 +67,8 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#cp-kanban-edit-conflicts {
|
|
|
|
#cp-kanban-edit-conflicts {
|
|
|
|
padding: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
background: #eee;
|
|
|
|
background: @cp_kanban-conflict-bg;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
div {
|
|
|
|
div {
|
|
|
|
display: inline;
|
|
|
|
display: inline;
|
|
|
@ -83,7 +80,7 @@
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#cp-kanban-edit-body {
|
|
|
|
#cp-kanban-edit-body {
|
|
|
|
border: 1px solid @colortheme_modal-input;
|
|
|
|
border: 1px solid @cp_forms-border;
|
|
|
|
.CodeMirror {
|
|
|
|
.CodeMirror {
|
|
|
|
height: 105px;
|
|
|
|
height: 105px;
|
|
|
|
resize: vertical;
|
|
|
|
resize: vertical;
|
|
|
@ -92,12 +89,12 @@
|
|
|
|
box-sizing: content-box;
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-markdown-toolbar {
|
|
|
|
.cp-markdown-toolbar {
|
|
|
|
background-color: #eee;
|
|
|
|
background-color: @cp_kanban-conflict-bg;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
button {
|
|
|
|
button {
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
background-color: @cryptpad_text_col;
|
|
|
|
background-color: @cp_kanban-fg;
|
|
|
|
color: white;
|
|
|
|
color: @cp_kanban-conflict-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -113,7 +110,7 @@
|
|
|
|
width: 30px;
|
|
|
|
width: 30px;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#cp-kanban-edit-tags {
|
|
|
|
#cp-kanban-edit-tags {
|
|
|
@ -167,6 +164,19 @@
|
|
|
|
padding: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
touch-action: none;
|
|
|
|
touch-action: none;
|
|
|
|
|
|
|
|
background: @cp_kanban-item-bg;
|
|
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-moving.gu-mirror {
|
|
|
|
|
|
|
|
transform: rotate(3deg);
|
|
|
|
|
|
|
|
height: auto !important;
|
|
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cp-kanban-cursors {
|
|
|
|
.cp-kanban-cursors {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -197,15 +207,16 @@
|
|
|
|
border: none;
|
|
|
|
border: none;
|
|
|
|
padding: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
background-color: @cryptpad_color_grey;
|
|
|
|
background-color: @cp_markdown-bg;
|
|
|
|
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table {
|
|
|
|
table {
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
border-color: @cryptpad_text_col;
|
|
|
|
border-color: @cp_kanban-fg;
|
|
|
|
th {
|
|
|
|
th {
|
|
|
|
padding: 5px !important;
|
|
|
|
padding: 5px !important;
|
|
|
|
background-color: fade(@cryptpad_text_col, 10%);
|
|
|
|
background-color: fade(@cp_kanban-fg, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
|
|
|
padding: 5px;
|
|
|
@ -220,7 +231,7 @@
|
|
|
|
padding: 0 5px;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
background-color: @cp_kanban-tags-bg;
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -240,6 +251,24 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kanban-board {
|
|
|
|
.kanban-board {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
|
|
|
|
|
|
|
margin: 10px;
|
|
|
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
|
|
|
width: 300px;
|
|
|
|
|
|
|
|
margin: 10px 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.is-moving.gu-mirror {
|
|
|
|
|
|
|
|
transform: rotate(3deg);
|
|
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
.kanban-drag {
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
padding-right: 50px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
main {
|
|
|
|
padding: 0 10px;
|
|
|
|
padding: 0 10px;
|
|
|
|
margin: 10px 0;
|
|
|
|
margin: 10px 0;
|
|
|
@ -255,12 +284,18 @@
|
|
|
|
padding: 5px 10px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
.kanban-title-board {
|
|
|
|
.kanban-title-board {
|
|
|
|
flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
//white-space: nowrap;
|
|
|
|
//white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#kanban-edit {
|
|
|
|
#kanban-edit {
|
|
|
|
font-weight: bold;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -276,8 +311,8 @@
|
|
|
|
.tools_unselectable();
|
|
|
|
.tools_unselectable();
|
|
|
|
outline: none;
|
|
|
|
outline: none;
|
|
|
|
width: 50%;
|
|
|
|
width: 50%;
|
|
|
|
border: 1px solid fade(@cryptpad_text_col, 70%);
|
|
|
|
border: 1px solid fade(@cp_kanban-fg, 70%);
|
|
|
|
color: fade(@cryptpad_text_col, 70%);
|
|
|
|
color: fade(@cp_kanban-fg, 70%);
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
font-size: 25px;
|
|
|
|
font-size: 25px;
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
@ -293,7 +328,7 @@
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
background-color: @cp_kanban-add-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fa {
|
|
|
|
.fa {
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
@ -351,7 +386,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
em {
|
|
|
|
em {
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: lighten(@cryptpad_text_col, 10%);
|
|
|
|
color: lighten(@cp_kanban-fg, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
span {
|
|
|
@ -359,13 +394,13 @@
|
|
|
|
padding: 0 5px;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
background-color: @cp_kanban-tags-bg;
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
&.active {
|
|
|
|
&.active {
|
|
|
|
background-color: @cryptpad_text_col;
|
|
|
|
background-color: @cp_kanban-fg;
|
|
|
|
color: #fff;
|
|
|
|
color: @cp_kanban-item-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -393,8 +428,8 @@
|
|
|
|
#cp-kanban-controls {
|
|
|
|
#cp-kanban-controls {
|
|
|
|
.cp-kanban-changeView {
|
|
|
|
.cp-kanban-changeView {
|
|
|
|
span.cp-kanban-view {
|
|
|
|
span.cp-kanban-view {
|
|
|
|
background-color: @cryptpad_text_col !important;
|
|
|
|
background-color: @cp_kanban-fg !important;
|
|
|
|
color: white;
|
|
|
|
color: @cp_app-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
span.cp-kanban-view-small {
|
|
|
|
span.cp-kanban-view-small {
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -407,8 +442,8 @@
|
|
|
|
span.cp-kanban-view {
|
|
|
|
span.cp-kanban-view {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
span.cp-kanban-view-small {
|
|
|
|
span.cp-kanban-view-small {
|
|
|
|
background-color: @cryptpad_text_col !important;
|
|
|
|
background-color: @cp_kanban-fg !important;
|
|
|
|
color: white;
|
|
|
|
color: @cp_app-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -471,14 +506,14 @@
|
|
|
|
right: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.kanban-trash-active {
|
|
|
|
&.kanban-trash-active {
|
|
|
|
color: @colortheme_notification-warn;
|
|
|
|
color: @cp_kanban-trash-bg;
|
|
|
|
div {
|
|
|
|
div {
|
|
|
|
background: fade(@colortheme_notification-warn, 20%);
|
|
|
|
background: fade(@cp_kanban-trash-bg, 20%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.kanban-trash-suggest {
|
|
|
|
&.kanban-trash-suggest {
|
|
|
|
div {
|
|
|
|
div {
|
|
|
|
background: fade(@cryptpad_text_col, 20%);
|
|
|
|
background: fade(@cp_kanban-fg, 20%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.kanban-item, .kanban-board {
|
|
|
|
.kanban-item, .kanban-board {
|
|
|
@ -489,7 +524,7 @@
|
|
|
|
#kanban-edit {
|
|
|
|
#kanban-edit {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background: transparent;
|
|
|
|
background: transparent;
|
|
|
|
border: 1px solid rgba(0,0,0,0.3);
|
|
|
|
border: 1px solid @cp_kanban-add-hover;
|
|
|
|
color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -497,8 +532,8 @@
|
|
|
|
order: 2;
|
|
|
|
order: 2;
|
|
|
|
width: 300px;
|
|
|
|
width: 300px;
|
|
|
|
margin: 10px 5px;
|
|
|
|
margin: 10px 5px;
|
|
|
|
border: 1px solid @cryptpad_text_col;
|
|
|
|
border: 1px solid @cp_kanban-fg;
|
|
|
|
color: @cryptpad_text_col;
|
|
|
|
color: @cp_kanban-fg;
|
|
|
|
height: 40px;
|
|
|
|
height: 40px;
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
@ -509,7 +544,7 @@
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
.tools_unselectable();
|
|
|
|
.tools_unselectable();
|
|
|
|
&:hover {
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
background-color: @cp_kanban-add-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -571,4 +606,30 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gu-mirror {
|
|
|
|
|
|
|
|
position: fixed !important;
|
|
|
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
|
|
|
z-index: 9999 !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gu-hide {
|
|
|
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gu-unselectable {
|
|
|
|
|
|
|
|
-webkit-user-select: none !important;
|
|
|
|
|
|
|
|
-moz-user-select: none !important;
|
|
|
|
|
|
|
|
-ms-user-select: none !important;
|
|
|
|
|
|
|
|
user-select: none !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gu-transit {
|
|
|
|
|
|
|
|
opacity: 0.2 !important;
|
|
|
|
|
|
|
|
transform: rotate(0deg) !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
margin-button: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|