
412 |
├── .gitignore ├── README.md ├── components.css ├── index.html ├── main.css └── variables.css /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.codekit 3 | 4 | config.codekit 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # modulator 2 | 3 |  4 | -------------------------------------------------------------------------------- /components.css: -------------------------------------------------------------------------------- 1 | .components-section { 2 | padding-bottom: 48px; 3 | margin-bottom: 48px; 4 | box-shadow: 0 1px rgba(0,0,0,.1); 5 | } 6 | 7 | .components-variables-section { 8 | background-color: hsl(219, 43%, 97%); 9 | margin-left: calc(-1 * var(--contentPadding)); 10 | margin-right: calc(-1 * var(--contentPadding)); 11 | margin-top: calc(-1 * var(--contentPadding)); 12 | padding-top: var(--contentPadding); 13 | padding-left: var(--contentPadding); 14 | padding-right: var(--contentPadding); 15 | } 16 | 17 | @media (max-width: 720px) { 18 | .components-variables-section { 19 | padding-top: 128px; 20 | } 21 | } 22 | 23 | .components-section-title { 24 | font-size: var(--fontSize-2); 25 | line-height: var(--lineHeight-2); 26 | margin-bottom: 32px; 27 | font-weight: 700; 28 | } 29 | 30 | .components-section-row { 31 | display: flex; 32 | flex-wrap: wrap; 33 | } 34 | 35 | .components-section-col { 36 | flex-grow: 1; 37 | } 38 | 39 | .components-section-col:not(:last-child) { 40 | margin-right: 32px; 41 | } 42 | 43 | .components-section-spacers-col { 44 | flex-grow: 0; 45 | } 46 | 47 | .size-box { 48 | width: 32px; 49 | height: 16px; 50 | margin-bottom: 4px; 51 | background-color: #008FE5; 52 | } 53 | 54 | .size-box-section-description { 55 | opacity: .6; 56 | margin-bottom: 8px; 57 | } 58 | 59 | .size-box-section { 60 | margin-bottom: 32px; 61 | } 62 | 63 | .size0 { 64 | font-size: var(--fontSize-0); 65 | line-height: var(--lineHeight-0); 66 | } 67 | 68 | .size1 { 69 | font-size: var(--fontSize-1); 70 | line-height: var(--lineHeight-1); 71 | } 72 | 73 | .size2 { 74 | font-size: var(--fontSize-2); 75 | line-height: var(--lineHeight-2); 76 | } 77 | 78 | .size3 { 79 | font-size: var(--fontSize-3); 80 | line-height: var(--lineHeight-3); 81 | } 82 | 83 | .font-size { 84 | margin-bottom: 8px; 85 | } 86 | 87 | .maxw-sm { max-width: var(--width-sm) } 88 | .maxw-md { max-width: var(--width-md) } 89 | .maxw-lg { max-width: var(--width-lg) } 90 | .maxw-xlg { max-width: var(--width-xlg) } 91 | 92 | 93 | .btn { 94 | background-color: #444444; 95 | color: white; 96 | padding: var(--space-sm) var(--space-md); 97 | display: inline-block; 98 | appearance: none; 99 | -webkit-appearance: none; 100 | text-decoration: none; 101 | font: inherit; 102 | border: 0; 103 | border-radius: 3px; 104 | cursor: pointer; 105 | } 106 | 107 | .input-field { 108 | font: inherit; 109 | padding: var(--space-sm) var(--space-md); 110 | border-radius: 3px; 111 | border: 0; 112 | box-shadow: inset 0 0 0 1px #ccc; 113 | color: inherit; 114 | width: 100%; 115 | } 116 | 117 | .input-group-label { 118 | margin-bottom: var(--space-sm); 119 | } 120 | 121 | .form-section { 122 | margin-bottom: var(--space-md); 123 | } 124 | 125 | .card { 126 | padding: var(--space-md) var(--space-lg); 127 | border-radius: 3px; 128 | border: 1px solid #ccc; 129 | } 130 | 131 | .card-header { 132 | font-size: var(--fontSize-2); 133 | line-height: var(--lineHeight-2); 134 | margin-bottom: var(--space-md); 135 | } 136 | 137 | .list-item:not(:first-child) { 138 | padding-top: var(--space-md); 139 | } 140 | 141 | .list-item:not(:last-child) { 142 | border-bottom: 1px solid #ccc; 143 | padding-bottom: var(--space-md); 144 | } 145 | 146 | .list-sm .list-item:not(:first-child) { 147 | padding-top: var(--space-sm); 148 | } 149 | 150 | .list-sm .list-item:not(:last-child) { 151 | padding-bottom: var(--space-sm); 152 | } 153 | 154 | .list-lg .list-item:not(:first-child) { 155 | padding-top: var(--space-lg); 156 | } 157 | 158 | .list-lg .list-item:not(:last-child) { 159 | padding-bottom: var(--space-lg); 160 | } 161 | 162 | .avatar { 163 | display: flex; 164 | align-items: center; 165 | } 166 | 167 | .avatar-img { 168 | border-radius: 50%; 169 | width: calc(var(--u) * 4); 170 | } 171 | 172 | .avatar-letter { 173 | border-radius: 50%; 174 | width: calc(var(--u) * 4); 175 | height: calc(var(--u) * 4); 176 | background-color: #ddd; 177 | display: inline-flex; 178 | align-items: center; 179 | justify-content: center; 180 | text-transform: uppercase; 181 | } 182 | 183 | .avatar-info { 184 | margin-left: var(--space-sm); 185 | } 186 | 187 | .dropdown-trigger { 188 | padding: var(--space-sm) var(--space-md); 189 | border-radius: 3px; 190 | box-shadow: inset 0 0 0 1px #ccc; 191 | position: relative; 192 | cursor: pointer; 193 | } 194 | 195 | .dropdown.isopen .dropdown-trigger { 196 | border-radius: 3px 3px 0 0; 197 | } 198 | 199 | .dropdown-trigger:after { 200 | content: ''; 201 | width: 8px; 202 | height: 8px; 203 | right: var(--space-md); 204 | top: 0; 205 | bottom: 6px; 206 | margin: auto; 207 | display: block; 208 | position: absolute; 209 | box-shadow: 1px 1px currentColor; 210 | transform: rotate(45deg); 211 | } 212 | 213 | .dropdown-menu { 214 | display: none; 215 | border: 1px solid #ccc; 216 | border-width: 0 1px 1px 1px; 217 | border-radius: 0 0 3px 3px; 218 | padding: var(--space-sm) 0; 219 | } 220 | 221 | .dropdown.isopen .dropdown-menu { 222 | display: block; 223 | } 224 | 225 | .dropdown-menu-item { 226 | padding: var(--space-sm) var(--space-md); 227 | cursor: pointer; 228 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |