mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
350e3d1481
closes https://github.com/TryGhost/Ghost/issues/8859, requires https://github.com/TryGhost/Ghost/pull/8895 - adds Unsplash app to app settings - enable/disable toggle - validation and testing of Unsplash App ID - Unsplash App ID field hidden if provided via Ghost config - adds `fetchPrivate` method to `config` service to pull config that requires authentication and updates authentication routines to fetch private config - adds Unsplash buttons to editor toolbar and `{{gh-image-uploader}}` - only present when Unsplash app is enabled - opens Unsplash image selector when clicked - `{{gh-image-uploader}}` has a new `allowUnsplash` attribute to control display of the unsplash button on a per-uploader basis - adds Unsplash image selector (`{{gh-unsplash}}`) - uses new `unsplash` service to handle API requests and maintain state - search - infinite scroll - zoom image - insert image - download image - adds `{{gh-scroll-trigger}}` that will fire an event when the component is rendered into or enters the visible screen area via scrolling - updates `ui` service - adds `isFullscreen` property and updates `gh-editor` so that it gets set/unset when toggling editor fullscreen mode - adds `hasSideNav` and `isSideNavHidden` properties - updates `media-queries` service so that it fires an event each time a breakpoint is entered/exited - removes the need for observers in certain circumstances
241 lines
6.0 KiB
JSON
241 lines
6.0 KiB
JSON
{
|
|
"remove-empty-rulesets": true,
|
|
"always-semicolon": true,
|
|
"color-case": "lower",
|
|
"block-indent": " ",
|
|
"color-shorthand": true,
|
|
"element-case": "lower",
|
|
"eof-newline": true,
|
|
"leading-zero": true,
|
|
"quotes": "double",
|
|
"space-before-colon": "",
|
|
"space-after-colon": " ",
|
|
"space-before-combinator": " ",
|
|
"space-after-combinator": " ",
|
|
"space-between-declarations": "\n",
|
|
"space-before-opening-brace": " ",
|
|
"space-after-opening-brace": "\n",
|
|
"space-after-selector-delimiter": "\n",
|
|
"space-before-selector-delimiter": "",
|
|
"space-before-closing-brace": "\n",
|
|
"strip-spaces": true,
|
|
"tab-size": 4,
|
|
"unitless-zero": true,
|
|
"sort-order": [ [
|
|
"content",
|
|
"visibility",
|
|
"position",
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"z-index",
|
|
"order",
|
|
"flex",
|
|
"flex-grow",
|
|
"flex-shrink",
|
|
"flex-basis",
|
|
"align-self",
|
|
"display",
|
|
"flex-flow",
|
|
"flex-direction",
|
|
"justify-content",
|
|
"align-items",
|
|
"align-content",
|
|
"flex-wrap",
|
|
"flex-order",
|
|
"flex-pack",
|
|
"flex-align",
|
|
"float",
|
|
"clear",
|
|
"box-sizing",
|
|
"width",
|
|
"height",
|
|
"min-width",
|
|
"min-height",
|
|
"max-width",
|
|
"max-height",
|
|
"overflow",
|
|
"overflow-x",
|
|
"overflow-y",
|
|
"clip",
|
|
"margin",
|
|
"margin-top",
|
|
"margin-right",
|
|
"margin-bottom",
|
|
"margin-left",
|
|
"padding",
|
|
"padding-top",
|
|
"padding-right",
|
|
"padding-bottom",
|
|
"padding-left",
|
|
"outline",
|
|
"outline-width",
|
|
"outline-style",
|
|
"outline-color",
|
|
"outline-offset",
|
|
"border",
|
|
"border-spacing",
|
|
"border-collapse",
|
|
"border-width",
|
|
"border-style",
|
|
"border-color",
|
|
"border-top",
|
|
"border-top-width",
|
|
"border-top-style",
|
|
"border-top-color",
|
|
"border-right",
|
|
"border-right-width",
|
|
"border-right-style",
|
|
"border-right-color",
|
|
"border-bottom",
|
|
"border-bottom-width",
|
|
"border-bottom-style",
|
|
"border-bottom-color",
|
|
"border-left",
|
|
"border-left-width",
|
|
"border-left-style",
|
|
"border-left-color",
|
|
"border-image",
|
|
"border-image-source",
|
|
"border-image-slice",
|
|
"border-image-width",
|
|
"border-image-outset",
|
|
"border-image-repeat",
|
|
"border-top-image",
|
|
"border-right-image",
|
|
"border-bottom-image",
|
|
"border-left-image",
|
|
"border-corner-image",
|
|
"border-top-left-image",
|
|
"border-top-right-image",
|
|
"border-bottom-right-image",
|
|
"border-bottom-left-image",
|
|
"table-layout",
|
|
"caption-side",
|
|
"empty-cells",
|
|
"list-style",
|
|
"list-style-position",
|
|
"list-style-type",
|
|
"list-style-image",
|
|
"quotes",
|
|
"counter-increment",
|
|
"counter-reset",
|
|
"vertical-align",
|
|
"stroke",
|
|
"fill",
|
|
"stroke-width",
|
|
"stroke-opacity",
|
|
"color",
|
|
"font",
|
|
"font-family",
|
|
"font-size",
|
|
"line-height",
|
|
"font-weight",
|
|
"font-style",
|
|
"font-variant",
|
|
"font-size-adjust",
|
|
"font-stretch",
|
|
"text-rendering",
|
|
"font-feature-settings",
|
|
"letter-spacing",
|
|
"hyphens",
|
|
"text-align",
|
|
"text-align-last",
|
|
"text-decoration",
|
|
"text-emphasis",
|
|
"text-emphasis-position",
|
|
"text-emphasis-style",
|
|
"text-emphasis-color",
|
|
"text-indent",
|
|
"text-justify",
|
|
"text-outline",
|
|
"text-transform",
|
|
"text-wrap",
|
|
"text-overflow",
|
|
"text-overflow-ellipsis",
|
|
"text-overflow-mode",
|
|
"text-shadow",
|
|
"white-space",
|
|
"word-spacing",
|
|
"word-wrap",
|
|
"word-break",
|
|
"tab-size",
|
|
"user-select",
|
|
"src",
|
|
"resize",
|
|
"cursor",
|
|
"nav-index",
|
|
"nav-up",
|
|
"nav-right",
|
|
"nav-down",
|
|
"nav-left",
|
|
"background",
|
|
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
|
|
"background-color",
|
|
"background-image",
|
|
"background-size",
|
|
"background-attachment",
|
|
"background-position",
|
|
"background-position-x",
|
|
"background-position-y",
|
|
"background-clip",
|
|
"background-origin",
|
|
"background-repeat",
|
|
"border-radius",
|
|
"border-top-left-radius",
|
|
"border-top-right-radius",
|
|
"border-bottom-right-radius",
|
|
"border-bottom-left-radius",
|
|
"box-decoration-break",
|
|
"box-shadow",
|
|
"opacity",
|
|
"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
|
|
"filter",
|
|
"transition",
|
|
"transition-delay",
|
|
"transition-timing-function",
|
|
"transition-duration",
|
|
"transition-property",
|
|
"transform",
|
|
"transform-origin",
|
|
"animation",
|
|
"animation-name",
|
|
"animation-duration",
|
|
"animation-play-state",
|
|
"animation-timing-function",
|
|
"animation-delay",
|
|
"animation-iteration-count",
|
|
"animation-direction",
|
|
"animation-fill-mode",
|
|
"pointer-events",
|
|
"unicode-bidi",
|
|
"direction",
|
|
"columns",
|
|
"column-span",
|
|
"column-width",
|
|
"column-count",
|
|
"column-fill",
|
|
"column-gap",
|
|
"column-rule",
|
|
"column-rule-width",
|
|
"column-rule-style",
|
|
"column-rule-color",
|
|
"break-before",
|
|
"break-inside",
|
|
"break-after",
|
|
"page-break-before",
|
|
"page-break-inside",
|
|
"page-break-after",
|
|
"orphans",
|
|
"widows",
|
|
"zoom",
|
|
"max-zoom",
|
|
"min-zoom",
|
|
"user-zoom",
|
|
"orientation",
|
|
"-webkit-overflow-scrolling",
|
|
"-ms-overflow-scrolling"
|
|
] ]
|
|
}
|