Skip to content

Instantly share code, notes, and snippets.

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)
View css-slack-dark.css
/* = 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
View test
Imagina que você tem no bundling uma resolução estática...
View gist:a88e4e2c56302447d4429b712733dc68
$("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.
View SassMeister-input.scss
// ----
// 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.
View SassMeister-input.scss
// ----
// 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;