mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
Updated deprecated division operators in sass
This commit is contained in:
parent
b6b626ee5f
commit
d1dddb7656
@ -8,6 +8,7 @@
|
|||||||
- Updated @uirouter/angularjs to 1.0.30
|
- Updated @uirouter/angularjs to 1.0.30
|
||||||
- Updated bootstrap-sass to 3.4.3
|
- Updated bootstrap-sass to 3.4.3
|
||||||
- Removed unmaintained gem sidekiq-cron and replaced it with sidekiq-scheduler
|
- Removed unmaintained gem sidekiq-cron and replaced it with sidekiq-scheduler
|
||||||
|
- Updated deprecated division operators in sass
|
||||||
- Fix a bug: a sentence was not linked to a translation key
|
- Fix a bug: a sentence was not linked to a translation key
|
||||||
- Fix a bug: the version check may be scheduled at an invalid time
|
- Fix a bug: the version check may be scheduled at an invalid time
|
||||||
- Fix a bug: the moment-timezone relied on an outdated version of moment with a case-sensitive locale file
|
- Fix a bug: the moment-timezone relied on an outdated version of moment with a case-sensitive locale file
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@use 'sass:math';
|
||||||
|
|
||||||
/*layout*/
|
/*layout*/
|
||||||
.header,
|
.header,
|
||||||
.footer {
|
.footer {
|
||||||
@ -286,8 +288,8 @@ body.container {
|
|||||||
height: $header-md-height;
|
height: $header-md-height;
|
||||||
|
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
margin-top: floor(($header-md-height - 30) / 2);
|
margin-top: floor(math.div($header-md-height - 30, 2));
|
||||||
margin-bottom: floor(($header-md-height - 30) / 2);
|
margin-bottom: floor(math.div($header-md-height - 30, 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -689,7 +691,7 @@ body.container {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
& .Event-picture {opacity: 0.7;}
|
& .Event-picture {opacity: 0.7;}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-picture {
|
&-picture {
|
||||||
height: 250px;
|
height: 250px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@ -701,7 +703,7 @@ body.container {
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-desc {
|
&-desc {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@use 'sass:math';
|
||||||
|
|
||||||
/*primary nav*/
|
/*primary nav*/
|
||||||
.navbar-header {
|
.navbar-header {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -42,7 +44,7 @@
|
|||||||
.nav-primary {
|
.nav-primary {
|
||||||
li {
|
li {
|
||||||
> a > i {
|
> a > i {
|
||||||
margin: floor(-($nav-primary-height - $line-height-computed) / 2) -10px;
|
margin: floor(math.div(-($nav-primary-height - $line-height-computed), 2)) -10px;
|
||||||
line-height: $nav-primary-height;
|
line-height: $nav-primary-height;
|
||||||
width: $nav-primary-height;
|
width: $nav-primary-height;
|
||||||
float: left;
|
float: left;
|
||||||
@ -61,7 +63,7 @@
|
|||||||
ul.nav {
|
ul.nav {
|
||||||
> li {
|
> li {
|
||||||
> a {
|
> a {
|
||||||
padding: floor(($nav-primary-height - $line-height-computed) / 2) 15px;
|
padding: floor(math.div($nav-primary-height - $line-height-computed, 2)) 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
@ -245,7 +247,7 @@
|
|||||||
|
|
||||||
> .vbox > .header,
|
> .vbox > .header,
|
||||||
> .vbox > .footer {
|
> .vbox > .footer {
|
||||||
padding: 0 floor(($nav-xs-width - 30px) / 2);
|
padding: 0 floor(math.div($nav-xs-width - 30px, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden-nav-xs {
|
.hidden-nav-xs {
|
||||||
@ -309,7 +311,7 @@
|
|||||||
> li {
|
> li {
|
||||||
> a {
|
> a {
|
||||||
.header-md & {
|
.header-md & {
|
||||||
padding: floor(($header-md-height - $line-height-computed) / 2 - 1);
|
padding: floor(math.div($header-md-height - $line-height-computed, 2) - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -326,7 +328,7 @@
|
|||||||
// + *{
|
// + *{
|
||||||
// padding-top: 50px !important;
|
// padding-top: 50px !important;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-bar-fixed-bottom {
|
.nav-bar-fixed-bottom {
|
||||||
@ -518,7 +520,7 @@
|
|||||||
border-left: 3px solid;
|
border-left: 3px solid;
|
||||||
|
|
||||||
// #870003;
|
// #870003;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user