Fixed merge conflicts
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
#= require froala_editor.min.js
|
||||
$ ->
|
||||
$('[data-editable]').editable({inlineMode: true, blockTags: ["n", "p", "h2", "blockquote", "pre"], buttons: ["formatBlock", "bold", "italic", "underline", "insertOrderedList", "insertUnorderedList", "sep", "createLink", "insertImage", "insertVideo", "html", "undo", "redo"]})
|
||||
$('[data-editor]').editable({inlineMode: false, blockTags: ["n", "p", "h2", "blockquote", "pre"], buttons: ["formatBlock", "bold", "italic", "underline", "insertOrderedList", "insertUnorderedList", "sep", "createLink", "html", "undo", "redo"]})
|
||||
$('.field.country-select-field select').change () ->
|
||||
$country = $(this)
|
||||
country = $country.val()
|
||||
$territory = $('.field.subregion-select-field select')
|
||||
if $territory.data().country == country
|
||||
$territory.removeClass('can cant').addClass('can')
|
||||
return
|
||||
|
||||
$.post '/location/territories', {country: country},
|
||||
(json) ->
|
||||
$territory.html('')
|
||||
if json && Object.keys(json).length
|
||||
$.each json, (code, name) ->
|
||||
$territory.append($('<option>').text(name).attr('value', code))
|
||||
return
|
||||
$territory.removeClass('can cant').addClass('can')
|
||||
$territory.data().country = country
|
||||
else
|
||||
$territory.removeClass('can cant').addClass('cant')
|
||||
return
|
||||
, 'json'
|
||||
$('img + input[type="file"]').change () ->
|
||||
readURL(this);
|
||||
return
|
||||
|
||||
readURL = (input) ->
|
||||
reader = null
|
||||
if input.files && input.files[0]
|
||||
reader = new FileReader()
|
||||
reader.readAsDataURL input.files[0]
|
||||
reader.onload = (e) ->
|
||||
$(input).prev().attr('src', e.target.result)
|
||||
return
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
// Libraries
|
||||
@import "compass";
|
||||
//@import "font-awesome";
|
||||
@import "font-awesome";
|
||||
@import "foundation_and_overrides";
|
||||
|
||||
// Local settings (also edit foundation_and_overrides.scss to modify global variables)
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
//$header-font-family: 'alte_haas_groteskbold', 'Alte Haas Grotesk', sans-serif;//join("Open Sans", $body-font-family);
|
||||
$header-font-family: 'AlteHaasGroteskBold', sans-serif;//join("Open Sans", $body-font-family);
|
||||
$header-font-weight: bold;
|
||||
$icons: FontAwesome;//join("Open Sans", $body-font-family);
|
||||
// $header-font-style: normal;
|
||||
// $header-font-color: #222;
|
||||
// $header-line-height: 1.4;
|
||||
@@ -80,9 +81,9 @@ $body-font-family: 'Source Sans Pro', sans-serif;
|
||||
|
||||
$primary-color: $color-1;
|
||||
$secondary-color: $color-2;
|
||||
$alert-color: $color-4;
|
||||
$alert-color: $color-3;
|
||||
$success-color: $color-2;
|
||||
$warning-color: $color-3;
|
||||
$warning-color: $color-4;
|
||||
$info-color: $color-5;
|
||||
|
||||
// We use these to make sure border radius matches unless we want it different.
|
||||
|
||||
@@ -286,6 +286,116 @@ ul.tags,
|
||||
}
|
||||
}
|
||||
|
||||
.org-mini-preview {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
margin: 0;
|
||||
background-color: $gray;
|
||||
border: 0.25em solid lighten($black, 33);
|
||||
|
||||
&.portrait {
|
||||
img {
|
||||
float: left;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
float: right;
|
||||
max-width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
padding: 0.25em
|
||||
}
|
||||
}
|
||||
|
||||
.org-list-select {
|
||||
|
||||
&.chosen {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
height: 25em;
|
||||
border: 0.25em solid $gray;
|
||||
}
|
||||
|
||||
li {
|
||||
background-color: lighten($gray, 5);//rgba(225, 225, 225, 0.5);
|
||||
margin: 0.25em;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($color-4, 25);//desaturate(lighten($organization-color, 33), 33);
|
||||
}
|
||||
|
||||
&.removable:hover {
|
||||
background-color: desaturate(lighten($color-3, 16), 16);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: desaturate(lighten($organization-color, 33), 33);
|
||||
}
|
||||
|
||||
&.not-found {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
padding: 0.25em;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
img {
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
&.chosen {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.choose {
|
||||
li.selected {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#org-filter {
|
||||
width: 100%;
|
||||
font-size: 1.25em;
|
||||
padding: 0.333em;
|
||||
border: 3px solid $gray;
|
||||
margin-top: 0.5em;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
@include breakpoint(medium) {
|
||||
.organizations-index,
|
||||
.conferences-index {
|
||||
|
||||
@@ -406,6 +406,7 @@ main {
|
||||
+ em {
|
||||
display: block;
|
||||
color: $color-5;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
@@ -428,14 +429,16 @@ main {
|
||||
|
||||
figure {
|
||||
margin: 2em 0 0;
|
||||
|
||||
img {
|
||||
box-shadow: 0 0 2em $black;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-style-emphasize-banner & {
|
||||
figure img {
|
||||
box-shadow: 0 0 2em $black;
|
||||
}
|
||||
}
|
||||
|
||||
.organizations-index &,
|
||||
.conferences-index & {
|
||||
height: 13vw;
|
||||
|
||||
@@ -49,6 +49,28 @@
|
||||
color: $article-color;
|
||||
}
|
||||
}
|
||||
|
||||
&[id*="previous"],
|
||||
&.less,
|
||||
&.arrow-l {
|
||||
&:before {
|
||||
content: '\f053';
|
||||
font-family: $icons;
|
||||
vertical-align: middle;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
&[id*="next"],
|
||||
&.more,
|
||||
&.arrow-r {
|
||||
&:after {
|
||||
content: '\f054';
|
||||
font-family: $icons;
|
||||
vertical-align: middle;
|
||||
margin-left: 0.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
@@ -159,9 +181,9 @@ fieldset {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
&.text-area {
|
||||
&.text-area-field {
|
||||
label {
|
||||
top: 1px;
|
||||
/*top: 1px;
|
||||
right: 1px;
|
||||
bottom: 1px;
|
||||
left: 1px;
|
||||
@@ -173,10 +195,15 @@ fieldset {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
text-align: center;
|
||||
width: calc(100% - 2px);
|
||||
height: calc(100% - 2px);
|
||||
height: calc(100% - 2px);*/
|
||||
position: static;
|
||||
background-color: #252528;
|
||||
margin-top: 1em;
|
||||
|
||||
span {
|
||||
position: relative;
|
||||
background-color: inherit;
|
||||
color: $white;
|
||||
/*position: relative;
|
||||
top: 50%;
|
||||
text-align: center;
|
||||
font-size: 1.25em;
|
||||
@@ -185,10 +212,14 @@ fieldset {
|
||||
padding: 0 0.5em;
|
||||
display: inline-block;
|
||||
border-radius: 0.5em;
|
||||
box-shadow: 0 0 1em;
|
||||
box-shadow: 0 0 1em;*/
|
||||
}
|
||||
}
|
||||
|
||||
.froala-element {
|
||||
min-height: 10em;
|
||||
}
|
||||
|
||||
textarea:focus + label {
|
||||
display: none;
|
||||
}
|
||||
@@ -250,6 +281,8 @@ fieldset {
|
||||
}
|
||||
|
||||
&.check-box-field {
|
||||
margin-bottom: 0;
|
||||
|
||||
div {
|
||||
float: left;
|
||||
font-size: 1.75em;
|
||||
@@ -272,6 +305,11 @@ fieldset {
|
||||
content: '✓';
|
||||
}*/
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
@@ -564,3 +602,26 @@ article {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
.error {
|
||||
position: relative;
|
||||
padding: 0.5em 1em;
|
||||
background-color: $warning-color;
|
||||
|
||||
&:before {
|
||||
content: '!';
|
||||
position: absolute;
|
||||
font-family: $header-font-family;
|
||||
background-color: $alert-color;
|
||||
color: $white;
|
||||
font-size: 2em;
|
||||
line-height: 1em;
|
||||
width: 1em;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
right: -0.333em;
|
||||
top: -0.333em;
|
||||
}
|
||||
}
|
||||
p.help {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user