Skip to content

Commit 05c1f13

Browse files
committed
Support markdown for job description field, added appropriate styles, job listing -> 2 column, enhance create/edit form and errors.
1 parent 508a35c commit 05c1f13

File tree

10 files changed

+315
-163
lines changed

10 files changed

+315
-163
lines changed

app/assets/stylesheets/premium-team-admin.scss

Lines changed: 44 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -458,30 +458,56 @@ a.launch-editor {
458458
}
459459

460460
#new_opportunity, .edit_opportunity {
461-
width: 510px;
461+
width: 710px;
462462
margin: 0 auto;
463-
padding: 40px 60px;
463+
padding: 30px;
464464
background: image-url("premium-teams/paper-texture.jpg") repeat;
465465
@include border-radius(6px);
466466

467+
fieldset {
468+
margin-bottom: 20px;
469+
}
470+
471+
.horizontal {
472+
overflow: auto;
473+
474+
.job-title {
475+
float: left;
476+
width: 450px;
477+
478+
input[type=text] {
479+
width: 450px;
480+
}
481+
}
482+
483+
.job-type {
484+
float: right;
485+
width: 200px;
486+
487+
select {
488+
width: 185px;
489+
}
490+
}
491+
}
492+
467493
.errors {
468-
background: $red;
494+
background: #f2dede;
495+
border: 1px solid #ebccd1;
469496
padding: 10px;
470497
@include border-radius(6px);
471-
color: #fff;
472-
margin-bottom: 10px;
498+
color: #a94442;
499+
margin-bottom: 30px;
473500

474-
li {
475-
font-size: 1.2em;
476-
}
501+
h4 { font-size: 2em; text-transform: none; color: $red; margin-bottom: .5em;}
502+
li { font-size: 1.4em; color: $red; line-height: 1.5em; }
477503
}
478504

479505
label {
480506
font-size: 1.4em;
481507
color: $dark-grey;
482508
margin-bottom: 10px;
483509
display: block;
484-
font-family: "MuseoSans-500";
510+
font-family: "MuseoSans-700";
485511

486512
a {
487513
color: $light-blue;
@@ -534,6 +560,14 @@ a.launch-editor {
534560
margin-bottom: 15px;
535561
}
536562

563+
textarea {
564+
width: 680px;
565+
}
566+
567+
textarea#opportunity_description {
568+
height: 300px;
569+
}
570+
537571
select {
538572
font-family: "MuseoSans-500";
539573
font-size: 1.4em;
@@ -777,4 +811,4 @@ a.launch-editor {
777811
background-color: rgba(0, 0, 0, 0.8);
778812
height: 100%;
779813
width: 100%;
780-
}
814+
}

0 commit comments

Comments
 (0)