mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-19 15:19:15 +00:00
fix: update bs
This commit is contained in:
parent
fe51efc049
commit
2c7edd87ae
|
@ -7,3 +7,4 @@ readers do not read off random characters that represent icons */
|
||||||
@each $name, $icon in $fa-icons {
|
@each $name, $icon in $fa-icons {
|
||||||
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
|
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -382,6 +382,7 @@ $fa-var-face-grin-wide: \f581;
|
||||||
$fa-var-grin-alt: \f581;
|
$fa-var-grin-alt: \f581;
|
||||||
$fa-var-tooth: \f5c9;
|
$fa-var-tooth: \f5c9;
|
||||||
$fa-var-v: \56;
|
$fa-var-v: \56;
|
||||||
|
$fa-var-bangladeshi-taka-sign: \e2e6;
|
||||||
$fa-var-bicycle: \f206;
|
$fa-var-bicycle: \f206;
|
||||||
$fa-var-staff-snake: \e579;
|
$fa-var-staff-snake: \e579;
|
||||||
$fa-var-rod-asclepius: \e579;
|
$fa-var-rod-asclepius: \e579;
|
||||||
|
@ -1239,7 +1240,6 @@ $fa-var-dna: \f471;
|
||||||
$fa-var-virus-slash: \e075;
|
$fa-var-virus-slash: \e075;
|
||||||
$fa-var-minus: \f068;
|
$fa-var-minus: \f068;
|
||||||
$fa-var-subtract: \f068;
|
$fa-var-subtract: \f068;
|
||||||
$fa-var-child-rifle: \e4e0;
|
|
||||||
$fa-var-chess: \f439;
|
$fa-var-chess: \f439;
|
||||||
$fa-var-arrow-left-long: \f177;
|
$fa-var-arrow-left-long: \f177;
|
||||||
$fa-var-long-arrow-left: \f177;
|
$fa-var-long-arrow-left: \f177;
|
||||||
|
@ -1609,6 +1609,8 @@ $fa-var-grip: \f58d;
|
||||||
$fa-var-grip-horizontal: \f58d;
|
$fa-var-grip-horizontal: \f58d;
|
||||||
$fa-var-share-from-square: \f14d;
|
$fa-var-share-from-square: \f14d;
|
||||||
$fa-var-share-square: \f14d;
|
$fa-var-share-square: \f14d;
|
||||||
|
$fa-var-child-combatant: \e4e0;
|
||||||
|
$fa-var-child-rifle: \e4e0;
|
||||||
$fa-var-gun: \e19b;
|
$fa-var-gun: \e19b;
|
||||||
$fa-var-square-phone: \f098;
|
$fa-var-square-phone: \f098;
|
||||||
$fa-var-phone-square: \f098;
|
$fa-var-phone-square: \f098;
|
||||||
|
@ -1668,6 +1670,7 @@ $fa-var-holly-berry: \f7aa;
|
||||||
$fa-var-chevron-left: \f053;
|
$fa-var-chevron-left: \f053;
|
||||||
$fa-var-bacteria: \e059;
|
$fa-var-bacteria: \e059;
|
||||||
$fa-var-hand-lizard: \f258;
|
$fa-var-hand-lizard: \f258;
|
||||||
|
$fa-var-notdef: \e1fe;
|
||||||
$fa-var-disease: \f7fa;
|
$fa-var-disease: \f7fa;
|
||||||
$fa-var-briefcase-medical: \f469;
|
$fa-var-briefcase-medical: \f469;
|
||||||
$fa-var-genderless: \f22d;
|
$fa-var-genderless: \f22d;
|
||||||
|
@ -1870,7 +1873,6 @@ $fa-var-exclamation-triangle: \f071;
|
||||||
$fa-var-warning: \f071;
|
$fa-var-warning: \f071;
|
||||||
$fa-var-database: \f1c0;
|
$fa-var-database: \f1c0;
|
||||||
$fa-var-share: \f064;
|
$fa-var-share: \f064;
|
||||||
$fa-var-arrow-turn-right: \f064;
|
|
||||||
$fa-var-mail-forward: \f064;
|
$fa-var-mail-forward: \f064;
|
||||||
$fa-var-bottle-droplet: \e4c4;
|
$fa-var-bottle-droplet: \e4c4;
|
||||||
$fa-var-mask-face: \e1d7;
|
$fa-var-mask-face: \e1d7;
|
||||||
|
@ -2009,6 +2011,7 @@ $fa-var-redhat: \f7bc;
|
||||||
$fa-var-yoast: \f2b1;
|
$fa-var-yoast: \f2b1;
|
||||||
$fa-var-cloudflare: \e07d;
|
$fa-var-cloudflare: \e07d;
|
||||||
$fa-var-ups: \f7e0;
|
$fa-var-ups: \f7e0;
|
||||||
|
$fa-var-pixiv: \e640;
|
||||||
$fa-var-wpexplorer: \f2de;
|
$fa-var-wpexplorer: \f2de;
|
||||||
$fa-var-dyalog: \f399;
|
$fa-var-dyalog: \f399;
|
||||||
$fa-var-bity: \f37a;
|
$fa-var-bity: \f37a;
|
||||||
|
@ -2044,6 +2047,7 @@ $fa-var-vimeo-v: \f27d;
|
||||||
$fa-var-contao: \f26d;
|
$fa-var-contao: \f26d;
|
||||||
$fa-var-square-font-awesome: \e5ad;
|
$fa-var-square-font-awesome: \e5ad;
|
||||||
$fa-var-deskpro: \f38f;
|
$fa-var-deskpro: \f38f;
|
||||||
|
$fa-var-brave: \e63c;
|
||||||
$fa-var-sistrix: \f3ee;
|
$fa-var-sistrix: \f3ee;
|
||||||
$fa-var-square-instagram: \e055;
|
$fa-var-square-instagram: \e055;
|
||||||
$fa-var-instagram-square: \e055;
|
$fa-var-instagram-square: \e055;
|
||||||
|
@ -2052,6 +2056,7 @@ $fa-var-the-red-yeti: \f69d;
|
||||||
$fa-var-square-hacker-news: \f3af;
|
$fa-var-square-hacker-news: \f3af;
|
||||||
$fa-var-hacker-news-square: \f3af;
|
$fa-var-hacker-news-square: \f3af;
|
||||||
$fa-var-edge: \f282;
|
$fa-var-edge: \f282;
|
||||||
|
$fa-var-threads: \e618;
|
||||||
$fa-var-napster: \f3d2;
|
$fa-var-napster: \f3d2;
|
||||||
$fa-var-square-snapchat: \f2ad;
|
$fa-var-square-snapchat: \f2ad;
|
||||||
$fa-var-snapchat-square: \f2ad;
|
$fa-var-snapchat-square: \f2ad;
|
||||||
|
@ -2099,6 +2104,7 @@ $fa-var-meetup: \f2e0;
|
||||||
$fa-var-centos: \f789;
|
$fa-var-centos: \f789;
|
||||||
$fa-var-adn: \f170;
|
$fa-var-adn: \f170;
|
||||||
$fa-var-cloudsmith: \f384;
|
$fa-var-cloudsmith: \f384;
|
||||||
|
$fa-var-opensuse: \e62b;
|
||||||
$fa-var-pied-piper-alt: \f1a8;
|
$fa-var-pied-piper-alt: \f1a8;
|
||||||
$fa-var-square-dribbble: \f397;
|
$fa-var-square-dribbble: \f397;
|
||||||
$fa-var-dribbble-square: \f397;
|
$fa-var-dribbble-square: \f397;
|
||||||
|
@ -2108,6 +2114,7 @@ $fa-var-mix: \f3cb;
|
||||||
$fa-var-steam: \f1b6;
|
$fa-var-steam: \f1b6;
|
||||||
$fa-var-cc-apple-pay: \f416;
|
$fa-var-cc-apple-pay: \f416;
|
||||||
$fa-var-scribd: \f28a;
|
$fa-var-scribd: \f28a;
|
||||||
|
$fa-var-debian: \e60b;
|
||||||
$fa-var-openid: \f19b;
|
$fa-var-openid: \f19b;
|
||||||
$fa-var-instalod: \e081;
|
$fa-var-instalod: \e081;
|
||||||
$fa-var-expeditedssl: \f23e;
|
$fa-var-expeditedssl: \f23e;
|
||||||
|
@ -2146,6 +2153,7 @@ $fa-var-meta: \e49b;
|
||||||
$fa-var-laravel: \f3bd;
|
$fa-var-laravel: \f3bd;
|
||||||
$fa-var-hotjar: \f3b1;
|
$fa-var-hotjar: \f3b1;
|
||||||
$fa-var-bluetooth-b: \f294;
|
$fa-var-bluetooth-b: \f294;
|
||||||
|
$fa-var-square-letterboxd: \e62e;
|
||||||
$fa-var-sticker-mule: \f3f7;
|
$fa-var-sticker-mule: \f3f7;
|
||||||
$fa-var-creative-commons-zero: \f4f3;
|
$fa-var-creative-commons-zero: \f4f3;
|
||||||
$fa-var-hips: \f452;
|
$fa-var-hips: \f452;
|
||||||
|
@ -2157,6 +2165,7 @@ $fa-var-app-store-ios: \f370;
|
||||||
$fa-var-cc-discover: \f1f2;
|
$fa-var-cc-discover: \f1f2;
|
||||||
$fa-var-wpbeginner: \f297;
|
$fa-var-wpbeginner: \f297;
|
||||||
$fa-var-confluence: \f78d;
|
$fa-var-confluence: \f78d;
|
||||||
|
$fa-var-shoelace: \e60c;
|
||||||
$fa-var-mdb: \f8ca;
|
$fa-var-mdb: \f8ca;
|
||||||
$fa-var-dochub: \f394;
|
$fa-var-dochub: \f394;
|
||||||
$fa-var-accessible-icon: \f368;
|
$fa-var-accessible-icon: \f368;
|
||||||
|
@ -2188,6 +2197,7 @@ $fa-var-fedex: \f797;
|
||||||
$fa-var-phoenix-framework: \f3dc;
|
$fa-var-phoenix-framework: \f3dc;
|
||||||
$fa-var-shopify: \e057;
|
$fa-var-shopify: \e057;
|
||||||
$fa-var-neos: \f612;
|
$fa-var-neos: \f612;
|
||||||
|
$fa-var-square-threads: \e619;
|
||||||
$fa-var-hackerrank: \f5f7;
|
$fa-var-hackerrank: \f5f7;
|
||||||
$fa-var-researchgate: \f4f8;
|
$fa-var-researchgate: \f4f8;
|
||||||
$fa-var-swift: \f8e1;
|
$fa-var-swift: \f8e1;
|
||||||
|
@ -2197,6 +2207,7 @@ $fa-var-angrycreative: \f36e;
|
||||||
$fa-var-y-combinator: \f23b;
|
$fa-var-y-combinator: \f23b;
|
||||||
$fa-var-empire: \f1d1;
|
$fa-var-empire: \f1d1;
|
||||||
$fa-var-envira: \f299;
|
$fa-var-envira: \f299;
|
||||||
|
$fa-var-google-scholar: \e63b;
|
||||||
$fa-var-square-gitlab: \e5ae;
|
$fa-var-square-gitlab: \e5ae;
|
||||||
$fa-var-gitlab-square: \e5ae;
|
$fa-var-gitlab-square: \e5ae;
|
||||||
$fa-var-studiovinari: \f3f8;
|
$fa-var-studiovinari: \f3f8;
|
||||||
|
@ -2241,6 +2252,7 @@ $fa-var-less: \f41d;
|
||||||
$fa-var-blogger-b: \f37d;
|
$fa-var-blogger-b: \f37d;
|
||||||
$fa-var-opencart: \f23d;
|
$fa-var-opencart: \f23d;
|
||||||
$fa-var-vine: \f1ca;
|
$fa-var-vine: \f1ca;
|
||||||
|
$fa-var-signal-messenger: \e663;
|
||||||
$fa-var-paypal: \f1ed;
|
$fa-var-paypal: \f1ed;
|
||||||
$fa-var-gitlab: \f296;
|
$fa-var-gitlab: \f296;
|
||||||
$fa-var-typo3: \f42b;
|
$fa-var-typo3: \f42b;
|
||||||
|
@ -2252,6 +2264,7 @@ $fa-var-pied-piper-pp: \f1a7;
|
||||||
$fa-var-bootstrap: \f836;
|
$fa-var-bootstrap: \f836;
|
||||||
$fa-var-odnoklassniki: \f263;
|
$fa-var-odnoklassniki: \f263;
|
||||||
$fa-var-nfc-symbol: \e531;
|
$fa-var-nfc-symbol: \e531;
|
||||||
|
$fa-var-mintbit: \e62f;
|
||||||
$fa-var-ethereum: \f42e;
|
$fa-var-ethereum: \f42e;
|
||||||
$fa-var-speaker-deck: \f83c;
|
$fa-var-speaker-deck: \f83c;
|
||||||
$fa-var-creative-commons-nc-eu: \f4e9;
|
$fa-var-creative-commons-nc-eu: \f4e9;
|
||||||
|
@ -2260,6 +2273,7 @@ $fa-var-avianex: \f374;
|
||||||
$fa-var-ello: \f5f1;
|
$fa-var-ello: \f5f1;
|
||||||
$fa-var-gofore: \f3a7;
|
$fa-var-gofore: \f3a7;
|
||||||
$fa-var-bimobject: \f378;
|
$fa-var-bimobject: \f378;
|
||||||
|
$fa-var-brave-reverse: \e63d;
|
||||||
$fa-var-facebook-f: \f39e;
|
$fa-var-facebook-f: \f39e;
|
||||||
$fa-var-square-google-plus: \f0d4;
|
$fa-var-square-google-plus: \f0d4;
|
||||||
$fa-var-google-plus-square: \f0d4;
|
$fa-var-google-plus-square: \f0d4;
|
||||||
|
@ -2294,6 +2308,7 @@ $fa-var-viber: \f409;
|
||||||
$fa-var-soundcloud: \f1be;
|
$fa-var-soundcloud: \f1be;
|
||||||
$fa-var-digg: \f1a6;
|
$fa-var-digg: \f1a6;
|
||||||
$fa-var-tencent-weibo: \f1d5;
|
$fa-var-tencent-weibo: \f1d5;
|
||||||
|
$fa-var-letterboxd: \e62d;
|
||||||
$fa-var-symfony: \f83d;
|
$fa-var-symfony: \f83d;
|
||||||
$fa-var-maxcdn: \f136;
|
$fa-var-maxcdn: \f136;
|
||||||
$fa-var-etsy: \f2d7;
|
$fa-var-etsy: \f2d7;
|
||||||
|
@ -2302,6 +2317,7 @@ $fa-var-audible: \f373;
|
||||||
$fa-var-think-peaks: \f731;
|
$fa-var-think-peaks: \f731;
|
||||||
$fa-var-bilibili: \e3d9;
|
$fa-var-bilibili: \e3d9;
|
||||||
$fa-var-erlang: \f39d;
|
$fa-var-erlang: \f39d;
|
||||||
|
$fa-var-x-twitter: \e61b;
|
||||||
$fa-var-cotton-bureau: \f89e;
|
$fa-var-cotton-bureau: \f89e;
|
||||||
$fa-var-dashcube: \f210;
|
$fa-var-dashcube: \f210;
|
||||||
$fa-var-42-group: \e080;
|
$fa-var-42-group: \e080;
|
||||||
|
@ -2339,6 +2355,7 @@ $fa-var-cc-amazon-pay: \f42d;
|
||||||
$fa-var-dropbox: \f16b;
|
$fa-var-dropbox: \f16b;
|
||||||
$fa-var-instagram: \f16d;
|
$fa-var-instagram: \f16d;
|
||||||
$fa-var-cmplid: \e360;
|
$fa-var-cmplid: \e360;
|
||||||
|
$fa-var-upwork: \e641;
|
||||||
$fa-var-facebook: \f09a;
|
$fa-var-facebook: \f09a;
|
||||||
$fa-var-gripfire: \f3ac;
|
$fa-var-gripfire: \f3ac;
|
||||||
$fa-var-jedi-order: \f50e;
|
$fa-var-jedi-order: \f50e;
|
||||||
|
@ -2397,6 +2414,7 @@ $fa-var-wix: \f5cf;
|
||||||
$fa-var-square-behance: \f1b5;
|
$fa-var-square-behance: \f1b5;
|
||||||
$fa-var-behance-square: \f1b5;
|
$fa-var-behance-square: \f1b5;
|
||||||
$fa-var-supple: \f3f9;
|
$fa-var-supple: \f3f9;
|
||||||
|
$fa-var-webflow: \e65c;
|
||||||
$fa-var-rebel: \f1d0;
|
$fa-var-rebel: \f1d0;
|
||||||
$fa-var-css3: \f13c;
|
$fa-var-css3: \f13c;
|
||||||
$fa-var-staylinked: \f3f5;
|
$fa-var-staylinked: \f3f5;
|
||||||
|
@ -2451,9 +2469,11 @@ $fa-var-btc: \f15a;
|
||||||
$fa-var-dribbble: \f17d;
|
$fa-var-dribbble: \f17d;
|
||||||
$fa-var-stumbleupon-circle: \f1a3;
|
$fa-var-stumbleupon-circle: \f1a3;
|
||||||
$fa-var-internet-explorer: \f26b;
|
$fa-var-internet-explorer: \f26b;
|
||||||
|
$fa-var-stubber: \e5c7;
|
||||||
$fa-var-telegram: \f2c6;
|
$fa-var-telegram: \f2c6;
|
||||||
$fa-var-telegram-plane: \f2c6;
|
$fa-var-telegram-plane: \f2c6;
|
||||||
$fa-var-old-republic: \f510;
|
$fa-var-old-republic: \f510;
|
||||||
|
$fa-var-odysee: \e5c6;
|
||||||
$fa-var-square-whatsapp: \f40c;
|
$fa-var-square-whatsapp: \f40c;
|
||||||
$fa-var-whatsapp-square: \f40c;
|
$fa-var-whatsapp-square: \f40c;
|
||||||
$fa-var-node-js: \f3d3;
|
$fa-var-node-js: \f3d3;
|
||||||
|
@ -2465,6 +2485,7 @@ $fa-var-usb: \f287;
|
||||||
$fa-var-tumblr: \f173;
|
$fa-var-tumblr: \f173;
|
||||||
$fa-var-vaadin: \f408;
|
$fa-var-vaadin: \f408;
|
||||||
$fa-var-quora: \f2c4;
|
$fa-var-quora: \f2c4;
|
||||||
|
$fa-var-square-x-twitter: \e61a;
|
||||||
$fa-var-reacteurope: \f75d;
|
$fa-var-reacteurope: \f75d;
|
||||||
$fa-var-medium: \f23a;
|
$fa-var-medium: \f23a;
|
||||||
$fa-var-medium-m: \f23a;
|
$fa-var-medium-m: \f23a;
|
||||||
|
@ -2832,6 +2853,7 @@ $fa-icons: (
|
||||||
"grin-alt": $fa-var-grin-alt,
|
"grin-alt": $fa-var-grin-alt,
|
||||||
"tooth": $fa-var-tooth,
|
"tooth": $fa-var-tooth,
|
||||||
"v": $fa-var-v,
|
"v": $fa-var-v,
|
||||||
|
"bangladeshi-taka-sign": $fa-var-bangladeshi-taka-sign,
|
||||||
"bicycle": $fa-var-bicycle,
|
"bicycle": $fa-var-bicycle,
|
||||||
"staff-snake": $fa-var-staff-snake,
|
"staff-snake": $fa-var-staff-snake,
|
||||||
"rod-asclepius": $fa-var-rod-asclepius,
|
"rod-asclepius": $fa-var-rod-asclepius,
|
||||||
|
@ -3689,7 +3711,6 @@ $fa-icons: (
|
||||||
"virus-slash": $fa-var-virus-slash,
|
"virus-slash": $fa-var-virus-slash,
|
||||||
"minus": $fa-var-minus,
|
"minus": $fa-var-minus,
|
||||||
"subtract": $fa-var-subtract,
|
"subtract": $fa-var-subtract,
|
||||||
"child-rifle": $fa-var-child-rifle,
|
|
||||||
"chess": $fa-var-chess,
|
"chess": $fa-var-chess,
|
||||||
"arrow-left-long": $fa-var-arrow-left-long,
|
"arrow-left-long": $fa-var-arrow-left-long,
|
||||||
"long-arrow-left": $fa-var-long-arrow-left,
|
"long-arrow-left": $fa-var-long-arrow-left,
|
||||||
|
@ -4059,6 +4080,8 @@ $fa-icons: (
|
||||||
"grip-horizontal": $fa-var-grip-horizontal,
|
"grip-horizontal": $fa-var-grip-horizontal,
|
||||||
"share-from-square": $fa-var-share-from-square,
|
"share-from-square": $fa-var-share-from-square,
|
||||||
"share-square": $fa-var-share-square,
|
"share-square": $fa-var-share-square,
|
||||||
|
"child-combatant": $fa-var-child-combatant,
|
||||||
|
"child-rifle": $fa-var-child-rifle,
|
||||||
"gun": $fa-var-gun,
|
"gun": $fa-var-gun,
|
||||||
"square-phone": $fa-var-square-phone,
|
"square-phone": $fa-var-square-phone,
|
||||||
"phone-square": $fa-var-phone-square,
|
"phone-square": $fa-var-phone-square,
|
||||||
|
@ -4118,6 +4141,7 @@ $fa-icons: (
|
||||||
"chevron-left": $fa-var-chevron-left,
|
"chevron-left": $fa-var-chevron-left,
|
||||||
"bacteria": $fa-var-bacteria,
|
"bacteria": $fa-var-bacteria,
|
||||||
"hand-lizard": $fa-var-hand-lizard,
|
"hand-lizard": $fa-var-hand-lizard,
|
||||||
|
"notdef": $fa-var-notdef,
|
||||||
"disease": $fa-var-disease,
|
"disease": $fa-var-disease,
|
||||||
"briefcase-medical": $fa-var-briefcase-medical,
|
"briefcase-medical": $fa-var-briefcase-medical,
|
||||||
"genderless": $fa-var-genderless,
|
"genderless": $fa-var-genderless,
|
||||||
|
@ -4320,7 +4344,6 @@ $fa-icons: (
|
||||||
"warning": $fa-var-warning,
|
"warning": $fa-var-warning,
|
||||||
"database": $fa-var-database,
|
"database": $fa-var-database,
|
||||||
"share": $fa-var-share,
|
"share": $fa-var-share,
|
||||||
"arrow-turn-right": $fa-var-arrow-turn-right,
|
|
||||||
"mail-forward": $fa-var-mail-forward,
|
"mail-forward": $fa-var-mail-forward,
|
||||||
"bottle-droplet": $fa-var-bottle-droplet,
|
"bottle-droplet": $fa-var-bottle-droplet,
|
||||||
"mask-face": $fa-var-mask-face,
|
"mask-face": $fa-var-mask-face,
|
||||||
|
@ -4461,6 +4484,7 @@ $fa-brand-icons: (
|
||||||
"yoast": $fa-var-yoast,
|
"yoast": $fa-var-yoast,
|
||||||
"cloudflare": $fa-var-cloudflare,
|
"cloudflare": $fa-var-cloudflare,
|
||||||
"ups": $fa-var-ups,
|
"ups": $fa-var-ups,
|
||||||
|
"pixiv": $fa-var-pixiv,
|
||||||
"wpexplorer": $fa-var-wpexplorer,
|
"wpexplorer": $fa-var-wpexplorer,
|
||||||
"dyalog": $fa-var-dyalog,
|
"dyalog": $fa-var-dyalog,
|
||||||
"bity": $fa-var-bity,
|
"bity": $fa-var-bity,
|
||||||
|
@ -4496,6 +4520,7 @@ $fa-brand-icons: (
|
||||||
"contao": $fa-var-contao,
|
"contao": $fa-var-contao,
|
||||||
"square-font-awesome": $fa-var-square-font-awesome,
|
"square-font-awesome": $fa-var-square-font-awesome,
|
||||||
"deskpro": $fa-var-deskpro,
|
"deskpro": $fa-var-deskpro,
|
||||||
|
"brave": $fa-var-brave,
|
||||||
"sistrix": $fa-var-sistrix,
|
"sistrix": $fa-var-sistrix,
|
||||||
"square-instagram": $fa-var-square-instagram,
|
"square-instagram": $fa-var-square-instagram,
|
||||||
"instagram-square": $fa-var-instagram-square,
|
"instagram-square": $fa-var-instagram-square,
|
||||||
|
@ -4504,6 +4529,7 @@ $fa-brand-icons: (
|
||||||
"square-hacker-news": $fa-var-square-hacker-news,
|
"square-hacker-news": $fa-var-square-hacker-news,
|
||||||
"hacker-news-square": $fa-var-hacker-news-square,
|
"hacker-news-square": $fa-var-hacker-news-square,
|
||||||
"edge": $fa-var-edge,
|
"edge": $fa-var-edge,
|
||||||
|
"threads": $fa-var-threads,
|
||||||
"napster": $fa-var-napster,
|
"napster": $fa-var-napster,
|
||||||
"square-snapchat": $fa-var-square-snapchat,
|
"square-snapchat": $fa-var-square-snapchat,
|
||||||
"snapchat-square": $fa-var-snapchat-square,
|
"snapchat-square": $fa-var-snapchat-square,
|
||||||
|
@ -4551,6 +4577,7 @@ $fa-brand-icons: (
|
||||||
"centos": $fa-var-centos,
|
"centos": $fa-var-centos,
|
||||||
"adn": $fa-var-adn,
|
"adn": $fa-var-adn,
|
||||||
"cloudsmith": $fa-var-cloudsmith,
|
"cloudsmith": $fa-var-cloudsmith,
|
||||||
|
"opensuse": $fa-var-opensuse,
|
||||||
"pied-piper-alt": $fa-var-pied-piper-alt,
|
"pied-piper-alt": $fa-var-pied-piper-alt,
|
||||||
"square-dribbble": $fa-var-square-dribbble,
|
"square-dribbble": $fa-var-square-dribbble,
|
||||||
"dribbble-square": $fa-var-dribbble-square,
|
"dribbble-square": $fa-var-dribbble-square,
|
||||||
|
@ -4560,6 +4587,7 @@ $fa-brand-icons: (
|
||||||
"steam": $fa-var-steam,
|
"steam": $fa-var-steam,
|
||||||
"cc-apple-pay": $fa-var-cc-apple-pay,
|
"cc-apple-pay": $fa-var-cc-apple-pay,
|
||||||
"scribd": $fa-var-scribd,
|
"scribd": $fa-var-scribd,
|
||||||
|
"debian": $fa-var-debian,
|
||||||
"openid": $fa-var-openid,
|
"openid": $fa-var-openid,
|
||||||
"instalod": $fa-var-instalod,
|
"instalod": $fa-var-instalod,
|
||||||
"expeditedssl": $fa-var-expeditedssl,
|
"expeditedssl": $fa-var-expeditedssl,
|
||||||
|
@ -4598,6 +4626,7 @@ $fa-brand-icons: (
|
||||||
"laravel": $fa-var-laravel,
|
"laravel": $fa-var-laravel,
|
||||||
"hotjar": $fa-var-hotjar,
|
"hotjar": $fa-var-hotjar,
|
||||||
"bluetooth-b": $fa-var-bluetooth-b,
|
"bluetooth-b": $fa-var-bluetooth-b,
|
||||||
|
"square-letterboxd": $fa-var-square-letterboxd,
|
||||||
"sticker-mule": $fa-var-sticker-mule,
|
"sticker-mule": $fa-var-sticker-mule,
|
||||||
"creative-commons-zero": $fa-var-creative-commons-zero,
|
"creative-commons-zero": $fa-var-creative-commons-zero,
|
||||||
"hips": $fa-var-hips,
|
"hips": $fa-var-hips,
|
||||||
|
@ -4609,6 +4638,7 @@ $fa-brand-icons: (
|
||||||
"cc-discover": $fa-var-cc-discover,
|
"cc-discover": $fa-var-cc-discover,
|
||||||
"wpbeginner": $fa-var-wpbeginner,
|
"wpbeginner": $fa-var-wpbeginner,
|
||||||
"confluence": $fa-var-confluence,
|
"confluence": $fa-var-confluence,
|
||||||
|
"shoelace": $fa-var-shoelace,
|
||||||
"mdb": $fa-var-mdb,
|
"mdb": $fa-var-mdb,
|
||||||
"dochub": $fa-var-dochub,
|
"dochub": $fa-var-dochub,
|
||||||
"accessible-icon": $fa-var-accessible-icon,
|
"accessible-icon": $fa-var-accessible-icon,
|
||||||
|
@ -4640,6 +4670,7 @@ $fa-brand-icons: (
|
||||||
"phoenix-framework": $fa-var-phoenix-framework,
|
"phoenix-framework": $fa-var-phoenix-framework,
|
||||||
"shopify": $fa-var-shopify,
|
"shopify": $fa-var-shopify,
|
||||||
"neos": $fa-var-neos,
|
"neos": $fa-var-neos,
|
||||||
|
"square-threads": $fa-var-square-threads,
|
||||||
"hackerrank": $fa-var-hackerrank,
|
"hackerrank": $fa-var-hackerrank,
|
||||||
"researchgate": $fa-var-researchgate,
|
"researchgate": $fa-var-researchgate,
|
||||||
"swift": $fa-var-swift,
|
"swift": $fa-var-swift,
|
||||||
|
@ -4649,6 +4680,7 @@ $fa-brand-icons: (
|
||||||
"y-combinator": $fa-var-y-combinator,
|
"y-combinator": $fa-var-y-combinator,
|
||||||
"empire": $fa-var-empire,
|
"empire": $fa-var-empire,
|
||||||
"envira": $fa-var-envira,
|
"envira": $fa-var-envira,
|
||||||
|
"google-scholar": $fa-var-google-scholar,
|
||||||
"square-gitlab": $fa-var-square-gitlab,
|
"square-gitlab": $fa-var-square-gitlab,
|
||||||
"gitlab-square": $fa-var-gitlab-square,
|
"gitlab-square": $fa-var-gitlab-square,
|
||||||
"studiovinari": $fa-var-studiovinari,
|
"studiovinari": $fa-var-studiovinari,
|
||||||
|
@ -4693,6 +4725,7 @@ $fa-brand-icons: (
|
||||||
"blogger-b": $fa-var-blogger-b,
|
"blogger-b": $fa-var-blogger-b,
|
||||||
"opencart": $fa-var-opencart,
|
"opencart": $fa-var-opencart,
|
||||||
"vine": $fa-var-vine,
|
"vine": $fa-var-vine,
|
||||||
|
"signal-messenger": $fa-var-signal-messenger,
|
||||||
"paypal": $fa-var-paypal,
|
"paypal": $fa-var-paypal,
|
||||||
"gitlab": $fa-var-gitlab,
|
"gitlab": $fa-var-gitlab,
|
||||||
"typo3": $fa-var-typo3,
|
"typo3": $fa-var-typo3,
|
||||||
|
@ -4704,6 +4737,7 @@ $fa-brand-icons: (
|
||||||
"bootstrap": $fa-var-bootstrap,
|
"bootstrap": $fa-var-bootstrap,
|
||||||
"odnoklassniki": $fa-var-odnoklassniki,
|
"odnoklassniki": $fa-var-odnoklassniki,
|
||||||
"nfc-symbol": $fa-var-nfc-symbol,
|
"nfc-symbol": $fa-var-nfc-symbol,
|
||||||
|
"mintbit": $fa-var-mintbit,
|
||||||
"ethereum": $fa-var-ethereum,
|
"ethereum": $fa-var-ethereum,
|
||||||
"speaker-deck": $fa-var-speaker-deck,
|
"speaker-deck": $fa-var-speaker-deck,
|
||||||
"creative-commons-nc-eu": $fa-var-creative-commons-nc-eu,
|
"creative-commons-nc-eu": $fa-var-creative-commons-nc-eu,
|
||||||
|
@ -4712,6 +4746,7 @@ $fa-brand-icons: (
|
||||||
"ello": $fa-var-ello,
|
"ello": $fa-var-ello,
|
||||||
"gofore": $fa-var-gofore,
|
"gofore": $fa-var-gofore,
|
||||||
"bimobject": $fa-var-bimobject,
|
"bimobject": $fa-var-bimobject,
|
||||||
|
"brave-reverse": $fa-var-brave-reverse,
|
||||||
"facebook-f": $fa-var-facebook-f,
|
"facebook-f": $fa-var-facebook-f,
|
||||||
"square-google-plus": $fa-var-square-google-plus,
|
"square-google-plus": $fa-var-square-google-plus,
|
||||||
"google-plus-square": $fa-var-google-plus-square,
|
"google-plus-square": $fa-var-google-plus-square,
|
||||||
|
@ -4746,6 +4781,7 @@ $fa-brand-icons: (
|
||||||
"soundcloud": $fa-var-soundcloud,
|
"soundcloud": $fa-var-soundcloud,
|
||||||
"digg": $fa-var-digg,
|
"digg": $fa-var-digg,
|
||||||
"tencent-weibo": $fa-var-tencent-weibo,
|
"tencent-weibo": $fa-var-tencent-weibo,
|
||||||
|
"letterboxd": $fa-var-letterboxd,
|
||||||
"symfony": $fa-var-symfony,
|
"symfony": $fa-var-symfony,
|
||||||
"maxcdn": $fa-var-maxcdn,
|
"maxcdn": $fa-var-maxcdn,
|
||||||
"etsy": $fa-var-etsy,
|
"etsy": $fa-var-etsy,
|
||||||
|
@ -4754,6 +4790,7 @@ $fa-brand-icons: (
|
||||||
"think-peaks": $fa-var-think-peaks,
|
"think-peaks": $fa-var-think-peaks,
|
||||||
"bilibili": $fa-var-bilibili,
|
"bilibili": $fa-var-bilibili,
|
||||||
"erlang": $fa-var-erlang,
|
"erlang": $fa-var-erlang,
|
||||||
|
"x-twitter": $fa-var-x-twitter,
|
||||||
"cotton-bureau": $fa-var-cotton-bureau,
|
"cotton-bureau": $fa-var-cotton-bureau,
|
||||||
"dashcube": $fa-var-dashcube,
|
"dashcube": $fa-var-dashcube,
|
||||||
"42-group": $fa-var-42-group,
|
"42-group": $fa-var-42-group,
|
||||||
|
@ -4791,6 +4828,7 @@ $fa-brand-icons: (
|
||||||
"dropbox": $fa-var-dropbox,
|
"dropbox": $fa-var-dropbox,
|
||||||
"instagram": $fa-var-instagram,
|
"instagram": $fa-var-instagram,
|
||||||
"cmplid": $fa-var-cmplid,
|
"cmplid": $fa-var-cmplid,
|
||||||
|
"upwork": $fa-var-upwork,
|
||||||
"facebook": $fa-var-facebook,
|
"facebook": $fa-var-facebook,
|
||||||
"gripfire": $fa-var-gripfire,
|
"gripfire": $fa-var-gripfire,
|
||||||
"jedi-order": $fa-var-jedi-order,
|
"jedi-order": $fa-var-jedi-order,
|
||||||
|
@ -4849,6 +4887,7 @@ $fa-brand-icons: (
|
||||||
"square-behance": $fa-var-square-behance,
|
"square-behance": $fa-var-square-behance,
|
||||||
"behance-square": $fa-var-behance-square,
|
"behance-square": $fa-var-behance-square,
|
||||||
"supple": $fa-var-supple,
|
"supple": $fa-var-supple,
|
||||||
|
"webflow": $fa-var-webflow,
|
||||||
"rebel": $fa-var-rebel,
|
"rebel": $fa-var-rebel,
|
||||||
"css3": $fa-var-css3,
|
"css3": $fa-var-css3,
|
||||||
"staylinked": $fa-var-staylinked,
|
"staylinked": $fa-var-staylinked,
|
||||||
|
@ -4903,9 +4942,11 @@ $fa-brand-icons: (
|
||||||
"dribbble": $fa-var-dribbble,
|
"dribbble": $fa-var-dribbble,
|
||||||
"stumbleupon-circle": $fa-var-stumbleupon-circle,
|
"stumbleupon-circle": $fa-var-stumbleupon-circle,
|
||||||
"internet-explorer": $fa-var-internet-explorer,
|
"internet-explorer": $fa-var-internet-explorer,
|
||||||
|
"stubber": $fa-var-stubber,
|
||||||
"telegram": $fa-var-telegram,
|
"telegram": $fa-var-telegram,
|
||||||
"telegram-plane": $fa-var-telegram-plane,
|
"telegram-plane": $fa-var-telegram-plane,
|
||||||
"old-republic": $fa-var-old-republic,
|
"old-republic": $fa-var-old-republic,
|
||||||
|
"odysee": $fa-var-odysee,
|
||||||
"square-whatsapp": $fa-var-square-whatsapp,
|
"square-whatsapp": $fa-var-square-whatsapp,
|
||||||
"whatsapp-square": $fa-var-whatsapp-square,
|
"whatsapp-square": $fa-var-whatsapp-square,
|
||||||
"node-js": $fa-var-node-js,
|
"node-js": $fa-var-node-js,
|
||||||
|
@ -4917,6 +4958,7 @@ $fa-brand-icons: (
|
||||||
"tumblr": $fa-var-tumblr,
|
"tumblr": $fa-var-tumblr,
|
||||||
"vaadin": $fa-var-vaadin,
|
"vaadin": $fa-var-vaadin,
|
||||||
"quora": $fa-var-quora,
|
"quora": $fa-var-quora,
|
||||||
|
"square-x-twitter": $fa-var-square-x-twitter,
|
||||||
"reacteurope": $fa-var-reacteurope,
|
"reacteurope": $fa-var-reacteurope,
|
||||||
"medium": $fa-var-medium,
|
"medium": $fa-var-medium,
|
||||||
"medium-m": $fa-var-medium-m,
|
"medium-m": $fa-var-medium-m,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
|
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Copyright 2022 Fonticons, Inc.
|
* Copyright 2023 Fonticons, Inc.
|
||||||
*/
|
*/
|
||||||
@import 'functions';
|
@import 'functions';
|
||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
4
_vendor/github.com/FortAwesome/Font-Awesome/scss/fontawesome.scss
generated
vendored
4
_vendor/github.com/FortAwesome/Font-Awesome/scss/fontawesome.scss
generated
vendored
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
|
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Copyright 2022 Fonticons, Inc.
|
* Copyright 2023 Fonticons, Inc.
|
||||||
*/
|
*/
|
||||||
// Font Awesome core compile (Web Fonts-based)
|
// Font Awesome core compile (Web Fonts-based)
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
|
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Copyright 2022 Fonticons, Inc.
|
* Copyright 2023 Fonticons, Inc.
|
||||||
*/
|
*/
|
||||||
@import 'functions';
|
@import 'functions';
|
||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
|
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Copyright 2022 Fonticons, Inc.
|
* Copyright 2023 Fonticons, Inc.
|
||||||
*/
|
*/
|
||||||
@import 'functions';
|
@import 'functions';
|
||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com
|
* Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com
|
||||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
* Copyright 2022 Fonticons, Inc.
|
* Copyright 2023 Fonticons, Inc.
|
||||||
*/
|
*/
|
||||||
// V4 shims compile (Web Fonts-based)
|
// V4 shims compile (Web Fonts-based)
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
_vendor/github.com/google/docsy/assets/_vendor/README.md
generated
Normal file
5
_vendor/github.com/google/docsy/assets/_vendor/README.md
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
This `_vendor` folder exists to work around a known bug in Go’s module
|
||||||
|
management. For details, see <https://github.com/golang/go/issues/37397>.
|
||||||
|
|
||||||
|
DO NOT EDIT or manually override the files in this folder. They are
|
||||||
|
automatically synchronized at installation time.
|
354
_vendor/github.com/google/docsy/assets/_vendor/bootstrap/scss/_rfs.scss
generated
Normal file
354
_vendor/github.com/google/docsy/assets/_vendor/bootstrap/scss/_rfs.scss
generated
Normal file
|
@ -0,0 +1,354 @@
|
||||||
|
// stylelint-disable property-blacklist, scss/dollar-variable-default
|
||||||
|
|
||||||
|
// SCSS RFS mixin
|
||||||
|
//
|
||||||
|
// Automated responsive values for font sizes, paddings, margins and much more
|
||||||
|
//
|
||||||
|
// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)
|
||||||
|
|
||||||
|
// Configuration
|
||||||
|
|
||||||
|
// Base value
|
||||||
|
$rfs-base-value: 1.25rem !default;
|
||||||
|
$rfs-unit: rem !default;
|
||||||
|
|
||||||
|
@if $rfs-unit != rem and $rfs-unit != px {
|
||||||
|
@error "`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`.";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Breakpoint at where values start decreasing if screen width is smaller
|
||||||
|
$rfs-breakpoint: 1200px !default;
|
||||||
|
$rfs-breakpoint-unit: px !default;
|
||||||
|
|
||||||
|
@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {
|
||||||
|
@error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Resize values based on screen height and width
|
||||||
|
$rfs-two-dimensional: false !default;
|
||||||
|
|
||||||
|
// Factor of decrease
|
||||||
|
$rfs-factor: 10 !default;
|
||||||
|
|
||||||
|
@if type-of($rfs-factor) != number or $rfs-factor <= 1 {
|
||||||
|
@error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mode. Possibilities: "min-media-query", "max-media-query"
|
||||||
|
$rfs-mode: min-media-query !default;
|
||||||
|
|
||||||
|
// Generate enable or disable classes. Possibilities: false, "enable" or "disable"
|
||||||
|
$rfs-class: false !default;
|
||||||
|
|
||||||
|
// 1 rem = $rfs-rem-value px
|
||||||
|
$rfs-rem-value: 16 !default;
|
||||||
|
|
||||||
|
// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14
|
||||||
|
$rfs-safari-iframe-resize-bug-fix: false !default;
|
||||||
|
|
||||||
|
// Disable RFS by setting $enable-rfs to false
|
||||||
|
$enable-rfs: true !default;
|
||||||
|
|
||||||
|
// Cache $rfs-base-value unit
|
||||||
|
$rfs-base-value-unit: unit($rfs-base-value);
|
||||||
|
|
||||||
|
@function divide($dividend, $divisor, $precision: 10) {
|
||||||
|
$sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);
|
||||||
|
$dividend: abs($dividend);
|
||||||
|
$divisor: abs($divisor);
|
||||||
|
@if $dividend == 0 {
|
||||||
|
@return 0;
|
||||||
|
}
|
||||||
|
@if $divisor == 0 {
|
||||||
|
@error "Cannot divide by 0";
|
||||||
|
}
|
||||||
|
$remainder: $dividend;
|
||||||
|
$result: 0;
|
||||||
|
$factor: 10;
|
||||||
|
@while ($remainder > 0 and $precision >= 0) {
|
||||||
|
$quotient: 0;
|
||||||
|
@while ($remainder >= $divisor) {
|
||||||
|
$remainder: $remainder - $divisor;
|
||||||
|
$quotient: $quotient + 1;
|
||||||
|
}
|
||||||
|
$result: $result * 10 + $quotient;
|
||||||
|
$factor: $factor * .1;
|
||||||
|
$remainder: $remainder * 10;
|
||||||
|
$precision: $precision - 1;
|
||||||
|
@if ($precision < 0 and $remainder >= $divisor * 5) {
|
||||||
|
$result: $result + 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$result: $result * $factor * $sign;
|
||||||
|
$dividend-unit: unit($dividend);
|
||||||
|
$divisor-unit: unit($divisor);
|
||||||
|
$unit-map: (
|
||||||
|
"px": 1px,
|
||||||
|
"rem": 1rem,
|
||||||
|
"em": 1em,
|
||||||
|
"%": 1%
|
||||||
|
);
|
||||||
|
@if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
|
||||||
|
$result: $result * map-get($unit-map, $dividend-unit);
|
||||||
|
}
|
||||||
|
@return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove px-unit from $rfs-base-value for calculations
|
||||||
|
@if $rfs-base-value-unit == px {
|
||||||
|
$rfs-base-value: divide($rfs-base-value, $rfs-base-value * 0 + 1);
|
||||||
|
}
|
||||||
|
@else if $rfs-base-value-unit == rem {
|
||||||
|
$rfs-base-value: divide($rfs-base-value, divide($rfs-base-value * 0 + 1, $rfs-rem-value));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Cache $rfs-breakpoint unit to prevent multiple calls
|
||||||
|
$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);
|
||||||
|
|
||||||
|
// Remove unit from $rfs-breakpoint for calculations
|
||||||
|
@if $rfs-breakpoint-unit-cache == px {
|
||||||
|
$rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);
|
||||||
|
}
|
||||||
|
@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == "em" {
|
||||||
|
$rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculate the media query value
|
||||||
|
$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});
|
||||||
|
$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width);
|
||||||
|
$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height);
|
||||||
|
|
||||||
|
// Internal mixin used to determine which media query needs to be used
|
||||||
|
@mixin _rfs-media-query {
|
||||||
|
@if $rfs-two-dimensional {
|
||||||
|
@if $rfs-mode == max-media-query {
|
||||||
|
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Internal mixin that adds disable classes to the selector if needed.
|
||||||
|
@mixin _rfs-rule {
|
||||||
|
@if $rfs-class == disable and $rfs-mode == max-media-query {
|
||||||
|
// Adding an extra class increases specificity, which prevents the media query to override the property
|
||||||
|
&,
|
||||||
|
.disable-rfs &,
|
||||||
|
&.disable-rfs {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@else if $rfs-class == enable and $rfs-mode == min-media-query {
|
||||||
|
.enable-rfs &,
|
||||||
|
&.enable-rfs {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Internal mixin that adds enable classes to the selector if needed.
|
||||||
|
@mixin _rfs-media-query-rule {
|
||||||
|
|
||||||
|
@if $rfs-class == enable {
|
||||||
|
@if $rfs-mode == min-media-query {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include _rfs-media-query {
|
||||||
|
.enable-rfs &,
|
||||||
|
&.enable-rfs {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
@if $rfs-class == disable and $rfs-mode == min-media-query {
|
||||||
|
.disable-rfs &,
|
||||||
|
&.disable-rfs {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include _rfs-media-query {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper function to get the formatted non-responsive value
|
||||||
|
@function rfs-value($values) {
|
||||||
|
// Convert to list
|
||||||
|
$values: if(type-of($values) != list, ($values,), $values);
|
||||||
|
|
||||||
|
$val: '';
|
||||||
|
|
||||||
|
// Loop over each value and calculate value
|
||||||
|
@each $value in $values {
|
||||||
|
@if $value == 0 {
|
||||||
|
$val: $val + ' 0';
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
// Cache $value unit
|
||||||
|
$unit: if(type-of($value) == "number", unit($value), false);
|
||||||
|
|
||||||
|
@if $unit == px {
|
||||||
|
// Convert to rem if needed
|
||||||
|
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);
|
||||||
|
}
|
||||||
|
@else if $unit == rem {
|
||||||
|
// Convert to px if needed
|
||||||
|
$val: $val + ' ' + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
||||||
|
$val: $val + ' ' + $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove first space
|
||||||
|
@return unquote(str-slice($val, 2));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper function to get the responsive value calculated by RFS
|
||||||
|
@function rfs-fluid-value($values) {
|
||||||
|
// Convert to list
|
||||||
|
$values: if(type-of($values) != list, ($values,), $values);
|
||||||
|
|
||||||
|
$val: '';
|
||||||
|
|
||||||
|
// Loop over each value and calculate value
|
||||||
|
@each $value in $values {
|
||||||
|
@if $value == 0 {
|
||||||
|
$val: $val + ' 0';
|
||||||
|
}
|
||||||
|
|
||||||
|
@else {
|
||||||
|
// Cache $value unit
|
||||||
|
$unit: if(type-of($value) == "number", unit($value), false);
|
||||||
|
|
||||||
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
||||||
|
@if not $unit or $unit != px and $unit != rem {
|
||||||
|
$val: $val + ' ' + $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
@else {
|
||||||
|
// Remove unit from $value for calculations
|
||||||
|
$value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));
|
||||||
|
|
||||||
|
// Only add the media query if the value is greater than the minimum value
|
||||||
|
@if abs($value) <= $rfs-base-value or not $enable-rfs {
|
||||||
|
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
// Calculate the minimum value
|
||||||
|
$value-min: $rfs-base-value + divide(abs($value) - $rfs-base-value, $rfs-factor);
|
||||||
|
|
||||||
|
// Calculate difference between $value and the minimum value
|
||||||
|
$value-diff: abs($value) - $value-min;
|
||||||
|
|
||||||
|
// Base value formatting
|
||||||
|
$min-width: if($rfs-unit == rem, #{divide($value-min, $rfs-rem-value)}rem, #{$value-min}px);
|
||||||
|
|
||||||
|
// Use negative value if needed
|
||||||
|
$min-width: if($value < 0, -$min-width, $min-width);
|
||||||
|
|
||||||
|
// Use `vmin` if two-dimensional is enabled
|
||||||
|
$variable-unit: if($rfs-two-dimensional, vmin, vw);
|
||||||
|
|
||||||
|
// Calculate the variable width between 0 and $rfs-breakpoint
|
||||||
|
$variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};
|
||||||
|
|
||||||
|
// Return the calculated value
|
||||||
|
$val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove first space
|
||||||
|
@return unquote(str-slice($val, 2));
|
||||||
|
}
|
||||||
|
|
||||||
|
// RFS mixin
|
||||||
|
@mixin rfs($values, $property: font-size) {
|
||||||
|
@if $values != null {
|
||||||
|
$val: rfs-value($values);
|
||||||
|
$fluidVal: rfs-fluid-value($values);
|
||||||
|
|
||||||
|
// Do not print the media query if responsive & non-responsive values are the same
|
||||||
|
@if $val == $fluidVal {
|
||||||
|
#{$property}: $val;
|
||||||
|
}
|
||||||
|
@else {
|
||||||
|
@include _rfs-rule {
|
||||||
|
#{$property}: if($rfs-mode == max-media-query, $val, $fluidVal);
|
||||||
|
|
||||||
|
// Include safari iframe resize fix if needed
|
||||||
|
min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
@include _rfs-media-query-rule {
|
||||||
|
#{$property}: if($rfs-mode == max-media-query, $fluidVal, $val);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Shorthand helper mixins
|
||||||
|
@mixin font-size($value) {
|
||||||
|
@include rfs($value);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin padding($value) {
|
||||||
|
@include rfs($value, padding);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin padding-top($value) {
|
||||||
|
@include rfs($value, padding-top);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin padding-right($value) {
|
||||||
|
@include rfs($value, padding-right);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin padding-bottom($value) {
|
||||||
|
@include rfs($value, padding-bottom);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin padding-left($value) {
|
||||||
|
@include rfs($value, padding-left);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin margin($value) {
|
||||||
|
@include rfs($value, margin);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin margin-top($value) {
|
||||||
|
@include rfs($value, margin-top);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin margin-right($value) {
|
||||||
|
@include rfs($value, margin-right);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin margin-bottom($value) {
|
||||||
|
@include rfs($value, margin-bottom);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin margin-left($value) {
|
||||||
|
@include rfs($value, margin-left);
|
||||||
|
}
|
49
_vendor/github.com/google/docsy/assets/js/anchor.js
generated
49
_vendor/github.com/google/docsy/assets/js/anchor.js
generated
|
@ -1,49 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 Google LLC
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function ($) {
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
// Headers' anchor link that shows on hover
|
|
||||||
$(function () {
|
|
||||||
// append anchor links to headings in markdown.
|
|
||||||
var article = document.getElementsByTagName('main')[0];
|
|
||||||
if (!article) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var headings = article.querySelectorAll('h1, h2, h3, h4, h5, h6');
|
|
||||||
headings.forEach(function (heading) {
|
|
||||||
if (heading.id) {
|
|
||||||
var a = document.createElement('a');
|
|
||||||
// set visibility: hidden, not display: none to avoid layout change
|
|
||||||
a.style.visibility = 'hidden';
|
|
||||||
// [a11y] hide this from screen readers, etc..
|
|
||||||
a.setAttribute('aria-hidden', 'true');
|
|
||||||
// material insert_link icon in svg format
|
|
||||||
a.innerHTML = ' <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>';
|
|
||||||
a.href = '#' + heading.id;
|
|
||||||
heading.insertAdjacentElement('beforeend', a);
|
|
||||||
heading.addEventListener('mouseenter', function () {
|
|
||||||
a.style.visibility = 'initial';
|
|
||||||
});
|
|
||||||
heading.addEventListener('mouseleave', function () {
|
|
||||||
a.style.visibility = 'hidden';
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}(jQuery));
|
|
|
@ -19,8 +19,8 @@ limitations under the License.
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-bs-toggle="tooltip"]').tooltip();
|
||||||
$('[data-toggle="popover"]').popover();
|
$('[data-bs-toggle="popover"]').popover();
|
||||||
|
|
||||||
$('.popover-dismiss').popover({
|
$('.popover-dismiss').popover({
|
||||||
trigger: 'focus'
|
trigger: 'focus'
|
||||||
|
|
|
@ -1,86 +1,47 @@
|
||||||
let codeListings = document.querySelectorAll('.highlight > pre');
|
let codeListings = document.querySelectorAll('.highlight > pre');
|
||||||
|
|
||||||
for (let index = 0; index < codeListings.length; index++)
|
for (let index = 0; index < codeListings.length; index++) {
|
||||||
{
|
|
||||||
const codeSample = codeListings[index].querySelector('code');
|
const codeSample = codeListings[index].querySelector('code');
|
||||||
const copyButton = document.createElement("button");
|
const copyButton = document.createElement('button');
|
||||||
copyButton.setAttribute('type', 'button');
|
const buttonAttributes = {
|
||||||
copyButton.onclick = function() { copyCode(codeSample); };
|
type: 'button',
|
||||||
copyButton.classList.add('fas', 'fa-copy');
|
title: 'Copy to clipboard',
|
||||||
|
'data-bs-toggle': 'tooltip',
|
||||||
|
'data-bs-placement': 'top',
|
||||||
|
'data-bs-container': 'body',
|
||||||
|
};
|
||||||
|
|
||||||
const buttonTooltip = document.createElement('div');
|
Object.keys(buttonAttributes).forEach((key) => {
|
||||||
buttonTooltip.classList.add('c2c-tooltip');
|
copyButton.setAttribute(key, buttonAttributes[key]);
|
||||||
buttonTooltip.setAttribute('role', 'tooltip');
|
});
|
||||||
buttonTooltip.innerHTML += 'Copy to clipboard';
|
|
||||||
|
copyButton.classList.add(
|
||||||
|
'fas',
|
||||||
|
'fa-copy',
|
||||||
|
'btn',
|
||||||
|
'btn-dark',
|
||||||
|
'btn-sm',
|
||||||
|
'td-click-to-copy'
|
||||||
|
);
|
||||||
|
const tooltip = new bootstrap.Tooltip(copyButton);
|
||||||
|
|
||||||
|
copyButton.onclick = () => {
|
||||||
|
copyCode(codeSample);
|
||||||
|
copyButton.setAttribute('data-bs-original-title', 'Copied!');
|
||||||
|
tooltip.show();
|
||||||
|
};
|
||||||
|
|
||||||
|
copyButton.onmouseout = () => {
|
||||||
|
copyButton.setAttribute('data-bs-original-title', 'Copy to clipboard');
|
||||||
|
tooltip.hide();
|
||||||
|
};
|
||||||
|
|
||||||
const buttonDiv = document.createElement('div');
|
const buttonDiv = document.createElement('div');
|
||||||
buttonDiv.classList.add('click-to-copy');
|
buttonDiv.classList.add('click-to-copy');
|
||||||
|
|
||||||
// Use Popper to create and handle the tooltip behavior.
|
|
||||||
|
|
||||||
const popperInstance = Popper.createPopper(copyButton, buttonTooltip,
|
|
||||||
{
|
|
||||||
modifiers:
|
|
||||||
[
|
|
||||||
{
|
|
||||||
name: 'offset',
|
|
||||||
options:
|
|
||||||
{
|
|
||||||
offset: [0, -48],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
});
|
|
||||||
|
|
||||||
copyButton.addEventListener('click', () =>
|
|
||||||
{
|
|
||||||
buttonTooltip.innerHTML = 'Copied!';
|
|
||||||
});
|
|
||||||
|
|
||||||
copyButton.addEventListener('mouseenter', () =>
|
|
||||||
{
|
|
||||||
buttonTooltip.setAttribute('show-tooltip', '');
|
|
||||||
|
|
||||||
// Enable eventListeners when the code block is on the viewport
|
|
||||||
|
|
||||||
popperInstance.setOptions((options) => ({
|
|
||||||
...options,
|
|
||||||
modifiers:
|
|
||||||
[
|
|
||||||
...options.modifiers,
|
|
||||||
{ name: 'eventListeners', enabled: true },
|
|
||||||
],
|
|
||||||
}));
|
|
||||||
popperInstance.update();
|
|
||||||
});
|
|
||||||
|
|
||||||
copyButton.addEventListener('mouseleave', () =>
|
|
||||||
{
|
|
||||||
buttonTooltip.removeAttribute('show-tooltip');
|
|
||||||
|
|
||||||
// Reset the message in case the button was clicked
|
|
||||||
buttonTooltip.innerHTML = 'Copy to clipboard';
|
|
||||||
|
|
||||||
// Disble eventListeners when the code block is NOT on the viewport
|
|
||||||
|
|
||||||
popperInstance.setOptions((options) => ({
|
|
||||||
...options,
|
|
||||||
modifiers:
|
|
||||||
[
|
|
||||||
...options.modifiers,
|
|
||||||
{ name: 'eventListeners', enabled: false },
|
|
||||||
],
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
|
|
||||||
buttonDiv.append(copyButton);
|
buttonDiv.append(copyButton);
|
||||||
buttonDiv.append(buttonTooltip);
|
|
||||||
codeListings[index].insertBefore(buttonDiv, codeSample);
|
codeListings[index].insertBefore(buttonDiv, codeSample);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function copyCode(codeSample)
|
|
||||||
{
|
|
||||||
navigator.clipboard.writeText(codeSample.textContent.trim());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const copyCode = (codeSample) => {
|
||||||
|
navigator.clipboard.writeText(codeSample.textContent.trim() + '\n');
|
||||||
|
};
|
||||||
|
|
|
@ -6,17 +6,6 @@
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
const $searchInput = $('.td-search input');
|
const $searchInput = $('.td-search input');
|
||||||
|
|
||||||
//
|
|
||||||
// Options for popover
|
|
||||||
//
|
|
||||||
|
|
||||||
$searchInput.data('html', true);
|
|
||||||
$searchInput.data('placement', 'bottom');
|
|
||||||
$searchInput.data(
|
|
||||||
'template',
|
|
||||||
'<div class="td-offline-search-results popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'
|
|
||||||
);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Register handler
|
// Register handler
|
||||||
//
|
//
|
||||||
|
@ -41,8 +30,7 @@
|
||||||
const resultDetails = new Map(); // Will hold the data for the search results (titles and summaries)
|
const resultDetails = new Map(); // Will hold the data for the search results (titles and summaries)
|
||||||
|
|
||||||
// Set up for an Ajax call to request the JSON data file that is created by Hugo's build process
|
// Set up for an Ajax call to request the JSON data file that is created by Hugo's build process
|
||||||
$.ajax($searchInput.data('offline-search-index-json-src')).then(
|
$.ajax($searchInput.data('offline-search-index-json-src')).then((data) => {
|
||||||
(data) => {
|
|
||||||
idx = lunr(function () {
|
idx = lunr(function () {
|
||||||
this.ref('ref');
|
this.ref('ref');
|
||||||
|
|
||||||
|
@ -67,12 +55,19 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$searchInput.trigger('change');
|
$searchInput.trigger('change');
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
const render = ($targetSearchInput) => {
|
const render = ($targetSearchInput) => {
|
||||||
// Dispose the previous result
|
//
|
||||||
$targetSearchInput.popover('dispose');
|
// Dispose existing popover
|
||||||
|
//
|
||||||
|
|
||||||
|
{
|
||||||
|
let popover = bootstrap.Popover.getInstance($targetSearchInput[0]);
|
||||||
|
if (popover !== null) {
|
||||||
|
popover.dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Search
|
// Search
|
||||||
|
@ -97,8 +92,7 @@
|
||||||
});
|
});
|
||||||
q.term(queryString, {
|
q.term(queryString, {
|
||||||
wildcard:
|
wildcard:
|
||||||
lunr.Query.wildcard.LEADING |
|
lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING,
|
||||||
lunr.Query.wildcard.TRAILING,
|
|
||||||
boost: 10,
|
boost: 10,
|
||||||
});
|
});
|
||||||
q.term(queryString, {
|
q.term(queryString, {
|
||||||
|
@ -106,10 +100,7 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.slice(
|
.slice(0, $targetSearchInput.data('offline-search-max-results'));
|
||||||
0,
|
|
||||||
$targetSearchInput.data('offline-search-max-results')
|
|
||||||
);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Make result html
|
// Make result html
|
||||||
|
@ -125,21 +116,16 @@
|
||||||
marginBottom: '1em',
|
marginBottom: '1em',
|
||||||
})
|
})
|
||||||
.append(
|
.append(
|
||||||
$('<span>')
|
$('<span>').text('Search results').css({ fontWeight: 'bold' })
|
||||||
.text('Search results')
|
|
||||||
.css({ fontWeight: 'bold' })
|
|
||||||
)
|
)
|
||||||
.append(
|
.append(
|
||||||
$('<span>')
|
$('<span>').addClass('td-offline-search-results__close-button')
|
||||||
.addClass('td-offline-search-results__close-button')
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
const $searchResultBody = $('<div>').css({
|
const $searchResultBody = $('<div>').css({
|
||||||
maxHeight: `calc(100vh - ${
|
maxHeight: `calc(100vh - ${
|
||||||
$targetSearchInput.offset().top -
|
$targetSearchInput.offset().top - $(window).scrollTop() + 180
|
||||||
$(window).scrollTop() +
|
|
||||||
180
|
|
||||||
}px)`,
|
}px)`,
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
});
|
});
|
||||||
|
@ -178,16 +164,20 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$targetSearchInput.on('shown.bs.popover', () => {
|
$targetSearchInput.one('shown.bs.popover', () => {
|
||||||
$('.td-offline-search-results__close-button').on('click', () => {
|
$('.td-offline-search-results__close-button').on('click', () => {
|
||||||
$targetSearchInput.val('');
|
$targetSearchInput.val('');
|
||||||
$targetSearchInput.trigger('change');
|
$targetSearchInput.trigger('change');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$targetSearchInput
|
const popover = new bootstrap.Popover($targetSearchInput, {
|
||||||
.data('content', $html[0].outerHTML)
|
content: $html[0],
|
||||||
.popover('show');
|
html: true,
|
||||||
|
customClass: 'td-offline-search-results',
|
||||||
|
placement: 'bottom',
|
||||||
|
});
|
||||||
|
popover.show();
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
10
_vendor/github.com/google/docsy/assets/js/search.js
generated
10
_vendor/github.com/google/docsy/assets/js/search.js
generated
|
@ -15,7 +15,6 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function ($) {
|
(function ($) {
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var Search = {
|
var Search = {
|
||||||
|
@ -23,21 +22,18 @@ limitations under the License.
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$(document).on('keypress', '.td-search input', function (e) {
|
$(document).on('keypress', '.td-search input', function (e) {
|
||||||
if (e.keyCode !== 13) {
|
if (e.keyCode !== 13) {
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var query = $(this).val();
|
var query = $(this).val();
|
||||||
var searchPage = "{{ "search/" | absURL }}?q=" + query;
|
var searchPage = '{{ "search/" | absURL }}?q=' + query;
|
||||||
document.location = searchPage;
|
document.location = searchPage;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
Search.init();
|
Search.init();
|
||||||
|
})(jQuery);
|
||||||
|
|
||||||
}(jQuery));
|
|
||||||
|
|
|
@ -1,14 +1,29 @@
|
||||||
.td-blog {
|
.td-blog {
|
||||||
.td-rss-button {
|
.td-rss-button {
|
||||||
@extend .btn;
|
@extend .btn;
|
||||||
|
@extend .btn-info;
|
||||||
@extend .btn-lg;
|
@extend .btn-lg;
|
||||||
@extend .-bg-orange;
|
|
||||||
|
|
||||||
position: absolute;
|
border-radius: 2rem;
|
||||||
right: 1rem;
|
float: right;
|
||||||
z-index: 22;
|
|
||||||
|
|
||||||
display: none;
|
display: none;
|
||||||
@extend .d-lg-block;
|
@extend .d-lg-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-posts-list {
|
||||||
|
@extend .list-unstyled;
|
||||||
|
margin-top: map-get($spacers, 4) !important;
|
||||||
|
|
||||||
|
&__item {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin-bottom: map-get($spacers, 4) !important;
|
||||||
|
|
||||||
|
&__body {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,11 +1,14 @@
|
||||||
// Boxes on the home page and similar.
|
// Boxes on the home page and similar: .td-box
|
||||||
.td-box {}
|
|
||||||
|
|
||||||
// box-variant creates the main style for a colored section used on the site.
|
// box-variant creates the main style for a colored section
|
||||||
@mixin box-variant($parent, $color-name, $color-value) {
|
@mixin box-variant($parent, $color-name, $color-value) {
|
||||||
$text-color: color-yiq($color-value);
|
$text-color: color-contrast($color-value);
|
||||||
$link-color: mix($blue, $text-color, lightness($color-value));
|
$link-color: mix($blue, $text-color, lightness($color-value));
|
||||||
$link-hover-color: rgba($link-color, 0.5) !default;
|
$link-hover-color: if(
|
||||||
|
color-contrast($link-color) == $color-contrast-light,
|
||||||
|
shade-color($link-color, $link-shade-percentage),
|
||||||
|
tint-color($link-color, $link-shade-percentage)
|
||||||
|
);
|
||||||
|
|
||||||
#{$parent} {
|
#{$parent} {
|
||||||
&--#{$color-name} {
|
&--#{$color-name} {
|
||||||
|
@ -21,7 +24,7 @@
|
||||||
style: solid;
|
style: solid;
|
||||||
width: 25px 30px 0 30px;
|
width: 25px 30px 0 30px;
|
||||||
color: #{$color-value} transparent transparent transparent;
|
color: #{$color-value} transparent transparent transparent;
|
||||||
};
|
}
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -31,18 +34,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Improve contrast for the links in paragraphs.
|
// Improve contrast for the links in paragraphs.
|
||||||
@include link-variant("#{$parent}--#{$color-name} p > a", $link-color, $link-hover-color, false);
|
@include link-variant(
|
||||||
|
"#{$parent}--#{$color-name} p > a, #{$parent}--#{$color-name} span > a",
|
||||||
@if $enable-gradients {
|
$link-color,
|
||||||
@include bg-gradient-variant("#{$parent}--1#{$color-name}#{$parent}--gradient", $color-value, true);
|
$link-hover-color,
|
||||||
}
|
false
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common min-height modifiers used for boxes.
|
// Common min-height modifiers used for boxes.
|
||||||
@mixin td-box-height-modifiers($parent) {
|
@mixin td-box-height-modifiers($parent) {
|
||||||
#{$parent} {
|
#{$parent} {
|
||||||
&--height-auto {}
|
|
||||||
|
|
||||||
&--height-min {
|
&--height-min {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
}
|
}
|
||||||
|
@ -79,26 +81,15 @@
|
||||||
|
|
||||||
// Styling for section boxes
|
// Styling for section boxes
|
||||||
.td-box {
|
.td-box {
|
||||||
.row.section {
|
|
||||||
padding-left: 5vw;
|
|
||||||
padding-right: 5vw;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
> table {
|
|
||||||
@extend .table-striped;
|
|
||||||
|
|
||||||
@extend .table-responsive;
|
|
||||||
|
|
||||||
@extend .table;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
padding-left: 5vw;
|
padding-left: 5vw;
|
||||||
padding-right: 5vw;
|
padding-right: 5vw;
|
||||||
flex-direction: row;
|
}
|
||||||
|
table {
|
||||||
|
@extend .td-table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Styling for community page link boxes
|
// Styling for community page link boxes
|
||||||
|
|
||||||
.td-box.linkbox {
|
.td-box.linkbox {
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
// Breadcrumb
|
// Breadcrumb
|
||||||
|
|
||||||
.td-breadcrumbs {
|
.td-breadcrumbs {
|
||||||
@media print {display: none !important; }
|
@media print {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
background: inherit;
|
background: inherit;
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
// Buttons
|
|
||||||
|
|
||||||
@if $enable-rounded {
|
|
||||||
.btn {
|
|
||||||
border-radius: 1rem;
|
|
||||||
|
|
||||||
&-lg {
|
|
||||||
border-radius: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-sm {
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -12,24 +12,24 @@
|
||||||
.click-to-copy {
|
.click-to-copy {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
height: 1ex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
border-radius: inherit;
|
||||||
|
|
||||||
// Default click-to-copy button
|
// Default click-to-copy button
|
||||||
|
|
||||||
button {
|
button.td-click-to-copy {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
color: $gray-400;
|
color: $gray-400;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
box-shadow: 1px 1px $gray-400;
|
box-shadow: 1px 1px $gray-400;
|
||||||
right: 8px;
|
right: 4px;
|
||||||
top: 6px;
|
top: 2px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $dark;
|
color: $dark;
|
||||||
|
@ -41,27 +41,13 @@
|
||||||
transform: translateY(2px);
|
transform: translateY(2px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.c2c-tooltip {
|
|
||||||
background: $dark;
|
|
||||||
color: $white;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 3px;
|
|
||||||
display: block;
|
|
||||||
visibility: hidden;
|
|
||||||
opacity: 0;
|
|
||||||
transition: visibility 0s, opacity 0.5s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
.c2c-tooltip[show-tooltip] {
|
|
||||||
visibility: visible;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inline code
|
// Inline code
|
||||||
p code, li > code, table code {
|
p code,
|
||||||
|
li > code,
|
||||||
|
table code {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
padding: 0.2em 0.4em;
|
padding: 0.2em 0.4em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -75,14 +61,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Code blocks
|
// Code blocks
|
||||||
pre {
|
pre {
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
background-color: $gray-100;
|
background-color: $gray-100;
|
||||||
padding: $spacer;
|
padding: $spacer;
|
||||||
|
|
||||||
|
|
||||||
> code {
|
> code {
|
||||||
background-color: inherit !important;
|
background-color: inherit !important;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -97,5 +81,6 @@
|
||||||
pre.mermaid {
|
pre.mermaid {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// Add some local palette classes so you can do -bg-warning -text-warning etc. Even -bg-1 if you want to paint by numbers.
|
// Add some local palette classes so you can do -bg-warning -text-warning etc. Even -bg-1 if you want to paint by numbers.
|
||||||
@mixin palette-variant($color-name, $color-value) {
|
@mixin palette-variant($color-name, $color-value) {
|
||||||
$text-color: color-yiq($color-value);
|
$text-color: color-contrast($color-value);
|
||||||
$link-color: mix($blue, $text-color, lightness($color-value));
|
$link-color: mix($blue, $text-color, lightness($color-value));
|
||||||
|
|
||||||
$link-hover-color: rgba($link-color, .5) !default;
|
$link-hover-color: rgba($link-color, 0.5) !default;
|
||||||
|
|
||||||
.-bg-#{$color-name} {
|
.-bg-#{$color-name} {
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
|
@ -11,8 +11,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make links in paragraphs stand out more.
|
// Make links in paragraphs stand out more.
|
||||||
@include link-variant(".-bg-#{$color-name} p > a", $link-color, $link-hover-color, false);
|
@include link-variant(
|
||||||
|
".-bg-#{$color-name} p:not(.p-initial) > a",
|
||||||
|
$link-color,
|
||||||
|
$link-hover-color,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
.-text-#{$color-name} {
|
.-text-#{$color-name} {
|
||||||
color: $color-value;
|
color: $color-value;
|
||||||
|
@ -35,7 +39,7 @@
|
||||||
@for $i from 1 through length($td-box-colors) {
|
@for $i from 1 through length($td-box-colors) {
|
||||||
$value: nth($td-box-colors, $i);
|
$value: nth($td-box-colors, $i);
|
||||||
$name: $i - 1;
|
$name: $i - 1;
|
||||||
$text-color: color-yiq($value);
|
$text-color: color-contrast($value);
|
||||||
|
|
||||||
@include palette-variant($name, $value);
|
@include palette-variant($name, $value);
|
||||||
}
|
}
|
|
@ -5,7 +5,9 @@
|
||||||
.td-content {
|
.td-content {
|
||||||
order: 1;
|
order: 1;
|
||||||
|
|
||||||
p, li, td {
|
p,
|
||||||
|
li,
|
||||||
|
td {
|
||||||
font-weight: $font-weight-body-text;
|
font-weight: $font-weight-body-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +28,10 @@
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
> h3, > h4, > h5, > h6 {
|
> h3,
|
||||||
|
> h4,
|
||||||
|
> h5,
|
||||||
|
> h6 {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
@ -36,11 +41,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
@extend .table-striped;
|
@extend .td-table;
|
||||||
|
|
||||||
@extend .table-responsive;
|
|
||||||
|
|
||||||
@extend .table;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
@ -50,15 +51,28 @@
|
||||||
border-left: 6px solid $secondary;
|
border-left: 6px solid $secondary;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul li, ol li {
|
ul li,
|
||||||
margin-bottom: .25rem;
|
ol li {
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
> pre, > .highlight, > .lead, > h1, > h2, > ul, > ol, > p, > blockquote, > dl dd, .footnotes, > .alert {
|
.footnotes,
|
||||||
|
> .alert,
|
||||||
|
> .highlight,
|
||||||
|
> .lead,
|
||||||
|
> .td-table,
|
||||||
|
> blockquote,
|
||||||
|
> dl dd,
|
||||||
|
> h1,
|
||||||
|
> h2,
|
||||||
|
> ol,
|
||||||
|
> p,
|
||||||
|
> pre,
|
||||||
|
> ul {
|
||||||
@extend .td-max-width-on-larger-screens;
|
@extend .td-max-width-on-larger-screens;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,9 +88,33 @@
|
||||||
|
|
||||||
.td-title {
|
.td-title {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|
||||||
@include media-breakpoint-up(sm) {
|
@include media-breakpoint-up(sm) {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.td-heading-self-link {
|
||||||
|
&:before {
|
||||||
|
content: '#';
|
||||||
|
}
|
||||||
|
|
||||||
|
font-size: 90%;
|
||||||
|
padding-left: 0.25em;
|
||||||
|
text-decoration: none;
|
||||||
|
visibility: hidden;
|
||||||
|
|
||||||
|
// Always visible on touch devices and small screens
|
||||||
|
@media (hover: none) and (pointer: coarse),
|
||||||
|
(max-width: map-get($grid-breakpoints, sm)) {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@for $i from 1 through 6 {
|
||||||
|
h#{$i}:hover > .td-heading-self-link {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -3,13 +3,13 @@ div.drawio {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
@extend .btn;
|
||||||
|
@extend .btn-outline-primary;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font-size: 0.8em;
|
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
background-color: rgba($secondary, .8);
|
|
||||||
color: $primary-light;
|
|
||||||
padding: 0.4em 0.5em;
|
padding: 0.4em 0.5em;
|
||||||
|
font-size: 0.8em;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,4 +37,3 @@ div.drawioframe {
|
||||||
z-index: 1010;
|
z-index: 1010;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
.td-outer {
|
.td-outer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The outer page container for the default base template.
|
// The outer page container for the default base template.
|
||||||
|
@ -28,5 +28,7 @@
|
||||||
.td-main main {
|
.td-main main {
|
||||||
padding-top: 1.5rem;
|
padding-top: 1.5rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
@include media-breakpoint-up(md) { padding-top: 5.5rem; }
|
@include media-breakpoint-up(md) {
|
||||||
|
padding-top: 5.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,15 +3,12 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
.td-navbar-cover {
|
.td-navbar-cover {
|
||||||
background: $primary;
|
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
text-shadow: 1px 1px 2px $dark;
|
text-shadow: 1px 1px 2px $dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.navbar-bg-onscroll .nav-link {
|
&.navbar-bg-onscroll .nav-link {
|
||||||
|
@ -25,20 +22,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.td-navbar {
|
.td-navbar {
|
||||||
|
@extend .navbar;
|
||||||
|
@extend .navbar-expand;
|
||||||
|
|
||||||
background: $primary;
|
background: $primary;
|
||||||
min-height: 4rem;
|
min-height: 4rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 32;
|
z-index: 32;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-align: middle;
|
|
||||||
|
|
||||||
&__name {
|
&__name {
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
@ -51,6 +44,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-nav {
|
||||||
|
padding-top: $spacer * 0.5;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
@ -62,29 +60,35 @@
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-up(md) {
|
||||||
padding-right: .5rem;
|
position: fixed;
|
||||||
padding-left: .75rem;
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.nav-item {
|
||||||
|
padding-inline-end: $spacer * 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-nav {
|
||||||
|
padding-top: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media-breakpoint-down(lg) {
|
||||||
.td-navbar-nav-scroll {
|
.td-navbar-nav-scroll {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
margin-top: .25rem;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: .875rem;
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-link {
|
.navbar-brand {
|
||||||
padding-right: .25rem;
|
margin-right: 0;
|
||||||
padding-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: nowrap;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,7 +128,6 @@
|
||||||
|
|
||||||
// Foldable sidebar menu
|
// Foldable sidebar menu
|
||||||
nav.foldable-nav {
|
nav.foldable-nav {
|
||||||
|
|
||||||
&#td-section-nav {
|
&#td-section-nav {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +137,8 @@ nav.foldable-nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.td-sidebar-nav__section, .with-child ul {
|
.td-sidebar-nav__section,
|
||||||
|
.with-child ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -152,9 +156,12 @@ nav.foldable-nav {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox] { display: none; }
|
input[type="checkbox"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.with-child, .without-child {
|
.with-child,
|
||||||
|
.without-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
}
|
}
|
||||||
|
@ -165,7 +172,9 @@ nav.foldable-nav {
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
font-family: $font-awesome-font-name; font-weight: 900; content: "\f0da";
|
font-family: $font-awesome-font-name;
|
||||||
|
font-weight: 900;
|
||||||
|
content: "\f0da";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0.1em;
|
left: 0.1em;
|
||||||
padding-left: 0.4em;
|
padding-left: 0.4em;
|
||||||
|
@ -184,14 +193,13 @@ nav.foldable-nav {
|
||||||
transition: transform 0.5s;
|
transition: transform 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.with-child ul { margin-top: 0.1em; }
|
.with-child ul {
|
||||||
|
margin-top: 0.1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (hover: hover) and (pointer: fine) {
|
@media (hover: hover) and (pointer: fine) {
|
||||||
|
|
||||||
nav.foldable-nav {
|
nav.foldable-nav {
|
||||||
|
|
||||||
.ul-1 .with-child > label:hover:before {
|
.ul-1 .with-child > label:hover:before {
|
||||||
color: $primary;
|
color: $primary;
|
||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
|
|
|
@ -9,10 +9,17 @@
|
||||||
|
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
&-#{$color} {
|
&-#{$color} {
|
||||||
|
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $value;
|
border-color: $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.td-page-meta {
|
||||||
|
&__lastmod {
|
||||||
|
@extend .text-muted;
|
||||||
|
@extend .border-top;
|
||||||
|
margin-top: map-get($spacers, 5) !important;
|
||||||
|
padding-top: map-get($spacers, 3) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
.td-search {
|
.td-search {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 90%;
|
width: 100%;
|
||||||
|
|
||||||
// Search icon
|
// Search icon
|
||||||
&__icon {
|
&__icon {
|
||||||
|
@ -37,17 +37,13 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-indent: 1.25em;
|
text-indent: 1.25em;
|
||||||
|
|
||||||
@if $enable-rounded {
|
|
||||||
border-radius: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:focus) {
|
&:not(:focus) {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.form-control:focus {
|
&.form-control:focus {
|
||||||
border-color: lighten($primary, 60%);
|
border-color: tint-color($primary, 95%);
|
||||||
box-shadow: 0 0 0 2px lighten($primary, 30%);
|
box-shadow: 0 0 0 2px tint-color($primary, 40%);
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,12 +58,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hide icon on focus
|
// Hide icon on focus
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
|
|
||||||
.td-search__icon {
|
.td-search__icon {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -82,10 +76,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.td-sidebar .td-search--algolia {
|
||||||
|
display: block;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
> button {
|
||||||
|
margin: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Offline search
|
// Offline search
|
||||||
|
|
||||||
.td-search--offline {
|
.td-search--offline {
|
||||||
|
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
// Don't hide the search icon on focus: this gives better UX when user
|
// Don't hide the search icon on focus: this gives better UX when user
|
||||||
// explores content of search-results popup and focus is lost.
|
// explores content of search-results popup and focus is lost.
|
||||||
|
@ -101,7 +103,7 @@
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
margin-bottom: $spacer * .5;
|
margin-bottom: $spacer * 0.5;
|
||||||
|
|
||||||
.card-header {
|
.card-header {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
// Right side toc
|
// Right side toc
|
||||||
//
|
//
|
||||||
.td-sidebar-toc {
|
.td-sidebar-toc {
|
||||||
|
@include link-decoration;
|
||||||
|
|
||||||
border-left: 1px solid $border-color;
|
border-left: 1px solid $border-color;
|
||||||
|
|
||||||
@supports (position: sticky) {
|
@supports (position: sticky) {
|
||||||
|
@ -16,21 +18,17 @@
|
||||||
padding-bottom: 1.5rem;
|
padding-bottom: 1.5rem;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
}
|
.td-page-meta a {
|
||||||
|
|
||||||
.td-page-meta {
|
|
||||||
a {
|
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: $font-weight-medium;
|
font-weight: $font-weight-medium;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.td-toc {
|
.td-toc {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: $font-weight-light;
|
font-weight: $font-weight-light;
|
||||||
padding-bottom: .25rem;
|
padding-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
@ -44,14 +42,15 @@
|
||||||
|
|
||||||
#TableOfContents {
|
#TableOfContents {
|
||||||
// Hugo's ToC is a mouthful, this can be used to style the top level h2 entries.
|
// Hugo's ToC is a mouthful, this can be used to style the top level h2 entries.
|
||||||
> ul > li > ul > li > a {}
|
> ul > li > ul > li > a {
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $gray-600;
|
color: $gray-600;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $blue;
|
color: initial;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,29 +2,44 @@
|
||||||
// Left side navigation
|
// Left side navigation
|
||||||
//
|
//
|
||||||
.td-sidebar-nav {
|
.td-sidebar-nav {
|
||||||
|
$_max-height: calc(100vh - 8.5rem);
|
||||||
|
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
margin-right: -15px;
|
margin-right: -15px;
|
||||||
margin-left: -15px;
|
margin-left: -15px;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
@supports (position: sticky) {
|
@supports (position: sticky) {
|
||||||
max-height: calc(100vh - 10rem);
|
max-height: $_max-height;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Adjust height and padding when sidebar_search_disable is true, but only for
|
||||||
|
// >= `lg` views, because on tablet (`md`) and mobile (<= `sm`), the search
|
||||||
|
// box is displayed regardless of the value of sidebar_search_disable:
|
||||||
|
&.td-sidebar-nav--search-disabled {
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
// There's no search box so add top padding
|
||||||
|
// and adjust max-height:
|
||||||
|
padding-top: 1rem;
|
||||||
|
|
||||||
|
@supports (position: sticky) {
|
||||||
|
max-height: calc(#{$_max-height} + 4.5rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&__section {
|
&__section {
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
&.ul-0, ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +50,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,9 +77,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
&:focus,
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $blue;
|
color: $link-color;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -84,11 +98,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .td-sidebar-nav__section {
|
& > .td-sidebar-nav__section {
|
||||||
padding-top: .5rem;
|
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li i { // Layout of icons
|
li i {
|
||||||
|
// Layout of icons
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
&:before {
|
&:before {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -106,6 +120,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.td-sidebar {
|
.td-sidebar {
|
||||||
|
@include link-decoration;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
padding-top: 4rem;
|
padding-top: 4rem;
|
||||||
background-color: $td-sidebar-bg-color;
|
background-color: $td-sidebar-bg-color;
|
||||||
|
@ -113,7 +129,6 @@
|
||||||
border-right: 1px solid $td-sidebar-border-color;
|
border-right: 1px solid $td-sidebar-border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
|
|
||||||
&__toggle {
|
&__toggle {
|
||||||
|
@ -123,9 +138,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__search {
|
&__search {
|
||||||
padding: 1rem 15px;
|
padding: 1rem 0;
|
||||||
margin-right: -15px;
|
|
||||||
margin-left: -15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__inner {
|
&__inner {
|
||||||
|
@ -136,27 +149,32 @@
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 4rem;
|
top: 4rem;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
height: calc(100vh - 6rem);
|
height: calc(100vh - 5rem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@include media-breakpoint-up(xl) {
|
@include media-breakpoint-up(xl) {
|
||||||
flex: 0 1 320px;
|
flex: 0 1 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.td-search-box {
|
.td-search-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#content-desktop {display: block;}
|
#content-desktop {
|
||||||
#content-mobile {display: none;}
|
display: block;
|
||||||
|
}
|
||||||
|
#content-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-down(lg) {
|
||||||
|
#content-desktop {
|
||||||
#content-desktop {display: none;}
|
display: none;
|
||||||
#content-mobile {display: block;}
|
}
|
||||||
|
#content-mobile {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
3
_vendor/github.com/google/docsy/assets/scss/_swagger.scss
generated
Normal file
3
_vendor/github.com/google/docsy/assets/scss/_swagger.scss
generated
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.swagger-ui .info .title small pre {
|
||||||
|
background: #7d8492;
|
||||||
|
}
|
9
_vendor/github.com/google/docsy/assets/scss/_table.scss
generated
Normal file
9
_vendor/github.com/google/docsy/assets/scss/_table.scss
generated
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
.td-table:not(.td-initial) {
|
||||||
|
@extend .table;
|
||||||
|
@extend .table-striped;
|
||||||
|
@extend .table-responsive;
|
||||||
|
|
||||||
|
// The following is needed for tables to be responsive.
|
||||||
|
// For details, see the https://docsy.dev/docs/adding-content/lookandfeel/#tables
|
||||||
|
display: block;
|
||||||
|
}
|
|
@ -50,14 +50,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.taxo-text-tags {
|
.taxo-text-tags {
|
||||||
|
|
||||||
li + li::before {
|
li + li::before {
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.taxo-fruits {
|
.taxo-fruits {
|
||||||
|
|
||||||
.taxonomy-count,
|
.taxonomy-count,
|
||||||
.taxonomy-label {
|
.taxonomy-label {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
|
@ -144,7 +142,6 @@
|
||||||
|
|
||||||
// Example for simple tags layout
|
// Example for simple tags layout
|
||||||
.taxo-text-tags {
|
.taxo-text-tags {
|
||||||
|
|
||||||
.taxonomy-term {
|
.taxonomy-term {
|
||||||
background: none;
|
background: none;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
|
@ -201,7 +198,6 @@
|
||||||
|
|
||||||
// Example for icon tags
|
// Example for icon tags
|
||||||
.taxo-fruits {
|
.taxo-fruits {
|
||||||
|
|
||||||
.taxonomy-term[data-taxonomy-term]::before {
|
.taxonomy-term[data-taxonomy-term]::before {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
|
@ -333,7 +329,7 @@
|
||||||
|
|
||||||
.article-teaser {
|
.article-teaser {
|
||||||
&.card {
|
&.card {
|
||||||
padding: 1.0em;
|
padding: 1em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,45 +1,23 @@
|
||||||
/*
|
// Bootstrap options
|
||||||
|
|
||||||
Bootstrap variables overrides for theme.
|
|
||||||
See https://github.com/twbs/bootstrap/pull/23260
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
|
|
||||||
$enable-gradients: true !default;
|
$enable-gradients: true !default;
|
||||||
$enable-rounded: true !default;
|
|
||||||
$enable-shadows: true !default;
|
$enable-shadows: true !default;
|
||||||
|
|
||||||
// Theme flags.
|
|
||||||
|
|
||||||
$td-enable-google-fonts: true !default;
|
|
||||||
|
|
||||||
// Theme colors
|
// Theme colors
|
||||||
|
|
||||||
$primary: #30638E !default;
|
// TODO: consider moving all of these theme-color definitions into the User
|
||||||
$primary-light: lighten($primary, 75%) !default;
|
// Guide SCSS, or declare theme here, but namespaced:
|
||||||
$secondary: #FFA630 !default;
|
|
||||||
$success: #3772FF !default;
|
|
||||||
$info: #C0E0DE !default;
|
|
||||||
$warning: #ED6A5A !default;
|
|
||||||
$danger: #ED6A5A !default;
|
|
||||||
$white: #fff !default;
|
|
||||||
$light: #D3F3EE !default;
|
|
||||||
|
|
||||||
$dark: #403F4C !default;
|
$primary: #30638e !default;
|
||||||
$blue: #72A1E5 !default;
|
$secondary: #ffa630 !default;
|
||||||
$orange: #BA5A31 !default;
|
$success: #3772ff !default;
|
||||||
$gray-100: #f8f9fa !default;
|
$info: #c0e0de !default;
|
||||||
$gray-200: #eee !default;
|
$warning: #ed6a5a !default;
|
||||||
$gray-300: #dee2e6 !default;
|
$danger: #ed6a5a !default;
|
||||||
$gray-400: #ccc !default;
|
$light: #d3f3ee !default; // TODO: consider using BS value
|
||||||
$gray-500: #adb5bd !default;
|
$dark: #403f4c !default; // TODO: consider using BS value
|
||||||
$gray-600: #797676 !default;
|
|
||||||
$gray-700: #495057 !default;
|
|
||||||
$gray-800: #333 !default;
|
|
||||||
$gray-900: #222 !default;
|
|
||||||
$black: #000 !default;
|
|
||||||
|
|
||||||
$code-color: darken($secondary, 20%) !default;
|
$code-color: shade-color($secondary, 40%) !default;
|
||||||
|
|
||||||
// UI element colors
|
// UI element colors
|
||||||
|
|
||||||
|
@ -48,84 +26,67 @@ $td-sidebar-tree-root-color: $primary !default;
|
||||||
$td-sidebar-bg-color: rgba($primary, 0.03) !default;
|
$td-sidebar-bg-color: rgba($primary, 0.03) !default;
|
||||||
$td-sidebar-border-color: $border-color !default;
|
$td-sidebar-border-color: $border-color !default;
|
||||||
|
|
||||||
// Background colors for the sections on home page etc. It is a paint by number system, starting at 0, where the number is taken from the shortcode's ordinal
|
// Background colors for the sections on home page etc. It is a paint by number
|
||||||
// if not provided by the user.
|
// system, starting at 0, where the number is taken from the shortcode's ordinal
|
||||||
// These colors are all part of the theme palette, but the mix is fairly random to create variation. This can be overridden by the project if needed.
|
// if not provided by the user. These colors are all part of the theme palette,
|
||||||
$td-box-colors: $dark, $primary, $secondary, $info, $primary-light, $gray-600, $success, $warning, $dark, $danger, $primary, $secondary, $primary-light, $info !default;
|
// but the mix is fairly random to create variation. This can be overridden by
|
||||||
|
// the project if needed.
|
||||||
|
$td-box-colors: $dark, $primary, $secondary, $info, $white, $gray-600, $success,
|
||||||
|
$warning, $dark, $danger, $primary, $secondary, $info !default;
|
||||||
|
|
||||||
$link-color: darken($blue, 15%) !default;
|
$link-color: $blue-500 !default;
|
||||||
$link-decoration: none !default;
|
$link-shade-percentage: 30% !default;
|
||||||
$link-hover-color: darken($link-color, 15%) !default;
|
|
||||||
$link-hover-decoration: none !default;
|
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
|
|
||||||
|
$td-enable-google-fonts: true !default;
|
||||||
|
|
||||||
$google_font_name: "Open Sans" !default;
|
$google_font_name: "Open Sans" !default;
|
||||||
$google_font_family: "Open+Sans:300,300i,400,400i,700,700i" !default;
|
$google_font_family: "Open+Sans:300,300i,400,400i,700,700i" !default;
|
||||||
$web-font-path: "https://fonts.googleapis.com/css?family=#{$google_font_family}&display=swap";
|
$web-font-path: "https://fonts.googleapis.com/css?family=#{$google_font_family}&display=swap";
|
||||||
$font-awesome-font-name: "Font Awesome 6 Free" !default;
|
$font-awesome-font-name: "Font Awesome 6 Free" !default;
|
||||||
|
|
||||||
$td-fonts-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
$td-fonts-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||||
|
"Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
||||||
|
"Segoe UI Symbol";
|
||||||
|
|
||||||
@if $td-enable-google-fonts {
|
@if $td-enable-google-fonts {
|
||||||
$td-fonts-serif: prepend($td-fonts-serif, "#{$google_font_name}");
|
$td-fonts-serif: join("#{$google_font_name}", $td-fonts-serif);
|
||||||
}
|
}
|
||||||
|
|
||||||
$font-family-sans-serif: $td-fonts-serif !default;
|
$font-family-sans-serif: $td-fonts-serif !default; // TODO: consider moving into UG SCSS or namespace the var (td-)
|
||||||
|
|
||||||
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
|
||||||
$font-family-base: $font-family-sans-serif !default;
|
"Liberation Mono", "Courier New", monospace !default; // TODO: consider moving into UG SCSS or namespace the var (td-)
|
||||||
$font-size-base: 1rem !default;
|
$font-family-base: $font-family-sans-serif !default; // TODO: consider moving into UG SCSS or namespace the var (td-)
|
||||||
|
|
||||||
// Font weights
|
// Font weights
|
||||||
|
|
||||||
$font-weight-light: 300 !default;
|
$font-weight-medium: 500 !default; // TODO: move into var forward file after upgrading BS to v5.3+
|
||||||
$font-weight-normal: 400 !default;
|
|
||||||
$font-weight-medium: 500 !default;
|
|
||||||
$font-weight-bold: 700 !default;
|
|
||||||
|
|
||||||
$font-weight-body-text: $font-weight-normal !default;
|
$font-weight-body-text: $font-weight-normal !default;
|
||||||
$headings-font-weight: $font-weight-medium !default;
|
|
||||||
|
|
||||||
// Heading sizes
|
// Heading sizes
|
||||||
|
|
||||||
$h1-font-size: $font-size-base * 2.25 !default;
|
$h3-font-size: $font-size-base * 1.5 !default; // TODO: consider using BS default (* 1.75), or moving into UG SCSS
|
||||||
$h2-font-size: $font-size-base * 2 !default;
|
$h4-font-size: $font-size-base * 1.35 !default; // TODO: consider using BS default (* 1.5), or moving into UG SCSS
|
||||||
$h3-font-size: $font-size-base * 1.5 !default;
|
$h5-font-size: $font-size-base * 1.15 !default; // TODO: consider using BS default (* 1.25), or moving into UG SCSS
|
||||||
$h4-font-size: $font-size-base * 1.35 !default;
|
|
||||||
$h5-font-size: $font-size-base * 1.15 !default;
|
|
||||||
$h6-font-size: $font-size-base !default;
|
|
||||||
|
|
||||||
// Display styles
|
|
||||||
|
|
||||||
$display1-weight: $font-weight-bold !default;
|
|
||||||
$display2-weight: $font-weight-bold !default;
|
|
||||||
$display3-weight: $font-weight-bold !default;
|
|
||||||
$display4-weight: $font-weight-bold !default;
|
|
||||||
$display1-size: 3rem !default;
|
|
||||||
$display2-size: 2.5rem !default;
|
|
||||||
$display3-size: 2rem !default;
|
|
||||||
$display4-size: 1.75rem !default;
|
|
||||||
|
|
||||||
// Space
|
// Space
|
||||||
|
|
||||||
$spacer: 1rem;
|
|
||||||
$td-block-space-top-base: 4 * $spacer !default;
|
$td-block-space-top-base: 4 * $spacer !default;
|
||||||
$td-block-space-bottom-base: 4 * $spacer !default;
|
$td-block-space-bottom-base: 4 * $spacer !default;
|
||||||
|
|
||||||
// Pagination
|
// Pagination
|
||||||
|
|
||||||
$pagination-color: $gray-600 !default;
|
$pagination-color: $gray-600 !default; // TODO: consider using BS default
|
||||||
$pagination-border-color: rgba($black, 0.1) !default;
|
$pagination-disabled-color: $gray-300 !default; // TODO: consider using BS default
|
||||||
$pagination-active-border-color: darken($primary, 5%) !default;
|
|
||||||
$pagination-disabled-color: $gray-300 !default;
|
|
||||||
|
|
||||||
// Navbar
|
// Navbar
|
||||||
|
|
||||||
$navbar-dark-color: rgba($white, 0.75) !default;
|
$navbar-dark-color: rgba($white, 0.75) !default; // TODO: consider moving into UG SCSS
|
||||||
$navbar-dark-hover-color: rgba($white, 0.5) !default;
|
$navbar-dark-hover-color: rgba($white, 0.5) !default; // TODO: consider moving into UG SCSS
|
||||||
$navbar-dark-active-color: $white !default;
|
|
||||||
$navbar-dark-disabled-color: rgba($white, 0.25) !default;
|
|
||||||
|
|
||||||
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light".
|
// Footer
|
||||||
$yiq-contrasted-threshold: 200 !default;
|
|
||||||
|
$list-inline-padding: $spacer;
|
||||||
|
|
21
_vendor/github.com/google/docsy/assets/scss/_variables_forward.scss
generated
Normal file
21
_vendor/github.com/google/docsy/assets/scss/_variables_forward.scss
generated
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
// Forward declarations of variables used by _variables.scss and
|
||||||
|
// _variables_project.scss.
|
||||||
|
//
|
||||||
|
// TODO(@chalin): autogenerate the content of this file
|
||||||
|
|
||||||
|
// Bootstrap SASS variables:
|
||||||
|
|
||||||
|
$white: #fff !default;
|
||||||
|
$gray-300: #dee2e6 !default;
|
||||||
|
$gray-600: #6c757d !default;
|
||||||
|
$black: #000 !default;
|
||||||
|
|
||||||
|
$blue: #0d6efd !default;
|
||||||
|
|
||||||
|
$blue-500: $blue !default;
|
||||||
|
|
||||||
|
$font-size-base: 1rem !default;
|
||||||
|
$font-weight-normal: 400 !default;
|
||||||
|
$font-weight-bold: 700 !default;
|
||||||
|
|
||||||
|
$spacer: 1rem !default;
|
|
@ -14,9 +14,10 @@
|
||||||
repeat: no-repeat;
|
repeat: no-repeat;
|
||||||
position: 50% 0;
|
position: 50% 0;
|
||||||
size: cover;
|
size: cover;
|
||||||
};
|
}
|
||||||
|
|
||||||
& > .byline {
|
& > .byline {
|
||||||
|
@extend .small;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
right: 4px;
|
right: 4px;
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
@import "support/functions";
|
@import "../vendor/bootstrap/scss/functions";
|
||||||
|
|
||||||
|
@import "_variables_forward";
|
||||||
@import "variables_project";
|
@import "variables_project";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "support/mixins";
|
@import "support/mixins";
|
||||||
|
|
||||||
@import "../vendor/bootstrap/scss/bootstrap";
|
@import "../vendor/bootstrap/scss/bootstrap";
|
||||||
|
@import "support/bootstrap_vers_test";
|
||||||
|
|
||||||
@import "../vendor/Font-Awesome/scss/fontawesome.scss";
|
@import "../vendor/Font-Awesome/scss/fontawesome.scss";
|
||||||
@import "../vendor/Font-Awesome/scss/solid.scss";
|
@import "../vendor/Font-Awesome/scss/solid.scss";
|
||||||
|
@ -11,13 +14,13 @@
|
||||||
|
|
||||||
@import "support/utilities";
|
@import "support/utilities";
|
||||||
@import "colors";
|
@import "colors";
|
||||||
|
@import "table";
|
||||||
@import "boxes";
|
@import "boxes";
|
||||||
@import "blog";
|
@import "blog";
|
||||||
@import "code";
|
@import "code";
|
||||||
@import "nav";
|
@import "nav";
|
||||||
@import "sidebar-tree";
|
@import "sidebar-tree";
|
||||||
@import "sidebar-toc";
|
@import "sidebar-toc";
|
||||||
@import "buttons";
|
|
||||||
@import "breadcrumb";
|
@import "breadcrumb";
|
||||||
@import "alerts";
|
@import "alerts";
|
||||||
@import "content";
|
@import "content";
|
||||||
|
@ -29,17 +32,62 @@
|
||||||
@import "taxonomy";
|
@import "taxonomy";
|
||||||
@import "drawio";
|
@import "drawio";
|
||||||
@import "shortcodes";
|
@import "shortcodes";
|
||||||
|
@import "swagger";
|
||||||
|
|
||||||
|
|
||||||
@if $td-enable-google-fonts {
|
@if $td-enable-google-fonts {
|
||||||
@import url($web-font-path);
|
@import url($web-font-path);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
.td-footer {
|
||||||
min-height: 150px;
|
@extend .td-box--dark;
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
min-height: 150px;
|
||||||
|
padding-top: map-get($spacers, 5);
|
||||||
|
|
||||||
|
@include media-breakpoint-down(lg) {
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* &__left { } */
|
||||||
|
|
||||||
|
&__center {
|
||||||
|
@extend .small;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__about {
|
||||||
|
font-size: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__links {
|
||||||
|
&-list {
|
||||||
|
@extend .list-inline;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-item {
|
||||||
|
@extend .list-inline-item;
|
||||||
|
@extend .h3;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&__authors,
|
||||||
|
&__all_rights_reserved {
|
||||||
|
padding-left: map-get($spacers, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
&__all_rights_reserved {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust anchors vs the fixed menu.
|
// Adjust anchors vs the fixed menu.
|
||||||
|
@ -63,7 +111,4 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@import "rtl/main";
|
|
||||||
@import "styles_project";
|
@import "styles_project";
|
||||||
|
|
|
@ -5,8 +5,7 @@ body:lang(dv),
|
||||||
body:lang(he),
|
body:lang(he),
|
||||||
body:lang(ku),
|
body:lang(ku),
|
||||||
body:lang(ur) {
|
body:lang(ur) {
|
||||||
|
@import "spacing";
|
||||||
@import 'spacing';
|
|
||||||
|
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -31,21 +30,26 @@ body:lang(ur) {
|
||||||
}
|
}
|
||||||
|
|
||||||
body:lang(fa) {
|
body:lang(fa) {
|
||||||
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v27.0.1/dist/font-face.css');
|
@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v27.0.1/dist/font-face.css");
|
||||||
font-family: 'Vazir', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: "Vazir", "Open Sans", -apple-system, BlinkMacSystemFont,
|
||||||
|
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
|
||||||
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
|
|
||||||
body:lang(he) {
|
body:lang(he) {
|
||||||
@if $td-enable-google-fonts {
|
@if $td-enable-google-fonts {
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');
|
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap");
|
||||||
}
|
}
|
||||||
font-family: 'Rubik', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: "Rubik", "Open Sans", -apple-system, BlinkMacSystemFont,
|
||||||
|
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
|
||||||
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
|
|
||||||
body:lang(ar) {
|
body:lang(ar) {
|
||||||
@if $td-enable-google-fonts {
|
@if $td-enable-google-fonts {
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
|
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap");
|
||||||
}
|
}
|
||||||
font-family: 'Tajawal', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: "Tajawal", "Open Sans", -apple-system, BlinkMacSystemFont,
|
||||||
|
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
|
||||||
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,8 @@
|
||||||
@include media-breakpoint-up($breakpoint) {
|
@include media-breakpoint-up($breakpoint) {
|
||||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||||
|
|
||||||
@each $prop,
|
@each $prop, $abbrev in (margin: m, padding: p) {
|
||||||
$abbrev in (margin: m, padding: p) {
|
@each $size, $length in $spacers {
|
||||||
|
|
||||||
@each $size,
|
|
||||||
$length in $spacers {
|
|
||||||
.#{$abbrev}#{$infix}-#{$size} {
|
.#{$abbrev}#{$infix}-#{$size} {
|
||||||
#{$prop}: $length !important;
|
#{$prop}: $length !important;
|
||||||
}
|
}
|
||||||
|
@ -34,8 +31,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
|
// Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
|
||||||
@each $size,
|
@each $size, $length in $spacers {
|
||||||
$length in $spacers {
|
|
||||||
@if $size !=0 {
|
@if $size !=0 {
|
||||||
.m#{$infix}-n#{$size} {
|
.m#{$infix}-n#{$size} {
|
||||||
margin: -$length !important;
|
margin: -$length !important;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
.section-index {
|
.section-index {
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
padding: .75rem;
|
padding: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.td-card-deck.card-deck {
|
.td-card-group.card-group {
|
||||||
@extend .td-max-width-on-larger-screens;
|
@extend .td-max-width-on-larger-screens;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
border: none;
|
border: none;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,17 @@
|
||||||
.tab-content {
|
// Only constrain max-width for top-level tabbed panes not, e.g., those in lists.
|
||||||
.tab-pane {
|
.td-content > .tab-content .tab-pane {
|
||||||
pre {
|
@extend .td-max-width-on-larger-screens;
|
||||||
margin: 0rem 0 0rem 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
.tab-pane {
|
.tab-pane {
|
||||||
.highlight {
|
.highlight {
|
||||||
margin: 0rem 0 0rem 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
margin-top: 0rem;
|
margin-top: 0rem;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
max-width: 80%;
|
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.125);
|
border-left: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.125);
|
border-right: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
|
@ -29,6 +25,15 @@
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
|
||||||
|
> :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .highlight:only-child {
|
||||||
|
margin: -1.5rem;
|
||||||
|
max-width: calc(100% + 3rem);
|
||||||
|
}
|
||||||
|
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
&-#{$color} {
|
&-#{$color} {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
|
8
_vendor/github.com/google/docsy/assets/scss/support/_bootstrap_vers_test.scss
generated
Normal file
8
_vendor/github.com/google/docsy/assets/scss/support/_bootstrap_vers_test.scss
generated
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
$enable-important-utilities: null !default;
|
||||||
|
@if $enable-important-utilities == null {
|
||||||
|
@error "\
|
||||||
|
Docsy requires Bootstrap v5, but the v5 variable \
|
||||||
|
$enable-important-utilities isn't defined. \
|
||||||
|
Did you forget to update Docsy dependencies?\
|
||||||
|
";
|
||||||
|
}
|
|
@ -1,20 +0,0 @@
|
||||||
// Common functions.
|
|
||||||
|
|
||||||
@function prepend($list, $value) {
|
|
||||||
@return join($value, $list);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// See https://www.sitepoint.com/using-sass-build-color-palettes/
|
|
||||||
@function color-diff($a, $b) {
|
|
||||||
$sat: saturation($a) - saturation($b);
|
|
||||||
$lig: lightness($a) - lightness($b);
|
|
||||||
$fn-sat: if($sat > 0, 'desaturate', 'saturate');
|
|
||||||
$fn-lig: if($lig > 0, 'darken', 'lighten');
|
|
||||||
|
|
||||||
@return (
|
|
||||||
adjust-hue: -(hue($a) - hue($b)),
|
|
||||||
#{$fn-sat}: abs($sat),
|
|
||||||
#{$fn-lig}: abs($lig)
|
|
||||||
);
|
|
||||||
}
|
|
|
@ -1,8 +1,17 @@
|
||||||
// Some simple mixins.
|
// Mixins
|
||||||
|
|
||||||
@mixin bg-gradient-variant($parent, $color,$ignore-warning: false) {
|
@mixin link-decoration($base: none, $focus_or_hover: initial) {
|
||||||
#{$parent} {
|
a {
|
||||||
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
|
text-decoration: $base;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:hover {
|
||||||
|
text-decoration: $focus_or_hover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-link {
|
||||||
|
text-decoration: $base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,17 +41,14 @@
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root(":-moz-placeholder") {
|
@include optional-at-root(":-moz-placeholder") {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root("::-moz-placeholder") {
|
@include optional-at-root("::-moz-placeholder") {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root(":-ms-input-placeholder") {
|
@include optional-at-root(":-ms-input-placeholder") {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,4 @@
|
||||||
// Mixins
|
// Common utility classes
|
||||||
|
|
||||||
@mixin optional-at-root($sel) {
|
|
||||||
@at-root #{if(not &, $sel, selector-append(&, $sel))} {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin placeholder {
|
|
||||||
@include optional-at-root("::-webkit-input-placeholder") {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root(":-moz-placeholder") {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root("::-moz-placeholder") {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@include optional-at-root(":-ms-input-placeholder") {
|
|
||||||
@content;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Common util classes.
|
|
||||||
|
|
||||||
.td-border-top {
|
.td-border-top {
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -78,5 +49,4 @@
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -6,8 +6,6 @@ params:
|
||||||
time_format_blog: Monday, January 02, 2006
|
time_format_blog: Monday, January 02, 2006
|
||||||
time_format_default: January 2, 2006
|
time_format_default: January 2, 2006
|
||||||
rss_sections: [blog]
|
rss_sections: [blog]
|
||||||
drawio:
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
outputFormats:
|
outputFormats:
|
||||||
PRINT:
|
PRINT:
|
||||||
|
@ -20,7 +18,7 @@ outputFormats:
|
||||||
module:
|
module:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
extended: true
|
extended: true
|
||||||
min: 0.73.0
|
min: 0.110.0
|
||||||
mounts:
|
mounts:
|
||||||
- source: assets
|
- source: assets
|
||||||
target: assets
|
target: assets
|
||||||
|
@ -44,3 +42,22 @@ module:
|
||||||
target: assets/vendor/Font-Awesome
|
target: assets/vendor/Font-Awesome
|
||||||
- source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
|
- source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
|
||||||
target: static/webfonts
|
target: static/webfonts
|
||||||
|
# Mounts for module installations,
|
||||||
|
# needed to work around a known bug in Go’s module management.
|
||||||
|
- source: assets/_vendor/bootstrap/scss/
|
||||||
|
target: assets/vendor/bootstrap/scss/vendor
|
||||||
|
imports:
|
||||||
|
- path: github.com/twbs/bootstrap
|
||||||
|
disable: false
|
||||||
|
mounts:
|
||||||
|
- source: scss
|
||||||
|
target: assets/vendor/bootstrap/scss
|
||||||
|
- source: dist/js
|
||||||
|
target: assets/vendor/bootstrap/dist/js
|
||||||
|
- path: github.com/FortAwesome/Font-Awesome
|
||||||
|
disable: false
|
||||||
|
mounts:
|
||||||
|
- source: scss
|
||||||
|
target: assets/vendor/Font-Awesome/scss
|
||||||
|
- source: webfonts
|
||||||
|
target: static/webfonts
|
25
_vendor/github.com/google/docsy/i18n/ar.toml
generated
25
_vendor/github.com/google/docsy/i18n/ar.toml
generated
|
@ -15,6 +15,9 @@ other = "ابحث في هذا الموقع"
|
||||||
# Used in sentences such as "Posted in News"
|
# Used in sentences such as "Posted in News"
|
||||||
[ui_in]
|
[ui_in]
|
||||||
other = "في"
|
other = "في"
|
||||||
|
# Used in sentences such as "All Tags"
|
||||||
|
[ui_all]
|
||||||
|
other = "كل"
|
||||||
|
|
||||||
# Footer text
|
# Footer text
|
||||||
[footer_all_rights_reserved]
|
[footer_all_rights_reserved]
|
||||||
|
@ -33,6 +36,8 @@ other = "منشئة"
|
||||||
other = "اخر تعديل"
|
other = "اخر تعديل"
|
||||||
[post_edit_this]
|
[post_edit_this]
|
||||||
other = "عدل هذه الصفحة"
|
other = "عدل هذه الصفحة"
|
||||||
|
[post_view_this]
|
||||||
|
other = "أنظر مصدر الصفحة"
|
||||||
[post_create_child_page]
|
[post_create_child_page]
|
||||||
other = " أنشئ صفحة فرعية"
|
other = " أنشئ صفحة فرعية"
|
||||||
[post_create_issue]
|
[post_create_issue]
|
||||||
|
@ -42,9 +47,9 @@ other = "أنشئ مسألة حول المشروع"
|
||||||
[post_posts_in]
|
[post_posts_in]
|
||||||
other = "منشور في"
|
other = "منشور في"
|
||||||
[post_reading_time]
|
[post_reading_time]
|
||||||
other = "minute read"
|
other = "دقيقة للقراءة"
|
||||||
[post_less_than_a_minute_read]
|
[post_less_than_a_minute_read]
|
||||||
other = "less than a minute"
|
other = "أقل من دقيقة"
|
||||||
|
|
||||||
# Print support
|
# Print support
|
||||||
[print_printable_section]
|
[print_printable_section]
|
||||||
|
@ -58,18 +63,18 @@ other = "اطبع القسم كاملا"
|
||||||
|
|
||||||
# Community
|
# Community
|
||||||
[community_join]
|
[community_join]
|
||||||
other = "Join the {{ .Site.Title }} community"
|
other = "انضم الي مجتمع {{ .Site.Title }}"
|
||||||
[community_introduce]
|
[community_introduce]
|
||||||
other = "{{ .Site.Title }} is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved."
|
other = "{{ .Site.Title }} هو مشروع مفتوح المصدر يمكن لأي شخص في المجتمع استخدامه وتحسينه والاستمتاع به. يسعدنا أن تنضم إلينا! إليك بعض الطرق للمشاركة و معرفة ما يحدث."
|
||||||
[community_learn]
|
[community_learn]
|
||||||
other = "Learn and Connect"
|
other = "تعلم وتواصل"
|
||||||
[community_using]
|
[community_using]
|
||||||
other = "Using or want to use {{ .Site.Title }}? Find out more here:"
|
other = "تستخدام أو تريد استخدام {{ .Site.Title }}؟ اكتشف المزيد هنا:"
|
||||||
[community_develop]
|
[community_develop]
|
||||||
other = "Develop and Contribute"
|
other = "طور و ساهم"
|
||||||
[community_contribute]
|
[community_contribute]
|
||||||
other = "If you want to get more involved by contributing to {{ .Site.Title }}, join us here:"
|
other = "إذا كنت ترغب في المشاركة بشكل أكبر من خلال المساهمة في {{ .Site.Title }}, انضم إلينا هنا:"
|
||||||
[community_how_to]
|
[community_how_to]
|
||||||
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
other = "يمكنك معرفة كيفية المساهمة في {{ .Site.Title }} من خلال"
|
||||||
[community_guideline]
|
[community_guideline]
|
||||||
other = "Contribution Guidelines"
|
other = "إرشادات المساهمة"
|
||||||
|
|
10
_vendor/github.com/google/docsy/i18n/de.toml
generated
10
_vendor/github.com/google/docsy/i18n/de.toml
generated
|
@ -79,3 +79,13 @@ other = "Wenn Du aktiv beteiligen und einen Beitrag zu {{ .Site.Title }} leisten
|
||||||
other = "Wie Du selbst zu {{ .Site.Title }} beitragen kannst, kannst Du nachlesen in unseren"
|
other = "Wie Du selbst zu {{ .Site.Title }} beitragen kannst, kannst Du nachlesen in unseren"
|
||||||
[community_guideline]
|
[community_guideline]
|
||||||
other = "Richtlinien für Beiträge"
|
other = "Richtlinien für Beiträge"
|
||||||
|
|
||||||
|
# Feedback
|
||||||
|
[feedback_title]
|
||||||
|
other = "Rückmeldung"
|
||||||
|
[feedback_question]
|
||||||
|
other = "War diese Seite hilfreich?"
|
||||||
|
[feedback_positive]
|
||||||
|
other = "Ja"
|
||||||
|
[feedback_negative]
|
||||||
|
other = "Nein"
|
||||||
|
|
11
_vendor/github.com/google/docsy/i18n/en.toml
generated
11
_vendor/github.com/google/docsy/i18n/en.toml
generated
|
@ -27,7 +27,6 @@ other = "All Rights Reserved"
|
||||||
[footer_privacy_policy]
|
[footer_privacy_policy]
|
||||||
other = "Privacy Policy"
|
other = "Privacy Policy"
|
||||||
|
|
||||||
|
|
||||||
# Post (blog, articles etc.)
|
# Post (blog, articles etc.)
|
||||||
[post_byline_by]
|
[post_byline_by]
|
||||||
other = "By"
|
other = "By"
|
||||||
|
@ -79,3 +78,13 @@ other = "If you want to get more involved by contributing to {{ .Site.Title }},
|
||||||
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
||||||
[community_guideline]
|
[community_guideline]
|
||||||
other = "Contribution Guidelines"
|
other = "Contribution Guidelines"
|
||||||
|
|
||||||
|
# Feedback
|
||||||
|
[feedback_title]
|
||||||
|
other = "Feedback"
|
||||||
|
[feedback_question]
|
||||||
|
other = "Was this page helpful?"
|
||||||
|
[feedback_positive]
|
||||||
|
other = "Yes"
|
||||||
|
[feedback_negative]
|
||||||
|
other = "No"
|
||||||
|
|
2
_vendor/github.com/google/docsy/i18n/es.toml
generated
2
_vendor/github.com/google/docsy/i18n/es.toml
generated
|
@ -7,7 +7,7 @@ other = "Previo"
|
||||||
other = "Siguiente"
|
other = "Siguiente"
|
||||||
|
|
||||||
[ui_read_more]
|
[ui_read_more]
|
||||||
other = "Contiuar leyendo"
|
other = "Continuar leyendo"
|
||||||
|
|
||||||
[ui_search]
|
[ui_search]
|
||||||
other = "Buscar"
|
other = "Buscar"
|
||||||
|
|
81
_vendor/github.com/google/docsy/i18n/fi.toml
generated
Normal file
81
_vendor/github.com/google/docsy/i18n/fi.toml
generated
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
# UI strings. Buttons and similar.
|
||||||
|
|
||||||
|
[ui_pager_prev]
|
||||||
|
other = "Edellinen"
|
||||||
|
|
||||||
|
[ui_pager_next]
|
||||||
|
other = "Seuraava"
|
||||||
|
|
||||||
|
[ui_read_more]
|
||||||
|
other = "Lue lisää"
|
||||||
|
|
||||||
|
[ui_search]
|
||||||
|
other = "Hae sivustolta..."
|
||||||
|
|
||||||
|
# Used in sentences such as "Posted in News"
|
||||||
|
[ui_in]
|
||||||
|
other = ""
|
||||||
|
|
||||||
|
# Used in sentences such as "All Tags"
|
||||||
|
[ui_all]
|
||||||
|
other = "kaikki"
|
||||||
|
|
||||||
|
# Footer text
|
||||||
|
[footer_all_rights_reserved]
|
||||||
|
other = "(C)"
|
||||||
|
|
||||||
|
[footer_privacy_policy]
|
||||||
|
other = "Tietosuojalauseke"
|
||||||
|
|
||||||
|
|
||||||
|
# Post (blog, articles etc.)
|
||||||
|
[post_byline_by]
|
||||||
|
other = "Kirjoittanut"
|
||||||
|
[post_created]
|
||||||
|
other = "Luonut"
|
||||||
|
[post_last_mod]
|
||||||
|
other = "Viimeksi muokattu"
|
||||||
|
[post_edit_this]
|
||||||
|
other = "Muokkaa sivua"
|
||||||
|
[post_view_this]
|
||||||
|
other = "Katso lähdekoodi"
|
||||||
|
[post_create_child_page]
|
||||||
|
other = "Luo alisivu"
|
||||||
|
[post_create_issue]
|
||||||
|
other = "Luo dokumentaation vikailmoitus"
|
||||||
|
[post_create_project_issue]
|
||||||
|
other = "Luo projektin vikailmoitus"
|
||||||
|
[post_posts_in]
|
||||||
|
other = "Kirjoituksia"
|
||||||
|
[post_reading_time]
|
||||||
|
other = "minuutin teksti"
|
||||||
|
[post_less_than_a_minute_read]
|
||||||
|
other = "alle minuutin"
|
||||||
|
|
||||||
|
# Print support
|
||||||
|
[print_printable_section]
|
||||||
|
other = "Tämä on monen sivun tulostettava näkymä osiosta"
|
||||||
|
[print_click_to_print]
|
||||||
|
other = "Paina tulostaaksesi"
|
||||||
|
[print_show_regular]
|
||||||
|
other = "Palaa tavalliseen näkymään"
|
||||||
|
[print_entire_section]
|
||||||
|
other = "Tulosta koko osio"
|
||||||
|
|
||||||
|
# Community
|
||||||
|
[community_join]
|
||||||
|
other = "Liity {{ .Site.Title }}-yhteisöön"
|
||||||
|
[community_introduce]
|
||||||
|
other = "{{ .Site.Title }} on avoimen lähdekoodin projekti, josta jokainen saa nauttia käyttämällä ja kehittämällä sitä. Olisi mahtavaa jos tulisit mukaan! Tässä pari tapaa osallistua."
|
||||||
|
[community_learn]
|
||||||
|
other = "Opi ja kohtaa muita"
|
||||||
|
[community_using]
|
||||||
|
other = "Käytätkö tai haluatko käyttää {{ .Site.Title }}:a? Lisätietoa täällä:"
|
||||||
|
[community_develop]
|
||||||
|
other = "Kehitä ja osallistu"
|
||||||
|
[community_contribute]
|
||||||
|
other = "Jos haluat auttaa kehittämään {{ .Site.Title }}:a, liity tänne:"
|
||||||
|
[community_how_to]
|
||||||
|
other = "Voit oppia kehittämään {{ .Site.Title }}:a meidän"
|
||||||
|
[community_guideline]
|
||||||
|
other = "osallistumisohjeissamme"
|
81
_vendor/github.com/google/docsy/i18n/hi.toml
generated
Normal file
81
_vendor/github.com/google/docsy/i18n/hi.toml
generated
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
# UI strings. Buttons and similar.
|
||||||
|
|
||||||
|
[ui_pager_prev]
|
||||||
|
other = "पिछला"
|
||||||
|
|
||||||
|
[ui_pager_next]
|
||||||
|
other = "अगला"
|
||||||
|
|
||||||
|
[ui_read_more]
|
||||||
|
other = "अधिक जानें"
|
||||||
|
|
||||||
|
[ui_search]
|
||||||
|
other = "इस साइट में खोजें…"
|
||||||
|
|
||||||
|
# Used in sentences such as "Posted in News"
|
||||||
|
[ui_in]
|
||||||
|
other = "में"
|
||||||
|
|
||||||
|
# Used in sentences such as "All Tags"
|
||||||
|
[ui_all]
|
||||||
|
other = "देखना सभी टैग"
|
||||||
|
|
||||||
|
# Footer text
|
||||||
|
[footer_all_rights_reserved]
|
||||||
|
other = "सर्वाधिकार सुरक्षित"
|
||||||
|
|
||||||
|
[footer_privacy_policy]
|
||||||
|
other = "गोपनीयता नीति"
|
||||||
|
|
||||||
|
|
||||||
|
# Post (blog, articles etc.)
|
||||||
|
[post_byline_by]
|
||||||
|
other = "द्वारा"
|
||||||
|
[post_created]
|
||||||
|
other = "बनाया"
|
||||||
|
[post_last_mod]
|
||||||
|
other = "अंतिम बार संशोधित"
|
||||||
|
[post_edit_this]
|
||||||
|
other = "इस पृष्ठ को संपादित करें"
|
||||||
|
[post_view_this]
|
||||||
|
other = "पृष्ठ का स्त्रोत देखें"
|
||||||
|
[post_create_child_page]
|
||||||
|
other = "चाइल्ड पृष्ठ बनाएं"
|
||||||
|
[post_create_issue]
|
||||||
|
other = "समस्या की सुचना दें"
|
||||||
|
[post_create_project_issue]
|
||||||
|
other = "परियोजना इशू बनाएं"
|
||||||
|
[post_posts_in]
|
||||||
|
other = "पोस्ट में"
|
||||||
|
[post_reading_time]
|
||||||
|
other = "लघु अध्ययन"
|
||||||
|
[post_less_than_a_minute_read]
|
||||||
|
other = "एक मिनट से कम"
|
||||||
|
|
||||||
|
# Print support
|
||||||
|
[print_printable_section]
|
||||||
|
other = "यह इस खंड का बहु-पृष्ठ प्रिंट योग्य दृश्य है।"
|
||||||
|
[print_click_to_print]
|
||||||
|
other = "प्रिंट करने के लिए यहां क्लिक करें"
|
||||||
|
[print_show_regular]
|
||||||
|
other = "इस पृष्ठ के सामान्य दृश्य पर लौटें"
|
||||||
|
[print_entire_section]
|
||||||
|
other = "संपूर्ण अनुभाग प्रिंट करें"
|
||||||
|
|
||||||
|
# Community
|
||||||
|
[community_join]
|
||||||
|
other = "{{ .Site.Title }} समुदाय में शामिल हों"
|
||||||
|
[community_introduce]
|
||||||
|
other = "{{ .Site.Title }} एक खुला स्रोत प्रोजेक्ट है जिसका समुदाय में कोई भी उपयोग कर सकता है, सुधार कर सकता है और आनंद ले सकता है। हम चाहेंगे कि आप हमारे साथ जुड़ें! क्या हो रहा है इसका पता लगाने और इसमें शामिल होने के कुछ तरीके यहां दिए गए हैं."
|
||||||
|
[community_learn]
|
||||||
|
other = "सीखें और जुड़ें"
|
||||||
|
[community_using]
|
||||||
|
other = "{{ .Site.Title }} का उपयोग कर रहे हैं या करना चाहते हैं? यहां और जानें:"
|
||||||
|
[community_develop]
|
||||||
|
other = "विकास करें और योगदान दें"
|
||||||
|
[community_contribute]
|
||||||
|
other = "यदि आप {{ .Site.Title }} में योगदान देकर और अधिक शामिल होना चाहते हैं, तो यहां हमसे जुड़ें:"
|
||||||
|
[community_how_to]
|
||||||
|
other = "आप हमारे यहां {{ .Site.Title }} में योगदान करने का तरीका जान सकते हैं"
|
||||||
|
[community_guideline]
|
||||||
|
other = "योगदान दिशानिर्देश"
|
2
_vendor/github.com/google/docsy/i18n/ja.toml
generated
2
_vendor/github.com/google/docsy/i18n/ja.toml
generated
|
@ -35,6 +35,8 @@ other = "作成"
|
||||||
other = "最終更新"
|
other = "最終更新"
|
||||||
[post_edit_this]
|
[post_edit_this]
|
||||||
other = "ページの編集"
|
other = "ページの編集"
|
||||||
|
[post_view_this]
|
||||||
|
other = "ページのソースコードを見る"
|
||||||
[post_create_child_page]
|
[post_create_child_page]
|
||||||
other = "子ページを作成"
|
other = "子ページを作成"
|
||||||
[post_create_issue]
|
[post_create_issue]
|
||||||
|
|
24
_vendor/github.com/google/docsy/i18n/nl.toml
generated
24
_vendor/github.com/google/docsy/i18n/nl.toml
generated
|
@ -18,6 +18,9 @@ other = "Doorzoek deze site"
|
||||||
[ui_in]
|
[ui_in]
|
||||||
other = "in"
|
other = "in"
|
||||||
|
|
||||||
|
[ui_all]
|
||||||
|
other = "alle"
|
||||||
|
|
||||||
# Footer text
|
# Footer text
|
||||||
[footer_all_rights_reserved]
|
[footer_all_rights_reserved]
|
||||||
other = "Alle rechten voorbehouden"
|
other = "Alle rechten voorbehouden"
|
||||||
|
@ -25,7 +28,6 @@ other = "Alle rechten voorbehouden"
|
||||||
[footer_privacy_policy]
|
[footer_privacy_policy]
|
||||||
other = "Privacy Policy"
|
other = "Privacy Policy"
|
||||||
|
|
||||||
|
|
||||||
# Post (blog, articles etc.)
|
# Post (blog, articles etc.)
|
||||||
[post_byline_by]
|
[post_byline_by]
|
||||||
other = "Door"
|
other = "Door"
|
||||||
|
@ -35,6 +37,8 @@ other = "Aangemaakt"
|
||||||
other = "Laatst gewijzigd"
|
other = "Laatst gewijzigd"
|
||||||
[post_edit_this]
|
[post_edit_this]
|
||||||
other = "Bewerk deze pagina"
|
other = "Bewerk deze pagina"
|
||||||
|
[post_view_this]
|
||||||
|
other = "Bekijk paginabron"
|
||||||
[post_create_child_page]
|
[post_create_child_page]
|
||||||
other = "Maak sub pagina"
|
other = "Maak sub pagina"
|
||||||
[post_create_issue]
|
[post_create_issue]
|
||||||
|
@ -56,22 +60,22 @@ other = "Klik hier om te printen"
|
||||||
[print_show_regular]
|
[print_show_regular]
|
||||||
other = "Terug naar normale view van deze pagina"
|
other = "Terug naar normale view van deze pagina"
|
||||||
[print_entire_section]
|
[print_entire_section]
|
||||||
other = "Print complete sectie"
|
other = "Print volledige sectie"
|
||||||
|
|
||||||
# Community
|
# Community
|
||||||
[community_join]
|
[community_join]
|
||||||
other = "Join the {{ .Site.Title }} community"
|
other = "Wordt lid van de {{ .Site.Title }} community"
|
||||||
[community_introduce]
|
[community_introduce]
|
||||||
other = "{{ .Site.Title }} is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved."
|
other = "{{ .Site.Title }} is een open source project welke iedereen kan gebruiken, verbeteren en van kan genieten. We zouden het fijn vinden als je betrokken wordt! Hier zijn een aantal manieren om erachter te komen wat er speelt en hoe je betrokken kunt worden."
|
||||||
[community_learn]
|
[community_learn]
|
||||||
other = "Learn and Connect"
|
other = "Leren en aansluiten"
|
||||||
[community_using]
|
[community_using]
|
||||||
other = "Using or want to use {{ .Site.Title }}? Find out more here:"
|
other = "Gebruik je {{ .Site.Title }} of wil je dit gebruiken? Meer informatie hier:"
|
||||||
[community_develop]
|
[community_develop]
|
||||||
other = "Develop and Contribute"
|
other = "Ontwikkel en draag bij"
|
||||||
[community_contribute]
|
[community_contribute]
|
||||||
other = "If you want to get more involved by contributing to {{ .Site.Title }}, join us here:"
|
other = "Als je meer betrokken wil zijn door bij te dragen aan {{ .Site.Title }}, meldt je hier aan:"
|
||||||
[community_how_to]
|
[community_how_to]
|
||||||
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
other = "Je kunt meer informatie vinden over hoe bij te dragen aan {{ .Site.Title }} in onze"
|
||||||
[community_guideline]
|
[community_guideline]
|
||||||
other = "Contribution Guidelines"
|
other = "Richtlijnen voor bijdrage"
|
||||||
|
|
2
_vendor/github.com/google/docsy/i18n/pl.toml
generated
2
_vendor/github.com/google/docsy/i18n/pl.toml
generated
|
@ -12,7 +12,7 @@ other = "Dalej"
|
||||||
other = "Zobacz więcej"
|
other = "Zobacz więcej"
|
||||||
|
|
||||||
[ui_search]
|
[ui_search]
|
||||||
other = "Szukaj ns stronie ..."
|
other = "Szukaj na stronie ..."
|
||||||
|
|
||||||
# Used in sentences such as "Posted in News"
|
# Used in sentences such as "Posted in News"
|
||||||
[ui_in]
|
[ui_in]
|
||||||
|
|
35
_vendor/github.com/google/docsy/i18n/tr.toml
generated
35
_vendor/github.com/google/docsy/i18n/tr.toml
generated
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
# UI strings. Buttons and similar.
|
# UI strings. Buttons and similar.
|
||||||
|
|
||||||
[ui_pager_prev]
|
[ui_pager_prev]
|
||||||
|
@ -18,14 +16,17 @@ other = "Bu sitede arayın…"
|
||||||
[ui_in]
|
[ui_in]
|
||||||
other = "içinde"
|
other = "içinde"
|
||||||
|
|
||||||
|
# Used in sentences such as "All Tags"
|
||||||
|
[ui_all]
|
||||||
|
other = "tüm"
|
||||||
|
|
||||||
# Footer text
|
# Footer text
|
||||||
[footer_all_rights_reserved]
|
[footer_all_rights_reserved]
|
||||||
other = "Bütün haklar saklıdır"
|
other = "Tüm Hakları Saklıdır"
|
||||||
|
|
||||||
[footer_privacy_policy]
|
[footer_privacy_policy]
|
||||||
other = "Gizlilik Politikası"
|
other = "Gizlilik Politikası"
|
||||||
|
|
||||||
|
|
||||||
# Post (blog, articles etc.)
|
# Post (blog, articles etc.)
|
||||||
[post_byline_by]
|
[post_byline_by]
|
||||||
other = "by"
|
other = "by"
|
||||||
|
@ -35,6 +36,8 @@ other = "Oluşturuldu"
|
||||||
other = "Son düzenleme"
|
other = "Son düzenleme"
|
||||||
[post_edit_this]
|
[post_edit_this]
|
||||||
other = "Bu sayfayı düzenle"
|
other = "Bu sayfayı düzenle"
|
||||||
|
[post_view_this]
|
||||||
|
other = "Sayfa kaynağını görüntüle"
|
||||||
[post_create_child_page]
|
[post_create_child_page]
|
||||||
other = "Çocuk sayfası oluştur"
|
other = "Çocuk sayfası oluştur"
|
||||||
[post_create_issue]
|
[post_create_issue]
|
||||||
|
@ -46,7 +49,7 @@ other = "Gönderiler in"
|
||||||
[post_reading_time]
|
[post_reading_time]
|
||||||
other = "minute read"
|
other = "minute read"
|
||||||
[post_less_than_a_minute_read]
|
[post_less_than_a_minute_read]
|
||||||
other = "less than a minute"
|
other = "1 dakikadan az"
|
||||||
|
|
||||||
# Print support
|
# Print support
|
||||||
[print_printable_section]
|
[print_printable_section]
|
||||||
|
@ -60,18 +63,28 @@ other = "Bütün bölümü yazıdırın"
|
||||||
|
|
||||||
# Community
|
# Community
|
||||||
[community_join]
|
[community_join]
|
||||||
other = "Join the {{ .Site.Title }} community"
|
other = "{{ .Site.Title }} topluluğuna katılın"
|
||||||
[community_introduce]
|
[community_introduce]
|
||||||
other = "{{ .Site.Title }} is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved."
|
other = "{{ .Site.Title }} topluluktaki herkesin kullanabileceği, geliştirebileceği ve keyfini çıkarabileceği açık kaynaklı bir projedir. Bize katılmanızı çok isteriz! İşte neler olduğunu öğrenmenin ve dahil olmanın birkaç yolu."
|
||||||
[community_learn]
|
[community_learn]
|
||||||
other = "Learn and Connect"
|
other = "Öğrenin ve Bağlanın"
|
||||||
[community_using]
|
[community_using]
|
||||||
other = "Using or want to use {{ .Site.Title }}? Find out more here:"
|
other = "{{ .Site.Title }} kullanıyor veya kullanmak mı istiyorsunuz? Daha fazlasını burada bulabilirsiniz:"
|
||||||
[community_develop]
|
[community_develop]
|
||||||
other = "Develop and Contribute"
|
other = "Geliştirin ve Katkıda Bulunun"
|
||||||
[community_contribute]
|
[community_contribute]
|
||||||
other = "If you want to get more involved by contributing to {{ .Site.Title }}, join us here:"
|
other = "If you want to get more involved by contributing to {{ .Site.Title }}, join us here:"
|
||||||
[community_how_to]
|
[community_how_to]
|
||||||
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
other = "You can find out how to contribute to {{ .Site.Title }} in our"
|
||||||
[community_guideline]
|
[community_guideline]
|
||||||
other = "Contribution Guidelines"
|
other = "Katkı Yönergeleri"
|
||||||
|
|
||||||
|
# Feedback
|
||||||
|
[feedback_title]
|
||||||
|
other = "Geribildirim"
|
||||||
|
[feedback_question]
|
||||||
|
other = "Bu sayfa yararlı oldu mu?"
|
||||||
|
[feedback_positive]
|
||||||
|
other = "Evet"
|
||||||
|
[feedback_negative]
|
||||||
|
other = "Hayır"
|
||||||
|
|
2
_vendor/github.com/google/docsy/i18n/zh-cn.toml
generated
2
_vendor/github.com/google/docsy/i18n/zh-cn.toml
generated
|
@ -46,7 +46,7 @@ other = "提交文档问题"
|
||||||
[post_create_project_issue]
|
[post_create_project_issue]
|
||||||
other = "提交项目问题"
|
other = "提交项目问题"
|
||||||
[post_posts_in]
|
[post_posts_in]
|
||||||
other = "张贴在"
|
other = "撰写于"
|
||||||
[post_reading_time]
|
[post_reading_time]
|
||||||
other = "分钟阅读"
|
other = "分钟阅读"
|
||||||
[post_less_than_a_minute_read]
|
[post_less_than_a_minute_read]
|
||||||
|
|
20
_vendor/github.com/google/docsy/i18n/zh-tw.toml
generated
20
_vendor/github.com/google/docsy/i18n/zh-tw.toml
generated
|
@ -7,14 +7,14 @@ other = "上一頁"
|
||||||
other = "下一頁"
|
other = "下一頁"
|
||||||
|
|
||||||
[ui_read_more]
|
[ui_read_more]
|
||||||
other = "更多"
|
other = "閱讀全文"
|
||||||
|
|
||||||
[ui_search]
|
[ui_search]
|
||||||
other = "站內搜索…"
|
other = "站內搜尋…"
|
||||||
|
|
||||||
# Used in sentences such as "Posted in News"
|
# Used in sentences such as "Posted in News"
|
||||||
[ui_in]
|
[ui_in]
|
||||||
other = "在"
|
other = "於"
|
||||||
|
|
||||||
# Used in sentences such as "All Tags"
|
# Used in sentences such as "All Tags"
|
||||||
[ui_all]
|
[ui_all]
|
||||||
|
@ -30,7 +30,7 @@ other = "隱私政策"
|
||||||
|
|
||||||
# Post (blog, articles etc.)
|
# Post (blog, articles etc.)
|
||||||
[post_byline_by]
|
[post_byline_by]
|
||||||
other = "藉由"
|
other = "作者:"
|
||||||
[post_created]
|
[post_created]
|
||||||
other = "創建"
|
other = "創建"
|
||||||
[post_last_mod]
|
[post_last_mod]
|
||||||
|
@ -46,21 +46,21 @@ other = "創建文檔議題"
|
||||||
[post_create_project_issue]
|
[post_create_project_issue]
|
||||||
other = "創建項目議題"
|
other = "創建項目議題"
|
||||||
[post_posts_in]
|
[post_posts_in]
|
||||||
other = "張貼在"
|
other = "張貼於"
|
||||||
[post_reading_time]
|
[post_reading_time]
|
||||||
other = "分鐘閱讀"
|
other = " 分鐘左右可讀完"
|
||||||
[post_less_than_a_minute_read]
|
[post_less_than_a_minute_read]
|
||||||
other = "少於1分鐘"
|
other = "1 分鐘內可讀完"
|
||||||
|
|
||||||
# Print support
|
# Print support
|
||||||
[print_printable_section]
|
[print_printable_section]
|
||||||
other = "這是本節的多頁可打印視圖。"
|
other = "這是本節的多頁可列印視圖。"
|
||||||
[print_click_to_print]
|
[print_click_to_print]
|
||||||
other = "點擊此處打印"
|
other = "點擊此處列印"
|
||||||
[print_show_regular]
|
[print_show_regular]
|
||||||
other = "返回此頁面的常規視圖"
|
other = "返回此頁面的常規視圖"
|
||||||
[print_entire_section]
|
[print_entire_section]
|
||||||
other = "打印整個章節"
|
other = "列印整個章節"
|
||||||
|
|
||||||
# Community
|
# Community
|
||||||
[community_join]
|
[community_join]
|
||||||
|
|
18
_vendor/github.com/google/docsy/layouts/_default/_markup/render-codeblock-chem.html
generated
Normal file
18
_vendor/github.com/google/docsy/layouts/_default/_markup/render-codeblock-chem.html
generated
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{{ .Page.Store.Set "hasmhchem" true -}}
|
||||||
|
|
||||||
|
{{/* set default delimiters */ -}}
|
||||||
|
{{ $delimiter_left := "$$" -}}
|
||||||
|
{{ $delimiter_right := "$$" -}}
|
||||||
|
|
||||||
|
{{/* override delimiters if set in config file */ -}}
|
||||||
|
{{ with $.Page.Site.Params.katex.options.delimiters -}}
|
||||||
|
{{ range first 1 ( where . "display" true ) -}}
|
||||||
|
{{ $delimiter_left = index . "left" -}}
|
||||||
|
{{ $delimiter_right = index . "right" -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{/* output of chemical formulae */}}
|
||||||
|
<div class="chem">{{ $delimiter_left -}}
|
||||||
|
{{ .Inner | safeHTML -}}
|
||||||
|
{{ $delimiter_right -}}</div>{{ "" -}}
|
|
@ -1,16 +1,18 @@
|
||||||
{{/* set default delimiters */}}
|
{{ .Page.Store.Set "hasKaTeX" true -}}
|
||||||
{{ $delimiter_left := "$$" }}
|
|
||||||
{{ $delimiter_right := "$$" }}
|
|
||||||
|
|
||||||
{{/* override delimiters if set in config file */}}
|
{{/* set default delimiters */ -}}
|
||||||
{{ with $.Page.Site.Params.katex.options.delimiters }}
|
{{ $delimiter_left := "$$" -}}
|
||||||
{{ range first 1 ( where . "display" true ) }}
|
{{ $delimiter_right := "$$" -}}
|
||||||
{{ $delimiter_left = index . "left" }}
|
|
||||||
{{ $delimiter_right = index . "right" }}
|
{{/* override delimiters if set in config file */ -}}
|
||||||
{{ end }}
|
{{ with $.Page.Site.Params.katex.options.delimiters -}}
|
||||||
{{end}}
|
{{ range first 1 ( where . "display" true ) -}}
|
||||||
|
{{ $delimiter_left = index . "left" -}}
|
||||||
|
{{ $delimiter_right = index . "right" -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
{{/* output of equation */}}
|
{{/* output of equation */}}
|
||||||
<p>{{ $delimiter_left }}
|
<div class="math">{{ $delimiter_left -}}
|
||||||
{{ .Inner | safeHTML }}
|
{{ .Inner | safeHTML -}}
|
||||||
{{ $delimiter_right }}</p>
|
{{ $delimiter_right }}</div>{{ "" -}}
|
5
_vendor/github.com/google/docsy/layouts/_default/_markup/render-codeblock-mermaid.html
generated
Normal file
5
_vendor/github.com/google/docsy/layouts/_default/_markup/render-codeblock-mermaid.html
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{{ .Page.Store.Set "hasmermaid" true -}}
|
||||||
|
|
||||||
|
<pre class="mermaid">
|
||||||
|
{{- .Inner -}}
|
||||||
|
</pre>
|
8
_vendor/github.com/google/docsy/layouts/_default/_markup/td-render-heading.html
generated
Normal file
8
_vendor/github.com/google/docsy/layouts/_default/_markup/td-render-heading.html
generated
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<h{{ .Level }} id="{{- .Anchor | safeURL -}}">
|
||||||
|
{{- .Text | safeHTML -}}
|
||||||
|
{{ template "_default/_markup/_td-heading-self-link.html" . -}}
|
||||||
|
</h{{ .Level }}>
|
||||||
|
|
||||||
|
{{- define "_default/_markup/_td-heading-self-link.html" -}}
|
||||||
|
<a class="td-heading-self-link" href="#{{ .Anchor | safeURL }}" aria-label="Heading self-link"></a>
|
||||||
|
{{- end -}}
|
|
@ -2,19 +2,17 @@
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||||
<header class="article-meta">
|
<header class="article-meta">
|
||||||
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||||
{{ partial "reading-time.html" . }}
|
{{ partial "reading-time.html" . -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</header>
|
</header>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
|
{{ partial "feedback.html" . -}}
|
||||||
{{ partial "feedback.html" .Site.Params.ui.feedback }}
|
{{ if (.Site.Params.DisqusShortname) -}}
|
||||||
<br />
|
<br />
|
||||||
{{ end }}
|
{{- partial "disqus-comment.html" . -}}
|
||||||
{{ if (.Site.Params.DisqusShortname) }}
|
{{ end -}}
|
||||||
<br />
|
|
||||||
{{ partial "disqus-comment.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ partial "page-meta-lastmod.html" . }}
|
{{ partial "page-meta-lastmod.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
{{/**/ -}}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
{{ define "main" }}
|
{{ define "main" -}}
|
||||||
{{ with .Content }}
|
{{ .Content -}}
|
||||||
{{ . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -1,8 +1,8 @@
|
||||||
{{ define "main" }}
|
{{ define "main" -}}
|
||||||
<section class="row td-search-result">
|
<section class="row td-search-result">
|
||||||
<div class="col-12 col-md-8 offset-md-2">
|
<div class="col-12 col-md-8 offset-md-2">
|
||||||
<h2 class="ml-4">{{ .Title }}</h2>
|
<h2 class="ms-4">{{ .Title }}</h2>
|
||||||
{{ with .Site.Params.gcs_engine_id }}
|
{{ with .Site.Params.gcs_engine_id -}}
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function() {
|
||||||
var cx = '{{ . }}';
|
var cx = '{{ . }}';
|
||||||
|
@ -15,8 +15,7 @@ s.parentNode.insertBefore(gcse, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<gcse:searchresults-only></gcse:searchresults-only>
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -1,5 +1,3 @@
|
||||||
{{ define "main" }}
|
{{ define "main" -}}
|
||||||
{{ with .Content }}
|
{{ .Content -}}
|
||||||
{{ . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -13,15 +13,15 @@
|
||||||
{{ if not .Site.Params.ui.taxonomy_breadcrumb_disable -}}
|
{{ if not .Site.Params.ui.taxonomy_breadcrumb_disable -}}
|
||||||
{{/* Use breadcrumb partial, but remove attributes that are invalid or inappropriate in this page-summary context. */ -}}
|
{{/* Use breadcrumb partial, but remove attributes that are invalid or inappropriate in this page-summary context. */ -}}
|
||||||
{{ partial "breadcrumb.html" .
|
{{ partial "breadcrumb.html" .
|
||||||
| replaceRE ` aria-\w+=\".*?\"|(breadcrumb-item) active|(btn-link) disabled` "$1" | safeHTML
|
| replaceRE ` aria-\w+=\".*?\"|(breadcrumb-item) active` "$1" | safeHTML
|
||||||
-}}
|
-}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<p>{{ .Description | markdownify }}</p>
|
<p>{{ .Description | markdownify }}</p>
|
||||||
<header class="article-meta">
|
<header class="article-meta">
|
||||||
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||||
{{ partial "reading-time.html" . }}
|
{{ partial "reading-time.html" . -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</header>
|
</header>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{{ define "main" }}
|
{{ define "main" -}}
|
||||||
<div class="td-content">
|
<div class="td-content">
|
||||||
<main class="taxonomy-terms-page">
|
<main class="taxonomy-terms-page">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ partial "taxonomy_terms_cloud.html" (dict "context" . "taxo" ( lower .Title ) ) }}
|
{{ partial "taxonomy_terms_cloud.html" (dict "context" . "taxo" ( lower .Title ) ) -}}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{- end }}
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
{{ partial "taxonomy_terms_clouds.html" . }}
|
{{ partial "taxonomy_terms_clouds.html" . }}
|
||||||
</aside>
|
</aside>
|
||||||
<main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role="main">
|
<main class="col-12 col-md-9 col-xl-8 ps-md-5 pe-md-4" role="main">
|
||||||
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
|
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
|
||||||
<a class="td-rss-button" title="RSS" href="{{ .Permalink | safeURL }}" target="_blank" rel="noopener">
|
<a class="td-rss-button" title="RSS" href="{{ .RelPermalink | safeURL }}" target="_blank" rel="noopener">
|
||||||
<i class="fa-solid fa-rss" aria-hidden="true"></i>
|
<i class="fa-solid fa-rss" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
|
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
|
||||||
</div>
|
</div>
|
||||||
<main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role="main">
|
<main class="col-12 col-md-9 col-xl-8 ps-md-5 pe-md-4" role="main">
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,17 +6,18 @@
|
||||||
<time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
|
<time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
|
||||||
</div>
|
</div>
|
||||||
<header class="article-meta">
|
<header class="article-meta">
|
||||||
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||||
{{ partial "reading-time.html" . }}
|
{{ partial "reading-time.html" . -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</header>
|
</header>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ if (.Site.Params.DisqusShortname) }}
|
{{ if (.Site.Params.DisqusShortname) -}}
|
||||||
<br />
|
<br />
|
||||||
{{ partial "disqus-comment.html" . }}
|
{{- partial "disqus-comment.html" . -}}
|
||||||
<br />
|
<br />
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
|
||||||
{{ partial "pager.html" . }}
|
{{ partial "pager.html" . }}
|
||||||
|
{{ partial "page-meta-lastmod.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,44 +1,40 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ if (and .Parent .Parent.IsHome) }}
|
{{ if (and .Parent .Parent.IsHome) -}}
|
||||||
{{ $.Scratch.Set "blog-pages" (where .Site.RegularPages "Section" .Section) }}
|
{{ $.Scratch.Set "blog-pages" (where .Site.RegularPages "Section" .Section) -}}
|
||||||
{{ else }}
|
{{ else -}}
|
||||||
{{$.Scratch.Set "blog-pages" .Pages }}
|
{{$.Scratch.Set "blog-pages" .Pages -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
|
||||||
<div class="row">
|
<div class="td-blog-posts">
|
||||||
<div class="col-12">
|
{{ if .Pages -}}
|
||||||
{{- if .Pages -}}
|
{{ $pag := .Paginate (( $.Scratch.Get "blog-pages").GroupByDate "2006" ) -}}
|
||||||
{{ $pag := .Paginate (( $.Scratch.Get "blog-pages").GroupByDate "2006" )}}
|
{{ range $pag.PageGroups -}}
|
||||||
{{ range $pag.PageGroups }}
|
<div class="h2">{{ T "post_posts_in" }} {{ .Key }}</div>
|
||||||
<h2>{{ T "post_posts_in" }} {{ .Key }}</h2>
|
<ul class="td-blog-posts-list">
|
||||||
<ul class="list-unstyled mt-4">
|
{{ range .Pages -}}
|
||||||
{{ range .Pages }}
|
<li class="td-blog-posts-list__item">
|
||||||
<li class="media mb-4">
|
<div class="td-blog-posts-list__body">
|
||||||
<div class="media-body">
|
|
||||||
<h5 class="mt-0 mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
|
<h5 class="mt-0 mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
|
||||||
<p class="mb-2 mb-md-3"><small class="text-muted">{{ .Date.Format ($.Param "time_format_blog") }} {{ T "ui_in"}} {{ .CurrentSection.LinkTitle }}</small></p>
|
<p class="mb-2 mb-md-3"><small class="text-muted">{{ .Date.Format ($.Param "time_format_blog") }} {{ T "ui_in"}} {{ .CurrentSection.LinkTitle }}</small></p>
|
||||||
<header class="article-meta">
|
<header class="article-meta">
|
||||||
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||||
{{ partial "reading-time.html" . }}
|
{{ partial "reading-time.html" . -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</header>
|
</header>
|
||||||
{{ partial "featured-image.html" (dict "p" . "w" 250 "h" 125 "class" "float-left mr-3 pt-1 d-none d-md-block") }}
|
{{ partial "featured-image.html" (dict "p" . "w" 250 "h" 125 "class" "float-start me-3 pt-1 d-none d-md-block") -}}
|
||||||
<p class="pt-0 mt-0">{{ .Plain | safeHTML | truncate 250 }}</p>
|
<p class="pt-0 mt-0">{{ .Plain | safeHTML | truncate 250 }}</p>
|
||||||
<p class="pt-0"><a href="{{ .RelPermalink }}" aria-label="{{ T "ui_read_more"}} - {{ .LinkTitle }}">{{ T "ui_read_more"}}</a></p>
|
<p class="pt-0"><a href="{{ .RelPermalink }}" aria-label="{{ T "ui_read_more"}} - {{ .LinkTitle }}">{{ T "ui_read_more"}}</a></p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="td-blog-posts__pagination">
|
||||||
|
{{ if .Pages -}}
|
||||||
|
{{ template "_internal/pagination.html" . -}}
|
||||||
|
{{ end -}}
|
||||||
</div>
|
</div>
|
||||||
<div class="row pl-2 pt-2">
|
{{ end -}}
|
||||||
<div class="col">
|
|
||||||
{{ if .Pages }}
|
|
||||||
{{ template "_internal/pagination.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -1,19 +1,24 @@
|
||||||
{{ define "main" }}
|
{{ define "main" -}}
|
||||||
|
|
||||||
<a class="td-offset-anchor"></a>
|
<div><a class="td-offset-anchor"></a></div>
|
||||||
<section class="row td-box td-box--1 position-relative td-box--gradient td-box--height-auto">
|
<section
|
||||||
|
class="row td-box td-box--primary position-relative td-box--height-auto"
|
||||||
|
>
|
||||||
|
<div class="col-12">
|
||||||
<div class="container text-center td-arrow-down">
|
<div class="container text-center td-arrow-down">
|
||||||
<span class="h4 mb-0">
|
<span class="h4 mb-0">
|
||||||
<h1>{{ T "community_join" . }}</h1>
|
<h1>{{ T "community_join" . }}</h1>
|
||||||
<p>{{ T "community_introduce" . }}</p>
|
<p>{{ T "community_introduce" . }}</p>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
|
|
||||||
{{ partial "community_links.html" . }}
|
|
||||||
|
|
||||||
<div class="td-content">
|
|
||||||
{{ .Content }}
|
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ partial "community_links.html" . -}}
|
||||||
|
|
||||||
|
{{ with .Content -}}
|
||||||
|
<div class="td-content">
|
||||||
|
{{ . }}
|
||||||
|
</div>
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
{{ partial "taxonomy_terms_clouds.html" . }}
|
{{ partial "taxonomy_terms_clouds.html" . }}
|
||||||
</aside>
|
</aside>
|
||||||
<main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
|
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
|
||||||
{{ partial "version-banner.html" . }}
|
{{ partial "version-banner.html" . }}
|
||||||
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
|
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="container-fluid td-outer">
|
<div class="container-fluid td-outer">
|
||||||
<div class="td-main">
|
<div class="td-main">
|
||||||
<div class="row flex-xl-nowrap">
|
<div class="row flex-xl-nowrap">
|
||||||
<main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
|
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,21 +3,18 @@
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||||
<header class="article-meta">
|
<header class="article-meta">
|
||||||
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||||
{{ partial "reading-time.html" . }}
|
{{ partial "reading-time.html" . -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
</header>
|
</header>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ partial "section-index.html" . }}
|
{{ partial "section-index.html" . -}}
|
||||||
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
|
{{ partial "feedback.html" . -}}
|
||||||
{{ partial "feedback.html" .Site.Params.ui.feedback }}
|
{{ if (.Site.DisqusShortname) -}}
|
||||||
<br />
|
<br />
|
||||||
{{ end }}
|
{{- partial "disqus-comment.html" . -}}
|
||||||
{{ if (.Site.DisqusShortname) }}
|
{{ end -}}
|
||||||
<br />
|
{{ partial "page-meta-lastmod.html" . -}}
|
||||||
{{ partial "disqus-comment.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ partial "page-meta-lastmod.html" . }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
{{ $isActive := eq .p1 .p2 }}
|
{{ $isActive := eq .p1 .p2 }}
|
||||||
<li class="breadcrumb-item{{ if $isActive }} active{{ end }}"
|
<li class="breadcrumb-item{{ if $isActive }} active{{ end }}"
|
||||||
{{- if $isActive }} aria-current="page"{{ end }}>
|
{{- if $isActive }} aria-current="page"{{ end }}>
|
||||||
<a href="{{ .p1.Permalink }}"
|
{{ if $isActive -}}
|
||||||
{{- if $isActive }} aria-disabled="true" class="btn-link disabled"{{ end -}}
|
{{ .p1.LinkTitle -}}
|
||||||
>
|
{{ else -}}
|
||||||
{{- .p1.LinkTitle -}}
|
<a href="{{ .p1.RelPermalink }}">{{ .p1.LinkTitle }}</a>
|
||||||
</a>
|
{{- end -}}
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,30 +1,33 @@
|
||||||
{{ $links := .Site.Params.links }}
|
{{ $links := .Site.Params.links -}}
|
||||||
|
|
||||||
<section class="row td-box td-box--4 td-box--gradient td-box--height-auto linkbox">
|
<section class="row td-box td-box--white td-box--height-auto linkbox">
|
||||||
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
||||||
<h2>{{ T "community_learn" }}</h2>
|
<h2>{{ T "community_learn" }}</h2>
|
||||||
<p>{{ T "community_using" . }}</p>
|
<p>{{ T "community_using" . }}</p>
|
||||||
{{ with index $links "user"}}
|
{{ with index $links "user" -}}
|
||||||
{{ template "community-links-list" . }}
|
{{ template "community-links-list" . -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
||||||
<h2>{{ T "community_develop" }}</h2>
|
<h2>{{ T "community_develop" }}</h2>
|
||||||
<p>{{ T "community_contribute" . }}</p>
|
<p>{{ T "community_contribute" . }}</p>
|
||||||
{{ with index $links "developer"}}
|
{{ with index $links "developer" -}}
|
||||||
{{ template "community-links-list" . }}
|
{{ template "community-links-list" . -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p>{{ T "community_how_to" . }} <a href="/docs/contribution-guidelines/">{{ T "community_guideline" }}</a>
|
<p>
|
||||||
|
{{ T "community_how_to" . }}
|
||||||
|
<a href="{{ "docs/contribution-guidelines" | relURL }}">{{ T "community_guideline" }}</a>.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ define "community-links-list" }}
|
{{ define "community-links-list" -}}
|
||||||
<ul>
|
<ul>
|
||||||
{{ range . }}
|
{{ range . -}}
|
||||||
<li title="{{ .name }}">
|
<li title="{{ .name }}">
|
||||||
<a target="_blank" rel="noopener" href="{{ .url }}"><i class="{{ .icon }}"></i> {{ .name }}:</a>
|
<a target="_blank" rel="noopener" href="{{ .url }}"><i class="{{ .icon }}"></i> {{ .name }}</a>:
|
||||||
{{ .desc }}
|
{{ .desc }}
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ $w := .w | default 480 }}
|
{{ $w := .w | default 480 }}
|
||||||
{{ $h := .h | default 180 }}
|
{{ $h := .h | default 180 }}
|
||||||
{{ $p := .p }}
|
{{ $p := .p }}
|
||||||
{{ $class := .class | default "ml-3" }}
|
{{ $class := .class | default "ms-3" }}
|
||||||
{{ $image := ($p.Resources.ByType "image").GetMatch "**featured*" }}
|
{{ $image := ($p.Resources.ByType "image").GetMatch "**featured*" }}
|
||||||
{{ with $image }}
|
{{ with $image }}
|
||||||
{{ $image := .Fill (printf "%dx%d" $w $h ) }}
|
{{ $image := .Fill (printf "%dx%d" $w $h ) }}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable)) -}}
|
||||||
|
{{ with .Site.Params.ui.feedback -}}
|
||||||
<style>
|
<style>
|
||||||
.feedback--answer {
|
.feedback--answer {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -14,10 +16,10 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="d-print-none">
|
<div class="d-print-none">
|
||||||
<h2 class="feedback--title">Feedback</h2>
|
<h2 class="feedback--title">{{- i18n "feedback_title" -}}</h2>
|
||||||
<p class="feedback--question">Was this page helpful?</p>
|
<p class="feedback--question">{{- i18n "feedback_question" -}}</p>
|
||||||
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-yes">Yes</button>
|
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-yes">{{- i18n "feedback_positive" -}}</button>
|
||||||
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-no">No</button>
|
<button class="btn btn-primary mb-4 feedback--answer feedback--answer-no">{{- i18n "feedback_negative" -}}</button>
|
||||||
<p class="feedback--response feedback--response-yes">
|
<p class="feedback--response feedback--response-yes">
|
||||||
{{ .yes | safeHTML }}
|
{{ .yes | safeHTML }}
|
||||||
</p>
|
</p>
|
||||||
|
@ -35,21 +37,18 @@
|
||||||
noButton.disabled = true;
|
noButton.disabled = true;
|
||||||
};
|
};
|
||||||
const sendFeedback = (value) => {
|
const sendFeedback = (value) => {
|
||||||
if (typeof ga !== 'function') return;
|
if (typeof gtag !== 'function') return;
|
||||||
const args = {
|
gtag('event', 'page_helpful', {
|
||||||
command: 'send',
|
'event_category': 'Helpful',
|
||||||
hitType: 'event',
|
'event_label': window.location.pathname,
|
||||||
category: 'Helpful',
|
'value': value
|
||||||
action: 'click',
|
});
|
||||||
label: window.location.pathname,
|
|
||||||
value: value
|
|
||||||
};
|
|
||||||
ga(args.command, args.hitType, args.category, args.action, args.label, args.value);
|
|
||||||
};
|
};
|
||||||
yesButton.addEventListener('click', () => {
|
yesButton.addEventListener('click', () => {
|
||||||
yesResponse.classList.add('feedback--response__visible');
|
yesResponse.classList.add('feedback--response__visible');
|
||||||
disableButtons();
|
disableButtons();
|
||||||
sendFeedback(1);
|
{{ $maxValue := .max_value | default 100 -}}
|
||||||
|
sendFeedback({{ $maxValue }});
|
||||||
});
|
});
|
||||||
noButton.addEventListener('click', () => {
|
noButton.addEventListener('click', () => {
|
||||||
noResponse.classList.add('feedback--response__visible');
|
noResponse.classList.add('feedback--response__visible');
|
||||||
|
@ -57,3 +56,6 @@
|
||||||
sendFeedback(0);
|
sendFeedback(0);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
{{ end -}}
|
||||||
|
<br />
|
||||||
|
{{ end -}}
|
||||||
|
|
|
@ -1,39 +1,17 @@
|
||||||
{{ $links := .Site.Params.links }}
|
<footer class="td-footer row d-print-none">
|
||||||
<footer class="bg-dark py-5 row d-print-none">
|
<div class="container-fluid">
|
||||||
<div class="container-fluid mx-sm-5">
|
<div class="row mx-md-2">
|
||||||
<div class="row">
|
<div class="td-footer__left col-6 col-sm-4 order-sm-1">
|
||||||
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
|
{{ partial "footer/left.html" . }}
|
||||||
{{ with $links }}
|
|
||||||
{{ with index . "user"}}
|
|
||||||
{{ template "footer-links-block" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
|
{{- /* Trim WS */ -}}
|
||||||
{{ with $links }}
|
<div class="td-footer__right col-6 col-sm-4 order-sm-3">
|
||||||
{{ with index . "developer"}}
|
{{ partial "footer/right.html" . }}
|
||||||
{{ template "footer-links-block" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
|
{{- /* Trim WS */ -}}
|
||||||
{{ with .Site.Params.copyright }}<small class="text-white">© {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
|
<div class="td-footer__center col-12 col-sm-4 py-2 order-sm-2">
|
||||||
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
|
{{ partial "footer/center.html" . }}
|
||||||
{{ if not .Site.Params.ui.footer_about_disable }}
|
|
||||||
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{ define "footer-links-block" }}
|
|
||||||
<ul class="list-inline mb-0">
|
|
||||||
{{ range . }}
|
|
||||||
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
|
|
||||||
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
|
|
||||||
<i class="{{ .icon }}"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ end }}
|
|
||||||
|
|
15
_vendor/github.com/google/docsy/layouts/partials/footer/center.html
generated
Normal file
15
_vendor/github.com/google/docsy/layouts/partials/footer/center.html
generated
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{{ partial "footer/copyright.html" . -}}
|
||||||
|
|
||||||
|
{{ with .Site.Params.privacy_policy -}}
|
||||||
|
<span class="ms-2"><a href="{{ . }}" target="_blank" rel="noopener">{{ T "footer_privacy_policy" }}</a></span>
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ if ne .Site.Params.ui.footer_about_disable nil -}}
|
||||||
|
{{ warnf "Config parameter '.params.ui.footer_about_disable' is DEPRECATED, use '.params.ui.footer_about_enable' instead." -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ if or .Site.Params.ui.footer_about_enable (eq .Site.Params.ui.footer_about_disable false) -}}
|
||||||
|
{{ with .Site.GetPage "about" -}}
|
||||||
|
<p class="td-footer__about mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||||
|
{{- end -}}
|
||||||
|
{{ end -}}
|
41
_vendor/github.com/google/docsy/layouts/partials/footer/copyright.html
generated
Normal file
41
_vendor/github.com/google/docsy/layouts/partials/footer/copyright.html
generated
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{{ $page := .Page -}}
|
||||||
|
{{ with .Site.Params.copyright -}}
|
||||||
|
{{ $fromYear := "" -}}
|
||||||
|
{{ $toYear := "" -}}
|
||||||
|
{{ $authors := "" -}}
|
||||||
|
{{ if reflect.IsMap . -}}
|
||||||
|
{{ $fromYear = .from_year -}}
|
||||||
|
{{ $toYear = .to_year -}}
|
||||||
|
{{ $authors = .authors -}}
|
||||||
|
{{ else -}}
|
||||||
|
{{ $authors = . -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
<span class="td-footer__copyright">©
|
||||||
|
{{ with $fromYear -}}
|
||||||
|
{{ . }}–
|
||||||
|
{{- end -}}
|
||||||
|
{{ $toYear | default now.Year }}
|
||||||
|
<span class="td-footer__authors">
|
||||||
|
{{- $authors
|
||||||
|
| default (printf "%s Authors" ($.Site.Title | default "Site"))
|
||||||
|
| $page.RenderString -}}
|
||||||
|
</span>
|
||||||
|
{{- /* Trim WS */ -}}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{{- with T "footer_all_rights_reserved" -}}
|
||||||
|
<span class="td-footer__all_rights_reserved">
|
||||||
|
{{- . -}}
|
||||||
|
</span>
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- else -}}
|
||||||
|
|
||||||
|
{{ with .Site.Copyright -}}
|
||||||
|
<span class="td-footer__copyright">
|
||||||
|
{{- . | $page.RenderString -}}
|
||||||
|
</span>
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ end -}}
|
5
_vendor/github.com/google/docsy/layouts/partials/footer/left.html
generated
Normal file
5
_vendor/github.com/google/docsy/layouts/partials/footer/left.html
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{{ with .Site.Params.links -}}
|
||||||
|
{{ with index . "user" -}}
|
||||||
|
{{- partial "footer/links.html" . -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
9
_vendor/github.com/google/docsy/layouts/partials/footer/links.html
generated
Normal file
9
_vendor/github.com/google/docsy/layouts/partials/footer/links.html
generated
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<ul class="td-footer__links-list">
|
||||||
|
{{ range . }}
|
||||||
|
<li class="td-footer__links-item" data-bs-toggle="tooltip" title="{{ .name }}" aria-label="{{ .name }}">
|
||||||
|
<a target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
|
||||||
|
<i class="{{ .icon }}"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
5
_vendor/github.com/google/docsy/layouts/partials/footer/right.html
generated
Normal file
5
_vendor/github.com/google/docsy/layouts/partials/footer/right.html
generated
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{{ with .Site.Params.links -}}
|
||||||
|
{{ with index . "developer" -}}
|
||||||
|
{{- partial "footer/links.html" . -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
|
@ -1,6 +1,5 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
{{ hugo.Generator }}
|
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
@ -27,8 +26,8 @@
|
||||||
{{ template "_internal/twitter_cards.html" . -}}
|
{{ template "_internal/twitter_cards.html" . -}}
|
||||||
{{ partialCached "head-css.html" . "asdf" -}}
|
{{ partialCached "head-css.html" . "asdf" -}}
|
||||||
<script
|
<script
|
||||||
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
src="https://code.jquery.com/jquery-3.6.3.min.js"
|
||||||
integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK"
|
integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ=="
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
{{ if .Site.Params.offlineSearch -}}
|
{{ if .Site.Params.offlineSearch -}}
|
||||||
<script defer
|
<script defer
|
||||||
|
@ -41,6 +40,8 @@
|
||||||
<link rel="stylesheet" href="{{ "css/prism.css" | relURL }}"/>
|
<link rel="stylesheet" href="{{ "css/prism.css" | relURL }}"/>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ template "algolia/head" . -}}
|
||||||
|
|
||||||
{{ partial "hooks/head-end.html" . -}}
|
{{ partial "hooks/head-end.html" . -}}
|
||||||
|
|
||||||
{{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
|
{{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
|
||||||
|
@ -52,3 +53,18 @@
|
||||||
{{ template "_internal/google_analytics_async.html" . -}}
|
{{ template "_internal/google_analytics_async.html" . -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ define "algolia/head" -}}
|
||||||
|
|
||||||
|
{{ if and .Site.Params.search (isset .Site.Params.search "algolia") -}}
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3.5.2"
|
||||||
|
integrity="sha512-TW5eKlwwg7OfQUVBqxjp94/uqtjJJbhkRE3++XGEQjAL1n3y//QVqS3acPkwqkzInaFRtj+w05uyxDbfDXiI1A=="
|
||||||
|
crossorigin="anonymous" />
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ if ne .Site.Params.algolia_docsearch nil -}}
|
||||||
|
{{ warnf `Config 'params.algolia_docsearch' is deprecated: use 'params.search.algolia'
|
||||||
|
For details, see https://www.docsy.dev/docs/adding-content/search/#algolia-docsearch.` -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ end -}}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{{ with .Site.Params.algolia_docsearch }}
|
|
||||||
<!-- scripts for algolia docsearch -->
|
|
||||||
{{ end }}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{{ with .Site.Params.algolia_docsearch }}
|
|
||||||
<!-- stylesheet for algolia docsearch -->
|
|
||||||
{{ end }}
|
|
|
@ -1,10 +1,12 @@
|
||||||
{{/* Link directly to documentation etc., if possible. */}}
|
{{/* Link directly to documentation etc., if possible. */ -}}
|
||||||
{{ $langPage := cond (gt (len .Translations) 0) . .Site.Home }}
|
{{ $langPage := cond (gt (len .Translations) 0) . .Site.Home -}}
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<div class="dropdown">
|
||||||
{{ $langPage.Language.LanguageName }}
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
{{- $langPage.Language.LanguageName -}}
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
<ul class="dropdown-menu">
|
||||||
{{ range $langPage.Translations }}
|
{{ range $langPage.Translations -}}
|
||||||
<a class="dropdown-item" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
|
<li><a class="dropdown-item" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
|
@ -1,12 +1,14 @@
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<div class="dropdown">
|
||||||
{{ .Site.Params.version_menu }}
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
{{- .Site.Params.version_menu -}}
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
<ul class="dropdown-menu">
|
||||||
{{ $path := "" }}
|
{{ $path := "" -}}
|
||||||
{{ if .Site.Params.version_menu_pagelinks }}
|
{{ if .Site.Params.version_menu_pagelinks -}}
|
||||||
{{ $path = .Page.RelPermalink }}
|
{{ $path = .Page.RelPermalink -}}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
{{ range .Site.Params.versions }}
|
{{ range .Site.Params.versions -}}
|
||||||
<a class="dropdown-item" href="{{ .url }}{{ $path }}">{{ .version }}</a>
|
<li><a class="dropdown-item" href="{{ .url }}{{ $path }}">{{ .version }}</a></li>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
|
@ -2,9 +2,11 @@
|
||||||
(.HasShortcode "blocks/cover")
|
(.HasShortcode "blocks/cover")
|
||||||
(not .Site.Params.ui.navbar_translucent_over_cover_disable)
|
(not .Site.Params.ui.navbar_translucent_over_cover_disable)
|
||||||
-}}
|
-}}
|
||||||
|
{{ $baseURL := urls.Parse $.Site.Params.Baseurl -}}
|
||||||
|
|
||||||
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark
|
<nav class="td-navbar navbar-dark js-navbar-scroll
|
||||||
{{- if $cover }} td-navbar-cover {{- end }} flex-column flex-md-row td-navbar">
|
{{- if $cover }} td-navbar-cover {{- end }}">
|
||||||
|
<div class="container-fluid flex-column flex-md-row">
|
||||||
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
|
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
|
||||||
{{- /**/ -}}
|
{{- /**/ -}}
|
||||||
<span class="navbar-brand__logo navbar-logo">
|
<span class="navbar-brand__logo navbar-logo">
|
||||||
|
@ -20,43 +22,45 @@
|
||||||
</span>
|
</span>
|
||||||
{{- /**/ -}}
|
{{- /**/ -}}
|
||||||
</a>
|
</a>
|
||||||
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
|
<div class="td-navbar-nav-scroll ms-md-auto" id="main_navbar">
|
||||||
<ul class="navbar-nav mt-2 mt-lg-0">
|
<ul class="navbar-nav">
|
||||||
{{ $p := . -}}
|
{{ $p := . -}}
|
||||||
{{ range .Site.Menus.main -}}
|
{{ range .Site.Menus.main -}}
|
||||||
<li class="nav-item mr-4 mb-2 mb-lg-0">
|
<li class="nav-item">
|
||||||
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}
|
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}
|
||||||
{{ with .Page }}{{ $active = or $active ( $.IsDescendant .) }}{{ end -}}
|
{{ $href := "" -}}
|
||||||
{{ $pre := .Pre -}}
|
{{ with .Page -}}
|
||||||
{{ $post := .Post -}}
|
{{ $active = or $active ( $.IsDescendant .) -}}
|
||||||
{{ $url := urls.Parse .URL -}}
|
{{ $href = .RelPermalink -}}
|
||||||
{{ $baseurl := urls.Parse $.Site.Params.Baseurl -}}
|
{{ else -}}
|
||||||
|
{{ $href = .URL | relLangURL -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ $isExternal := ne $baseURL.Host (urls.Parse .URL).Host -}}
|
||||||
<a {{/**/ -}}
|
<a {{/**/ -}}
|
||||||
class="nav-link {{- if $active }} active {{- end }}" {{/**/ -}}
|
class="nav-link {{- if $active }} active {{- end }}" {{/**/ -}}
|
||||||
href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}"
|
href="{{ $href }}"
|
||||||
{{- if ne $url.Host $baseurl.Host }} target="_blank" {{- end -}}
|
{{- if $isExternal }} target="_blank" rel="noopener" {{- end -}}
|
||||||
>
|
>
|
||||||
{{- with .Pre }}{{ $pre }}{{ end -}}
|
{{- .Pre -}}
|
||||||
<span {{- if $active }} class="active" {{- end }}>
|
<span>{{ .Name }}</span>
|
||||||
{{- .Name -}}
|
{{- .Post -}}
|
||||||
</span>
|
|
||||||
{{- with .Post }}{{ $post }}{{ end -}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if .Site.Params.versions -}}
|
{{ if .Site.Params.versions -}}
|
||||||
<li class="nav-item dropdown mr-4 d-none d-lg-block">
|
<li class="nav-item dropdown d-none d-lg-block">
|
||||||
{{ partial "navbar-version-selector.html" . -}}
|
{{ partial "navbar-version-selector.html" . -}}
|
||||||
</li>
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if (gt (len .Site.Home.Translations) 0) -}}
|
{{ if (gt (len .Site.Home.Translations) 0) -}}
|
||||||
<li class="nav-item dropdown mr-4 d-none d-lg-block">
|
<li class="nav-item dropdown d-none d-lg-block">
|
||||||
{{ partial "navbar-lang-selector.html" . -}}
|
{{ partial "navbar-lang-selector.html" . -}}
|
||||||
</li>
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-nav d-none d-lg-block">
|
<div class="d-none d-lg-block">
|
||||||
{{ partial "search-input.html" . }}
|
{{ partial "search-input.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
|
@ -1,5 +1,5 @@
|
||||||
{{ if and (.GitInfo) (.Site.Params.github_repo) -}}
|
{{ if and .GitInfo .Site.Params.github_repo -}}
|
||||||
<div class="text-muted mt-5 pt-3 border-top">
|
<div class="td-page-meta__lastmod">
|
||||||
{{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}}
|
{{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}}
|
||||||
{{ with .GitInfo }}: {{/* Trim WS */ -}}
|
{{ with .GitInfo }}: {{/* Trim WS */ -}}
|
||||||
<a href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
|
<a href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue