Pretty up admin and prosjekter
This commit is contained in:
parent
e5dcb07659
commit
c1def5fd7d
|
@ -21,7 +21,7 @@ header.admin {
|
||||||
grid-template-columns: 90% 10%;
|
grid-template-columns: 90% 10%;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
padding-bottom: .5em;
|
padding-bottom: .5em;
|
||||||
border-bottom: 1px solid gray;
|
border-bottom: 1px dotted rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-info {
|
.event-info {
|
||||||
|
@ -57,13 +57,14 @@ header.admin {
|
||||||
}
|
}
|
||||||
|
|
||||||
.gridsplit {
|
.gridsplit {
|
||||||
|
padding-top: 1.3em;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 75% 25%;
|
grid-template-columns: 3fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gridsplit5050 {
|
.gridsplit5050 {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 50% 50%;
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gridl {
|
.gridl {
|
||||||
|
@ -75,10 +76,19 @@ header.admin {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
border-left: 1px solid gray;
|
border-left: 1px dotted rgba(0,0,0,0.5);
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gridsplit h1:first-child,
|
||||||
|
.gridsplit h2:first-child,
|
||||||
|
.gridsplit h3:first-child,
|
||||||
|
.gridsplit h4:first-child,
|
||||||
|
.gridsplit h5:first-child,
|
||||||
|
.gridsplit h6:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.allgrids {
|
.allgrids {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
@ -110,4 +120,4 @@ header.admin {
|
||||||
border-color: #084;
|
border-color: #084;
|
||||||
background: #084;
|
background: #084;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ img.float-right {
|
||||||
margin-top: .2em;
|
margin-top: .2em;
|
||||||
}
|
}
|
||||||
.calendar-events > li > p {
|
.calendar-events > li > p {
|
||||||
border-bottom: .1em solid rgba(0,0,0,.2);
|
border-bottom: .1em dotted rgba(0,0,0,.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-events ul {
|
.calendar-events ul {
|
||||||
|
|
|
@ -94,10 +94,8 @@ main:before {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ruler {
|
.ruler {
|
||||||
border-style: inset;
|
border: none;
|
||||||
height: 1px;
|
border-bottom: 1px dotted rgba(0,0,0,.5);
|
||||||
border-width: 0px;
|
|
||||||
background-color: black;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btn {
|
a.btn {
|
||||||
|
|
|
@ -84,11 +84,11 @@ if($new == 0){
|
||||||
<form action="update.php", method="post">
|
<form action="update.php", method="post">
|
||||||
<p class="subtitle no-chin">Prosjektnavn</p>
|
<p class="subtitle no-chin">Prosjektnavn</p>
|
||||||
<p class="subnote">Gi prosjektet ditt et passende navn</p>
|
<p class="subnote">Gi prosjektet ditt et passende navn</p>
|
||||||
<?= '<input type="text" name="title" value="' . $project->getName() . '" class="boxinput">' ?><br>
|
<input type="text" name="title" value="<?= $project->getName() ?>" class="boxinput" style="width:66%;"><br>
|
||||||
|
|
||||||
<p class="subtitle no-chin">Beskrivelse</p>
|
<p class="subtitle no-chin">Beskrivelse</p>
|
||||||
<p class="subnote">Hva går prosjektet ditt ut på?</p>
|
<p class="subnote">Hva går prosjektet ditt ut på?</p>
|
||||||
<textarea name="desc" cols="40" rows="5" class="boxinput"><?= $project->getDescription() ?></textarea>
|
<textarea name="desc" style="width:100%" rows="8" class="boxinput"><?= $project->getDescription() ?></textarea>
|
||||||
|
|
||||||
<?= '<input type="hidden" name="id" value="' . $project->getID() . '" />' ?>
|
<?= '<input type="hidden" name="id" value="' . $project->getID() . '" />' ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue