mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 17:28:54 +00:00
759a69b5b7
- Replace uses of deprecated Bourbon helpers with raw CSS - Add autoprefixer into the build chain to prefix the now removed helpers This process was achieved by running through each of the deprecation warnings and using the following bash function to replace it in all files: ``` function bourbon-deprecate() { grep -rl "@include $1" ./frontend --exclude-dir=.git | xargs sed -i '' -E "s/@include $1[(](.*)[)]/$1: \1/g" } ``` For some helpers, this did not result in valid CSS, so manual modifications were made. Closes #1189 #1274
54 lines
1.0 KiB
SCSS
54 lines
1.0 KiB
SCSS
.modal {
|
|
&__background {
|
|
@include position(fixed, 0 0 0 0);
|
|
background-color: rgba($black, 0.25);
|
|
z-index: 3;
|
|
}
|
|
|
|
&__content {
|
|
margin-top: 10px;
|
|
|
|
.input-field {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&__ex {
|
|
@include position(absolute, 30px 30px null null);
|
|
@include size(30px);
|
|
line-height: 30px;
|
|
text-decoration: none;
|
|
|
|
.button {
|
|
@include size(30px);
|
|
line-height: 30px;
|
|
color: $text-medium;
|
|
font-size: $larger;
|
|
|
|
&:hover {
|
|
color: $alert-light;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
font-size: 24px;
|
|
font-weight: $normal;
|
|
line-height: normal;
|
|
letter-spacing: -0.5px;
|
|
text-align: left;
|
|
color: $text-ultradark;
|
|
}
|
|
|
|
&__modal_container {
|
|
@include position(absolute, 50% null null 50%);
|
|
transform: translate(-50%, -50%);
|
|
background-color: $white;
|
|
width: 600px;
|
|
z-index: 3;
|
|
padding: 30px;
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.07), 0 16px 24px rgba(50, 50, 93, 0.14), inset 0 0 0 1px rgba(74, 144, 226, 0.1);
|
|
border-radius: 2px;
|
|
}
|
|
}
|