Move css to seperate file and retheme admin page
This commit is contained in:
82
static/admin.css
Normal file
82
static/admin.css
Normal file
@@ -0,0 +1,82 @@
|
||||
* {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
header{
|
||||
padding: 50px;
|
||||
}
|
||||
body{
|
||||
background-image: url("https://images.unsplash.com/photo-1528459584353-5297db1a9c01?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1075&q=80");
|
||||
}
|
||||
|
||||
.input[type=text]{
|
||||
width:100%;
|
||||
border:2px solid #aaa;
|
||||
border-radius:4px;
|
||||
margin:8px 0;
|
||||
outline:none;
|
||||
padding:8px;
|
||||
box-sizing:border-box;
|
||||
transition:.3s;
|
||||
}
|
||||
|
||||
input[type=text]:focus{
|
||||
border-color:dodgerBlue;
|
||||
box-shadow:0 0 8px 0 dodgerBlue;
|
||||
}
|
||||
|
||||
|
||||
h1{
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
.table-dec{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
.content-table {
|
||||
border-collapse: collapse;
|
||||
margin: 25px 0;
|
||||
font-size: 0.9em;
|
||||
min-width: 400px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.content-table thead tr {
|
||||
width:100%;
|
||||
background-color: #009879;
|
||||
color: #ffffff;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.content-table th,
|
||||
.content-table td {
|
||||
padding: 12px 15px;
|
||||
}
|
||||
|
||||
.content-table tbody tr {
|
||||
border-bottom: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
.content-table tbody tr:nth-of-type(even) {
|
||||
background-color: rgba(243, 243, 243, 0.7);
|
||||
}
|
||||
|
||||
.content-table tbody tr:last-of-type {
|
||||
border-bottom: 2px solid #009879;
|
||||
}
|
||||
|
||||
.content-table tbody tr.active-row {
|
||||
font-weight: bold;
|
||||
color: #009879;
|
||||
}
|
||||
|
||||
.change {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
Reference in New Issue
Block a user