mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-21 02:38:11 +00:00
(css) Move base_styles/* to structure.scss
This commit is contained in:
1 parent
11d03569a4
commit
a79205fb7c
6 files changed
+34
-41
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user