Merge branch 'staging' into callback
commit
287b80d4b8
@ -1,129 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:export-ydpi="144.92999"
|
||||
inkscape:export-xdpi="144.92999"
|
||||
inkscape:export-filename="/home/david/Dropbox/__active/CryptPad/2020 new identity/cp-static-pages/theme/static/favicon.png"
|
||||
width="280"
|
||||
height="349"
|
||||
viewBox="0 0 74.083368 92.339644"
|
||||
version="1.1"
|
||||
id="svg3107"
|
||||
inkscape:version="1.0.1 (1.0.1+r73)"
|
||||
sodipodi:docname="logo_grey.svg">
|
||||
<defs
|
||||
id="defs3101">
|
||||
<linearGradient
|
||||
id="linearGradient835"
|
||||
osb:paint="solid">
|
||||
<stop
|
||||
style="stop-color:#4591c4;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop833" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.5847433"
|
||||
inkscape:cx="139.75433"
|
||||
inkscape:cy="174.32986"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="g1682"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
inkscape:window-width="1058"
|
||||
inkscape:window-height="1233"
|
||||
inkscape:window-x="1930"
|
||||
inkscape:window-y="50"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata3104">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="g1627"
|
||||
transform="translate(-640.42404,-172.98951)"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none"
|
||||
id="g1619">
|
||||
<path
|
||||
sodipodi:nodetypes="cccccsc"
|
||||
id="path1617"
|
||||
d="m 644.01713,176.89554 h 44.38617 l 22.41393,20.82643 v 24.89856 c 0,26.16643 -21.41404,32.2278 -33.11715,38.40882 -12.81518,-5.89452 -32.79444,-12.3291 -33.11715,-38.40882 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.2922;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g1623"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.2922;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 644.01713,176.89554 h 44.38617 l 22.41393,20.82643 v 24.89856 c 0,26.16643 -21.41404,32.2278 -33.11715,38.40882 -12.81518,-5.89452 -32.79444,-12.3291 -33.11715,-38.40882 z"
|
||||
id="path1621"
|
||||
sodipodi:nodetypes="cccccsc" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-125.38236,-26.44934)"
|
||||
id="g1682">
|
||||
<path
|
||||
id="path1169"
|
||||
style="fill:#949494;fill-opacity:0.39607844;stroke:none;stroke-width:5.2922;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 128.97542,30.355489 0.55499,39.644084 h 33.14062 l 0.004,-39.644084 z" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path1171"
|
||||
style="fill:#949494;fill-opacity:0.39607844;stroke:none;stroke-width:5.2922;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 162.69429,69.999573 0.003,43.945647 C 175.52196,108.0656 195.459,96.867853 195.82394,70.788683 l 0.0108,-0.78911 z" />
|
||||
<path
|
||||
sodipodi:nodetypes="cccccsc"
|
||||
id="path1173"
|
||||
d="m 128.97545,30.355368 h 44.38617 l 22.41393,20.82643 v 24.898565 c 0,26.166427 -21.41404,32.227797 -33.11715,38.408817 -12.81518,-5.89452 -32.79444,-12.3291 -33.11715,-38.408817 z"
|
||||
style="fill:none;stroke:#949494;stroke-width:5.2922;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccc"
|
||||
id="path1175"
|
||||
d="m 171.321,29.810508 v 23.04035 h 24.57459"
|
||||
style="fill:none;stroke:#949494;stroke-width:5.292;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<g
|
||||
transform="matrix(1.1107111,0,0,1.1107111,18.926083,21.931586)"
|
||||
id="g1181"
|
||||
style="fill:#949494;fill-opacity:1">
|
||||
<path
|
||||
id="path1177"
|
||||
style="fill:#949494;fill-opacity:1;stroke:none;stroke-width:5.29167;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.324432"
|
||||
d="m 137.23305,42.718548 a 8.1185341,8.1185341 0 0 1 -8.11853,8.118534 8.1185341,8.1185341 0 0 1 -8.11854,-8.118534 8.1185341,8.1185341 0 0 1 8.11854,-8.118534 8.1185341,8.1185341 0 0 1 8.11853,8.118534 z" />
|
||||
<path
|
||||
id="path1179"
|
||||
style="fill:#949494;fill-opacity:1;stroke:none;stroke-width:5.29167;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.324432"
|
||||
d="m 127.00125,42.651196 h 4.22652 l 4.23333,22.354181 h -12.69318 z"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</g>
|
||||
</g>
|
||||
<svg width="280" height="349" version="1.1" viewBox="0 0 74.083 92.34" xmlns="http://www.w3.org/2000/svg" xmlns:osb="http://www.openswatchbook.org/uri/2009/osb">
|
||||
<g>
|
||||
<g transform="translate(-640.42 -172.99)" style="fill:#ffffff">
|
||||
<g style="fill:#ffffff">
|
||||
<path d="m644.02 176.9h44.386l22.414 20.826v24.899c0 26.166-21.414 32.228-33.117 38.409-12.815-5.8945-32.794-12.329-33.117-38.409z" style="fill:#ffffff"/>
|
||||
</g>
|
||||
<g style="fill:#ffffff">
|
||||
<path d="m644.02 176.9h44.386l22.414 20.826v24.899c0 26.166-21.414 32.228-33.117 38.409-12.815-5.8945-32.794-12.329-33.117-38.409z" style="fill:#ffffff"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="translate(-125.38 -26.449)">
|
||||
<path d="m128.98 30.355 0.55499 39.644h33.141l4e-3 -39.644z" style="fill-opacity:.39608;fill:#949494"/>
|
||||
<path d="m162.69 70 3e-3 43.946c12.825-5.8796 32.762-17.077 33.127-43.157l0.0108-0.78911z" style="fill-opacity:.39608;fill:#949494"/>
|
||||
<path d="m128.98 30.355h44.386l22.414 20.826v24.899c0 26.166-21.414 32.228-33.117 38.409-12.815-5.8945-32.794-12.329-33.117-38.409z" style="fill:none;stroke-width:5.2922;stroke:#949494"/>
|
||||
<path d="m171.32 29.811v23.04h24.575" style="fill:none;stroke-width:5.292;stroke:#949494"/>
|
||||
<g transform="matrix(1.1107 0 0 1.1107 18.926 21.932)" style="fill:#949494">
|
||||
<path d="m137.23 42.719a8.1185 8.1185 0 0 1-8.1185 8.1185 8.1185 8.1185 0 0 1-8.1185-8.1185 8.1185 8.1185 0 0 1 8.1185-8.1185 8.1185 8.1185 0 0 1 8.1185 8.1185z" style="fill:#949494"/>
|
||||
<path d="m127 42.651h4.2265l4.2333 22.354h-12.693z" style="fill:#949494"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 825 KiB After Width: | Height: | Size: 99 KiB |
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
@ -0,0 +1,427 @@
|
||||
@colortheme_font: 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
@colortheme_app-font-size: 16px;
|
||||
@colortheme_app-font-size-small: 13px;
|
||||
@colortheme_app-font: @colortheme_app-font-size @colortheme_font;
|
||||
|
||||
@colortheme_apps: {
|
||||
default: #0087FF;
|
||||
drive: #0087FF; // Used as icon color in index.js (index.html)
|
||||
pad: #256ad5;
|
||||
code: #EAA000;
|
||||
slide: #e57614;
|
||||
poll: #2c9e98;
|
||||
whiteboard: #a72ba7;
|
||||
kanban: #8C4;
|
||||
sheet: #40865c;
|
||||
oodoc: #5170B5;
|
||||
ooslide: #C65D27;
|
||||
file: #CD2532;
|
||||
}
|
||||
|
||||
@colortheme_static_apps: {
|
||||
default: #0087FF;
|
||||
teams: #4A3BBD;
|
||||
contacts: #607B8D;
|
||||
}
|
||||
|
||||
// Colors
|
||||
@cryptpad_color_brand: #0087FF;
|
||||
@cryptpad_color_brand_300: lighten(@cryptpad_color_brand, 30%);
|
||||
@cryptpad_color_brand_fade: fade(@cryptpad_color_brand, 75%);
|
||||
@cryptpad_color_brand_fader: fade(@cryptpad_color_brand, 50%);
|
||||
@cryptpad_color_brand_fadest: fade(@cryptpad_color_brand, 25%);
|
||||
|
||||
// XXX this whole block was copy-pasted from colortheme.less to avoid a reference error --ansuz
|
||||
@cryptpad_color_hint_grey: #777;
|
||||
@cryptpad_color_dark_grey: #999999;
|
||||
@cryptpad_color_neutral_grey: #aaaaaa;
|
||||
@cryptpad_color_neutral2_grey: #cccccc;
|
||||
@cryptpad_color_help_grey: #dddddd;
|
||||
@cryptpad_color_grey: #e0e0e0;
|
||||
@cryptpad_color_toolbar_grey: #EEEEEE;
|
||||
@cryptpad_color_light_grey: #f1f1f1;
|
||||
@cryptpad_color_lighter_grey: #f9f9f9;
|
||||
|
||||
@cryptpad_color_white: #FFF;
|
||||
@cryptpad_color_grey_50: #FAFAFA;
|
||||
@cryptpad_color_grey_100: #F5F5F5;
|
||||
@cryptpad_color_grey_200: #EEEEEE;
|
||||
@cryptpad_color_grey_300: #E0E0E0;
|
||||
@cryptpad_color_grey_400: #BDBDBD;
|
||||
@cryptpad_color_grey_500: #9E9E9E;
|
||||
@cryptpad_color_grey_600: #757575;
|
||||
@cryptpad_color_grey_700: #616161;
|
||||
@cryptpad_color_grey_800: #424242;
|
||||
@cryptpad_color_grey_850: #323232;
|
||||
@cryptpad_color_grey_900: #212121;
|
||||
@cryptpad_color_grey_950: #121212;
|
||||
@cryptpad_color_black: #000;
|
||||
|
||||
@cryptpad_text_col: @cryptpad_color_grey_200;
|
||||
|
||||
@cryptpad_color_blue: #326599; // former logo-1
|
||||
@cryptpad_color_light_blue: #00b7d8;
|
||||
@cryptpad_color_red: #ff1100;
|
||||
@cryptpad_color_red_fade: fade(@cryptpad_color_red, 50%);
|
||||
@cryptpad_color_red_fader: fade(@cryptpad_color_red, 25%);
|
||||
@cryptpad_color_warn_red: @cryptpad_color_red_fade;
|
||||
@cryptpad_color_dark_red: #9e0000;
|
||||
@cryptpad_color_light_red: #FFD4D4;
|
||||
@cryptpad_color_light_red_fade: fade(@cryptpad_color_light_red, 20%);
|
||||
@cryptpad_color_orange: #f49842;
|
||||
@cryptpad_color_green: #5cb85c;
|
||||
@cryptpad_color_green_fade: fade(@cryptpad_color_green, 50%);
|
||||
@cryptpad_color_light_green: #c5ffa8;
|
||||
@cryptpad_color_light_green_fade: fade(@cryptpad_color_light_green, 20%);
|
||||
@cryptpad_color_light_yellow: #FFE69C;
|
||||
@cryptpad_color_yellow_fade: fade(#FFE69C, 15%);
|
||||
@cryptpad_color_lighter_blue: #d2e1f2; // XXX replace with @cryptpad_color_brand_fadest
|
||||
|
||||
@cryptpad_color_link:@cryptpad_color_brand_300;
|
||||
|
||||
// Premium plans colors
|
||||
@cryptpad_color_basic: darken(desaturate(#DDEFFF, 70%), 75%);
|
||||
@cryptpad_color_pro: darken(desaturate(#E4FFDD, 70%), 75%);
|
||||
@cryptpad_color_power: darken(desaturate(#F6DDFF, 70%), 75%);
|
||||
|
||||
@cp_scrollbar-fg: hsla(0,0%,100%,.2);
|
||||
@scrollbar_color: @cp_scrollbar-fg transparent;
|
||||
|
||||
// Loading screen
|
||||
@cp_loading-bg: @cryptpad_color_grey_900;
|
||||
@cp_loading-fg: @cryptpad_text_col;
|
||||
@cp_loading-msg-bg: @cryptpad_color_grey_700;
|
||||
@cp_loading-link: @cryptpad_color_brand_300;
|
||||
@cp_loading-error-bg: @cryptpad_color_warn_red;
|
||||
@cp_loading-error-fg: @cryptpad_text_col;
|
||||
@cp_loading-progress-bg: @cryptpad_color_grey_800;
|
||||
@cp_loading-progress-bar-bg: @cryptpad_color_brand;
|
||||
@cp_loading-spinner: @cryptpad_color_grey_600;
|
||||
|
||||
// Chat
|
||||
@cp_messenger-bg: @cryptpad_color_grey_900;
|
||||
@cp_messenger-fg: @cryptpad_text_col;
|
||||
@cp_messenger-notif: @cryptpad_color_black;
|
||||
@cp_messenger-friend: @cryptpad_color_black;
|
||||
@cp_messenger-online: @cryptpad_color_light_green;
|
||||
|
||||
// Alertify
|
||||
@cp_alertify-bg: @cryptpad_color_grey_800;
|
||||
@cp_alertify-fg: lighten(@cryptpad_color_brand, 30%);
|
||||
@cp_alertify-hover: fade(@cp_alertify-fg, 25%);
|
||||
@cp_alertify-overlay: fade(@cryptpad_color_grey_900, 50%);
|
||||
@cp_alertify-log-bg: fade(@cryptpad_color_brand_300, 90%);
|
||||
@cp_alertify-log-fg: @cryptpad_color_grey_900;
|
||||
@cp_alertify-warn-bg: rgba(205, 37, 50);
|
||||
@cp_alertify-disable-border: @cryptpad_color_grey_600;
|
||||
|
||||
// Forms
|
||||
@cp_forms-fg: @cryptpad_text_col;
|
||||
@cp_forms-bg: @cryptpad_color_grey_700;
|
||||
@cp_forms-border: lighten(@cryptpad_color_brand, 30%);
|
||||
@cp_forms-placeholder: fade(@cryptpad_text_col, 75%);
|
||||
@cp_forms-readonly: @cryptpad_color_brand_fadest;
|
||||
@cp_forms-readonly-border: @cryptpad_color_brand;
|
||||
@cp_forms-disabled: @cryptpad_color_grey_500;
|
||||
|
||||
// Bootstrap alerts
|
||||
@cp_alerts-warning-bg: @cryptpad_color_yellow_fade;
|
||||
@cp_alerts-warning-fg: @cryptpad_color_light_yellow;
|
||||
@cp_alerts-warning-text: @cryptpad_color_light_yellow;
|
||||
@cp_alerts-danger-bg: @cryptpad_color_red_fader;
|
||||
@cp_alerts-danger-fg: @cryptpad_color_light_red;
|
||||
@cp_alerts-danger-text: @cryptpad_color_light_red;
|
||||
@cp_alerts-info-bg: @cryptpad_color_brand_fadest;
|
||||
@cp_alerts-info-text: @cryptpad_color_brand_300;
|
||||
@cp_alerts-info-fg: @cryptpad_color_brand_300;
|
||||
@cp_alerts-success-bg: @cryptpad_color_light_green_fade;
|
||||
@cp_alerts-success-fg: @cryptpad_color_green;
|
||||
@cp_alerts-success-text: @cryptpad_color_light_green;
|
||||
|
||||
// Buttons
|
||||
@cp_buttons-fg: @cryptpad_color_brand_300;
|
||||
@cp_buttons-hover: @cryptpad_color_brand_fadest;
|
||||
@cp_buttons-default: @cryptpad_color_grey_700;
|
||||
@cp_buttons-default-color: @cryptpad_text_col;
|
||||
@cp_buttons-default-border: @cryptpad_text_col;
|
||||
@cp_buttons-red: #E55236;
|
||||
@cp_buttons-red-text: @cryptpad_color_light_red;
|
||||
@cp_buttons-red-color: #FFF;
|
||||
@cp_buttons-red-border: transparent;
|
||||
@cp_buttons-primary: @cryptpad_color_brand;
|
||||
@cp_buttons-primary-text: #FFFFFF;
|
||||
@cp_buttons-primary-border: transparent;
|
||||
@cp_buttons-disabled: #6c757d;
|
||||
@cp_buttons-disabled-text: #ffffff;
|
||||
@cp_buttons-disabled-border: #6c757d;
|
||||
@cp_buttons-cancel: transparent;
|
||||
@cp_buttons-cancel-border: @cryptpad_color_grey_400;
|
||||
|
||||
// Sidebar layout
|
||||
@cp_sidebar-left-bg: @cryptpad_color_grey_800;
|
||||
@cp_sidebar-left-fg: @cryptpad_text_col;
|
||||
@cp_sidebar-right-bg: @cryptpad_color_grey_900;
|
||||
@cp_sidebar-right-fg: @cryptpad_text_col; // XXX was black
|
||||
@cp_sidebar-left-active: @cp_sidebar-right-bg;
|
||||
@cp_sidebar-hint: fade(@cryptpad_text_col, 80%);
|
||||
|
||||
// Drive
|
||||
@cp_drive-bg: @cp_sidebar-right-bg;
|
||||
@cp_drive-fg: @cp_sidebar-right-fg;
|
||||
@cp_drive-header-fg: fade(@cryptpad_text_col, 70%);
|
||||
@cp_drive-icon-hover: fade(@cryptpad_text_col, 5%);
|
||||
@cp_drive-icon-border: fade(@cryptpad_text_col, 20%);
|
||||
@cp_drive-thumb-bg: transparent;
|
||||
@cp_drive-selected-bg: fade(@cryptpad_text_col, 10%);
|
||||
@cp_drive-selected-fg: @cryptpad_text_col;
|
||||
@cp_drive-selection-overlay: fade(@cryptpad_text_col, 5%);
|
||||
@cp_drive-selection-bg: @cryptpad_color_grey_800;
|
||||
@cp_drive-selection-fg: @cryptpad_text_col;
|
||||
@cp_drive-droppable-bg: @cryptpad_color_grey_700;
|
||||
@cp_drive-droppable-fg: @cryptpad_text_col;
|
||||
@cp_drive-infobox-bg: @cryptpad_color_brand_fadest;
|
||||
@cp_drive-infobox-fg: @cryptpad_text_col;
|
||||
@cp_drive-warnbox-bg: @cryptpad_color_warn_red;
|
||||
@cp_drive-warnbox-fg: @cryptpad_text_col;
|
||||
@cp_drive-tree-branch: @cryptpad_text_col;
|
||||
|
||||
// Contextmenu
|
||||
@cp_context-bg: @cryptpad_color_grey_800;
|
||||
@cp_context-border: @cryptpad_color_grey_600;
|
||||
@cp_context-bg-hover: @cryptpad_color_grey_700;
|
||||
@cp_context-bg-active: @cryptpad_color_grey_600;
|
||||
@cp_context-fg: @cryptpad_text_col;
|
||||
@cp_context-icon: @cryptpad_text_col;
|
||||
@cp_context-disabled: @cryptpad_color_grey_600;
|
||||
|
||||
// Tooltip background
|
||||
@cp_tooltip-bg: @cryptpad_color_grey_700;
|
||||
@cp_tooltip-fg: @cryptpad_text_col;
|
||||
|
||||
// Dropdown
|
||||
@cp_dropdown-fg: @cryptpad_text_col;
|
||||
@cp_dropdown-bg: @cryptpad_color_grey_800;
|
||||
@cp_dropdown-bg-hover: @cryptpad_color_grey_700;
|
||||
@cp_dropdown-bg-active: @cryptpad_color_grey_600;
|
||||
|
||||
// Rendered Markdown
|
||||
@cp_markdown-bg: @cryptpad_color_grey_900;
|
||||
@cp_markdown-border: @cryptpad_color_grey_700;
|
||||
@cp_markdown-contrast-fg: white; // XXX
|
||||
@cp_markdown-contrast-bg: @cryptpad_color_grey; // XXX
|
||||
|
||||
// Avatar
|
||||
@cp_avatar-bg: @cryptpad_color_grey_700;
|
||||
@cp_avatar-fg: @cryptpad_text_col;
|
||||
|
||||
// Corner
|
||||
@cp_corner-bg: @cryptpad_color_grey_800;
|
||||
@cp_corner-fg: @cryptpad_color_brand_300;
|
||||
@cp_corner-text: @cryptpad_text_col;
|
||||
|
||||
// Pad Creation Screen
|
||||
@cp_creation-bg: @cryptpad_color_grey_800;
|
||||
@cp_creation-fg: @cryptpad_text_col;
|
||||
@cp_creation-button-bg: @cryptpad_color_brand;
|
||||
@cp_creation-button-fg: @cryptpad_color_white;
|
||||
@cp_creation-error-bg: @cryptpad_color_blue;
|
||||
@cp_creation-error-fg: @cryptpad_color_grey_100; // XXX
|
||||
|
||||
// Export
|
||||
@cp_export-bg: @cryptpad_color_grey_900;
|
||||
@cp_export-fg: @cryptpad_text_col;
|
||||
@cp_export-hint: fade(@cryptpad_text_col, 80%);
|
||||
@cp_export-error-bg: @cryptpad_color_grey_800;
|
||||
@cp_export-error-bg2: @cryptpad_color_red_fader;
|
||||
|
||||
// File upload
|
||||
@cp_upload-fg: @cryptpad_color_brand_300;
|
||||
@cp_upload-header: @cryptpad_color_grey_700;
|
||||
@cp_upload-progress: @cryptpad_color_grey_700;
|
||||
|
||||
// Help
|
||||
@cp_help-bg: @cryptpad_color_grey_800;
|
||||
@cp_help-fg: @cryptpad_text_col;
|
||||
@cp_help-link: @cryptpad_color_link;
|
||||
|
||||
// Static pages
|
||||
@cp_static-bg: @cryptpad_color_grey_900;
|
||||
@cp_static-fg: @cryptpad_text_col;
|
||||
@cp_static-link: @cryptpad_color_brand_300;
|
||||
@cp_static-title: @cryptpad_color_brand;
|
||||
@cp_static-footer: @cryptpad_color_grey_950;
|
||||
@cp_static-footer-border: @cryptpad_color_grey_600;
|
||||
@cp_static-topbar-fg: @cryptpad_color_brand_300;
|
||||
@cp_static-card-bg: @cryptpad_color_grey_800;
|
||||
@cp_static-img-invert-filter: hue-rotate(200grad) invert();
|
||||
|
||||
// Limit
|
||||
@cp_limit-fg: @cryptpad_text_col;
|
||||
@cp-limit-bar-bg: @cryptpad_color_grey_600;
|
||||
@cp-limit-bar-normal: @cryptpad_color_green;
|
||||
@cp-limit-bar-warning: @cryptpad_color_orange;
|
||||
@cp-limit-bar-above: @cryptpad_color_red;
|
||||
|
||||
// Mentions
|
||||
@cp_mentions-bg: @cryptpad_color_grey_700;
|
||||
@cp_mentions-hover: @cryptpad_color_grey_900;
|
||||
|
||||
// Autocomplete
|
||||
@cp_autocomplete-bg: @cryptpad_color_grey_900;
|
||||
@cp_autocomplete-fg: @cryptpad_text_col;
|
||||
@cp_autocomplete-border: @cryptpad_color_grey_700;
|
||||
@cp_autocomplete-hover: @cryptpad_color_brand_fadest;
|
||||
|
||||
// Modals
|
||||
@cp_access-overlay: fade(@cp_alertify-bg, 50%);
|
||||
@cp_snapshots-hover: @cryptpad_color_grey_850;
|
||||
|
||||
// Support
|
||||
@cp_support-bg: @cryptpad_color_grey_800;
|
||||
@cp_support-msg-fg: @cryptpad_text_col;
|
||||
@cp_support-msg-bg: @cryptpad_color_grey_900;
|
||||
@cp_support-header-bg: @cryptpad_color_grey_800;
|
||||
|
||||
// Toolbar
|
||||
@cp_toolbar-bg: @cryptpad_color_grey_900;
|
||||
@cp_toolbar-fg: @cryptpad_text_col;
|
||||
@cp_toolbar-bottom-fg: @cryptpad_text_col;
|
||||
@cp_toolbar-logo-bg: @cryptpad_color_grey_200;
|
||||
|
||||
@cp_toolbar-fade1: fade(@cryptpad_text_col, 10%);
|
||||
@cp_toolbar-fade3: fade(@cryptpad_text_col, 30%);
|
||||
@cp_toolbar-warn: @cp_buttons-red;
|
||||
|
||||
@cp_history-line-bg: @cryptpad_color_grey_900;
|
||||
@cp_history-bg1: @cryptpad_color_grey_600;
|
||||
@cp_history-bg2: @cryptpad_color_grey_800;
|
||||
@cp_history-fg: @cp_toolbar-bottom-fg;
|
||||
|
||||
// Tokenfield
|
||||
@cp_token-bg: @cryptpad_color_grey_700;
|
||||
@cp_token-fg: @cryptpad_text_col;
|
||||
@cp_token-bg-hover: @cryptpad_color_grey_600;
|
||||
@cp_token-invalid: @cryptpad_color_warn_red;
|
||||
|
||||
// Usergrid
|
||||
@cp_usergrid-fg: @cryptpad_text_col;
|
||||
@cp_usergrid-selected-bg: @cryptpad_color_brand;
|
||||
@cp_usergrid-selected-fg: @cryptpad_color_white;
|
||||
|
||||
// Other
|
||||
@cp_shadow-color: fade(@cryptpad_color_black, 60%);
|
||||
|
||||
// Apps
|
||||
@cp_app-bg: @cryptpad_color_grey_900;
|
||||
@cp_app-fg: @cryptpad_text_col;
|
||||
|
||||
// Accounts
|
||||
@cp_accounts-basic: @cryptpad_color_basic;
|
||||
@cp_accounts-pro: @cryptpad_color_pro;
|
||||
@cp_accounts-power: @cryptpad_color_power;
|
||||
@cp_accounts-active: @cryptpad_color_green_fade;
|
||||
@cp_accounts-inactive: @cryptpad_color_red_fade;
|
||||
@cp_accounts-mysubs-alert: @cryptpad_color_grey_700;
|
||||
@cp_accounts-mysubs-bg: @cryptpad_color_grey_800;
|
||||
@cp_accounts-mysubs-fg: @cryptpad_text_col;
|
||||
@cp_accounts-contact-hover: fade(@cryptpad_color_black, 20%);
|
||||
@cp_accounts-tab-bg: @cryptpad_color_grey_800;
|
||||
@cp_accounts-tab-hover: @cryptpad_color_grey_700;
|
||||
@cp_accounts-tab-border: @cryptpad_color_grey_600;
|
||||
|
||||
// Admin
|
||||
@cp_admin-isadmin-fg: @cryptpad_color_brand;
|
||||
@cp_admin-isadmin-bg: @cryptpad_color_white;
|
||||
@cp_admin-premium-fg: @cryptpad_color_warn_red;
|
||||
@cp_admin-premium-bg: lighten(@cryptpad_color_warn_red, 25%);
|
||||
@cp_admin-last-fg: @cryptpad_color_warn_red;
|
||||
@cp_admin-last-bg: lighten(@cryptpad_color_orange, 25%);
|
||||
|
||||
// Code
|
||||
@cp_preview-bg: @cryptpad_color_grey_900;
|
||||
@cp_preview-fg: @cryptpad_text_col;
|
||||
@cp_preview-link: @cryptpad_color_brand_300;
|
||||
|
||||
// Debug
|
||||
@cp_debug-hover: fade(@cryptpad_color_black, 10%);
|
||||
@cp_debug-icon-hover: @cryptpad_color_grey_500;
|
||||
|
||||
// Mediatag
|
||||
@cp_mediatag-text-bg: @cryptpad_color_white;
|
||||
@cp_mediatag-text-fg: @cryptpad_text_col;
|
||||
|
||||
// File
|
||||
@cp_file-progress-bg: @cryptpad_color_brand;
|
||||
@cp_file-progress-fg: @cryptpad_text_col;
|
||||
|
||||
// Kanban
|
||||
@cp_kanban-fg: @cryptpad_text_col;
|
||||
@cp_kanban-item-bg: @cryptpad_color_grey_800;
|
||||
@cp_kanban-link: @cryptpad_color_brand_300;
|
||||
@cp_kanban-board-bg: @cryptpad_color_grey_700;
|
||||
@cp_kanban-conflict-bg: @cryptpad_color_grey_700;
|
||||
@cp_kanban-tags-bg: @cryptpad_color_grey_700;
|
||||
@cp_kanban-add-hover: fade(@cryptpad_color_black, 10%);
|
||||
@cp_kanban-trash-bg: @cryptpad_color_warn_red;
|
||||
@cp_kanban-color0: @cryptpad_color_grey_600;
|
||||
@cp_kanban-colors:
|
||||
darken(desaturate(#FFD4D4,60%), 60%),
|
||||
darken(desaturate(#FFDECA,60%), 60%),
|
||||
darken(desaturate(#FFE69C,55%), 60%),
|
||||
darken(desaturate(#DBFFB7,55%), 70%),
|
||||
darken(desaturate(#AFFDC2,60%), 65%),
|
||||
darken(desaturate(#C9FFFE,60%), 70%),
|
||||
darken(desaturate(#C8D6FF,60%), 60%),
|
||||
darken(desaturate(#E4CAFF,70%), 60%);
|
||||
|
||||
// Notifications
|
||||
@cp_notif-hover: fade(@cryptpad_color_black, 10%);
|
||||
@cp_notif-header-bg: @cryptpad_color_grey_700;
|
||||
@cp_notif-header-fg: @cryptpad_text_col;
|
||||
@cp_notif-table-border: @cryptpad_color_grey_900;
|
||||
@cp_notif-bg: @cryptpad_color_grey_800;
|
||||
@cp_notif-fg: @cryptpad_text_col;
|
||||
|
||||
// OO
|
||||
@cp_oo-offline-overlay: fade(@cryptpad_color_white, 50%);
|
||||
|
||||
// Rich text
|
||||
@cp_pad-fg: @cryptpad_text_col;
|
||||
@cp_pad-icon-filter: invert();
|
||||
// Comments
|
||||
@cp_comments-fg: @cryptpad_text_col;
|
||||
@cp_comments-bg: @cryptpad_color_grey_800;
|
||||
@cp_comments-header: @cryptpad_color_grey_500;
|
||||
|
||||
// Poll
|
||||
@cp_poll-th-bg: @cryptpad_color_brand_fadest;
|
||||
@cp_poll-th-fg: @cryptpad_text_col;
|
||||
@cp_poll-uncommitted-bg: @cryptpad_color_grey_800;
|
||||
@cp_poll-border-color: @cryptpad_color_grey_600;
|
||||
@cp_poll-cell-fg: @cryptpad_text_col;
|
||||
@cp_poll-unset: @cryptpad_color_grey_700;
|
||||
@cp_poll-yes: @cryptpad_color_green_fade;
|
||||
@cp_poll-no: @cryptpad_color_red_fade;
|
||||
@cp_poll-maybe: @cryptpad_color_grey_600;
|
||||
@cp_poll-hint: @cryptpad_color_grey_500;
|
||||
|
||||
// Profile
|
||||
@cp_profile-border: @cryptpad_color_grey_500;
|
||||
@cp_profile-hint: @cryptpad_color_grey_400;
|
||||
|
||||
// SLide
|
||||
@cp_slide-fg: @cp_app-fg;
|
||||
@cp_slide-css-error: @cryptpad_color_red_fader;
|
||||
|
||||
// Teams
|
||||
@cp_teams-card-bg: @cryptpad_color_grey_800;
|
||||
@cp_teams-leftside-bg: darken(@cryptpad_color_grey_800, 5%);
|
||||
@cp_teams-invite-bg: fade(@cryptpad_color_brand, 50%);
|
||||
@cp_teams-invite-fg: @cryptpad_text_col;
|
||||
@cp_teams-roster-odd: fade(@cryptpad_text_col, 15%);
|
||||
|
||||
// Whiteboard
|
||||
@cp_whiteboard-board-bg: @cryptpad_color_grey_950;
|
||||
@cp_whiteboard-board-border: @cryptpad_color_grey_800;
|
||||
@cp_whiteboard-bg: @cp_app-bg;
|
||||
@cp_whiteboard-fg: @cryptpad_text_col;
|
@ -0,0 +1,212 @@
|
||||
@import (reference) "./colortheme-all.less";
|
||||
@import (reference) "./password-input.less";
|
||||
@import (reference) "./forms.less";
|
||||
@import (reference) "./tools.less";
|
||||
|
||||
#cp-loading {
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.eot');
|
||||
src: url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.woff') format('woff'),
|
||||
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.ttf') format('truetype'),
|
||||
url('/bower_components/open-sans-fontface/fonts/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.password_main();
|
||||
.forms_main();
|
||||
visibility: visible;
|
||||
position: fixed;
|
||||
z-index: 10000000;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
background-color: @cp_loading-bg;
|
||||
color: @cp_loading-fg;
|
||||
font-size: 1.3em;
|
||||
line-height: 120%;
|
||||
opacity: 1;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font: 20px 'Open Sans', 'Helvetica Neue', sans-serif !important;
|
||||
&.cp-loading-transparent {
|
||||
background-color: fade(@cp_loading-bg, 70%);
|
||||
}
|
||||
&.cp-loading-hidden {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.75s, visibility 0s 0.75s;
|
||||
}
|
||||
.cp-loading-logo {
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
margin-top: 50px;
|
||||
flex: 0 1 auto;
|
||||
min-height: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.cp-loading-logo img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.cp-loading-container {
|
||||
width: 700px;
|
||||
max-width: 90vw;
|
||||
height: 236px;
|
||||
max-height: calc(100vh - 20px);
|
||||
margin: 50px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
}
|
||||
.cp-loading-cryptofist {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 90vw;
|
||||
max-height: 300px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
font-size: 16px !important;
|
||||
.cp-loading-container {
|
||||
height: 206px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-height: 700px) {
|
||||
font-size: 16px !important;
|
||||
.cp-loading-container {
|
||||
height: 206px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-height: 500px) {
|
||||
.cp-loading-logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
#cp-loading-message {
|
||||
background: @cp_loading-msg-bg;
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
color: @cp_loading-fg;
|
||||
text-align: left;
|
||||
display: none;
|
||||
a {
|
||||
color: @cp_loading-link;
|
||||
}
|
||||
}
|
||||
|
||||
#cp-loading-password-prompt {
|
||||
p.cp-password-error {
|
||||
color: @cp_loading-error-fg;
|
||||
background: @cp_loading-error-bg;
|
||||
padding: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.cp-password-form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
.cp-password-container {
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.cp-password-reveal {
|
||||
padding: 0px 24px;
|
||||
}
|
||||
}
|
||||
.cp-password-input {
|
||||
font-size: 16px;
|
||||
}
|
||||
.tools_placeholder-color();
|
||||
}
|
||||
|
||||
p.cp-password-info {
|
||||
text-align: left;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.cp-loading-spinner-container {
|
||||
position: relative;
|
||||
height: 80px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.cp-loading-progress {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
p {
|
||||
margin: 5px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.cp-loading-progress-list {
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
margin-bottom: 50px;
|
||||
max-width: 100%;
|
||||
ul {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
li {
|
||||
padding: 0px 5px;
|
||||
.tools_unselectable();
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
i {
|
||||
width: 22px;
|
||||
}
|
||||
span {
|
||||
margin-left: 10px;
|
||||
&.percent {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cp-loading-progress-bar {
|
||||
height: 24px;
|
||||
background: @cp_loading-progress-bg;
|
||||
border: 1px solid @cp_loading-progress-bar-bg;
|
||||
}
|
||||
.cp-loading-progress-bar-value {
|
||||
height: 100%;
|
||||
background: @cp_loading-progress-bar-bg;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(1800deg);
|
||||
}
|
||||
}
|
||||
|
||||
.cp-spinner {
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border: 11px solid @cp_loading-spinner;
|
||||
border-radius: 50%;
|
||||
border-top-color: transparent;
|
||||
animation: spin infinite 3s;
|
||||
animation-timing-function: cubic-bezier(.6,0.15,0.4,0.85);
|
||||
}
|
||||
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
```javascript
|
||||
CryptPad_AsyncStore.rpc.send('ADMIN',
|
||||
['GET_WORKER_PROFILES'],
|
||||
(e, _o) => {
|
||||
var o = _o[0];
|
||||
// console.log(o[0])
|
||||
var sorted = Object.keys(o).sort(function (a, b) {
|
||||
if (o[b] - o[a] <= 0) { return -1; }
|
||||
return 1;
|
||||
});
|
||||
var x = {};
|
||||
//console.log(sorted);
|
||||
var total = 0;
|
||||
sorted.forEach(function (k) { total += o[k]; });
|
||||
sorted.forEach(function (k) {
|
||||
console.log("[%s] %ss running time (%s%)", k, o[k], Math.floor((o[k] / total) * 100));
|
||||
});
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
|
@ -1,52 +0,0 @@
|
||||
@import (reference) '../customize/src/less2/include/colortheme-all.less';
|
||||
@import (reference) '../customize/src/less2/include/modal.less';
|
||||
|
||||
.fileDialog_main () {
|
||||
#fileDialog {
|
||||
.modal_main();
|
||||
display: none;
|
||||
.cp-modal {
|
||||
.fileContainer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.element {
|
||||
@darker: darken(@colortheme_modal-fg, 30%);
|
||||
|
||||
width: 200px;
|
||||
min-width: 200px;
|
||||
height: 1em;
|
||||
padding: 0.5em;
|
||||
margin: 5px;
|
||||
box-sizing: content-box;
|
||||
|
||||
text-align: left;
|
||||
line-height: 1em;
|
||||
cursor: pointer;
|
||||
|
||||
background-color: #111;
|
||||
color: @darker;
|
||||
|
||||
transition: all 0.1s;
|
||||
|
||||
&:hover {
|
||||
color: @colortheme_modal-fg;
|
||||
}
|
||||
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
align-items: center;
|
||||
|
||||
.fa {
|
||||
cursor: pointer;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
/*
|
||||
|
||||
Dracula Theme v1.2.0
|
||||
|
||||
https://github.com/zenorocha/dracula-theme
|
||||
|
||||
Copyright 2015, All rights reserved
|
||||
|
||||
Code licensed under the MIT license
|
||||
http://zenorocha.mit-license.org
|
||||
|
||||
@author Éverton Ribeiro <nuxlli@gmail.com>
|
||||
@author Zeno Rocha <hi@zenorocha.com>
|
||||
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-section,
|
||||
.hljs-link {
|
||||
color: #8be9fd;
|
||||
}
|
||||
|
||||
.hljs-function .hljs-keyword {
|
||||
color: #ff79c6;
|
||||
}
|
||||
|
||||
.hljs,
|
||||
.hljs-subst {
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-title,
|
||||
.hljs-name,
|
||||
.hljs-type,
|
||||
.hljs-attribute,
|
||||
.hljs-symbol,
|
||||
.hljs-bullet,
|
||||
.hljs-addition,
|
||||
.hljs-variable,
|
||||
.hljs-template-tag,
|
||||
.hljs-template-variable {
|
||||
color: #f1fa8c;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote,
|
||||
.hljs-deletion,
|
||||
.hljs-meta {
|
||||
color: #6272a4;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-doctag,
|
||||
.hljs-type,
|
||||
.hljs-name,
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
.markdown_preformatted-code (@color: #333) {
|
||||
pre > code {
|
||||
display: block;
|
||||
position: relative;
|
||||
border: 1px solid @color;
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
padding-left: .25vw;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown_gfm-table (@color: black) {
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
tr {
|
||||
th {
|
||||
border: 3px solid @color;
|
||||
padding: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// todo ul, ol
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue