Compare commits

...

4 Commits

Author SHA1 Message Date
Frédéric Péters 77a5019c1c montreuil: remove border after "more items" link (#40529)
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit Details
gitea/publik-base-theme/pipeline/head Something is wrong with the build of this commit Details
2020-03-09 09:45:26 +01:00
Frédéric Péters ce7a2872f2 pfwb: add margin before navigation to increate top links area (#40463) 2020-03-06 10:42:41 +01:00
Frédéric Péters 92738581e8 toulouse(-metropole): allow authentic cells to overflow (#40358) 2020-03-03 08:36:04 +01:00
Thomas Jund d2b35d452f scss: fix check for positive $cell-border-radius (#39883) 2020-03-01 13:23:49 +01:00
6 changed files with 15 additions and 1 deletions

View File

@ -73,7 +73,7 @@ div.block {
color: $cell-color;
box-sizing: border-box;
border: $cell-border;
@if $cell-border-radius {
@if is-positive-number($cell-border-radius) {
border-radius: $cell-border-radius;
overflow: hidden;
}

View File

@ -33,3 +33,8 @@ $black: #000000 !default;
@if type-of($part) == number { @return $part; } }
@return 0;
}
// Check if value is a number > 0;
@function is-positive-number($value) {
@return type-of($value) == 'number' and $value > 0;
}

View File

@ -124,6 +124,9 @@ div.gru-nav {
li:last-child a {
border-bottom: 0;
}
li.more-items {
border: 0;
}
li.more-items a {
background: $secondary-color;
border-radius: 50%;

View File

@ -47,6 +47,10 @@ div#nav {
margin-left: 0;
}
& > ul {
margin: 2em 0 1em 0;
@media screen and ($max-mobile-viewport) {
margin: 0;
}
transition: all ease 0.2s;
li a {
font-weight: normal;

View File

@ -18,6 +18,7 @@ $header-height: 164px;
$nav-width: 156px;
$intro-height: calc(100vh - 150px);
div.a2-block, div.block,
.gru-content div.cell {
overflow: visible;
}

View File

@ -4,6 +4,7 @@ $header-height: 62px;
$nav-width: 150px;
$intro-height: calc(100vh - 200px);
div.a2-block, div.block,
.gru-content div.cell {
overflow: visible;
}