The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
| /// Flex sass mixin | |
| /// | |
| /// // Example | |
| /// .element { | |
| /// @include flex($align-items: center, $justify-content: center); | |
| /// } | |
| /// | |
| /// // CSS Output | |
| /// .element { | |
| /// background-color: #664a20; |
| // | |
| // Spacing Utilities | |
| // | |
| // Spacing System | |
| // | |
| $space-unit: 4px; | |
| $space-xxs: $space-unit; // 4px |
| <Box | |
| p="0" | |
| w="100%" | |
| h="100%" | |
| bg="white" | |
| d="flex" | |
| flexDirection="column" | |
| flex="0 0 auto" | |
| > | |
| <Box w="100%" h="50px" p="20px" bg="#333943" d="flex" flex="0 0 auto" /> |
| closeIcon={!this.state.helpOpen} |
=== Old icons
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <iframe style="border: none;" width="800" height="450" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2FRwgqSR5qA0vCAi9Ql1v0lakE%2FButtons%3Fnode-id%3D9%253A0" allowfullscreen></iframe> |
| { | |
| "$schema": "vscode://schemas/color-theme", | |
| "type": "dark", | |
| "colors": { | |
| "activityBar.background": "#0f111a", | |
| "activityBar.border": "#0f111a", | |
| "activityBar.dropBackground": "#3a404e", | |
| "activityBar.foreground": "#baafc0", | |
| "activityBarBadge.background": "#00b0ff", | |
| "badge.background": "#00b0ff", |
| .ui.dimmer { | |
| z-index: 3002; | |
| } | |
| .ui.modal { | |
| opacity: 1; | |
| left: unset; | |
| } |
| { | |
| "always-semicolon": true, | |
| "block-indent": 2, | |
| "color-case": "lower", | |
| "color-shorthand": true, | |
| "element-case": "lower", | |
| "eof-newline": true, | |
| "leading-zero": false, | |
| "remove-empty-rulesets": true, | |
| "space-after-colon": 1, |