/// structure.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*- // ngMaterial source for overrides // ---------------------------------------------------------------------------- @import '../../angular-material/src/core/style/structure.scss'; // re-inforce a reset html * { box-sizing: border-box; } // Utility class to add padding on containers // Because of the border-box sizing model, padding can affect width specialy // in nested containers .sg-padded { padding-left: $mg; padding-right: $mg; &--left { padding-left: $mg; } &--right { padding-right: $mg; } &--top { padding-top: $mg; } &--bottom { padding-bottom: $mg; } } .sg-logo { background-image: url("../img/sogo-full.svg"); background-size: contain; background-repeat: no-repeat; height: 7 * $bl; min-width: 18 * $bl; //optical adjustement transform: translateY(-10%); } .sg-category { position: absolute; top: 0; bottom: 0; width: 3px; } // Group fields of a form // See https://www.google.com/design/spec/patterns/settings.html#settings-grouping-settings .sg-has-form-sections { background-color: $colorGrey300; } .sg-form-section { @extend .md-whiteframe-2dp; @extend .md-padding; background-color: white; margin-bottom: $mg/2; &:last-child { margin-bottom: 0; } }