parent
df2ea95ceb
commit
e93f12c22a
@ -0,0 +1,7 @@
|
|||||||
|
$primary-color: #9e9e9e; // grey
|
||||||
|
$darkgrey: #212121;
|
||||||
|
$lightgrey: #e0e0e0;
|
||||||
|
$lightgreen: #C8E6C9; // lightgreen
|
||||||
|
$lightred: #FFCDD2; // lightred
|
||||||
|
$lightyellow: #fcf5e2; // lightyellow
|
||||||
|
$orange: #ffab40; // orange
|
||||||
@ -1,15 +0,0 @@
|
|||||||
/*
|
|
||||||
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
||||||
* listed below.
|
|
||||||
*
|
|
||||||
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
||||||
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
||||||
*
|
|
||||||
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
||||||
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
||||||
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
||||||
* It is generally better to create a new file per style scope.
|
|
||||||
*
|
|
||||||
*= require_tree .
|
|
||||||
*= require_self
|
|
||||||
*/
|
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
@import "bootstrap";
|
||||||
|
@import "scaffolds";
|
||||||
|
@import "recipients";
|
||||||
@ -1,89 +1,46 @@
|
|||||||
|
@import 'variables';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
|
||||||
color: #333;
|
color: #333;
|
||||||
font-family: verdana, arial, helvetica, sans-serif;
|
font-family: 'Roboto', sans-serif; font-size: 13px;
|
||||||
font-size: 13px;
|
|
||||||
line-height: 18px;
|
|
||||||
margin: 33px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p, ol, ul, td {
|
|
||||||
font-family: verdana, arial, helvetica, sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
margin: 33px;
|
margin: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
.notice, .alert, .subscription, .highlight {
|
||||||
background-color: #eee;
|
margin-top: 12px;
|
||||||
padding: 10px;
|
padding: 24px;
|
||||||
font-size: 11px;
|
text-align: center;
|
||||||
}
|
border-radius: 12px;
|
||||||
|
a, a:hover, a:visited {
|
||||||
a {
|
text-decoration: underline;
|
||||||
color: #000;
|
|
||||||
|
|
||||||
&:visited {
|
|
||||||
color: #666;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
background-color: #000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
td {
|
|
||||||
padding-bottom: 7px;
|
|
||||||
padding-left: 5px;
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div {
|
.notice {
|
||||||
&.field, &.actions {
|
background-color: $lightgreen;
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#notice {
|
.alert {
|
||||||
color: green;
|
background-color: $lightred;
|
||||||
}
|
}
|
||||||
|
|
||||||
.field_with_errors {
|
.highlight {
|
||||||
padding: 2px;
|
background-color: $lightyellow;
|
||||||
background-color: red;
|
|
||||||
display: table;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#error_explanation {
|
header {
|
||||||
width: 450px;
|
border-bottom: 1px solid $primary-color;
|
||||||
border: 2px solid red;
|
margin-bottom: 30px;
|
||||||
padding: 7px;
|
|
||||||
padding-bottom: 0;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
background-color: #f0f0f0;
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
text-align: left;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 5px 5px 5px 15px;
|
|
||||||
font-size: 12px;
|
|
||||||
margin: -7px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
background-color: #c00;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul li {
|
a, a:hover, a:visited {
|
||||||
font-size: 12px;
|
color: $darkgrey;
|
||||||
list-style: square;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
footer {
|
||||||
display: block;
|
height: 90px;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
padding-top: 12px;
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,38 +1,10 @@
|
|||||||
%header.row
|
%header.row
|
||||||
.title.col.s9.m11.l8
|
.title.col-sm-8
|
||||||
.hide-on-small-only
|
%h2= link_to('EdContext'.html_safe, root_path)
|
||||||
%h5= link_to('Thoughtful<br/>Recommendations.com'.html_safe, root_path)
|
|
||||||
.hide-on-med-and-up
|
|
||||||
%h6= link_to('Thoughtful<br/>Recommendations.com'.html_safe, root_path)
|
|
||||||
|
|
||||||
.navigation.col.hide-on-med-and-down.l4.right-align
|
.navigation.col-sm-4.text-right
|
||||||
- if current_user
|
- if current_user
|
||||||
- unless @limited_header
|
|
||||||
- if current_user.profile.blank?
|
|
||||||
= link_to 'Create Profile', new_profile_path, class: 'btn btn-small grey waves-effect waves-light '
|
|
||||||
- else
|
|
||||||
= link_to 'My Profile', direct_profile_path(current_user.profile), class: 'btn btn-small grey waves-effect waves-light '
|
|
||||||
= link_to 'My Bucketlist', bucketlist_path, class: 'btn btn-small grey waves-effect waves-light '
|
|
||||||
|
|
||||||
= link_to 'Sign Out', destroy_user_session_path, rel: "nofollow", method: :delete, class: 'btn btn-small grey waves-effect waves-light '
|
= link_to 'Sign Out', destroy_user_session_path, rel: "nofollow", method: :delete, class: 'btn btn-small grey waves-effect waves-light '
|
||||||
- else
|
- else
|
||||||
= link_to 'Login', new_user_session_path, class: 'btn btn-small grey waves-effect waves-light '
|
= link_to 'Login', new_user_session_path, class: 'btn btn-small grey waves-effect waves-light '
|
||||||
= link_to 'Contribute / Sign Up', contribute_profile_recommendation_path, class: 'btn btn-small grey waves-effect waves-light '
|
= link_to 'Register', new_user_registration_path, class: 'btn btn-small grey waves-effect waves-light '
|
||||||
|
|
||||||
.col.s3.m1.hide-on-large-only.right-align
|
|
||||||
= link_to '<i class="mdi-navigation-menu medium black-text"></i>'.html_safe, '#', data: {activates: 'mobile-nav'}, class: 'button-collapse'
|
|
||||||
#mobile-nav.side-nav
|
|
||||||
%ul
|
|
||||||
- if current_user
|
|
||||||
- unless @limited_header
|
|
||||||
- if current_user.profile.present?
|
|
||||||
%li= link_to 'My Profile', direct_profile_path(current_user.profile)
|
|
||||||
%li= link_to 'My Bucketlist', bucketlist_path
|
|
||||||
%li= link_to 'Add Something', new_profile_recommendation_path
|
|
||||||
- else
|
|
||||||
%li= link_to 'Create Profile', new_profile_path
|
|
||||||
|
|
||||||
%li= link_to 'Sign Out', destroy_user_session_path, rel: "nofollow", method: :delete
|
|
||||||
- else
|
|
||||||
%li= link_to 'Login', new_user_session_path
|
|
||||||
%li= link_to 'Contribute / Sign Up', contribute_profile_recommendation_path
|
|
||||||
|
|||||||
Loading…
Reference in new issue