colocate notification-modal styles (#9147)
Follows former examples of colocating styles with the modals that use them.feature/default_network_editable
parent
d0366ad8f2
commit
85e658993b
@ -0,0 +1 @@ |
|||||||
|
export { default } from './notification-modal' |
@ -0,0 +1,56 @@ |
|||||||
|
.notification-modal { |
||||||
|
&__wrapper { |
||||||
|
display: flex; |
||||||
|
flex-direction: column; |
||||||
|
justify-content: flex-start; |
||||||
|
align-items: center; |
||||||
|
position: relative; |
||||||
|
border: 1px solid $alto; |
||||||
|
box-shadow: 0 0 2px 2px $alto; |
||||||
|
} |
||||||
|
|
||||||
|
&__header { |
||||||
|
background: $wild-sand; |
||||||
|
width: 100%; |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
padding: 30px; |
||||||
|
font-size: 22px; |
||||||
|
color: $nile-blue; |
||||||
|
} |
||||||
|
|
||||||
|
&__message { |
||||||
|
padding: 20px; |
||||||
|
width: 100%; |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
font-size: 17px; |
||||||
|
color: $nile-blue; |
||||||
|
} |
||||||
|
|
||||||
|
&__buttons { |
||||||
|
display: flex; |
||||||
|
justify-content: space-evenly; |
||||||
|
width: 100%; |
||||||
|
margin-bottom: 24px; |
||||||
|
padding: 0 42px; |
||||||
|
|
||||||
|
&__btn { |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
&__link { |
||||||
|
color: $primary-blue; |
||||||
|
} |
||||||
|
|
||||||
|
.modal-close-x::after { |
||||||
|
content: '\00D7'; |
||||||
|
font-size: 2em; |
||||||
|
color: $dusty-gray; |
||||||
|
position: absolute; |
||||||
|
top: 25px; |
||||||
|
right: 17.5px; |
||||||
|
cursor: pointer; |
||||||
|
} |
||||||
|
} |
@ -1,7 +1,7 @@ |
|||||||
import PropTypes from 'prop-types' |
import PropTypes from 'prop-types' |
||||||
import React, { Component } from 'react' |
import React, { Component } from 'react' |
||||||
import { connect } from 'react-redux' |
import { connect } from 'react-redux' |
||||||
import { hideModal } from '../../../store/actions' |
import { hideModal } from '../../../../store/actions' |
||||||
|
|
||||||
class NotificationModal extends Component { |
class NotificationModal extends Component { |
||||||
static contextProps = { |
static contextProps = { |
Loading…
Reference in new issue