mirror of
https://github.com/strapi/strapi.git
synced 2025-09-05 22:57:56 +00:00
border
Signed-off-by: Virginie Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
002ef5f99e
commit
1e65ccffdc
@ -20,7 +20,7 @@ const GlobalNotification = createGlobalStyle`
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
color: ${props => props.theme.main.colors.green};
|
color: ${props => props.theme.main.colors.green};
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 9px;
|
height: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -135,6 +135,15 @@ const Li = styled.li`
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
border-left: 2px solid ${props => props.theme.main.colors.green};
|
border-left: 2px solid ${props => props.theme.main.colors.green};
|
||||||
|
&.notificationError {
|
||||||
|
border-color: ${props => props.theme.main.colors.red};
|
||||||
|
}
|
||||||
|
&.notificationWarning {
|
||||||
|
border-color: ${props => props.theme.main.colors.orange};
|
||||||
|
}
|
||||||
|
&.notificationInfo {
|
||||||
|
border-color: ${props => props.theme.main.colors.blue};
|
||||||
|
}
|
||||||
|
|
||||||
// The last notification must appear from
|
// The last notification must appear from
|
||||||
// the background of the previous one.
|
// the background of the previous one.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user