├── .gitignore ├── images ├── abstrato.png ├── basalstyle-logo.png ├── grid-15-30-95-1140.png └── basalstyle-logo.svg ├── sass ├── style.sass ├── _functions.scss ├── _tables.scss ├── _buttons.scss ├── _images.scss ├── _typography_extended.scss ├── _variables.scss ├── _header.scss ├── _typography.scss ├── _forms.scss ├── _nav.scss └── _grid.scss ├── .vscode └── settings.json ├── .save.cson ├── style-custom.css ├── README.md ├── style.min.css.map ├── style.min.css └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/abstrato.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viniciusbraga/basalstyle/HEAD/images/abstrato.png -------------------------------------------------------------------------------- /images/basalstyle-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viniciusbraga/basalstyle/HEAD/images/basalstyle-logo.png -------------------------------------------------------------------------------- /images/grid-15-30-95-1140.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/viniciusbraga/basalstyle/HEAD/images/grid-15-30-95-1140.png -------------------------------------------------------------------------------- /sass/style.sass: -------------------------------------------------------------------------------- 1 | @charset "UTF-8" 2 | 3 | @import "functions" 4 | @import "variables" 5 | @import "typography" 6 | @import "typography_extended" 7 | @import "tables" 8 | @import "grid" 9 | @import "header" 10 | @import "nav" 11 | @import "images" 12 | @import "forms" 13 | @import "buttons" 14 | 15 | // Fim 16 | -------------------------------------------------------------------------------- /sass/_functions.scss: -------------------------------------------------------------------------------- 1 | 2 | // Remove unidade de uma variável 3 | // Baseado na função existente no Foundation 4 | // https://github.com/zurb/foundation/blob/4d54d0c0851faa02b500c0707241424d27a9b26e/scss/foundation/_functions.scss 5 | @use 'sass:math'; 6 | 7 | @function strip-unit($num) { 8 | @return math.div($num, ($num * 0 + 1)); 9 | } 10 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "filewatcher.commands": [ 3 | { 4 | "match": "/sass/\\.*", 5 | "isAsync": true, 6 | "cmd": "sass ${fileDirname}/style.sass:${fileDirname}/../style.min.css --style compressed --charset --stop-on-error;", 7 | "event": "onFolderChange" 8 | } 9 | ] 10 | } -------------------------------------------------------------------------------- /.save.cson: -------------------------------------------------------------------------------- 1 | # Documento de compilação automática do plugin Save-AutoRun do Atom. 2 | 3 | # SASS Ruby 4 | # "**/sass/*.scss": "sass ${dir}/style.sass:${dir}/../style.min.css --sourcemap=auto --style compact --precision 3 --stop-on-error --no-cache;" 5 | 6 | # SASS Dart 7 | "**/sass/*.scss": "sass ${dir}/style.sass:${dir}/../style.min.css --style compressed --charset --stop-on-error;" 8 | # "**/sass/*.scss": "sass ${dir}/style.sass:${dir}/../style.min.css --style expanded --charset --stop-on-error;" 9 | -------------------------------------------------------------------------------- /style-custom.css: -------------------------------------------------------------------------------- 1 | 2 | /* Customização para a página de apresentação */ 3 | 4 | body { 5 | font-family: 'Open Sans', sans-serif; 6 | } 7 | 8 | .site-logo h1 a { 9 | background: transparent url(images/basalstyle-logo.png) no-repeat left bottom; 10 | } 11 | 12 | .site-logo h1 a { 13 | background-image: url(images/basalstyle-logo.png); 14 | background-image: url(images/basalstyle-logo.svg), none; 15 | } 16 | 17 | section header h2 { 18 | color: #CDCDCD; 19 | font-size: 20px; 20 | padding: 15px 0 0 0; 21 | min-height: 60px; 22 | text-transform: uppercase; 23 | } 24 | 25 | .footer-frame { 26 | background: #F5F5F5; 27 | } 28 | 29 | .footer .site-logo h1 a { 30 | -webkit-filter: grayscale(100%); 31 | -moz-filter: grayscale(100%); 32 | -ms-filter: grayscale(100%); 33 | -o-filter: grayscale(100%); 34 | filter: grayscale(100%); 35 | opacity: 0.6; 36 | } 37 | 38 | 39 | /* Fim Customização */ 40 | -------------------------------------------------------------------------------- /sass/_tables.scss: -------------------------------------------------------------------------------- 1 | 2 | table { 3 | margin: 0 0 $basal-leading 0; 4 | } 5 | 6 | table th { 7 | font-size: 1.6em; 8 | text-transform: none; 9 | line-height: $basal-leading; 10 | padding: 0.5em 0 0 $basal-padding; 11 | background-color: $basal-color-text-background; 12 | } 13 | 14 | table td { 15 | min-height: $basal-leading; 16 | padding-left: $basal-padding; 17 | border-bottom: 1px solid $basal-color-ruler; 18 | } 19 | 20 | .table-wrapper { 21 | margin: 0 auto $basal-leading; 22 | } 23 | 24 | 25 | /* 26 | * Quebra de layout para Mobile/Celulares 27 | * 28 | */ 29 | 30 | @media all and (max-width: $basal-media-mobile) { 31 | 32 | .table-wrapper { 33 | display: block; 34 | width: 94%; 35 | overflow: auto; 36 | } 37 | 38 | .table-wrapper table { 39 | white-space: nowrap; 40 | } 41 | 42 | .table-wrapper th, 43 | .table-wrapper td { 44 | font-size: 1.6em; 45 | line-height: 1.88em; 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /sass/_buttons.scss: -------------------------------------------------------------------------------- 1 | 2 | /* Botões de Interface */ 3 | 4 | .btn-basic, 5 | .btn-basic:visited, 6 | input[type="submit"] { 7 | color: $basal-button-text-color; 8 | font-size: 14px; 9 | font-weight: bold; 10 | line-height: 42px; 11 | min-height: 42px; 12 | vertical-align: middle; 13 | text-transform: uppercase; 14 | text-decoration: none; 15 | margin: 0.5em 1em 0.5em 0; 16 | padding: 0 1.6em; 17 | display: inline-block; 18 | border: $basal-button-border; 19 | border-radius: $basal-button-border-radius; 20 | position: relative; 21 | background-color: $basal-button-background; 22 | transition: background-color ease 0.5s; 23 | 24 | } 25 | 26 | .btn-basic:hover, 27 | .btn-basic:focus, 28 | input[type="submit"]:hover { 29 | color: $basal-button-text-color-hover; 30 | background-color: $basal-button-background-hover; 31 | outline: 0; 32 | cursor: pointer; 33 | } 34 | 35 | .btn-icon-left { padding-left: 1.2em; } 36 | .btn-icon-left .fa { padding-right: 0.5em; } 37 | 38 | .btn-icon-right { padding-right: 1.5em; } 39 | .btn-icon-right .fa { padding-left: 0.5em; } 40 | 41 | .btn-row { 42 | margin: 0; 43 | padding: 0; 44 | min-height: $basal-leading * 2; 45 | } 46 | 47 | /* Botões coloridos */ 48 | 49 | @mixin buttons($selector, $txt-color, $bg-color) { 50 | 51 | #{$selector} { 52 | 53 | color: $txt-color; 54 | background-color: $bg-color; 55 | 56 | &:visited { 57 | @extend #{$selector}; 58 | } 59 | 60 | &:hover { 61 | color: $txt-color; 62 | background-color: darken($bg-color, 15%); 63 | } 64 | } 65 | 66 | } 67 | 68 | @include buttons( ".btn-green", 69 | $basal-button-color-text-color, 70 | $green-base); 71 | 72 | @include buttons( ".btn-blue", 73 | $basal-button-color-text-color, 74 | $blue-base); 75 | 76 | @include buttons( ".btn-orange", 77 | $basal-button-color-text-color, 78 | $orange-base); 79 | 80 | @include buttons( ".btn-red", 81 | $basal-button-color-text-color, 82 | $red-base); 83 | 84 | 85 | /* 86 | * Quebra de layout para Tablet 87 | * 88 | */ 89 | 90 | @media all and (max-width: $basal-media-tablet) { 91 | 92 | .btn-row { 93 | padding: 0 $basal-padding; 94 | } 95 | 96 | 97 | } 98 | // Fim da Quebra de layout para Tablet 99 | 100 | // FIM Botões de Interface 101 | -------------------------------------------------------------------------------- /sass/_images.scss: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Imagens 4 | * 5 | */ 6 | 7 | // Exemplo de aplicação: 8 | //
10 | //
13 | //
75 | //