101 lines
1.5 KiB
CSS
101 lines
1.5 KiB
CSS
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
header {
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
.content-wrapper {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
main {
|
|
flex: 3;
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* Widgets */
|
|
.modal {
|
|
position: fixed;
|
|
background-color: #f0f0f0;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
/*
|
|
display: none;
|
|
*/
|
|
}
|
|
.widget-toggle {
|
|
position: fixed;
|
|
padding: 10px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
#notification-widget {
|
|
top: 100px;
|
|
right: 20px;
|
|
width: 250px;
|
|
}
|
|
#notification-toggle {
|
|
top: 100px;
|
|
right: 20px;
|
|
}
|
|
#chat-widget {
|
|
bottom: 20px;
|
|
right: 20px;
|
|
width: 300px;
|
|
height: 400px;
|
|
}
|
|
#chat-toggle {
|
|
bottom: 20px;
|
|
right: 20px;
|
|
}
|
|
#settings-widget {
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 200px;
|
|
}
|
|
#settings-toggle {
|
|
top: 20px;
|
|
left: 20px;
|
|
}
|
|
.modal:target {
|
|
display: block;
|
|
}
|
|
|
|
.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Testing */
|
|
|
|
#modalTest {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0,0.4);
|
|
}
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: 15% auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 80%;
|
|
} |