-
Download this gist into a
csscompare
folder -
npm install
-
Create
before
andafter
folders. Your folder should now look like this:- /csscompare |- /after |- /before |- /npm_modules |- index.js
|- package.json
// Run this script when using InDesign for web/mobile/tablet comps | |
// Calculates zoom based on 72ppi, so 100% shows pixel-perfect sizing | |
app.generalPreferences.customMonitorPpi = 72; | |
app.generalPreferences.useCustomMonitorResolution = true; |
````````....```` | |
`..-:/+oyhddddmmmmmmmmmdhyyo+//:--.````` | |
`.-:+yhmNNNNNMMMMMMMMMMMMMMMMMMMMMMMMNNNNmdddhhso++/-.` | |
Download this gist into a csscompare
folder
npm install
Create before
and after
folders. Your folder should now look like this:
- /csscompare
|- /after
|- /before
|- /npm_modules
|- index.js
|- package.json
{ | |
"block-indent": "\t", | |
"space-before-selector-delimiter": "", | |
"space-after-selector-delimiter": "\n", | |
"space-before-opening-brace": " ", | |
"space-before-closing-brace": "\n", | |
"space-before-colon": "", | |
"space-after-colon": " ", | |
"space-after-opening-brace": "\n", | |
"space-between-declarations": "\n", |
This document represents our ideals for writing CSS for the Sprout Social web app*. This document will serve as our guide for writing new CSS and updating existing styles. Code reviews of new CSS will adhere to these guidelines as closely as is practical—it’s a jungle in there, so concessions will be made for fighting existing specificity issues.
Colors, buttons, icons and modals can be found at our previous style guide document. Though that document is now deprecated, the patterns are still valid.
[ | |
{ | |
"keys": ["ctrl+shift+c"], | |
"command": "chain", | |
"args": { | |
"commands": [ | |
["css_comb"], | |
["reg_replace", {"replacements": ["css_spaceout", "css_spacein"]}] | |
] | |
} |
## BEGIN SOPASTRIKE | |
## Add to the top of your .htaccess file | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
# The first time is listed as greater than 7:59:59am. | |
# The second time is less than 8:00:00pm (20:00:00). | |
# |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@function color-diff($color-a, $color-b) { | |
$hue: hue($color-a) - hue($color-b); | |
$saturation: saturation($color-a) - saturation($color-b); | |
$lightness: lightness($color-a) - lightness($color-b); | |
$function-hue: 'adjust-hue'; |
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
div { | |
@each $lang in (en-us, es-la, pt-br) { | |
html[lang="#{$lang}"] & { | |
background-image: url(http://url.com/#{$lang}/image.png); | |
} | |
} |