57 lines
No EOL
1.5 KiB
CSS
57 lines
No EOL
1.5 KiB
CSS
/*
|
|
* Copyright (C) 2021 Eichehome
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
/* Styling für Handy */
|
|
@import url(normalize.css);
|
|
/* Popupbox stylen */
|
|
.message {
|
|
width: 100%;
|
|
margin: 0 auto 15px;
|
|
padding: 4px 12px;
|
|
}
|
|
/* Aussehen im Erfolgsfall */
|
|
.message.error {
|
|
background-color: #ffdddd;
|
|
border-left: 6px solid #f44336;
|
|
}
|
|
/* Aussehen im Fehlerfall */
|
|
.message.sucsses {
|
|
background-color: #ddffdd;
|
|
border-left: 6px solid #4CAF50;
|
|
}
|
|
/* Position der Box */
|
|
.modal {
|
|
position: relative;
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: 600px){
|
|
/* Anpassung an große Bildschirme */
|
|
.message{
|
|
max-width: 30em;
|
|
border-radius: 10px;
|
|
margin: 10px auto 15px;
|
|
}
|
|
.message.error {
|
|
border: 3px solid #f44336;
|
|
}
|
|
.message.sucsses {
|
|
border: 3px solid #4CAF50;
|
|
}
|
|
} |