-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from Skrillmau5er/master
Added cards and other style changes
- Loading branch information
Showing
34 changed files
with
1,462 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
126 changes: 126 additions & 0 deletions
126
components/byu-faculty-card/byu-faculty-card-common.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/*! | ||
* @license | ||
* Copyright 2017 Brigham Young University | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
@mixin addBorder() { | ||
border-bottom: solid; | ||
} | ||
|
||
@mixin center() { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
@mixin contact() { | ||
margin: 20px 0px 16px 0px; | ||
} | ||
|
||
@mixin columnBase() { | ||
padding: 8px; | ||
vertical-align: top; | ||
} | ||
|
||
@mixin facultyImage() { | ||
height: 175px; | ||
vertical-align: middle; | ||
width: auto; | ||
border-radius: 5px; | ||
box-shadow: rgba(0,0,0,.2) 4px 5px 2px -2px; | ||
-moz-box-shadow: rgba(0,0,0,.2) 4px 5px 2px -2px; | ||
-webkit-box-shadow: rgba(0,0,0,.2) 4px 5px 2px -2px; | ||
} | ||
|
||
@mixin hide() { | ||
display: none; | ||
} | ||
|
||
@mixin noUnderline { | ||
text-decoration: none; | ||
} | ||
|
||
@mixin adjustedHeader { | ||
color: #002e5d; | ||
margin: 0; | ||
} | ||
|
||
@mixin overflowBase() { | ||
overflow: hidden; | ||
} | ||
|
||
@mixin slottedHeader() { | ||
margin-top: 0px; | ||
} | ||
|
||
@mixin slottedHeaderDiv() { | ||
display: block; | ||
font-size: 1.5em; | ||
font-weight: bold; | ||
color: #002e5d; | ||
font-family: "HCo Ringside Narrow SSm", Arial Narrow, sans-serif; | ||
margin: 0; | ||
} | ||
|
||
@mixin rootAdjustedHeight() { | ||
height: 425px; | ||
} | ||
|
||
@mixin rootBase() { | ||
padding: 16px 16px 16px 16px; | ||
background-color: #FFFFFF; | ||
color: #515151; | ||
font-family: "HCo Ringside Narrow SSm", Arial Narrow, sans-serif; | ||
font-weight: 200; | ||
line-height: 20px; | ||
margin: 24px auto 24px auto; | ||
min-width: 274px; | ||
width: 25%; | ||
max-width: 300px; | ||
vertical-align: top; | ||
display: inline-block; | ||
margin: 20px 20px 20px 20px; | ||
border-radius: 5px; | ||
box-shadow: rgba(0,0,0,.2) 2px 3px 5px 0; | ||
-moz-box-shadow: rgba(0,0,0,.2) 2px 3px 5px 0; | ||
-webkit-box-shadow: rgba(0,0,0,.2) 2px 3px 5px 0; | ||
transition: 0.3s; | ||
} | ||
|
||
@mixin rootSlottedH2() { | ||
color: #002E5D; | ||
font-family: "HCo Ringside Narrow SSm", Arial Narrow, sans-serif; | ||
margin: 0px 0px 0px 0px; | ||
} | ||
|
||
@mixin rootSlottedP() { | ||
margin: 0px; | ||
} | ||
|
||
@mixin sectionHeader() { | ||
color: #002E5D; | ||
margin: 12px 0px 0px 0px; | ||
} | ||
|
||
@mixin showHiddenImage() { | ||
display: block; | ||
height: 150px; | ||
margin: 0px auto 0px auto; | ||
padding-top: 15px; | ||
width: auto; | ||
} | ||
|
||
@mixin maincol{ | ||
margin: 30px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/*! | ||
* @license | ||
* Copyright 2017 Brigham Young University | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
@import 'byu-faculty-card-common'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- | ||
~ @license | ||
~ Copyright 2017 Brigham Young University | ||
~ | ||
~ Licensed under the Apache License, Version 2.0 (the "License"); | ||
~ you may not use this file except in compliance with the License. | ||
~ You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, software | ||
~ distributed under the License is distributed on an "AS IS" BASIS, | ||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
<!-- Latest compiled and minified CSS --> | ||
|
||
<style> | ||
/*${require('./byu-faculty-card.scss')}*/ | ||
</style> | ||
|
||
<a class="profile-link" href=""> | ||
<div class="root listing-root"> | ||
<div id="faculty-listing-column-left"> | ||
<div class="image-wrapper"> | ||
<img class="faculty-image" id="default-image"/> | ||
</div> | ||
</div> | ||
|
||
<div id="faculty-listing-column-middle" class=""> | ||
<slot id="listing-name" name="listing-name"></slot> | ||
<i><slot name="listing-title"></slot></i> | ||
<div class="contact-wrapper"> | ||
<div class="office-slot-wrapper"> | ||
<b>Office: </b><slot name="listing-office"></slot> | ||
</div> | ||
<div class="phone-slot-wrapper"> | ||
<b>Phone: </b><slot name="listing-phone"></slot> | ||
</div> | ||
<div class="email-slot-wrapper"> | ||
<b>Email: </b><slot name="listing-email"></slot> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</a> |
Oops, something went wrong.