(css) Move base_styles/* to structure.scss

pull/186/head
Francis Lachapelle 2015-12-07 20:54:26 -05:00
parent 11d03569a4
commit a79205fb7c
6 changed files with 34 additions and 41 deletions

View File

@ -1,35 +0,0 @@
/// _base_style.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
// 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;
}
}
.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;
}

View File

@ -1 +0,0 @@
/// _functions.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-

View File

@ -1 +0,0 @@
/// _mixins.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-

View File

@ -8,3 +8,37 @@
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;
}
}
.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;
}

View File

@ -95,10 +95,6 @@
@import 'components/pseudo-input/pseudo-input';
@import 'views/view';
// core styles - need to be after components till settings are correctly implemented
// ------------------------------------------------------------------------------
@import 'core/base_styles/base_style';
// Make sure this is last to override anything else
//@import 'shame';