Skip to content

Instantly share code, notes, and snippets.

View rafael-sa's full-sized avatar

Rafael Santos Sá rafael-sa

  • FixeAds
  • Lisboa
View GitHub Profile
@rafael-sa
rafael-sa / css-slack-dark.css
Last active June 4, 2019 11:35
Modified CSS for Slack (initial content copied from solution https://github.com/caiceA/slack-black-theme/blob/master/ssb-interop.js)
/* = my customization =
*
* tip for enabling dev tools in the app: set an env var called SLACK_DEVELOPER_MENU to true
* then run on mac via terminal: open -a slack
* you'll be able to find it in View > Developer
*/
[lang] body,
[lang] .c-texty_input,
[lang=en-US] #msg_input.texty_legacy,
@rafael-sa
rafael-sa / test
Last active September 12, 2018 15:23
test
Imagina que você tem no bundling uma resolução estática...
$("img").load(function() {
// handle the image
}).each(function() {
// because image can be loaded before jquery binds the load event
if (this.complete) {
$(this).trigger("load");
}
});
@rafael-sa
rafael-sa / SassMeister-input.scss
Created September 28, 2015 09:47
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
// ----
// libsass (v3.2.5)
// ----
$mq-mobile-portrait : 320px !default;
$mq-mobile-landscape : 568px !default;
@rafael-sa
rafael-sa / SassMeister-input.scss
Created September 28, 2015 09:34
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$mq-mobile-portrait : 320px !default;
$mq-mobile-landscape : 568px !default;
$mq-tablet-portrait : 768px !default;
$mq-tablet-landscape : 1024px !default;
$mq-desktop : 1382px !default;