- Install CLI https://pantheon.io/docs/terminus/install/ important: make sure to quote any complex strings otherwise terminus will fails to load the variables.
brew tap homebrew/php
brew install homebrew/php/terminus
brew tap homebrew/php
brew install homebrew/php/terminus
class AddPublishableToTimelinePage < ActiveRecord::Migration[5.0] | |
def up | |
add_column :timeline_pages, :published_at, :datetime | |
add_column :timeline_pages, :status, :string, null: false, default: "draft" | |
add_column :timeline_pages, :uuid, :text | |
TimelinePage.update_all({ | |
published_at: Time.now, | |
uuid: SecureRandom.uuid | |
}) |
body { | |
text-align: center; | |
} | |
form { | |
display: inline-block; | |
text-align: left; | |
margin: 0 auto; | |
max-width: 800px; | |
} | |
section { |
/* Bootstrap Clearfix | |
* src: http://www.bluthemes.com/blog/3/clearing-bootstrap-3-columns | |
*/ | |
/* Tablet */ | |
@media (min-width:767px){ | |
/* Column clear fix */ | |
.col-lg-1:nth-child(12n+1), | |
.col-lg-2:nth-child(6n+1), |
var express = require('express'); | |
var acceptOverride = require('connect-acceptoverride'); // https://github.com/olalonde/connect-acceptoverride | |
var router = express.Router(); | |
var app = (); | |
var overrides = acceptOverride(); | |
app.use('/layouts', router); | |
router |
// ---- | |
// Sass (v3.3.9) | |
// Compass (v1.0.0.alpha.20) | |
// Bourbon (v4.0.2) | |
// ---- | |
@import "bourbon/bourbon"; | |
.PeopleFeature { | |
background-image: url(image-path("prototype/bg2.jpg")); |
<div class="container loading "> | |
<div class="octagon-icon"> | |
<svg version="1.1" id="Layer_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 115.4 43.2"> | |
<path id="outline-small" display="none" fill="none" stroke="#ffffff" stroke-width="1.9512" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d=" | |
M73.8,0.9c3.1,0,5.6,2.5,5.6,5.6v30.1c0,3.1-2.5,5.6-5.6,5.6H41.6c-3.1,0-5.6-2.5-5.6-5.6V6.5c0-3.1,2.5-5.6,5.6-5.6H73.8z"></path> | |
<g class="icon icon-loading" transform="translate(50%,50%)"> | |
<path d="M67.7,21.9C67.7,22,67.7,22,67.7,21.9c-0.6,2.5-1.8,4.5-3.6,6c-1.8,1.5-4,2.3-6.5,2.3c-1.3,0-2.6-0.2-3.8-0.7 | |
c-1.2-0.5-2.3-1.2-3.3-2.1L48.8,29c-0.2,0.2-0.4,0.3-0.6,0.3c-0.2,0-0.4-0.1-0.6-0.3c-0.2-0.2-0.3-0.4-0.3-0.6v-6.1 | |
c0-0.2,0.1-0.4,0.3-0.6c0.2-0.2,0.4-0.3,0.6-0.3h6.1c0.2,0,0.4,0.1,0.6,0.3c0.2,0.2,0.3,0.4,0.3,0.6S55,22.8,54.9,23L53,24.8 | |
c0.6,0.6,1.4,1.1,2.2,1.4s1.7,0.5,2.5,0.5c1.2,0,2.3-0.3,3.4-0.9s1.9-1.4 |
// ---- | |
// Sass (v3.3.1) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
/*---------------------------------*\ | |
Tabs | |
\*---------------------------------*/ | |
// Option 1 - nested |
<div class="color"> | |
<span class="old">Old Color:</span> | |
</br> | |
<span class="new">New Color:</span> | |
</div> | |
<div class="small"> | |
<a href="#" class="old">Original Color</a> | |
<a href="#" class="new">Constrasted Color</a> | |
</div> |