From 6bc10e3728a83afbad0ab57d9e0b2f89b80b7cd6 Mon Sep 17 00:00:00 2001 From: Damillora Date: Sun, 9 Feb 2020 19:21:09 +0700 Subject: [PATCH] Fix bugs --- BlueFireDB.sql | 167 ++++++++++++++------------- css/app.532182ec.css | 1 + frontend/src/assets/css/bluefire.css | 3 +- index.html | 2 +- 4 files changed, 93 insertions(+), 80 deletions(-) create mode 100644 css/app.532182ec.css diff --git a/BlueFireDB.sql b/BlueFireDB.sql index dea7063..8336b3e 100644 --- a/BlueFireDB.sql +++ b/BlueFireDB.sql @@ -2,43 +2,30 @@ CREATE DATABASE BLUEFIREDATABASE USE BLUEFIREDATABASE --------------------------------------------------------------------------------------------------- ---LOGIN - ---SELECT * FROM [Admin] ---WHERE AdminName = 'Budi' AND [Admin].Password = 'budi321' - ---SELECT * FROM [User] ---WHERE UserName='Budi' AND [User].Password='budi321' - ---data.UserName == $('[name="username"]').val() AND data.UserPassword == $('[name="password"]').val() ---location.href('') - - --Reset Identity -- DBCC CHECKIDENT ('Emp', RESEED, 1) - ---------------------------------------------------------------------------------------------------- CREATE TABLE [Admin]( AdminID INT PRIMARY KEY IDENTITY(1,1) NOT NULL, - AdminName VARCHAR(MAX), - AdminPassword VARCHAR(MAX) + AdminName VARCHAR(50), + AdminPassword VARCHAR(50) ) INSERT INTO [Admin] VALUES ('admin', 'admin123'); INSERT INTO [Admin] VALUES ('adminHero', 'admin321'); GO CREATE TABLE [User]( UserID INT PRIMARY KEY IDENTITY(1,1) NOT NULL, - [Password] VARCHAR(MAX), - UserName VARCHAR(MAX), - DOB VARCHAR(MAX), - Gender VARCHAR(MAX), - [Address] VARCHAR(MAX), - Phone VARCHAR(MAX), - Email VARCHAR(MAX) + [Password] VARCHAR(50), + UserName VARCHAR(50), + DOB VARCHAR(50), + Gender VARCHAR(50), + [Address] VARCHAR(50), + Phone VARCHAR(50), + Email VARCHAR(50) ) --DBCC CHECKIDENT ('[User]', RESEED, 0) @@ -48,10 +35,9 @@ INSERT INTO [User] VALUES('Julia111','Julia','3/1/1999','Female','K Street','089 GO CREATE TABLE Country( CountryID INT IDENTITY(1,1) PRIMARY KEY NOT NULL, - CountryName VARCHAR (MAX) + CountryName VARCHAR (50) ) - INSERT INTO Country VALUES('Indonesia') INSERT INTO Country VALUES('Singapore') INSERT INTO Country VALUES('India') @@ -59,21 +45,20 @@ GO CREATE TABLE City( CityID INT IDENTITY (1,1) PRIMARY KEY NOT NULL, CountryID INT FOREIGN KEY REFERENCES Country(CountryID), - CityName VARCHAR (MAX), - AddressDetail VARCHAR(MAX) + CityName VARCHAR (50), + AddressDetail VARCHAR(50) ) INSERT INTO City VALUES(1,'Jakarta','Jakarta Selatan') -INSERT INTO City VALUES(1,'Jakarta','Jakarta Selatan') INSERT INTO City VALUES(2,'Singapore','Singapore') INSERT INTO City VALUES(3,'Bengaluru','Bengaluru') GO CREATE TABLE Job( JobID INT PRIMARY KEY IDENTITY(1,1) NOT NULL, - JobName VARCHAR(MAX), + JobName VARCHAR(50), CityID INT FOREIGN KEY REFERENCES city(cityId), - JobLevel VARCHAR(MAX), - Deadline VARCHAR (MAX), - JobDescription VARCHAR(MAX), + JobLevel VARCHAR(50), + Deadline VARCHAR (50), + JobDescription VARCHAR(50), ) INSERT INTO Job VALUES('IT Infrastructure',1,'Easy','12/12/2012','need computer knowledge') INSERT INTO Job VALUES('Trust and Safety Associate',2,'Medium','12/01/2013','cyber knowledge') @@ -94,13 +79,13 @@ CREATE TABLE ApplicationEntry( EntryID INT PRIMARY KEY IDENTITY(1,1) NOT NULL, UserID INT FOREIGN KEY REFERENCES [User](userId) ON UPDATE CASCADE ON DELETE CASCADE, JobID INT FOREIGN KEY REFERENCES Job(jobId) ON UPDATE CASCADE ON DELETE CASCADE, - Email VARCHAR(MAX), - PrevCompanyName VARCHAR(MAX), - PrevPosition VARCHAR(MAX), - UniversityName VARCHAR(MAX), - CvLink VARCHAR(MAX), - PortofolioLink VARCHAR(MAX), - StatusEntry VARCHAR(MAX) + Email VARCHAR(50), + PrevCompanyName VARCHAR(50), + PrevPosition VARCHAR(50), + UniversityName VARCHAR(50), + CvLink VARCHAR(50), + PortofolioLink VARCHAR(50), + StatusEntry VARCHAR(50) ) INSERT INTO ApplicationEntry VALUES(1,1,'K@k.com','Grab','Enterprise Security Lead','ITS','www.cvUser1.com','www.portUser1.com','pending') INSERT INTO ApplicationEntry VALUES(2,2,'B@b.coms','Uber','Head of Data Science','Sunib','www.cvUser2.com','www.portUser2.com','pending') @@ -115,66 +100,76 @@ SELECT*FROM UserBookmark SELECT*FROM ApplicationEntry GO ---------------------------------- +---------STORED PROCEDURES---------- +---------------------------------- + --Done CREATE PROC sp_getAllCity AS BEGIN - SELECT * FROM City +SET NOCOUNT ON + SELECT CityID,CountryID,CityName,AddressDetail FROM City END GO --Done CREATE PROC sp_insertAdmin - @password VARCHAR(MAX), - @name VARCHAR(MAX) + @password VARCHAR(50), + @name VARCHAR(50) AS BEGIN -INSERT INTO [Admin] +SET NOCOUNT ON +INSERT INTO [Admin] (AdminName,AdminPassword) VALUES (@name,@password) END GO --Done CREATE PROC sp_insertUser - @password VARCHAR(MAX), - @name VARCHAR(MAX), - @DOB VARCHAR(MAX), - @gender VARCHAR(MAX), - @address VARCHAR(MAX), - @phone VARCHAR(MAX), - @email VARCHAR(MAX) + @password VARCHAR(50), + @name VARCHAR(50), + @DOB VARCHAR(50), + @gender VARCHAR(50), + @address VARCHAR(50), + @phone VARCHAR(50), + @email VARCHAR(50) AS BEGIN -INSERT INTO [User] VALUES (@password, @name, @DOB, @gender, @address, @phone, @email) +SET NOCOUNT ON +INSERT INTO [User] ([Password],UserName,DOB,Gender,Address,Phone,Email) +VALUES (@password, @name, @DOB, @gender, @address, @phone, @email) END GO --Done CREATE PROC sp_loginUser - @name VARCHAR(MAX) + @name VARCHAR(50) AS BEGIN - SELECT * FROM [User] +SET NOCOUNT ON + SELECT UserName FROM [User] WHERE ([User].UserName=@name) END --Done GO CREATE PROC sp_loginAdmin - @name VARCHAR(MAX) + @name VARCHAR(50) AS BEGIN - SELECT * FROM [Admin] +SET NOCOUNT ON + SELECT AdminName FROM [Admin] WHERE ([Admin].AdminName=@name) END ---Done GO CREATE PROC sp_insertJob - @name VARCHAR(MAX), + @name VARCHAR(50), @cityId INT, - @jobLevel VARCHAR(MAX), - @deadline VARCHAR (MAX), - @description VARCHAR(MAX) + @jobLevel VARCHAR(50), + @deadline VARCHAR (50), + @description VARCHAR(50) AS BEGIN -INSERT INTO Job +SET NOCOUNT ON +INSERT INTO Job (JobName,CityID,JobLevel,Deadline,JobDescription) VALUES(@name, @cityId, @jobLevel, @deadline, @description) END GO @@ -183,26 +178,29 @@ CREATE PROC sp_deleteJob @jobId INT AS BEGIN +SET NOCOUNT ON DELETE FROM Job WHERE JobID = @jobId END GO ---Done Without real ID +--Done CREATE PROC sp_insertBookmark @userId INT, @jobId INT AS BEGIN -INSERT INTO UserBookmark +SET NOCOUNT ON +INSERT INTO UserBookmark (UserID,JobID) VALUES(@userId, @jobId) END ----------------------------------------- GO ---Done Without real ID +--Done CREATE PROC sp_getBookmark @userId INT AS BEGIN +SET NOCOUNT ON SELECT ub.BookmarkID,j.JobID,JobName,CountryName,CityName, COUNT (EntryID) AS ApplicantCount, (CASE WHEN CONVERT(DATE,Deadline) > GETDATE() THEN 1 ELSE 0 END ) As IsOpen FROM Job j JOIN UserBookmark ub ON j.jobId = ub.jobId @@ -222,22 +220,25 @@ CREATE PROC sp_deleteBookmark @bookmarkID INT AS BEGIN +SET NOCOUNT ON DELETE FROM UserBookmark WHERE BookmarkID = @bookmarkID END GO ---DONE Without real Id +--DONE CREATE PROC sp_insertEntry @userId INT, @jobId INT, - @email VARCHAR(MAX), - @prevCompanyName VARCHAR(MAX), - @prevPosition VARCHAR(MAX), - @universityName VARCHAR(MAX), - @cvLink VARCHAR(MAX), - @portofolioLink VARCHAR(MAX) + @email VARCHAR(50), + @prevCompanyName VARCHAR(50), + @prevPosition VARCHAR(50), + @universityName VARCHAR(50), + @cvLink VARCHAR(50), + @portofolioLink VARCHAR(50) AS BEGIN -INSERT INTO ApplicationEntry VALUES(@userId, @jobId, @email, @prevCompanyName, @prevPosition, @universityName, @cvLink, @portofolioLink, 'pending') +SET NOCOUNT ON +INSERT INTO ApplicationEntry (UserID,JobID,Email,PrevCompanyName,PrevPosition,UniversityName,CvLink,PortofolioLink,StatusEntry) +VALUES(@userId, @jobId, @email, @prevCompanyName, @prevPosition, @universityName, @cvLink, @portofolioLink, 'pending') END GO @@ -245,7 +246,8 @@ GO CREATE PROC sp_getAllCountry AS BEGIN -SELECT * +SET NOCOUNT ON +SELECT CountryName,CountryID FROM Country END GO @@ -253,7 +255,8 @@ GO CREATE PROC sp_getAllJob AS BEGIN -SELECT * FROM Job +SET NOCOUNT ON +SELECT JobName,JobDescription,JobLevel,JobID,Deadline,CityID FROM Job END GO --Done @@ -261,6 +264,7 @@ CREATE PROC sp_denyApplicationEntry @applicationID INT AS BEGIN +SET NOCOUNT ON UPDATE ApplicationEntry SET StatusEntry='Denied' WHERE EntryID = @applicationID END @@ -270,6 +274,7 @@ CREATE PROC sp_getJob @jobId INT AS BEGIN +SET NOCOUNT ON SELECT j.JobID,JobName,co.CountryID,CountryName,ci.CityID,CityName,AddressDetail, Deadline,JobLevel,JobDescription, COUNT (EntryID) AS ApplicantCount FROM [Job] j LEFT JOIN ApplicationEntry ae @@ -281,21 +286,25 @@ BEGIN WHERE j.JobID = @jobID GROUP BY j.JobID,JobName,co.CountryID,CountryName,ci.CityID,CityName,Deadline,JobLevel,JobDescription,AddressDetail END + +--Done GO CREATE PROC sp_hiredApplicationEntry @applicationID INT AS BEGIN +SET NOCOUNT ON UPDATE ApplicationEntry SET StatusEntry='Accepted' WHERE EntryID = @applicationID END GO ---done without real ID +--Done CREATE PROC sp_getAllEntry -- @userid INT AS BEGIN - SELECT * FROM ApplicationEntry ae +SET NOCOUNT ON + SELECT EntryID,u.UserID,JobID,ae.Email,PrevCompanyName,PrevPosition,UniversityName,CvLink,PortofolioLink,StatusEntry FROM ApplicationEntry ae JOIN [User] u ON ae.UserID=u.UserID -- WHERE UserID = @userID @@ -306,6 +315,7 @@ GO CREATE PROC sp_getListJob AS BEGIN +SET NOCOUNT ON SELECT j.JobID,JobName,co.CountryID,CountryName,ci.CityID, CityName, COUNT (EntryID) AS ApplicantCount, (CASE WHEN CONVERT(DATE,Deadline) > GETDATE() THEN 1 ELSE 0 END ) As IsOpen FROM Job j LEFT JOIN ApplicationEntry ae @@ -320,13 +330,14 @@ GO --Done CREATE PROC sp_updateJob @jobId INT, - @name VARCHAR(MAX), + @name VARCHAR(50), @cityId INT, - @jobLevel VARCHAR(MAX), - @deadline VARCHAR (MAX), - @description VARCHAR(MAX) + @jobLevel VARCHAR(50), + @deadline VARCHAR (50), + @description VARCHAR(50) AS BEGIN +SET NOCOUNT ON UPDATE Job SET JobName=@name,CityID=@cityId,JobLevel=@jobLevel,Deadline=@deadline,JobDescription=@description WHERE JobID=@jobId END diff --git a/css/app.532182ec.css b/css/app.532182ec.css new file mode 100644 index 0000000..913596c --- /dev/null +++ b/css/app.532182ec.css @@ -0,0 +1 @@ +@font-face{font-family:Montserrat;src:url(../fonts/Montserrat-Regular.ac0da5e7.woff2) format("woff2") font-weight-normal,url(../fonts/Montserrat-Bold.6509f3de.woff2) format("woff2") font-weight-bold}@font-face{font-family:Product Sans;src:url("../fonts/Product Sans Regular.226dc899.woff2") format("woff2") font-weight-normal,url("../fonts/Product Sans Bold.288fe063.woff2") format("woff2") font-weight-bold,url("../fonts/Product Sans Italic.b4128ec3.woff2") format("woff2") font-italic font-weight-normal,url("../fonts/Product Sans Bold Italic.4d251744.woff2") format("woff2") font-italic font-weight-bold}body{font-family:Product Sans;margin:0}h1,h2,h3,h4,h5,h6,p{margin-bottom:0;margin-top:0}a{color:#000;text-decoration:none}a:hover{text-decoration:underline}.line-separator{border:.2rem solid #3c3571}.form-space{height:3rem}.form-input{margin-bottom:2rem}.form-input.horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.form-input *{display:block}.form-input.horizontal>label{width:80%}.form-input.horiziontal>div,input{width:20%}.form-input label{font-size:1.5rem;font-weight:700}.form-input label.required:after{content:"*";color:red}.form-input input[type=text],input[type=password],textarea{border:none;border-bottom:1px solid #000;font-family:Product Sans;padding:.25rem .25rem;background-color:inherit}.form-input input[type=file],.form-input input[type=text],input[type=password],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}.form-input input[type=radio],.form-input input[type=radio]:checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1rem;border-radius:50%;padding:0 .5rem;margin:0 .4rem;border:1px solid #000}.form-input input[type=radio]:checked{background:radial-gradient(#000 0,#000 35%,transparent 36%)}.form-input div{padding:.25rem .25rem}.form-notice{margin-bottom:2rem}.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#3c3571;color:#fff;border:none;border-radius:5px;font-family:Product Sans;margin:.5rem 0;cursor:pointer}.button.plain{color:#3c3571;background-color:transparent}.button.large{padding:1rem .5rem;font-size:1.5rem}.button.medium{padding:1rem .5rem;font-size:1.25rem}header{font-family:Product Sans;font-size:1.125rem;background-color:#f2f2f2;height:4rem;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.3);box-shadow:0 2px 4px rgba(0,0,0,.3);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 3rem}header .logo img{-o-object-fit:contain;object-fit:contain;height:4rem}header .sublogo{margin-left:.25rem;margin-top:auto;margin-bottom:1rem;margin-right:1rem;font-size:1rem}header .nav{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}header .nav,header .nav-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}header .nav-item{margin:0 1rem;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}header .nav-item .nav-link{text-decoration:none;color:#000}header .selectors{margin-left:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.bluefire-selector{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;font-family:Product Sans;font-size:1.125rem;margin-top:.5rem;margin-bottom:.5rem;padding-right:2rem;background-color:transparent;background-image:linear-gradient(45deg,transparent 50%,#666 0),linear-gradient(135deg,#666 50%,transparent 0);background-position:calc(100% - 1rem) .4rem,calc(100% - .5rem) .4rem;background-size:.5rem .5rem,.5rem .5rem;background-repeat:no-repeat}.bluefire-selector:focus{color:#000;border:none}header .search{position:relative;border-bottom:.125rem solid #000;margin-right:1rem}header .search .header-search{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;padding:.25rem;font-size:.875rem;font-family:Product Sans}header .search .button-search img{position:absolute;right:0;height:1.5rem}header .account .nav-link{font-weight:700}.container{padding:2rem 4%}.index-banner{padding:0 8% 0 8%}.index-banner h1{font-family:Montserrat;font-weight:700;font-size:3.5rem;text-align:center;color:#333;margin-top:3rem;margin-bottom:2rem}.index-banner .index-image{width:100%;border-radius:20px;opacity:.78}.index-banner .subheading{font-weight:700;font-size:2rem;text-align:center;color:#333;margin:3rem auto}.page-banner{height:20rem;background:url(../img/1.55c09292.jpg);background-size:cover}.page-banner-inner{background-color:hsla(0,0%,100%,.25);width:84%;height:calc(100% - 4rem);padding:2rem 8%;position:relative}.page-banner-title{position:absolute;left:6%;bottom:.5rem}.page-banner-title h1{font-size:3.25rem}.main-content{padding:0 3%}.section-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;border-bottom:.5rem solid #322b6b}.section-heading h1{font-size:3rem;font-family:Product Sans;margin-bottom:0;margin-left:.5rem}.section-heading .right{margin-left:auto}.section-content{padding:0 1%;margin-bottom:4rem}footer{padding:0 3rem;background-color:#d7d7d7;margin-bottom:.5rem}.main-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:8rem}.main-footer .logo img{-o-object-fit:contain;object-fit:contain;height:4rem}.main-footer .sublogo{margin-left:.25rem;margin-top:auto;margin-bottom:3rem;margin-right:1rem;font-size:1rem}.main-footer .contact{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:auto;margin-right:3rem;-webkit-box-align:right;-ms-flex-align:right;align-items:right}.main-footer .contact p{text-align:right;margin:.5rem 0;font-size:1.125rem}footer .copyright{font-size:1.125rem;text-align:center;padding:.5rem 0}.login-container{background:url(../img/2.9a4ff646.jpg);background-size:cover;position:relative}.login-container .inner{background:hsla(0,0%,100%,.63);padding:4rem 4% 8rem 4%;padding-top:8rem;padding-bottom:6rem}.login-banner{position:absolute;top:10rem;right:4%;float:right;text-align:right}.login-banner p{margin:0;font-size:3rem;font-weight:700;line-height:1}.login-banner .large{font-size:5rem;color:#333}.box-container{background-color:#f2f2f2;padding-top:2rem;padding-left:2.5rem;padding-right:2.5rem;padding-bottom:.5rem;border-radius:20px;-webkit-box-shadow:5px 5px 18px rgba(167,109,109,.3);box-shadow:5px 5px 18px rgba(167,109,109,.3);width:25rem}.login-box .admin-login{display:block;text-align:right}.login-form{padding:0 2.5rem}.register-link a{color:#3c3571;font-size:1.25rem;font-weight:700}.admin-container{padding:0 1.5%}.admin-heading{margin-bottom:4rem}.admin-heading h1{font-size:1.75rem}.position-container{margin-top:1rem;padding:0 8%}.position{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.position-overview{width:30%}.title-bar{width:4rem;border-top:.75rem solid #3c3571;height:.5rem}.position-location div,.position-title{margin-bottom:.5rem}.position-location .region{font-family:Montserrat;font-weight:700;font-size:.75rem}.position-location .address{font-size:.875rem}.detail-item h2{margin-bottom:.25rem;font-size:1.25rem}.detail-item p{font-size:1.25rem;margin-bottom:1rem}.position-description{padding-left:6%;padding-top:1.5rem;width:75%;font-size:1.125rem}.position-description .description{margin-bottom:2rem}.position-status{margin-left:auto;padding:2rem 2rem 2rem 2rem}.position-status h2{font-size:1.5rem}.position-status .applicant-amount{color:#3c3571;font-size:3.5rem;text-align:center;font-weight:700}.list-container{margin-top:2rem}.narrow-container{margin-top:4rem;padding:0 8%}.normal-heading{font-size:1.5rem;font-family:Montserrat}.normal-box{background-color:#f2f2f2;padding:2rem 2rem 2rem 1.5rem}.normal-form{background-color:#f2f2f2;padding:2rem 8rem 2rem 1.5rem}.apply-title{margin:0 2rem;margin-bottom:2rem}.required-notice{color:red;font-weight:700}.normal-box.applicant{-webkit-box-shadow:4px 4px 17px rgba(0,0,0,.349019607843137);box-shadow:4px 4px 17px rgba(0,0,0,.349019607843137);border-radius:20px;margin-bottom:2rem}.applicant .applicant-no{font-weight:700;font-size:1.5rem;color:#322b6b;margin-right:1rem}.applicant .applicant-detail{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.applicant-name{font-size:.75rem;margin-bottom:1rem}.applicant-data{padding:.5rem}.applicant-fate{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.about-background{background:url(../img/about.08cd3350.jpg)}.about-container{background:hsla(0,0%,100%,.9);padding:2.5rem 12rem 2.5rem 12rem;font-family:Montserrat}.about-container h1{font-size:4rem;padding-bottom:2.5rem;text-align:center}.about-container p{text-align:center;font-size:1.5rem}.about-container .about-bottom-space{padding-bottom:2.5rem}.w-25{width:25%}.w-33{width:33.333333%}.w-50{width:50%}.w-67{width:66.6666666%}.w-100{width:100%}.text-center{text-align:center}.uppercase{text-transform:uppercase}.row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-center,.row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.flex-center{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rounded{border-radius:20px}textarea.noresize{resize:none}.font-heading{font-family:Montserrat}.job-listing{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.job-listing .categories{width:25%}.job-listing .listing{width:75%}.categories .category{background-color:#f2f2f2;padding:1.5rem;-webkit-box-shadow:5px 5px 14px rgba(0,0,0,.3);box-shadow:5px 5px 14px rgba(0,0,0,.3);margin:1rem .5rem}.category label{font-size:1.5rem;font-weight:700;color:#322b6b}.category .bluefire-selector{width:100%;font-weight:700;margin-top:.5rem}.listing .job-item{background-color:#f2f2f2;padding:.5rem 1.5rem;-webkit-box-shadow:5px 5px 14px rgba(0,0,0,.3);box-shadow:5px 5px 14px rgba(0,0,0,.3);margin:1rem .5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;font-size:1rem;font-weight:700}.job-item .job-no{font-size:1.5rem;color:#322b6b;margin-right:1rem}.job-item .job-title{font-size:1.5rem;color:#333;margin:0}.job-item .job-location{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin-left:auto}.job-item .job-location,.job-item .job-location div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.job-item .job-location div{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1.25rem;font-weight:400;margin:.5rem 3rem}.job-item .job-location h2{font-size:1.125rem;color:#322b6b;margin:0 0 .25rem 0}.job-item .job-location p{font-size:1.125rem;margin:0}.job-item .bookmark img{height:1.5rem;margin:.5rem 0}.job-item .see-detail{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.job-item .see-detail a{color:#3c3571;font-size:1.25rem;font-weight:400}.pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:1rem 0}.pagination .page-link{font-size:1.5rem;font-weight:700;margin:0 .75rem;color:#3c3571}.pagination .next{color:#444} \ No newline at end of file diff --git a/frontend/src/assets/css/bluefire.css b/frontend/src/assets/css/bluefire.css index c2e2e70..a5017a4 100644 --- a/frontend/src/assets/css/bluefire.css +++ b/frontend/src/assets/css/bluefire.css @@ -157,6 +157,7 @@ header .selectors { margin-top: 0.5rem; margin-bottom: 0.5rem; padding-right: 2rem; + background-color: transparent; /* Custom arrow */ background-image: @@ -235,7 +236,7 @@ header .account .nav-link { } .page-banner-inner { background-color: rgba(255,255,255,0.25); - width: 100%; + width: 84%; height: calc(100% - 4rem); padding: 2rem 8%; position: relative; diff --git a/index.html b/index.html index 55ac7bf..5d09288 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -bluefire-frontend
\ No newline at end of file +bluefire-frontend
\ No newline at end of file