| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- @import 'src/utils/scss/variables';
- .modal {
- display: block;
- text-align: center;
- position: fixed;
- z-index: 1;
- padding-top: 200px;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- overflow: auto;
- background-color: $black;
- background-color: rgba(0, 0, 0, 0.4);
- .modal-content {
- box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.5);
- background: #222e44;
- border: 1px solid #111824;
- margin: auto;
- width: 25%;
- height: auto;
- color: white;
- margin-top: 100px;
- .modal-body {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- overflow-wrap: anywhere;
- font-size: 17px;
- margin-bottom: 40px;
- small {
- margin-top: 5px;
- font-size: 13px;
-
- &.error {
- color: red;
- }
- }
- input {
- background: #333;
- border: 1px solid #111;
- color: white;
- margin-top: 10px;
- width: 85%;
- }
- }
- .modal-header {
- border-bottom: none;
- padding-bottom: 0;
- word-break: break-word;
- h3 {
- font-size: 20px;
- color: $secondaryLight;
- }
- .replace {
- position: absolute;
- top: 10px;
- right: 10px;
- }
- .quot {
- color: $secondaryActive;
- }
- }
- .modal-footer {
- border-top: 1px solid #555;
- button {
- color: white;
- border-color: none;
- background: none;
- text-transform: uppercase;
- font-size: 11px;
- &:focus {
- outline: none;
- box-shadow: none;
- }
- }
- button.btn-danger {
- border-color: transparent;
- &:focus {
- outline: none;
- border: none;
- }
- }
- button.btn-danger:hover {
- background: $danger;
- border-color: $danger;
- }
- button + button {
- padding: 6px 30px;
- background: $secondary;
- border-color: $secondary;
- &:hover {
- background: $primaryLight;
- border-color: $primaryLight;
- color: $hoverButtonText;
- }
- &:hover {
- background: $primaryActive;
- border-color: $primaryActive;
- color: $activeButtonText;
- }
- }
- }
- .header .quot {
- color: $secondaryActive;
- }
- .close {
- top: 0;
- right: 0;
- color: $black;
- }
- }
- .nothing-selected {
- h3 {
- padding: 15px;
- }
- .modal-footer {
- margin-top: 20px;
- button {
- background: #d9534f;
- border-color: #d9534f;
- color: white;
- }
- }
- }
- .delete .modal-header {
- border-bottom: none;
- padding-bottom: 30px;
- .close {
- position: absolute;
- top: 15px;
- right: 15px;
- }
- }
- .permissions {
- height: auto;
- width: 30%;
- margin-top: 0;
- .error,
- &:focus {
- border: 1px solid red;
- }
- input[type='text'] {
- size: 40px;
- width: 60px;
- margin: auto auto 10px auto;
- display: inline-block;
- }
- .header h3 {
- margin-bottom: 40px;
- font-size: 30px;
- }
- form {
- margin-top: 20px;
- div {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- margin-bottom: 30px;
- margin-left: 40px;
- label {
- display: inherit;
- cursor: pointer;
- font-size: 18px;
- input {
- margin-top: 6px;
- margin-right: 5px;
- }
- }
- }
- }
- }
- }
|