Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

Pretty up admin and prosjekter

This commit is contained in:
Peder Bergebakken Sundt 2017-10-28 20:53:49 +02:00
parent e5dcb07659
commit c1def5fd7d
4 changed files with 20 additions and 12 deletions

View File

@ -21,7 +21,7 @@ header.admin {
grid-template-columns: 90% 10%;
margin-bottom: 2em;
padding-bottom: .5em;
border-bottom: 1px solid gray;
border-bottom: 1px dotted rgba(0,0,0,0.5);
}
.event-info {
@ -57,13 +57,14 @@ header.admin {
}
.gridsplit {
padding-top: 1.3em;
display: grid;
grid-template-columns: 75% 25%;
grid-template-columns: 3fr 1fr;
}
.gridsplit5050 {
display: grid;
grid-template-columns: 50% 50%;
grid-template-columns: 1fr 1fr;
}
.gridl {
@ -75,10 +76,19 @@ header.admin {
height: 100%;
padding: 0 1em;
margin-left: 1em;
border-left: 1px solid gray;
border-left: 1px dotted rgba(0,0,0,0.5);
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 {
grid-column: 1 / -1;
}
@ -110,4 +120,4 @@ header.admin {
border-color: #084;
background: #084;
color: white;
}
}

View File

@ -15,7 +15,7 @@ img.float-right {
margin-top: .2em;
}
.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 {

View File

@ -94,10 +94,8 @@ main:before {
}
.ruler {
border-style: inset;
height: 1px;
border-width: 0px;
background-color: black;
border: none;
border-bottom: 1px dotted rgba(0,0,0,.5);
}
a.btn {

View File

@ -84,11 +84,11 @@ if($new == 0){
<form action="update.php", method="post">
<p class="subtitle no-chin">Prosjektnavn</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="subnote">Hva går prosjektet ditt ut ?</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() . '" />' ?>