|
|
@ -59,6 +59,9 @@ $nm-pb-regress-color: whiteSmoke |
|
|
|
$nm-pb-border-radius: rem-calc(6) |
|
|
|
$nm-pb-border-radius: rem-calc(6) |
|
|
|
$nm-pb-height: rem-calc(20) |
|
|
|
$nm-pb-height: rem-calc(20) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$nm-upload-status-font-size: rem-calc(18) |
|
|
|
|
|
|
|
$nm-upload-file-status-icon-size: rem-calc(12) |
|
|
|
|
|
|
|
|
|
|
|
$nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
$nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
|
|
|
|
|
|
|
|
%nm-icon-error |
|
|
|
%nm-icon-error |
|
|
@ -73,6 +76,18 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
@extend .icon-attention1:before |
|
|
|
@extend .icon-attention1:before |
|
|
|
color: $nm-color-warning-icon |
|
|
|
color: $nm-color-warning-icon |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%error-placeholder |
|
|
|
|
|
|
|
background-color: $nm-color-error-background |
|
|
|
|
|
|
|
border-color: $nm-color-error-border |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%success-placeholder |
|
|
|
|
|
|
|
background-color: $nm-color-success-background |
|
|
|
|
|
|
|
border-color: $nm-color-success-border |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%warning-placeholder |
|
|
|
|
|
|
|
background-color: $nm-color-warning-background |
|
|
|
|
|
|
|
border-color: $nm-color-warning-border |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@mixin messages-icon($top:rem-calc(11), $left:rem-calc(10), $size:rem-calc(18)) |
|
|
|
@mixin messages-icon($top:rem-calc(11), $left:rem-calc(10), $size:rem-calc(18)) |
|
|
|
@include icon-common |
|
|
|
@include icon-common |
|
|
@ -114,30 +129,29 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
padding: $nm-box-padding |
|
|
|
padding: $nm-box-padding |
|
|
|
|
|
|
|
|
|
|
|
&.-error |
|
|
|
&.-error |
|
|
|
background-color: $nm-color-error-background |
|
|
|
@extend %error-placeholder |
|
|
|
border-color: $nm-color-error-border |
|
|
|
|
|
|
|
&::before |
|
|
|
&::before |
|
|
|
@include messages-icon |
|
|
|
@include messages-icon |
|
|
|
@extend %nm-icon-error |
|
|
|
@extend %nm-icon-error |
|
|
|
|
|
|
|
|
|
|
|
&.-success |
|
|
|
&.-success |
|
|
|
background-color: $nm-color-success-background |
|
|
|
@extend %success-placeholder |
|
|
|
border-color: $nm-color-success-border |
|
|
|
|
|
|
|
&::before |
|
|
|
&::before |
|
|
|
@include messages-icon |
|
|
|
@include messages-icon |
|
|
|
@extend %nm-icon-success |
|
|
|
@extend %nm-icon-success |
|
|
|
|
|
|
|
|
|
|
|
&.-warning |
|
|
|
&.-warning |
|
|
|
background-color: $nm-color-warning-background |
|
|
|
@extend %warning-placeholder |
|
|
|
border-color: $nm-color-warning-border |
|
|
|
|
|
|
|
&::before |
|
|
|
&::before |
|
|
|
@include messages-icon |
|
|
|
@include messages-icon |
|
|
|
@extend %nm-icon-warning |
|
|
|
@extend %nm-icon-warning |
|
|
|
|
|
|
|
|
|
|
|
&.-severe |
|
|
|
&.-severe |
|
|
|
background-color: $nm-color-error-background |
|
|
|
background-color: $nm-color-error-background |
|
|
|
border-color: $nm-color-error-border |
|
|
|
border-color: $nm-color-error-border |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.-upload |
|
|
|
|
|
|
|
padding: $nm-upload-box-padding |
|
|
|
|
|
|
|
|
|
|
|
//@hack adapting to provided styles |
|
|
|
//@hack adapting to provided styles |
|
|
|
//messy I dont have all the details for a magic resolve, this might change |
|
|
|
//messy I dont have all the details for a magic resolve, this might change |
|
|
|
& p, & ul |
|
|
|
& p, & ul |
|
|
@ -145,6 +159,15 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
& p, & ul>li, & .button |
|
|
|
& p, & ul>li, & .button |
|
|
|
font-size: $nm-font-size |
|
|
|
font-size: $nm-font-size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[class^="icon-"] |
|
|
|
|
|
|
|
&.-error |
|
|
|
|
|
|
|
color: $nm-color-error-icon |
|
|
|
|
|
|
|
&.-success |
|
|
|
|
|
|
|
color: $nm-color-success-icon |
|
|
|
|
|
|
|
&.-warning |
|
|
|
|
|
|
|
color: $nm-color-warning-icon |
|
|
|
|
|
|
|
|
|
|
|
.notification-box--wrapper |
|
|
|
.notification-box--wrapper |
|
|
|
position: absolute |
|
|
|
position: absolute |
|
|
|
top: rem-calc(52px) //this value probably will change |
|
|
|
top: rem-calc(52px) //this value probably will change |
|
|
@ -193,12 +216,12 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
margin: rem-calc(5 0) |
|
|
|
margin: rem-calc(5 0) |
|
|
|
.filename |
|
|
|
.filename |
|
|
|
font-weight: bold |
|
|
|
font-weight: bold |
|
|
|
|
|
|
|
[class^="icon-"] |
|
|
|
|
|
|
|
font-size: $nm-upload-file-status-icon-size |
|
|
|
|
|
|
|
|
|
|
|
.notification-box--upload-status |
|
|
|
.notification-box--upload-status |
|
|
|
font-size: rem-calc(18) |
|
|
|
font-size: $nm-upload-status-font-size !important |
|
|
|
|
|
|
|
line-height: $nm-upload-status-font-size !important |
|
|
|
.notification-box.-upload |
|
|
|
|
|
|
|
padding: $nm-upload-box-padding |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.notification-box--content |
|
|
|
.notification-box--content |
|
|
|
width: 100% |
|
|
|
width: 100% |
|
|
@ -211,3 +234,16 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25) |
|
|
|
border-radius: $nm-pb-border-radius |
|
|
|
border-radius: $nm-pb-border-radius |
|
|
|
&::-webkit-progress-value |
|
|
|
&::-webkit-progress-value |
|
|
|
border-radius: $nm-pb-border-radius |
|
|
|
border-radius: $nm-pb-border-radius |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.notification-box--notice |
|
|
|
|
|
|
|
border-radius: $nm-border-radius |
|
|
|
|
|
|
|
border-style: solid |
|
|
|
|
|
|
|
border-width: rem-calc(1) |
|
|
|
|
|
|
|
padding: rem-calc(5) |
|
|
|
|
|
|
|
margin: rem-calc(5 0) |
|
|
|
|
|
|
|
&.-error |
|
|
|
|
|
|
|
@extend %error-placeholder |
|
|
|
|
|
|
|
&.-success |
|
|
|
|
|
|
|
@extend %success-placeholder |
|
|
|
|
|
|
|
&.-warning |
|
|
|
|
|
|
|
@extend %warning-placeholder |
|
|
|