Israel Lavi | b2a3ace | 2018-08-07 10:54:17 +0300 | [diff] [blame] | 1 | /* |
| 2 | Specific styles for storybook |
| 3 | */ |
| 4 | |
| 5 | .sb-show-main { |
| 6 | padding: 20px; |
| 7 | } |
| 8 | |
| 9 | .storybook-new-row { |
| 10 | display: flex; |
| 11 | flex-direction: row; |
| 12 | } |
| 13 | |
| 14 | .storybook-component-wrapper { |
| 15 | margin: 10px; |
| 16 | padding: 10px; |
| 17 | } |
| 18 | |
| 19 | .storybook-component-info { |
| 20 | display: block; |
| 21 | text-align: left; |
| 22 | margin-bottom: 10px; |
| 23 | } |
| 24 | |
| 25 | .storybook-icons-showcase { |
| 26 | display: flex; |
| 27 | flex-direction: row; |
| 28 | flex-wrap: wrap; |
| 29 | justify-content: flex-start; |
| 30 | |
| 31 | .storybook-component-wrapper { |
| 32 | width: 150px; |
| 33 | text-align: center; |
| 34 | width: 150px; |
| 35 | border: solid 1px #eeeeee; |
| 36 | border-radius: 5px; |
| 37 | } |
| 38 | |
| 39 | .storybook-component-info { |
| 40 | text-align: center; |
| 41 | font-size: 11px; |
| 42 | user-select: text; |
| 43 | } |
| 44 | |
| 45 | .storybook-debug-icon { |
| 46 | border: solid 1px #000000; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | /* |
| 51 | Specific styles for storybook components sample |
| 52 | */ |
| 53 | .sdc-accordion-custom-class .sdc-accordion-header, |
| 54 | .sdc-accordion-custom-class .sdc-accordion-body.open { |
| 55 | padding: 10px; |
| 56 | border-radius: 3px; |
| 57 | } |
| 58 | .sdc-accordion-custom-class .sdc-accordion-header { |
| 59 | background-color: #d2d2d2; |
| 60 | } |
| 61 | .sdc-accordion-custom-class .sdc-accordion-body.open { |
| 62 | border: 1px solid #d2d2d2; |
| 63 | margin-top: 1px; |
| 64 | } |
| 65 | |
| 66 | |
| 67 | |
| 68 | .colors-table { |
| 69 | font-size: 13px; |
| 70 | |
| 71 | .color-group { |
| 72 | |
| 73 | display: flex; |
| 74 | flex-direction: row; |
| 75 | align-items: flex-start; |
| 76 | |
| 77 | .color-section { |
| 78 | |
| 79 | margin: 0 20px 20px 0; |
| 80 | text-align: center; |
| 81 | |
| 82 | div { |
| 83 | align-self: center; |
| 84 | user-select: text; |
| 85 | } |
| 86 | $circle-size: 80px; |
| 87 | .color-circle { |
| 88 | height: $circle-size; |
| 89 | width: $circle-size; |
| 90 | border-radius: $circle-size; |
| 91 | text-align: center; |
| 92 | } |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | .storybook-welcome { |
| 98 | h1 { font-size: 30px; margin: 12px 0 12px 0; } |
| 99 | h2 { font-size: 24px; margin: 12px 0 12px 0; } |
| 100 | h3 { font-size: 20px; margin: 12px 0 12px 0; } |
| 101 | h4 { font-size: 14px; margin: 4px 0 4px 0; text-decoration: underline; } |
| 102 | code { font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size: 12px; } |
| 103 | ul li { list-style: circle; list-style-position: inside; } |
| 104 | } |