File: /home/nyiet8349bzl/public_html/oldwebsite.sbsc.in/wp-content/plugins/Newnoticeboard/admin/style.css
/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body {
display: flex;
height: 100vh;
background: #f0f2f5;
color: #333;
}
.sidebar {
width: 250px;
background: linear-gradient(180deg, #4b6cb7, #182848);
color: white;
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}
.sidebar h2 {
font-size: 20px;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 20px;
border-bottom: 1px solid rgba(255,255,255,0.3);
padding-bottom: 10px;
}
.sidebar a {
text-decoration: none;
color: white;
font-weight: 600;
padding: 10px;
background: rgba(255,255,255,0.1);
border-radius: 5px;
transition: background 0.3s;
}
.sidebar a:hover {
background: rgba(255,255,255,0.3);
}
.main {
flex: 1;
padding: 40px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 30px;
background: #fafafa;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
background: white;
padding: 15px 30px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
margin-bottom: 20px;
}
.topbar input[type="search"] {
width: 250px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}
.card {
background: white;
border-radius: 12px;
padding: 30px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: transform 0.3s;
}
.card:hover {
transform: translateY(-3px);
}
.card h2 {
margin-bottom: 15px;
color: #2c3e50;
font-size: 20px;
text-transform: uppercase;
letter-spacing: 1px;
}
input[type="text"],
textarea,
input[type="file"],
select {
width: 100%;
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
}
textarea {
resize: vertical;
height: 100px;
}
button[type="submit"] {
background: #4b6cb7;
color: white;
border: none;
padding: 12px 20px;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
}
button[type="submit"]:hover {
background: #3a539b;
}
.notices li {
list-style: none;
margin-bottom: 12px;
background: #f9f9f9;
padding: 10px 15px;
border-radius: 6px;
display: flex;
justify-content: space-between;
align-items: center;
}
.notices a {
color: #c0392b;
text-decoration: none;
font-weight: 600;
}
.notices a:hover {
text-decoration: underline;
}
.card.info {
background: linear-gradient(120deg, #bdc3c7, #2c3e50);
color: white;
}
.card.info p {
margin-top: 10px;
font-size: 14px;
}