Dark Drive export

pull/1/head
David Benqué 4 years ago
parent 63714fb682
commit 3d095afe2c

@ -224,11 +224,11 @@
@cp_creation-error-fg: @cryptpad_color_light_grey; @cp_creation-error-fg: @cryptpad_color_light_grey;
// Export // Export
@cp_export-bg: @cryptpad_color_white; @cp_export-bg: @cryptpad_color_grey_900;
@cp_export-fg: @cryptpad_text_col; @cp_export-fg: @cryptpad_text_col;
@cp_export-hint: @cryptpad_color_hint_grey; @cp_export-hint: fade(@cryptpad_text_col, 80%);
@cp_export-error-bg: @cryptpad_color_grey; @cp_export-error-bg: @cryptpad_color_grey_800;
@cp_export-error-bg2: @cryptpad_color_neutral2_grey; @cp_export-error-bg2: @cryptpad_color_red_fader;
// File upload // File upload
@cp_upload-fg: @cryptpad_color_brand_300; @cp_upload-fg: @cryptpad_color_brand_300;

@ -224,11 +224,11 @@
@cp_creation-error-fg: @cryptpad_color_light_grey; @cp_creation-error-fg: @cryptpad_color_light_grey;
// Export // Export
@cp_export-bg: @cryptpad_color_white; @cp_export-bg: @cryptpad_color_grey_200;
@cp_export-fg: @cryptpad_text_col; @cp_export-fg: @cryptpad_text_col;
@cp_export-hint: @cryptpad_color_hint_grey; @cp_export-hint: fade(@cryptpad_text_col, 80%);
@cp_export-error-bg: @cryptpad_color_grey; @cp_export-error-bg: @cryptpad_color_grey_300;
@cp_export-error-bg2: @cryptpad_color_neutral2_grey; @cp_export-error-bg2: @cryptpad_color_red_fader;
// File upload // File upload
@cp_upload-fg: @cryptpad_color_brand; @cp_upload-fg: @cryptpad_color_brand;

@ -14,14 +14,14 @@
// XXX Keep hardcoded progress bar colors for now... // XXX Keep hardcoded progress bar colors for now...
.cp-export-progress-bar-container { .cp-export-progress-bar-container {
height: 24px; height: 24px;
background: white; background: @cp_loading-progress-bg;
border: 1px solid @cryptpad_color_grey; border: 1px solid @cp_loading-progress-bar-bg;
width: 80%; width: 80%;
margin: auto; margin: auto;
position: relative; position: relative;
.cp-export-progress-bar { .cp-export-progress-bar {
height: 100%; height: 100%;
background: #5cb85c; // Same color as loading screen bar background: @cp_loading-progress-bar-bg; // Same color as loading screen bar
width: 0%; width: 0%;
display: inline-block; display: inline-block;
} }
@ -62,7 +62,6 @@
overflow-x: auto; overflow-x: auto;
max-height: 300px; max-height: 300px;
background: @cp_export-error-bg; background: @cp_export-error-bg;
border: 1px solid @cp_export-hint;
padding: 5px 20px; padding: 5px 20px;
margin-top: 1rem; margin-top: 1rem;
& > p { & > p {
@ -79,6 +78,9 @@
.link { .link {
padding: 0 20px; padding: 0 20px;
font-size: 14px; font-size: 14px;
a {
color: @cp_loading-link;
}
} }
.reason { .reason {
padding: 0 20px; padding: 0 20px;

Loading…
Cancel
Save