status_messages.css in Status Messages 8.4
Same filename and directory in other branches
/* * Style overwrites for the status message block. */ .simple-status-messages { position: fixed; top: 100px; right: 10px; z-index: 9999; width: 30%; transition: all 0.25s ease; } .webform-message .simple-status-messages { top: 170px; } @media screen and (max-width: 767px) { .simple-status-messages { width: 100%; position: unset; } } .status-messages + .status-messages { margin-top: 0.769em; } .simple-status-messages .status-messages { position: relative; padding: 15px 20px 15px 35px; word-wrap: break-word; border: 1px solid; border-width: 1px 1px 1px 0; border-radius: 2px; background: no-repeat 10px 17px; overflow-wrap: break-word; } .simple-status-messages .js-webform-message__link { display: none !important; } .simple-status-messages .messages--status { background-image: url(../img/checked.svg); background-size: 16px; background-color: #f3faef; color: #325e1c; border-color: #c9e1bd #c9e1bd #c9e1bd transparent; box-shadow: -8px 0 0 #77b259; } .simple-status-messages .messages--info { background-image: url(../img/checked.svg); background-size: 16px; background-color: #f3faef; color: #325e1c; border-color: #c9e1bd #c9e1bd #c9e1bd transparent; box-shadow: -8px 0 0 #77b259; } .simple-status-messages .messages--webform { background-image: url(../img/checked.svg); background-size: 16px; background-color: #f3faef; color: #325e1c; border-color: #c9e1bd #c9e1bd #c9e1bd transparent; box-shadow: -8px 0 0 #77b259; } .simple-status-messages .messages--warning { background-image: url(../img/warning.svg); background-size: 16px; color: #734c00; border-color: #f4daa6 #f4daa6 #f4daa6 transparent; background-color: #fdf8ed; box-shadow: -8px 0 0 #e09600; } .simple-status-messages .messages--error { background-image: url(../img/cancel.svg); background-size: 16px; color: #a51b00; border-color: #f9c9bf #f9c9bf #f9c9bf transparent; background-color: #fcf4f2; box-shadow: -8px 0 0 #e62600; } .simple-status-messages .status-message-close { border: none; padding: 0; } .simple-status-messages .status-message-close span { position: absolute; right: 5px; top: 0; color: #000000; font-size: 16px; opacity: 0.25; border-bottom: none; } .simple-status-messages .status-message-close span:hover, .simple-status-messages .status-message-close span:focus, .simple-status-messages .status-message-close span:active { color: #000000; text-decoration: none; opacity: 0.4; }
File
css/status_messages.cssView source
- /*
- * Style overwrites for the status message block.
- */
-
- .simple-status-messages {
- position: fixed;
- top: 100px;
- right: 10px;
- z-index: 9999;
- width: 30%;
- transition: all 0.25s ease;
- }
-
- .webform-message .simple-status-messages {
- top: 170px;
- }
-
- @media screen and (max-width: 767px) {
- .simple-status-messages {
- width: 100%;
- position: unset;
- }
- }
-
- .status-messages + .status-messages {
- margin-top: 0.769em;
- }
-
- .simple-status-messages .status-messages {
- position: relative;
- padding: 15px 20px 15px 35px;
- word-wrap: break-word;
- border: 1px solid;
- border-width: 1px 1px 1px 0;
- border-radius: 2px;
- background: no-repeat 10px 17px;
- overflow-wrap: break-word;
- }
-
- .simple-status-messages .js-webform-message__link {
- display: none !important;
- }
-
- .simple-status-messages .messages--status {
- background-image: url(../img/checked.svg);
- background-size: 16px;
- background-color: #f3faef;
- color: #325e1c;
- border-color: #c9e1bd #c9e1bd #c9e1bd transparent;
- box-shadow: -8px 0 0 #77b259;
- }
-
- .simple-status-messages .messages--info {
- background-image: url(../img/checked.svg);
- background-size: 16px;
- background-color: #f3faef;
- color: #325e1c;
- border-color: #c9e1bd #c9e1bd #c9e1bd transparent;
- box-shadow: -8px 0 0 #77b259;
- }
-
- .simple-status-messages .messages--webform {
- background-image: url(../img/checked.svg);
- background-size: 16px;
- background-color: #f3faef;
- color: #325e1c;
- border-color: #c9e1bd #c9e1bd #c9e1bd transparent;
- box-shadow: -8px 0 0 #77b259;
- }
-
- .simple-status-messages .messages--warning {
- background-image: url(../img/warning.svg);
- background-size: 16px;
- color: #734c00;
- border-color: #f4daa6 #f4daa6 #f4daa6 transparent;
- background-color: #fdf8ed;
- box-shadow: -8px 0 0 #e09600;
- }
-
- .simple-status-messages .messages--error {
- background-image: url(../img/cancel.svg);
- background-size: 16px;
- color: #a51b00;
- border-color: #f9c9bf #f9c9bf #f9c9bf transparent;
- background-color: #fcf4f2;
- box-shadow: -8px 0 0 #e62600;
- }
-
- .simple-status-messages .status-message-close {
- border: none;
- padding: 0;
- }
-
- .simple-status-messages .status-message-close span {
- position: absolute;
- right: 5px;
- top: 0;
- color: #000000;
- font-size: 16px;
- opacity: 0.25;
- border-bottom: none;
- }
-
- .simple-status-messages .status-message-close span:hover,
- .simple-status-messages .status-message-close span:focus,
- .simple-status-messages .status-message-close span:active {
- color: #000000;
- text-decoration: none;
- opacity: 0.4;
- }