diff --git a/js/components/piece_list.js b/js/components/piece_list.js
index a5b9ff55..07a9d47e 100644
--- a/js/components/piece_list.js
+++ b/js/components/piece_list.js
@@ -20,6 +20,8 @@ import PieceListFilterDisplay from './piece_list_filter_display';
import PieceListBulkModal from './ascribe_piece_list_bulk_modal/piece_list_bulk_modal';
import PieceListToolbar from './ascribe_piece_list_toolbar/piece_list_toolbar';
+import AscribeSpinner from './ascribe_spinner';
+
import AppConstants from '../constants/application_constants';
import { mergeOptions } from '../utils/general_utils';
@@ -106,7 +108,7 @@ let PieceList = React.createClass({
let currentPage = parseInt(this.props.location.query.page, 10) || 1;
let totalPages = Math.ceil(this.state.pieceListCount / this.state.pageSize);
- if (this.state.pieceListCount > 10) {
+ if (this.state.pieceListCount > 20) {
return (
);
+ let loadingElement =
;
let AccordionListItemType = this.props.accordionListItemType;
setDocumentTitle(getLangText('Collection'));
@@ -169,7 +171,12 @@ let PieceList = React.createClass({
orderBy={this.state.orderBy}
applyFilterBy={this.applyFilterBy}
applyOrderBy={this.applyOrderBy}>
- {this.props.customSubmitButton}
+ {this.props.customSubmitButton ?
+ this.props.customSubmitButton :
+
+ }
;
+ let searchIcon =
;
const { className } = this.props;
const { loading, searchQuery } = this.state;
if(loading) {
- searchIcon =
;
+ searchIcon =
;
}
return (
diff --git a/js/components/whitelabel/prize/components/ascribe_accordion_list/accordion_list_item_prize.js b/js/components/whitelabel/prize/components/ascribe_accordion_list/accordion_list_item_prize.js
index a444b836..abda8a1b 100644
--- a/js/components/whitelabel/prize/components/ascribe_accordion_list/accordion_list_item_prize.js
+++ b/js/components/whitelabel/prize/components/ascribe_accordion_list/accordion_list_item_prize.js
@@ -181,7 +181,7 @@ let AccordionListItemPrize = React.createClass({
piece={this.props.content}
artistName={artistName}
subsubheading={
-
+
{this.props.content.date_created.split('-')[0]}
}
buttons={this.getPrizeButtons()}
diff --git a/js/components/whitelabel/prize/components/ascribe_detail/prize_piece_container.js b/js/components/whitelabel/prize/components/ascribe_detail/prize_piece_container.js
index c875e576..a5f9838f 100644
--- a/js/components/whitelabel/prize/components/ascribe_detail/prize_piece_container.js
+++ b/js/components/whitelabel/prize/components/ascribe_detail/prize_piece_container.js
@@ -20,7 +20,7 @@ import UserStore from '../../../../../stores/user_store';
import Piece from '../../../../../components/ascribe_detail/piece';
import Note from '../../../../../components/ascribe_detail/note';
-import AppConstants from '../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../ascribe_spinner';
import Form from '../../../../../components/ascribe_forms/form';
import Property from '../../../../../components/ascribe_forms/property';
@@ -159,7 +159,7 @@ let PieceContainer = React.createClass({
} else {
return (
-
+
);
}
diff --git a/js/components/whitelabel/prize/components/prize_register_piece.js b/js/components/whitelabel/prize/components/prize_register_piece.js
index 8c7e735c..86db9278 100644
--- a/js/components/whitelabel/prize/components/prize_register_piece.js
+++ b/js/components/whitelabel/prize/components/prize_register_piece.js
@@ -63,7 +63,7 @@ let PrizeRegisterPiece = React.createClass({
diff --git a/js/components/whitelabel/prize/components/prize_settings_container.js b/js/components/whitelabel/prize/components/prize_settings_container.js
index d8257b8c..81d62380 100644
--- a/js/components/whitelabel/prize/components/prize_settings_container.js
+++ b/js/components/whitelabel/prize/components/prize_settings_container.js
@@ -20,7 +20,7 @@ import ActionPanel from '../../../ascribe_panel/action_panel';
import GlobalNotificationModel from '../../../../models/global_notification_model';
import GlobalNotificationActions from '../../../../actions/global_notification_actions';
-import AppConstants from '../../../../constants/application_constants';
+import AscribeSpinner from '../../../ascribe_spinner';
import ApiUrls from '../../../../constants/api_urls';
import { getLangText } from '../../../../utils/lang_utils';
@@ -260,11 +260,7 @@ let PrizeJurySettings = React.createClass({
},
getMembers() {
- let content = (
-
-
-
);
-
+ let content = ;
if (this.state.members.length > -1) {
content = (
diff --git a/js/components/whitelabel/wallet/components/ascribe_detail/wallet_action_panel.js b/js/components/whitelabel/wallet/components/ascribe_detail/wallet_action_panel.js
index 3e60c653..178be7da 100644
--- a/js/components/whitelabel/wallet/components/ascribe_detail/wallet_action_panel.js
+++ b/js/components/whitelabel/wallet/components/ascribe_detail/wallet_action_panel.js
@@ -2,14 +2,12 @@
import React from 'react';
-
import ListRequestActions from '../../../../ascribe_forms/list_form_request_actions';
import AclButtonList from '../../../../ascribe_buttons/acl_button_list';
import DeleteButton from '../../../../ascribe_buttons/delete_button';
import AclProxy from '../../../../acl_proxy';
-
import { mergeOptions } from '../../../../../utils/general_utils';
@@ -18,6 +16,7 @@ let WalletActionPanel = React.createClass({
piece: React.PropTypes.object.isRequired,
currentUser: React.PropTypes.object.isRequired,
loadPiece: React.PropTypes.func.isRequired,
+ handleDeleteSuccess: React.PropTypes.func.isRequired,
submitButtonType: React.PropTypes.func.isRequired
},
@@ -62,7 +61,7 @@ let WalletActionPanel = React.createClass({
);
diff --git a/js/components/whitelabel/wallet/components/ascribe_detail/wallet_piece_container.js b/js/components/whitelabel/wallet/components/ascribe_detail/wallet_piece_container.js
index 8c0efece..8a38f02e 100644
--- a/js/components/whitelabel/wallet/components/ascribe_detail/wallet_piece_container.js
+++ b/js/components/whitelabel/wallet/components/ascribe_detail/wallet_piece_container.js
@@ -13,7 +13,7 @@ import Note from '../../../../ascribe_detail/note';
import DetailProperty from '../../../../ascribe_detail/detail_property';
import ApiUrls from '../../../../../constants/api_urls';
-import AppConstants from '../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../ascribe_spinner';
import { getLangText } from '../../../../../utils/lang_utils';
@@ -23,6 +23,7 @@ let WalletPieceContainer = React.createClass({
piece: React.PropTypes.object.isRequired,
currentUser: React.PropTypes.object.isRequired,
loadPiece: React.PropTypes.func.isRequired,
+ handleDeleteSuccess: React.PropTypes.func.isRequired,
submitButtonType: React.PropTypes.func.isRequired
},
@@ -53,6 +54,7 @@ let WalletPieceContainer = React.createClass({
piece={this.props.piece}
currentUser={this.props.currentUser}
loadPiece={this.props.loadPiece}
+ handleDeleteSuccess={this.props.handleDeleteSuccess}
submitButtonType={this.props.submitButtonType}/>
-
+
);
}
diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_detail/cyland_piece_container.js b/js/components/whitelabel/wallet/components/cyland/cyland_detail/cyland_piece_container.js
index b34217bf..79d63abf 100644
--- a/js/components/whitelabel/wallet/components/cyland/cyland_detail/cyland_piece_container.js
+++ b/js/components/whitelabel/wallet/components/cyland/cyland_detail/cyland_piece_container.js
@@ -1,12 +1,18 @@
'use strict';
import React from 'react';
+import { History } from 'react-router';
import PieceActions from '../../../../../../actions/piece_actions';
import PieceStore from '../../../../../../stores/piece_store';
import UserStore from '../../../../../../stores/user_store';
+import PieceListStore from '../../../../../../stores/piece_list_store';
+import PieceListActions from '../../../../../../actions/piece_list_actions';
+
+import EditionListActions from '../../../../../../actions/edition_list_actions';
+
import CylandSubmitButton from '../cyland_buttons/cyland_submit_button';
import CollapsibleParagraph from '../../../../../../components/ascribe_collapsible/collapsible_paragraph';
@@ -15,28 +21,36 @@ import CylandAdditionalDataForm from '../cyland_forms/cyland_additional_data_for
import WalletPieceContainer from '../../ascribe_detail/wallet_piece_container';
-import AppConstants from '../../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../../ascribe_spinner';
+
+import GlobalNotificationModel from '../../../../../../models/global_notification_model';
+import GlobalNotificationActions from '../../../../../../actions/global_notification_actions';
import { getLangText } from '../../../../../../utils/lang_utils';
import { setDocumentTitle } from '../../../../../../utils/dom_utils';
import { mergeOptions } from '../../../../../../utils/general_utils';
+
let CylandPieceContainer = React.createClass({
propTypes: {
location: React.PropTypes.object,
params: React.PropTypes.object
},
+ mixins: [History],
+
getInitialState() {
return mergeOptions(
PieceStore.getState(),
- UserStore.getState()
+ UserStore.getState(),
+ PieceListStore.getState()
);
},
componentDidMount() {
PieceStore.listen(this.onChange);
UserStore.listen(this.onChange);
+ PieceListStore.listen(this.onChange);
// Every time we're leaving the piece detail page,
// just reset the piece that is saved in the piece store
@@ -50,6 +64,7 @@ let CylandPieceContainer = React.createClass({
componentWillUnmount() {
PieceStore.unlisten(this.onChange);
UserStore.unlisten(this.onChange);
+ PieceListStore.listen(this.onChange);
},
onChange(state) {
@@ -60,6 +75,21 @@ let CylandPieceContainer = React.createClass({
PieceActions.fetchOne(this.props.params.pieceId);
},
+ handleDeleteSuccess(response) {
+ PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search,
+ this.state.orderBy, this.state.orderAsc, this.state.filterBy);
+
+ // since we're deleting a piece, we just need to close
+ // all editions dialogs and not reload them
+ EditionListActions.closeAllEditionLists();
+ EditionListActions.clearAllEditionSelections();
+
+ let notification = new GlobalNotificationModel(response.notification, 'success');
+ GlobalNotificationActions.appendGlobalNotification(notification);
+
+ this.history.pushState(null, '/collection');
+ },
+
render() {
if(this.state.piece && this.state.piece.title) {
setDocumentTitle([this.state.piece.artist_name, this.state.piece.title].join(', '));
@@ -69,6 +99,7 @@ let CylandPieceContainer = React.createClass({
piece={this.state.piece}
currentUser={this.state.currentUser}
loadPiece={this.loadPiece}
+ handleDeleteSuccess={this.handleDeleteSuccess}
submitButtonType={CylandSubmitButton}>
-
+
);
}
diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_forms/cyland_additional_data_form.js b/js/components/whitelabel/wallet/components/cyland/cyland_forms/cyland_additional_data_form.js
index 1ef12557..63863b2d 100644
--- a/js/components/whitelabel/wallet/components/cyland/cyland_forms/cyland_additional_data_form.js
+++ b/js/components/whitelabel/wallet/components/cyland/cyland_forms/cyland_additional_data_form.js
@@ -13,7 +13,7 @@ import GlobalNotificationModel from '../../../../../../models/global_notificatio
import GlobalNotificationActions from '../../../../../../actions/global_notification_actions';
import ApiUrls from '../../../../../../constants/api_urls';
-import AppConstants from '../../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../../ascribe_spinner';
import requests from '../../../../../../utils/requests';
@@ -85,7 +85,7 @@ let CylandAdditionalDataForm = React.createClass({
buttons = (
@@ -93,7 +93,9 @@ let CylandAdditionalDataForm = React.createClass({
spinner = (
-
+
+
+
);
@@ -148,7 +150,7 @@ let CylandAdditionalDataForm = React.createClass({
} else {
return (
-
+
);
}
diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_hero.js b/js/components/whitelabel/wallet/components/cyland/cyland_hero.js
index a0e617c8..8b144435 100644
--- a/js/components/whitelabel/wallet/components/cyland/cyland_hero.js
+++ b/js/components/whitelabel/wallet/components/cyland/cyland_hero.js
@@ -10,7 +10,7 @@ let Hero = React.createClass({
);
diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_detail/ikonotv_piece_container.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_detail/ikonotv_piece_container.js
index eda5d4ea..0c24de95 100644
--- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_detail/ikonotv_piece_container.js
+++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_detail/ikonotv_piece_container.js
@@ -1,12 +1,18 @@
'use strict';
import React from 'react';
+import { History } from 'react-router';
import PieceActions from '../../../../../../actions/piece_actions';
import PieceStore from '../../../../../../stores/piece_store';
import UserStore from '../../../../../../stores/user_store';
+import PieceListStore from '../../../../../../stores/piece_list_store';
+import PieceListActions from '../../../../../../actions/piece_list_actions';
+
+import EditionListActions from '../../../../../../actions/edition_list_actions';
+
import IkonotvSubmitButton from '../ikonotv_buttons/ikonotv_submit_button';
import CollapsibleParagraph from '../../../../../../components/ascribe_collapsible/collapsible_paragraph';
@@ -16,7 +22,10 @@ import IkonotvArtworkDetailsForm from '../ikonotv_forms/ikonotv_artwork_details_
import WalletPieceContainer from '../../ascribe_detail/wallet_piece_container';
-import AppConstants from '../../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../../ascribe_spinner';
+
+import GlobalNotificationModel from '../../../../../../models/global_notification_model';
+import GlobalNotificationActions from '../../../../../../actions/global_notification_actions';
import { getLangText } from '../../../../../../utils/lang_utils';
import { setDocumentTitle } from '../../../../../../utils/dom_utils';
@@ -28,16 +37,20 @@ let IkonotvPieceContainer = React.createClass({
params: React.PropTypes.object
},
+ mixins: [History],
+
getInitialState() {
return mergeOptions(
PieceStore.getState(),
- UserStore.getState()
+ UserStore.getState(),
+ PieceListStore.getState()
);
},
componentDidMount() {
PieceStore.listen(this.onChange);
UserStore.listen(this.onChange);
+ PieceListStore.listen(this.onChange);
// Every time we're leaving the piece detail page,
// just reset the piece that is saved in the piece store
@@ -59,6 +72,7 @@ let IkonotvPieceContainer = React.createClass({
componentWillUnmount() {
PieceStore.unlisten(this.onChange);
UserStore.unlisten(this.onChange);
+ PieceListStore.listen(this.onChange);
},
onChange(state) {
@@ -69,6 +83,21 @@ let IkonotvPieceContainer = React.createClass({
PieceActions.fetchOne(this.props.params.pieceId);
},
+ handleDeleteSuccess(response) {
+ PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search,
+ this.state.orderBy, this.state.orderAsc, this.state.filterBy);
+
+ // since we're deleting a piece, we just need to close
+ // all editions dialogs and not reload them
+ EditionListActions.closeAllEditionLists();
+ EditionListActions.clearAllEditionSelections();
+
+ let notification = new GlobalNotificationModel(response.notification, 'success');
+ GlobalNotificationActions.appendGlobalNotification(notification);
+
+ this.history.pushState(null, '/collection');
+ },
+
render() {
let furtherDetails = (
{furtherDetails}
@@ -110,7 +140,7 @@ let IkonotvPieceContainer = React.createClass({
else {
return (
-
+
);
}
diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artist_details_form.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artist_details_form.js
index b9bb518a..81e0ea5e 100644
--- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artist_details_form.js
+++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artist_details_form.js
@@ -11,7 +11,7 @@ import GlobalNotificationModel from '../../../../../../models/global_notificatio
import GlobalNotificationActions from '../../../../../../actions/global_notification_actions';
import ApiUrls from '../../../../../../constants/api_urls';
-import AppConstants from '../../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../../ascribe_spinner';
import requests from '../../../../../../utils/requests';
@@ -66,7 +66,7 @@ let IkonotvArtistDetailsForm = React.createClass({
buttons = (
@@ -74,7 +74,9 @@ let IkonotvArtistDetailsForm = React.createClass({
spinner = (
-
+
+
+
);
@@ -141,7 +143,7 @@ let IkonotvArtistDetailsForm = React.createClass({
} else {
return (
-
+
);
}
diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artwork_details_form.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artwork_details_form.js
index bab4ceca..bfd8a5ae 100644
--- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artwork_details_form.js
+++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_forms/ikonotv_artwork_details_form.js
@@ -11,7 +11,7 @@ import GlobalNotificationModel from '../../../../../../models/global_notificatio
import GlobalNotificationActions from '../../../../../../actions/global_notification_actions';
import ApiUrls from '../../../../../../constants/api_urls';
-import AppConstants from '../../../../../../constants/application_constants';
+import AscribeSpinner from '../../../../../ascribe_spinner';
import requests from '../../../../../../utils/requests';
@@ -65,7 +65,7 @@ let IkonotvArtworkDetailsForm = React.createClass({
buttons = (
@@ -73,7 +73,9 @@ let IkonotvArtworkDetailsForm = React.createClass({
spinner = (
-
+
+
+
);
@@ -157,7 +159,7 @@ let IkonotvArtworkDetailsForm = React.createClass({
} else {
return (
-
+
);
}
diff --git a/js/components/whitelabel/wallet/wallet_app.js b/js/components/whitelabel/wallet/wallet_app.js
index 2ae0a7fc..5056716a 100644
--- a/js/components/whitelabel/wallet/wallet_app.js
+++ b/js/components/whitelabel/wallet/wallet_app.js
@@ -32,7 +32,7 @@ let WalletApp = React.createClass({
// if the path of the current activeRoute is not defined, then this is the IndexRoute
if ((!path || history.isActive('/login') || history.isActive('/signup') || history.isActive('/contract_notifications'))
- && (['ikonotv', 'cyland']).indexOf(subdomain) > -1) {
+ && (['ikonotv']).indexOf(subdomain) > -1) {
header = ();
} else {
header = ;
diff --git a/js/stores/piece_list_store.js b/js/stores/piece_list_store.js
index 2ba90770..94c57113 100644
--- a/js/stores/piece_list_store.js
+++ b/js/stores/piece_list_store.js
@@ -23,7 +23,7 @@ class PieceListStore {
this.pieceListCount = -1;
this.unfilteredPieceListCount = -1;
this.page = 1;
- this.pageSize = 10;
+ this.pageSize = 20;
this.search = '';
this.orderBy = 'artist_name';
this.orderAsc = true;
diff --git a/js/utils/head_setter.js b/js/utils/head_setter.js
new file mode 100644
index 00000000..6ca2c9b0
--- /dev/null
+++ b/js/utils/head_setter.js
@@ -0,0 +1,37 @@
+'use strict';
+
+// elementType: string, is the type of the element, such as link, meta, etc.
+// elementId id of the element
+// elementAttributes: hash table containing the attributes of the relevant element
+
+function constructHeadElement(elementType, elementId, elementAttributes) {
+ let head = (document.head || document.getElementsByTagName('head')[0]);
+ let element = document.createElement(elementType);
+ let oldElement = document.getElementById(elementId);
+ element.setAttribute('id', elementId);
+ for (let k in elementAttributes){
+ try {
+ element.setAttribute(k, elementAttributes[k]);
+ }
+ catch(e){
+ console.warn(e.message);
+ continue;
+ }
+ }
+ if (oldElement) {
+ head.removeChild(oldElement);
+ }
+ head.appendChild(element);
+}
+
+// Accepts a dictionary of dictionaries which comprises a part or all of html head part
+// {link : {id1: {rel: ... }}}
+// traverses a tree of depth 3 (no backtracking)
+export function constructHead(headObject){
+ for (let k in headObject){
+ let favicons = headObject[k];
+ for (let f in favicons){
+ constructHeadElement(k, f, favicons[f]);
+ }
+ }
+}
diff --git a/package.json b/package.json
index 3fc839d2..2b770fd3 100644
--- a/package.json
+++ b/package.json
@@ -77,7 +77,7 @@
"react": "0.13.2",
"react-bootstrap": "0.25.1",
"react-datepicker": "^0.12.0",
- "react-router": "1.0.0-rc1",
+ "react-router": "^1.0.0-rc3",
"react-router-bootstrap": "^0.19.0",
"react-star-rating": "~1.3.2",
"react-textarea-autosize": "^2.5.2",
diff --git a/sass/ascribe-fonts/ascribe-fonts.scss b/sass/ascribe-fonts/ascribe-fonts.scss
index 0a66ac68..8b66627d 100644
--- a/sass/ascribe-fonts/ascribe-fonts.scss
+++ b/sass/ascribe-fonts/ascribe-fonts.scss
@@ -1,55 +1,272 @@
- @font-face {
- font-family: 'ascribe';
- src:url('#{$BASE_URL}static/fonts/ascribe.eot?-oi6ttk');
- src:url('#{$BASE_URL}static/fonts/ascribe.eot?#iefix-oi6ttk') format('embedded-opentype'),
- url('#{$BASE_URL}static/fonts/ascribe.woff?-oi6ttk') format('woff'),
- url('#{$BASE_URL}static/fonts/ascribe.ttf?-oi6ttk') format('truetype'),
- url('#{$BASE_URL}static/fonts/ascribe.svg?-oi6ttk#ascribe') format('svg');
- font-weight: normal;
- font-style: normal;
- }
+@font-face {
+ font-family: 'ascribe';
+ src: url('#{$BASE_URL}static/fonts/ascribe.eot?-oi6ttk');
+ src: url('#{$BASE_URL}static/fonts/ascribe.eot?#iefix-oi6ttk') format('embedded-opentype'),
+ url('#{$BASE_URL}static/fonts/ascribe.woff?-oi6ttk') format('woff'),
+ url('#{$BASE_URL}static/fonts/ascribe.ttf?-oi6ttk') format('truetype'),
+ url('#{$BASE_URL}static/fonts/ascribe.svg?-oi6ttk#ascribe') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
- [class^="glyph-ascribe-"], [class*=" glyph-ascribe-"] {
- font-family: 'ascribe';
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
+[class^="icon-ascribe-"], [class*=" icon-ascribe-"] {
+ font-family: 'ascribe-logo';
+ speak: none;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
- /* Better Font Rendering =========== */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
+ /* Better Font Rendering =========== */
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+@font-face {
+ font-family: 'ascribe-logo';
+ src:url('#{$BASE_URL}static/fonts/ascribe-logo.eot?q6qoae');
+ src:url('#{$BASE_URL}static/fonts/ascribe-logo.eot?q6qoae#iefix') format('embedded-opentype'),
+ url('#{$BASE_URL}static/fonts/ascribe-logo.ttf?q6qoae') format('truetype'),
+ url('#{$BASE_URL}static/fonts/ascribe-logo.woff?q6qoae') format('woff'),
+ url('#{$BASE_URL}static/fonts/ascribe-logo.svg?q6qoae#ascribe-logo') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
- .glyph-ascribe-logo-spool:before {
- content: "\e600";
- }
+[class^="icon-ascribe-"], [class*=" icon-ascribe-"] {
+ font-family: 'ascribe-logo';
+ speak: none;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
- .glyph-ascribe-spool:before {
- content: "\e601";
- }
+ /* Better Font Rendering =========== */
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
- .glyph-ascribe-logo-spool-chunked:before {
- content: "\e602";
- }
+.icon-ascribe-add:before {
+ content: "\e800";
+}
+.icon-ascribe-sort:before {
+ content: "\e801";
+}
+.icon-ascribe-search:before {
+ content: "\e802";
+}
+.icon-ascribe-filter:before {
+ content: "\e803";
+}
+.icon-ascribe-add-white:before {
+ content: "\e804";
+}
+.icon-ascribe-add-blue .path1:before {
+ content: "\e805";
+ color: rgb(0, 60, 106);
+}
+.icon-ascribe-add-blue .path2:before {
+ content: "\e806";
+ margin-left: -1em;
+ color: rgb(255, 255, 255);
+}
+.icon-ascribe-icon:before {
+ content: "\e807";
+}
+.icon-ascribe-logo:before {
+ content: "\e808";
+}
- .glyph-ascribe-spool-chunked:before {
- content: "\e603";
- }
- @font-face {
- font-family: mercury_regular;
- src: url(Mercury_Regular.otf);
- }
- @font-face {
- font-family: mercury_medium;
- src: url(Mercury_Medium.otf);
- }
+.glyph-ascribe-logo-spool:before {
+ content: "\e600";
+}
- @font-face {
- font-family: mercury_light;
- src: url(Mercury_Light.otf);
- }
+.glyph-ascribe-spool:before {
+ content: "\e601";
+}
+
+.glyph-ascribe-logo-spool-chunked:before {
+ content: "\e602";
+}
+
+.glyph-ascribe-spool-chunked:before {
+ content: "\e603";
+}
+
+.glyph-ascribe-home:before {
+ content: "\e900";
+}
+
+.glyph-ascribe-home2:before {
+ content: "\e901";
+}
+
+.glyph-ascribe-home3:before {
+ content: "\e902";
+}
+
+.glyph-ascribe-pencil:before {
+ content: "\e905";
+}
+
+.glyph-ascribe-pencil2:before {
+ content: "\e906";
+}
+
+.glyph-ascribe-quill:before {
+ content: "\e907";
+}
+
+.glyph-ascribe-image:before {
+ content: "\e90d";
+}
+
+.glyph-ascribe-camera:before {
+ content: "\e90f";
+}
+
+.glyph-ascribe-music:before {
+ content: "\e911";
+}
+
+.glyph-ascribe-play:before {
+ content: "\e912";
+}
+
+.glyph-ascribe-film:before {
+ content: "\e913";
+}
+
+.glyph-ascribe-credit-card:before {
+ content: "\e93f";
+}
+
+.glyph-ascribe-pushpin:before {
+ content: "\e946";
+}
+
+.glyph-ascribe-undo2:before {
+ content: "\e967";
+}
+
+.glyph-ascribe-redo2:before {
+ content: "\e968";
+}
+
+.glyph-ascribe-enlarge:before {
+ content: "\e989";
+}
+
+.glyph-ascribe-shrink:before {
+ content: "\e98a";
+}
+
+.glyph-ascribe-enlarge2:before {
+ content: "\e98b";
+}
+
+.glyph-ascribe-shrink2:before {
+ content: "\e98c";
+}
+
+.glyph-ascribe-share:before {
+ content: "\ea7d";
+}
+
+.glyph-ascribe-new-tab:before {
+ content: "\ea7e";
+}
+
+.glyph-ascribe-share2:before {
+ content: "\ea82";
+}
+
+.glyph-ascribe-google:before {
+ content: "\ea87";
+}
+
+.glyph-ascribe-google-plus:before {
+ content: "\ea88";
+}
+
+.glyph-ascribe-google-plus2:before {
+ content: "\ea89";
+}
+
+.glyph-ascribe-facebook:before {
+ content: "\ea8c";
+}
+
+.glyph-ascribe-facebook2:before {
+ content: "\ea8d";
+}
+
+.glyph-ascribe-twitter:before {
+ content: "\ea91";
+}
+
+.glyph-ascribe-twitter2:before {
+ content: "\ea92";
+}
+
+.glyph-ascribe-youtube3:before {
+ content: "\ea99";
+}
+
+.glyph-ascribe-dropbox:before {
+ content: "\eaaf";
+}
+
+.glyph-ascribe-file-pdf:before {
+ content: "\eada";
+}
+
+.glyph-ascribe-chrome:before {
+ content: "\eae5";
+}
+
+.glyph-ascribe-firefox:before {
+ content: "\eae6";
+}
+
+.glyph-ascribe-IE:before {
+ content: "\eae7";
+}
+
+.glyph-ascribe-opera:before {
+ content: "\eae8";
+}
+
+.glyph-ascribe-safari:before {
+ content: "\eae9";
+}
+
+.btn-glyph-ascribe {
+ font-size: 18px;
+ padding: 4px 12px 0 10px
+}
+
+.ascribe-logo-circle {
+ border: 6px solid #F6F6F6;
+ border-radius: 10em;
+ position: relative;
+ top: 10%;
+ left: 10%;
+
+ display: block;
+ width: 80%;
+ height: 80%;
+
+ > span {
+ color: #F6F6F6;
+ position: absolute;
+ top: -.29em;
+ left: .16em;
+
+ font-size: 5em;
+ font-weight: normal;
+ }
+}
\ No newline at end of file
diff --git a/sass/ascribe-fonts/style.scss b/sass/ascribe-fonts/style.scss
deleted file mode 100644
index c753e780..00000000
--- a/sass/ascribe-fonts/style.scss
+++ /dev/null
@@ -1,193 +0,0 @@
-@font-face {
- font-family: 'ascribe';
- src:url('../../fonts/ascribe.eot?-6bb2dq');
- src:url('../../fonts/ascribe.eot?#iefix-6bb2dq') format('embedded-opentype'),
- url('../../fonts/ascribe.woff?-6bb2dq') format('woff'),
- url('../../fonts/ascribe.ttf?-6bb2dq') format('truetype'),
- url('../../fonts/ascribe.svg?-6bb2dq#ascribe') format('svg');
- font-weight: normal;
- font-style: normal;
-}
-
-[class^="glyph-ascribe-"], [class*=" glyph-ascribe-"] {
- font-family: 'ascribe';
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
-
- /* Better Font Rendering =========== */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.glyph-ascribe-ascribe-spool:before {
- content: "\e600";
-}
-
-.glyph-ascribe-spool:before {
- content: "\e601";
-}
-
-.glyph-ascribe-ascribe-spool-chunked:before {
- content: "\e602";
-}
-
-.glyph-ascribe-spool-chunked:before {
- content: "\e603";
-}
-
-.glyph-ascribe-home:before {
- content: "\e900";
-}
-
-.glyph-ascribe-home2:before {
- content: "\e901";
-}
-
-.glyph-ascribe-home3:before {
- content: "\e902";
-}
-
-.glyph-ascribe-pencil:before {
- content: "\e905";
-}
-
-.glyph-ascribe-pencil2:before {
- content: "\e906";
-}
-
-.glyph-ascribe-quill:before {
- content: "\e907";
-}
-
-.glyph-ascribe-image:before {
- content: "\e90d";
-}
-
-.glyph-ascribe-camera:before {
- content: "\e90f";
-}
-
-.glyph-ascribe-music:before {
- content: "\e911";
-}
-
-.glyph-ascribe-play:before {
- content: "\e912";
-}
-
-.glyph-ascribe-film:before {
- content: "\e913";
-}
-
-.glyph-ascribe-credit-card:before {
- content: "\e93f";
-}
-
-.glyph-ascribe-pushpin:before {
- content: "\e946";
-}
-
-.glyph-ascribe-undo2:before {
- content: "\e967";
-}
-
-.glyph-ascribe-redo2:before {
- content: "\e968";
-}
-
-.glyph-ascribe-enlarge:before {
- content: "\e989";
-}
-
-.glyph-ascribe-shrink:before {
- content: "\e98a";
-}
-
-.glyph-ascribe-enlarge2:before {
- content: "\e98b";
-}
-
-.glyph-ascribe-shrink2:before {
- content: "\e98c";
-}
-
-.glyph-ascribe-share:before {
- content: "\ea7d";
-}
-
-.glyph-ascribe-new-tab:before {
- content: "\ea7e";
-}
-
-.glyph-ascribe-share2:before {
- content: "\ea82";
-}
-
-.glyph-ascribe-google:before {
- content: "\ea87";
-}
-
-.glyph-ascribe-google-plus:before {
- content: "\ea88";
-}
-
-.glyph-ascribe-google-plus2:before {
- content: "\ea89";
-}
-
-.glyph-ascribe-facebook:before {
- content: "\ea8c";
-}
-
-.glyph-ascribe-facebook2:before {
- content: "\ea8d";
-}
-
-.glyph-ascribe-twitter:before {
- content: "\ea91";
-}
-
-.glyph-ascribe-twitter2:before {
- content: "\ea92";
-}
-
-.glyph-ascribe-youtube3:before {
- content: "\ea99";
-}
-
-.glyph-ascribe-dropbox:before {
- content: "\eaaf";
-}
-
-.glyph-ascribe-file-pdf:before {
- content: "\eada";
-}
-
-.glyph-ascribe-chrome:before {
- content: "\eae5";
-}
-
-.glyph-ascribe-firefox:before {
- content: "\eae6";
-}
-
-.glyph-ascribe-IE:before {
- content: "\eae7";
-}
-
-.glyph-ascribe-opera:before {
- content: "\eae8";
-}
-
-.glyph-ascribe-safari:before {
- content: "\eae9";
-}
-
-.btn-glyph-ascribe{
- font-size: 18px;
- padding: 4px 12px 0 10px
-}
\ No newline at end of file
diff --git a/sass/ascribe_accordion_list.scss b/sass/ascribe_accordion_list.scss
index 86a519b5..c0b81096 100644
--- a/sass/ascribe_accordion_list.scss
+++ b/sass/ascribe_accordion_list.scss
@@ -1,4 +1,4 @@
-$ascribe-accordion-list-item-height: 8em;
+$ascribe-accordion-list-item-height: 100px;
.ascribe-accordion-list {
padding-left: 15px;
@@ -12,11 +12,11 @@ $ascribe-accordion-list-item-height: 8em;
.ascribe-accordion-list-item {
background-color: white;
border: 1px solid black;
- height: $ascribe-accordion-list-item-height;
+ height: $ascribe-accordion-list-item-height + 2px;
padding-left: 0;
padding-right: 0;
- margin-top: 1.5em;
+ margin-top: 1.2em;
overflow: hidden;
border-radius: 1px;
@@ -39,23 +39,33 @@ $ascribe-accordion-list-item-height: 8em;
// ToDo: Include media queries for thumbnail
.thumbnail-wrapper {
+ background-color: #EEEEEE;
+ margin-right: 2em;
+ width: $ascribe-accordion-list-item-height;
+ height: $ascribe-accordion-list-item-height;
cursor: pointer;
- height: 110px;
padding: 0;
text-align: center;
- width: 110px;
img {
max-height: 100%;
max-width: 100%;
}
- &::before {
- content: ' ';
+ div {
display: inline-block;
- height: 100%;
- vertical-align: middle; // vertical alignment of the inline element
+ width: 100px;
+ height: 100px;
+ background-position: center center;
+ background-size: cover;
}
+
+ //&::before {
+ // content: ' ';
+ // display: inline-block;
+ // height: 100%;
+ // vertical-align: middle; // vertical alignment of the inline element
+ //}
}
h1 {
@@ -76,18 +86,35 @@ $ascribe-accordion-list-item-height: 8em;
white-space: nowrap;
}
- a:not(.btn) {
- color: #666;
- }
+ a {
+ text-decoration: none
+ };
}
}
.accordion-list-item-header {
- margin-top: .65em;
+ margin-top: 0;
+ padding: 0.5em 0;
- > a {
- text-decoration: none;
+ h1 {
+ font-size: 1.9em;
+ }
+ h3 {
+ font-size: 1.1em;
+ margin-top: 0.4em;
+ }
+
+
+}
+
+.accordion-list-item-buttons {
+ position: absolute;
+ right: 1em;
+ bottom: 1em;
+ @media (max-width: 400px) {
+ right: 0;
+ bottom: 0;
}
}
@@ -132,7 +159,7 @@ $ascribe-accordion-list-item-height: 8em;
td {
border: none !important;
a {
- color: #444;
+ color: #222;
}
}
}
@@ -152,7 +179,7 @@ $ascribe-accordion-list-item-height: 8em;
-webkit-user-select: none;
&:hover {
- color: $ascribe-color-green;
+ color: $ascribe-dark-blue;
cursor: pointer;
}
}
@@ -168,7 +195,7 @@ $ascribe-accordion-list-item-height: 8em;
}
.request-action-badge {
- color: $ascribe-color-green;
+ color: $ascribe-dark-blue;
font-size: 1.2em;
padding: .8em;
position: absolute;
@@ -185,7 +212,7 @@ $ascribe-accordion-list-item-height: 8em;
-webkit-user-select: none;
&:hover {
- color: $ascribe-color-green;
+ color: $ascribe-dark-blue;
}
.glyphicon {
diff --git a/sass/ascribe_custom_style.scss b/sass/ascribe_custom_style.scss
new file mode 100644
index 00000000..51281d91
--- /dev/null
+++ b/sass/ascribe_custom_style.scss
@@ -0,0 +1,556 @@
+html,
+body {
+ font-family: $ascribe--font;
+ font-weight: $ascribe--font-weight-light;
+ background-color: #f8f8f8 !important;
+}
+h1, h3 {
+ font-family: $ascribe--font;
+ font-weight: $ascribe--font-weight-light;
+}
+
+h1 {
+ font-size: 30px;
+}
+
+hr {
+ border-top: 1px solid $ascribe-blue-border;
+}
+
+.nav .open > a,
+.nav .open > a:hover,
+.nav .open > a:focus {
+ border-color: transparent;
+}
+
+.navbar-default {
+ background-color: $ascribe--nav-bg-color;
+ box-shadow: 0 0 1px rgba(0,0,0,.1),
+ 0 1px 2px rgba(0,0,0,.2);
+
+ .navbar-nav > li > a,
+ .navbar-nav > li > .active a {
+ text-transform: uppercase;
+ font-size: 12px;
+ font-weight: $ascribe--font-weight-light;
+ color: $ascribe--nav-fg-prim-color;
+ border-bottom: 3px solid transparent;
+ }
+ .navbar-nav > li > a:hover {
+ color: $ascribe--nav-fg-sec-color;
+ }
+
+ .navbar-nav > .active a,
+ .navbar-nav > .active a:hover,
+ .navbar-nav > .active a:focus {
+ color: $ascribe--nav-fg-prim-color;
+ border-bottom-color: $ascribe--nav-fg-prim-color;
+ background-color: $ascribe--nav-bg-color;
+ font-weight: $ascribe--font-weight-light;
+ }
+
+ .navbar-nav > .active {
+ background-color: $ascribe--nav-bg-color;
+ }
+
+ .navbar-nav > .open > a,
+ .dropdown-menu > .active > a {
+ color: $ascribe--nav-fg-prim-color;
+ background-color: $ascribe--nav-bg-color;
+ }
+
+ .navbar-nav > .open > a:hover,
+ .navbar-nav > .open > a:focus,,
+ .dropdown-menu > .active > a:hover,
+ .dropdown-menu > .active > a:focus {
+ background-color: rgba($ascribe--button-default-color, .05);
+ }
+ .dropdown-menu {
+ background-color: $ascribe--nav-bg-color;
+ }
+
+ .dropdown-menu > li > a {
+ color: $ascribe--nav-fg-prim-color;
+ font-weight: $ascribe--font-weight-light;
+ }
+
+ .dropdown-menu > li > a:hover,
+ .dropdown-menu > li > a:focus {
+ background-color: rgba($ascribe--button-default-color, .05);
+ }
+
+ .notification-menu {
+ .dropdown-menu {
+ background-color: white;
+ li:hover {
+ background-color: $ascribe-white;
+ }
+ }
+ .notification-action{
+ color: $ascribe-pink;
+ }
+ }
+
+ .navbar-brand,
+ .navbar-brand:hover {
+ font-size: 23px;
+ padding: 12px 15px;
+ color: $ascribe--nav-fg-prim-color;
+ }
+ .img-brand .navbar-brand {
+ width: 0;
+ height: 0;
+ padding-right: 120px;
+ padding-bottom: 36px;
+ padding-left: 30px;
+ background: transparent no-repeat center 4px;
+ background-size: 150px;
+ margin-bottom: 0;
+ position: relative;
+ }
+
+ .navbar-toggle .icon-bar {
+ background-color: $ascribe--nav-fg-prim-color;
+ }
+
+ .navbar-toggle:hover,
+ .navbar-toggle:focus {
+ background-color: $ascribe--nav-bg-color;
+ }
+}
+
+.ascribe-icon {
+ font-size: 1.2em;
+ font-weight: $ascribe--font-weight-light;
+}
+
+.icon-ascribe-search{
+ color: $ascribe--button-default-color;
+}
+
+.ascribe-piece-list-toolbar .btn-ascribe-add{
+ display: none;
+}
+
+.ascribe-accordion-list {
+ margin-bottom: 1em;
+}
+.ascribe-accordion-list-item {
+ border: 1px solid $ascribe-blue-border;
+ box-shadow: 0 2px 2px -2px rgba(0,0,0,.18);
+}
+
+.ascribe-accordion-list-item .wrapper {
+
+ h1 {
+ font-size: 1.6em;
+ margin: .4em 0 0 0;
+ }
+ h3 {
+ font-size: 1.1em;
+ margin-bottom: 0.4em;
+ }
+ a:not(.btn) {
+ color: $ascribe-black
+ }
+ .accordion-list-item-header {
+ a div {
+ color: rgba(0,0,0,.6)
+ }
+ }
+}
+
+.ascribe-accordion-list-item-table {
+ tbody {
+ tr {
+ &:hover {
+ background-color: rgba($ascribe--button-default-color, .05);
+ border-left-color: rgba($ascribe--button-default-color, .5);
+ }
+ }
+ }
+}
+.ascribe-footer {
+ margin-top: 5em;
+ text-transform: uppercase;
+ background-color: $ascribe-white;
+ border-top: 1px solid rgba(0, 60, 105, 0.1);
+}
+
+.route--landing {
+ margin: 0;
+ width: 100%;
+ padding: 5em 1em;
+}
+
+
+.route--login,
+.route--signup {
+
+ .btn-spinner {
+ background-color: $ascribe--button-default-color;
+ }
+}
+
+.ascribe-accordion-list-item-table {
+ border-bottom: 0.1em solid $ascribe-blue-border;
+ border-left: 0.1em solid $ascribe-blue-border;
+ border-right: 0.1em solid $ascribe-blue-border;
+}
+
+.ascribe-table-header-column {
+ span {font-weight: 300;}
+}
+
+.route--login,
+.route--signup {
+ .ascribe-form-bordered {
+ border: none;
+ }
+}
+
+.btn-ascribe-add {
+ width: 30px;
+ height: 30px;
+ background-color: transparent !important;
+ border: 1px solid $ascribe-dark-blue;
+ border-radius: 50%;
+
+ &:hover {
+ border-color: white!important;
+ background-color: $ascribe-dark-blue!important;
+ }
+
+ > span {
+ position: absolute;
+ left: 0;
+ top: 2px;
+ width: 30px;
+ height: 30px;
+ color: $ascribe-dark-blue;
+ padding: 0.4em;
+ &:hover {
+ color: white;
+ }
+ }
+}
+// buttons!
+// thought of the day:
+// "every great atrocity is the result of people just following orders"
+
+.btn {
+ font-weight: $ascribe--font-weight-light;
+}
+
+// disabled buttons
+.btn-default.disabled,
+.btn-default.disabled:hover,
+.btn-default.disabled:focus,
+.btn-default.disabled.focus,
+.btn-default.disabled:active,
+.btn-default.disabled.active,
+.btn-default[disabled],
+.btn-default[disabled]:hover,
+.btn-default[disabled]:focus,
+.btn-default[disabled].focus,
+.btn-default[disabled]:active,
+.btn-default[disabled].active,
+fieldset[disabled] .btn-default,
+fieldset[disabled] .btn-default:hover,
+fieldset[disabled] .btn-default:focus,
+fieldset[disabled] .btn-default.focus,
+fieldset[disabled] .btn-default:active,
+fieldset[disabled] .btn-default.active {
+ background-color: darken($ascribe--button-default-color, 20%);
+ border-color: darken($ascribe--button-default-color, 20%);
+}
+
+.btn-default {
+ background-color: $ascribe--button-default-color;
+ border-color: $ascribe--button-default-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: lighten($ascribe--button-default-color, 20%);
+ border-color: lighten($ascribe--button-default-color, 20%);
+ }
+}
+
+// disabled buttons
+.btn-secondary.disabled,
+.btn-secondary.disabled:hover,
+.btn-secondary.disabled:focus,
+.btn-secondary.disabled.focus,
+.btn-secondary.disabled:active,
+.btn-secondary.disabled.active,
+.btn-secondary[disabled],
+.btn-secondary[disabled]:hover,
+.btn-secondary[disabled]:focus,
+.btn-secondary[disabled].focus,
+.btn-secondary[disabled]:active,
+.btn-secondary[disabled].active,
+fieldset[disabled] .btn-secondary,
+fieldset[disabled] .btn-secondary:hover,
+fieldset[disabled] .btn-secondary:focus,
+fieldset[disabled] .btn-secondary.focus,
+fieldset[disabled] .btn-secondary:active,
+fieldset[disabled] .btn-secondary.active {
+ background-color: darken($ascribe--button-secondary-bg-color, 20%);
+ border-color: darken($ascribe--button-secondary-fg-color, 20%);
+ color: darken($ascribe--button-secondary-fg-color, 20%);
+}
+
+.btn-secondary {
+ background-color: $ascribe--button-secondary-bg-color;
+ border-color: $ascribe--button-secondary-fg-color;
+ color: $ascribe--button-secondary-fg-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: $ascribe--button-secondary-fg-color;
+ border-color: $ascribe--button-secondary-bg-color;
+ color: $ascribe--button-secondary-bg-color;
+ }
+}
+
+.ascribe-piece-list-toolbar-filter-widget button {
+ background-color: transparent;
+ border: 1px solid transparent;
+ color: $ascribe--button-default-color;
+
+ &:hover,
+ &:active {
+ background-color: $ascribe--button-default-color !important;
+ border-color: $ascribe--button-default-color !important;
+ color: white;
+ }
+}
+
+.btn-wide {
+ font-weight: $ascribe--font-weight-light;
+}
+
+.btn-spinner, .btn-spinner:hover {
+ background-color: $ascribe--button-default-color;
+ border-color: $ascribe--button-default-color;
+ [class^="spinner-wrapper-"] {
+ color: white;
+ .spinner-circle {
+ border-color: white;
+ }
+ }
+}
+
+.btn-secondary .spinner-wrapper {
+ .spinner-circle,
+ .spinner-inner {
+ border-color: $ascribe--button-secondary-fg-color;
+ color: $ascribe--button-secondary-fg-color;
+ }
+}
+
+.open > .btn-default.dropdown-toggle:hover,
+.open > .btn-default.dropdown-toggle:focus,
+.open > .btn-default.dropdown-toggle.focus,
+.open > .btn-default.dropdown-toggle.dropdown-toggle {
+ background-color: darken($ascribe--button-secondary-fg-color, 20%);
+ border-color: darken($ascribe--button-secondary-fg-color, 20%);
+}
+
+.pager li > a,
+.pager li > span {
+ background-color: $ascribe--button-default-color;
+ border-color: $ascribe--button-default-color;
+}
+
+.pager li > a:hover,
+.pager li > span:hover,
+.pager li > a:focus,
+.pager li > span:focus {
+ background-color: lighten($ascribe--button-default-color, 20%);
+ border-color: lighten($ascribe--button-default-color, 20%);
+}
+
+.pager .disabled > a,
+.pager .disabled > span {
+ background-color: $ascribe--button-default-color!important;
+ border-color: $ascribe--button-default-color;
+}
+
+// inputs!
+.ascribe-input-glyph > .form-group > .input-group > .input-group-addon > .filter-glyph {
+ color: $ascribe--button-default-color;
+}
+.search-bar > .form-group {
+ margin: 0;
+}
+
+.search-bar > .form-group > .input-group {
+ border: 1px solid rgba(0, 0, 0, 0);
+ &:hover, &:focus, &:active {
+ border-color: $ascribe-blue-border;
+ }
+ input::-webkit-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* firefox 19+ */
+ input::-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* ie */
+ input:-ms-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ input:-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+
+}
+
+.ascribe-property-collapsible-toggle [type=checkbox]:checked + .checkbox:before,
+.ascribe-checkbox-wrapper [type=checkbox]:checked + .checkbox:before {
+ color: $ascribe--button-default-color;
+}
+
+.ascribe-form-header {
+ background-color: transparent;
+ border-color: transparent;
+}
+
+.ascribe-form-bordered {
+ border-color: transparent;
+}
+
+// properties!
+.is-focused {
+ border-left-color: $ascribe--button-default-color !important;
+ background-color: rgba($ascribe--button-default-color, .05);
+}
+
+.is-error {
+ > div {
+ > span {
+ color: rgba($ascribe-red-error, 1) !important;
+ }
+ }
+ &:hover {
+ border-left: 3px solid rgba($ascribe-red-error, .5)!important;
+ }
+}
+
+.ascribe-property-wrapper:hover {
+ border-left-color: rgba($ascribe-blue, .5);
+}
+
+.ascribe-accordion-list-item .wrapper:hover {
+ background-color: rgba($ascribe--button-default-color, .05);
+}
+
+.ascribe-property {
+ > div,
+ > input,
+ > pre,
+ > select,
+ > span:not(.glyphicon),
+ > textarea {
+ font-family: $ascribe--font;
+ font-weight: $ascribe--font-weight-light;
+ }
+ > div {
+ > div:not(.file-drag-and-drop div) {
+ font-family: $ascribe--font;
+ font-weight: $ascribe--font-weight-light;
+ }
+ }
+ > span:not(.glyphicon) {
+ color: $ascribe--button-default-color;
+ }
+
+ textarea::-webkit-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* firefox 19+ */
+ textarea::-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* ie */
+ textarea:-ms-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ textarea:-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+
+ input::-webkit-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* firefox 19+ */
+ input::-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ /* ie */
+ input:-ms-input-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+ input:-moz-placeholder {
+ color: rgba($ascribe-dark-blue, 0.5);
+ font-style: normal;
+ }
+}
+
+// panel
+.ascribe-panel-wrapper {
+ border: 1px solid $ascribe-blue-border;
+}
+// intercom stuff
+#intercom-container .intercom-launcher-button {
+ background-color: $ascribe--button-default-color !important;
+ border-color: $ascribe--button-default-color !important;
+}
+
+
+// notifications
+.ascribe-global-notification-success {
+ background-color: lighten($ascribe--button-default-color, 20%);
+}
+
+// uploader
+.ascribe-progress-bar > .progress-bar {
+ background-color: lighten($ascribe--button-default-color, 20%);
+}
+
+.action-file {
+ text-shadow: -1px 0 black,
+ 0 1px black,
+ 1px 0 black,
+ 0 -1px black;
+
+ &:hover {
+ color: lighten($ascribe--button-default-color, 20%);
+ }
+}
diff --git a/sass/ascribe_footer.scss b/sass/ascribe_footer.scss
index fe52b798..85f3439d 100644
--- a/sass/ascribe_footer.scss
+++ b/sass/ascribe_footer.scss
@@ -1,11 +1,11 @@
.ascribe-footer {
text-align: center;
+ margin-top: 5em;
hr {
background-color: rgba(0, 0, 0, 0);
- border-top: 1px solid #eee;
- border: 0;
+ //border: 0;
margin-bottom: 0 !important;
}
@@ -23,12 +23,13 @@
}
a:hover {
- color: #48DACB;
+ text-decoration: none;
+ color: lighten($ascribe-dark-blue, 20%);
}
}
-
}
+
.ascribe-footer-statement {
font-family: 'mercury_light';
font-size: 1.6em !important;
diff --git a/sass/ascribe_login.scss b/sass/ascribe_login.scss
index 9060fee5..28100efa 100644
--- a/sass/ascribe_login.scss
+++ b/sass/ascribe_login.scss
@@ -1,28 +1,18 @@
$break-small: 764px;
-.ascribe-btn-login {
+.btn-wide {
background-color: rgba(2, 182, 163, 1);
- border: none;
- border-radius: 0;
color: white;
font-size: 1.2em;
- font-weight: 500;
padding: .5em;
text-align: center;
width: 100%;
//margin-left: 1.2em;
- &:hover {
- background-color: rgba(2, 182, 163, .8);
- border: 0;
- color: white;
- }
-
&:active,
&:focus {
background-color: rgba(2, 182, 163, .6);
- border: 0;
color: white;
}
@@ -31,7 +21,7 @@ $break-small: 764px;
}
}
-.ascribe-btn-login-spinner {
+.btn-spinner {
background-color: rgba(2, 182, 163, .4);
padding: .4em;
diff --git a/sass/ascribe_media_player.scss b/sass/ascribe_media_player.scss
index 213fbafa..25d4aa64 100644
--- a/sass/ascribe_media_player.scss
+++ b/sass/ascribe_media_player.scss
@@ -31,7 +31,7 @@
}
.audiojs .loaded {
- background-color: $ascribe-color-green;
+ background-color: $ascribe-dark-blue;
background-image: none;
}
.audiojs .progress {
@@ -58,7 +58,7 @@
.vjs-default-skin .vjs-play-progress,
.vjs-default-skin .vjs-volume-level {
- background: $ascribe-color-green;
+ background: $ascribe-dark-blue;
}
.vjs-default-skin .vjs-big-play-button {
diff --git a/sass/ascribe_navbar.scss b/sass/ascribe_navbar.scss
new file mode 100644
index 00000000..25dff374
--- /dev/null
+++ b/sass/ascribe_navbar.scss
@@ -0,0 +1,13 @@
+.navbar-default {
+ border: 0;
+ border-color: #ccc;
+ border-left: 0;
+ border-right: 0;
+ border-top: 0;
+ font-size: .8em;
+ margin-bottom: 1.5em;
+}
+
+.navbar-right {
+ margin-right: 0;
+}
\ No newline at end of file
diff --git a/sass/ascribe_notification_list.scss b/sass/ascribe_notification_list.scss
index 1b4b6a0c..a09f7049 100644
--- a/sass/ascribe_notification_list.scss
+++ b/sass/ascribe_notification_list.scss
@@ -16,13 +16,10 @@ $break-medium: 1200px;
.notification-wrapper {
height:8.4em;
border-bottom: 1px solid #eeeeee;
- margin: -3px 0;
+ margin: 0;
padding: 0.5em;
color: black;
- &:hover{
- background-color: rgba(2, 182, 163, .05);
- }
// ToDo: Include media queries for thumbnail
.thumbnail-wrapper {
width: 7.4em;
@@ -56,7 +53,7 @@ $break-medium: 1200px;
white-space: nowrap;
}
.notification-action{
- color: $ascribe-color-green;
+ color: $ascribe-dark-blue;
}
}
@@ -75,8 +72,6 @@ $break-medium: 1200px;
.notification-amount {
padding: 0.3em;
- font-size: 1.2em;
-
}
.ascribe-global-action {
diff --git a/sass/ascribe_piece_list_toolbar.scss b/sass/ascribe_piece_list_toolbar.scss
index 166ba382..06cbd1a7 100644
--- a/sass/ascribe_piece_list_toolbar.scss
+++ b/sass/ascribe_piece_list_toolbar.scss
@@ -14,23 +14,19 @@
.ascribe-input-glyph > .form-group > .input-group {
margin-left: 6px;
-
+ border: none;
input {
background-color: transparent;
- border: 1px solid #02b6a3;
- border-right: 0;
box-shadow: none;
+ border: none;
}
> .input-group-addon {
background-color: transparent;
> .filter-glyph {
- color: #02b6a3;
+ border: none;
}
-
- border: 1px solid #02b6a3;
- border-left: 0;
}
}
@@ -45,7 +41,6 @@
&:hover,
&:active {
background-color: #02b6a3 !important;
- border: 1px solid #02b6a3 !important;
color: white;
}
.caret {
diff --git a/sass/ascribe_property.scss b/sass/ascribe_property.scss
new file mode 100644
index 00000000..e938a7c3
--- /dev/null
+++ b/sass/ascribe_property.scss
@@ -0,0 +1,221 @@
+$ascribe-red-error: rgb(169, 68, 66);
+
+.ascribe-property-wrapper {
+ background-color: white;
+ border-left: 3px solid rgba(0, 0, 0, 0);
+ padding-bottom: 1em;
+ text-align: center;
+ width: 100%;
+
+ &div:last-of-type {
+ border-bottom: 1px solid rgba(0, 0, 0, .05);
+ }
+
+ &:hover {
+ border-left: 3px solid rgba(2, 182, 163, .4);
+ }
+}
+
+.is-hidden {
+ display: none;
+}
+
+.is-focused {
+ background-color: rgba(2, 182, 163, .05);
+ border-left: 3px solid rgba(2, 182, 163, 1) !important;
+}
+
+.is-error {
+ background-color: rgba($ascribe-red-error, .03);
+ border-left: 3px solid rgba($ascribe-red-error, 1);
+
+ > div {
+ > span {
+ color: rgba($ascribe-red-error, 1);
+ font-size: .9em;
+ margin-right: 1em;
+ }
+
+ > input,
+ > textarea {
+ color: #666;
+ }
+ }
+
+ &:hover {
+ border-left: 3px solid rgba($ascribe-red-error, 1);
+ }
+}
+
+.is-fixed {
+ cursor: default;
+
+ > div {
+ cursor: default;
+
+ > span {
+ cursor: default;
+ }
+
+ > input,
+ > div,
+ > pre,
+ > textarea {
+ color: #666;
+ cursor: default;
+ }
+ }
+}
+
+.ascribe-property {
+ border-top: 1px solid rgba(0, 0, 0, .05);
+ cursor: pointer;
+ display: inline-block;
+ padding-left: 1.5em;
+ padding-right: 1.5em;
+ padding-top: 1em;
+ text-align: left;
+ width: 100%;
+
+ > div,
+ > input,
+ > pre,
+ > select,
+ > span:not(.glyphicon),
+ > textarea {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ }
+
+ > span {
+ color: rgba(0, 0, 0, .5);
+ font-size: .9em;
+ font-weight: normal;
+ }
+
+ > div {
+ > div:not(.file-drag-and-drop div) {
+ color: rgba(0, 0, 0, .5);
+ cursor: default;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 1.1em;
+ font-weight: normal;
+ padding-left: 0;
+ }
+ }
+
+ > .progressbar-container, .progressbar-progress {
+ margin-top: 0 !important;
+ }
+
+ > input,
+ > pre,
+ > textarea,
+ > select,
+ .datepicker__input {
+ background-color: rgba(0, 0, 0, 0);
+ border: 0;
+ box-shadow: none;
+ color: rgba(0, 0, 0, .8);
+ font-size: 1.1em;
+ font-weight: 400;
+ margin-top: .5em;
+ padding-left: 0;
+ width: 100%;
+
+ &:focus {
+ border: 0;
+ box-shadow: none;
+ outline: 0;
+ }
+
+ &::selection {
+ background-color: rgba(0, 0, 0, 1);
+ color: white;
+ }
+
+ }
+
+ .datepicker__input {
+ padding: 0;
+ }
+
+ > textarea{
+ color: #666;
+ margin-top: 1em;
+ padding: 0;
+ }
+}
+
+.ascribe-property-footer {
+ font-size: .8em;
+ margin-top: 10px;
+ width: 100%;
+}
+
+.ascribe-property-collapsible-toggle {
+ border-top: 1px solid rgba(0, 0, 0, .05);
+ display: inline-block;
+ padding: .5em 1.5em;
+ text-align: left;
+ width: 100%;
+}
+
+.ascribe-checkbox-wrapper{
+ .checkbox > span {
+ color: black;
+ }
+}
+
+.ascribe-property-collapsible-toggle, .ascribe-checkbox-wrapper {
+ cursor: pointer;
+
+ // Taken from: http://www.htmllion.com/css3-checkbox.html
+ .checkbox {
+ display: inline-block;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: .9em;
+ font-weight: normal;
+ vertical-align: middle;
+
+ > span {
+ left: 5px;
+ position: relative;
+ top: 1px;
+
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
+ }
+ }
+
+ [type=checkbox] {
+ display: none;
+ }
+
+ .checkbox:before {
+ background-color: white;
+ border: 1px solid rgba(0, 0, 0, .5);
+ border-radius: 1px;
+ color: #f3f3f3;
+ content: "";
+ display: inline-block;
+ height: 17px;
+ text-align: center;
+ vertical-align: middle;
+ width: 17px;
+ }
+
+ [type=checkbox]:checked + .checkbox:before {
+ color: rgba(2, 182, 163, 1);
+ content: "\2713";
+ font-size: 20px;
+ line-height: .8;
+ }
+}
+
+.ascribe-checkbox-badge {
+ > span > span {
+ margin-top: 0;
+ }
+}
diff --git a/sass/ascribe_settings.scss b/sass/ascribe_settings.scss
index c47ddb67..b79e8c7c 100644
--- a/sass/ascribe_settings.scss
+++ b/sass/ascribe_settings.scss
@@ -1,224 +1,4 @@
.settings-container {
margin: auto;
max-width: 600px;
-}
-
-.ascribe-settings-wrapper {
- background-color: white;
- border-left: 3px solid rgba(0, 0, 0, 0);
- padding-bottom: 1em;
- text-align: center;
- width: 100%;
-
- &div:last-of-type {
- border-bottom: 1px solid rgba(0, 0, 0, .05);
- }
-
- &:hover {
- border-left: 3px solid rgba(2, 182, 163, .4);
- }
-}
-
-.is-hidden {
- display: none;
-}
-
-.is-focused {
- background-color: rgba(2, 182, 163, .05);
- border-left: 3px solid rgba(2, 182, 163, 1) !important;
-}
-
-.is-error {
- background-color: rgba(169, 68, 66, .05);
- border-left: 3px solid rgba(169, 68, 66, 1);
-
- > div {
- > span {
- color: rgba(169, 68, 66, 1);
- font-size: .9em;
- margin-right: 1em;
- }
-
- > input,
- > textarea {
- color: #666;
- }
- }
-
- &:hover {
- border-left: 3px solid rgba(169, 68, 66, 1);
- }
-}
-
-.is-fixed {
- cursor: default;
-
- > div {
- cursor: default;
-
- > span {
- cursor: default;
- }
-
- > input,
- > div,
- > pre,
- > textarea {
- color: #666;
- cursor: default;
- }
- }
-}
-
-.ascribe-settings-property {
- border-top: 1px solid rgba(0, 0, 0, .05);
- cursor: pointer;
- display: inline-block;
- padding-left: 1.5em;
- padding-right: 1.5em;
- padding-top: 1em;
- text-align: left;
- width: 100%;
-
- > div,
- > input,
- > pre,
- > select,
- > span:not(.glyphicon),
- > textarea {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
-
- > span {
- color: rgba(0, 0, 0, .5);
- font-size: .9em;
- font-weight: normal;
- }
-
- > div {
- > div:not(.file-drag-and-drop div) {
- color: rgba(0, 0, 0, .5);
- cursor: default;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 1.1em;
- font-weight: normal;
- padding-left: 0;
- }
- }
-
- > .progressbar-container, .progressbar-progress {
- margin-top: 0 !important;
- }
-
- > input,
- > pre,
- > textarea,
- > select,
- .datepicker__input {
- background-color: rgba(0, 0, 0, 0);
- border: 0;
- box-shadow: none;
- color: rgba(0, 0, 0, .8);
- font-size: 1.1em;
- font-weight: 400;
- margin-top: .5em;
- padding-left: 0;
- width: 100%;
-
- &:focus {
- border: 0;
- box-shadow: none;
- outline: 0;
- }
-
- &::selection {
- background-color: rgba(0, 0, 0, 1);
- color: white;
- }
-
- }
-
- .datepicker__input {
- padding: 0;
- }
-
- > textarea{
- color: #666;
- margin-top: 1em;
- padding: 0;
- }
-}
-
-.ascribe-property-footer {
- font-size: .8em;
- margin-top: 10px;
- width: 100%;
-}
-
-.ascribe-settings-property-collapsible-toggle {
- border-top: 1px solid rgba(0, 0, 0, .05);
- display: inline-block;
- padding: .5em 1.5em;
- text-align: left;
- width: 100%;
-}
-
-.ascribe-checkbox-wrapper{
- .checkbox > span {
- color: black;
- }
-}
-
-.ascribe-settings-property-collapsible-toggle, .ascribe-checkbox-wrapper {
- cursor: pointer;
-
- // Taken from: http://www.htmllion.com/css3-checkbox.html
- .checkbox {
- display: inline-block;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: .9em;
- font-weight: normal;
- vertical-align: middle;
-
- > span {
- left: 5px;
- position: relative;
- top: 1px;
-
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -webkit-user-select: none;
- }
- }
-
- [type=checkbox] {
- display: none;
- }
-
- .checkbox:before {
- background-color: white;
- border: 1px solid rgba(0, 0, 0, .5);
- border-radius: 1px;
- color: #f3f3f3;
- content: "";
- display: inline-block;
- height: 17px;
- text-align: center;
- vertical-align: middle;
- width: 17px;
- }
-
- [type=checkbox]:checked + .checkbox:before {
- color: rgba(2, 182, 163, 1);
- content: "\2713";
- font-size: 20px;
- line-height: .8;
- }
-}
-
-.ascribe-checkbox-badge {
- > span > span {
- margin-top: 0;
- }
-}
+}
\ No newline at end of file
diff --git a/sass/ascribe_spinner.scss b/sass/ascribe_spinner.scss
new file mode 100644
index 00000000..7f02a383
--- /dev/null
+++ b/sass/ascribe_spinner.scss
@@ -0,0 +1,149 @@
+$ascribe-black: #1E1E1E;
+$ascribe-dark-blue: #003C69;
+$ascribe-blue: #65CFE9;
+$ascribe-light-blue: #D3DEE4;
+$ascribe-pink: #D10074;
+
+$ascribe--spinner-color: $ascribe-blue;
+
+$ascribe--spinner-size-lg: 50px;
+$ascribe--spinner-size-md: 30px;
+$ascribe--spinner-size-sm: 15px;
+
+
+[class^="spinner-wrapper-"]{
+ margin: auto;
+}
+
+.spinner-wrapper-blue {
+ color: $ascribe-blue;
+ .spinner-circle {
+ border-color: $ascribe-blue;
+ }
+}
+
+.spinner-wrapper-dark-blue {
+ color: $ascribe-dark-blue;
+ .spinner-circle {
+ border-color: $ascribe-dark-blue;
+ }
+}
+
+.spinner-wrapper-pink {
+ color: $ascribe-pink;
+ .spinner-circle {
+ border-color: $ascribe-pink;
+ }
+}
+
+.spinner-wrapper-loop {
+ -webkit-animation: spinner-color-loop 20s infinite;
+ -moz-animation: spinner-color-loop 20s infinite;
+ -o-animation: spinner-color-loop 20s infinite;
+ -ms-animation: spinner-color-loop 20s infinite;
+ animation: spinner-color-loop 20s;
+
+}
+
+.spinner-wrapper-black {
+ color: $ascribe-black;
+ .spinner-circle {
+ border-color: $ascribe-black;
+ }
+}
+
+.spinner-wrapper-lg {
+ width: $ascribe--spinner-size-lg;
+ height: $ascribe--spinner-size-lg;
+}
+
+.spinner-wrapper-md {
+ width: $ascribe--spinner-size-md;
+ height: $ascribe--spinner-size-md;
+}
+
+.spinner-wrapper-sm {
+ width: $ascribe--spinner-size-sm;
+ height: $ascribe--spinner-size-sm;
+}
+
+.spinner-circle {
+ border-radius: 50%;
+ border-style: solid;
+
+ -webkit-animation: spin 1s infinite linear;
+ -moz-animation: spin 1s infinite linear;
+ -o-animation: spin 1s infinite linear;
+ -ms-animation: spin 1s infinite linear;
+ animation: spin 1s infinite linear;
+}
+.spinner-wrapper-lg .spinner-inner,
+.spinner-wrapper-lg .spinner-circle {
+ width: $ascribe--spinner-size-lg;
+ height: $ascribe--spinner-size-lg;
+}
+
+.spinner-wrapper-md .spinner-inner,
+.spinner-wrapper-md .spinner-circle {
+ width: $ascribe--spinner-size-md;
+ height: $ascribe--spinner-size-md;
+}
+
+.spinner-wrapper-sm .spinner-inner,
+.spinner-wrapper-sm .spinner-circle {
+ width: $ascribe--spinner-size-sm;
+ height: $ascribe--spinner-size-sm;
+}
+
+.spinner-wrapper-lg .spinner-circle,
+.spinner-wrapper-sm .spinner-circle,
+.spinner-wrapper-md .spinner-circle {
+ border-width: 1px 1px 1px 0;
+}
+
+.spinner-inner {
+ position: relative;
+ text-align: center;
+}
+.spinner-wrapper-lg .spinner-inner {
+ font-size: $ascribe--spinner-size-lg;
+ top: -64px;
+}
+
+.spinner-wrapper-md .spinner-inner {
+ font-size: $ascribe--spinner-size-md;
+ top: -38px;
+}
+
+.spinner-wrapper-sm .spinner-inner {
+ font-size: $ascribe--spinner-size-sm;
+ top: -19px;
+}
+
+@-webkit-keyframes spin {
+ from {-webkit-transform: rotate(0deg);}
+ to {-webkit-transform: rotate(359deg);}
+}
+
+@-moz-keyframes spin {
+ from {-moz-transform: rotate(0deg);}
+ to {-moz-transform: rotate(359deg);}
+}
+
+@-o-keyframes spin {
+ from {-o-transform: rotate(0deg);}
+ to {-o-transform: rotate(359deg);}
+}
+
+@keyframes spin{
+ from {transform: rotate(0deg);}
+ to {transform: rotate(359deg);}
+}
+
+@include keyframes(spinner-color-loop) {
+ 0% { color: $ascribe-black; }
+ 20% { color: $ascribe-dark-blue; }
+ 40% { color: $ascribe-blue; }
+ 60% { color: $ascribe-light-blue; }
+ 80% { color: $ascribe-pink; }
+}
\ No newline at end of file
diff --git a/sass/ascribe_uploader.scss b/sass/ascribe_uploader.scss
index f6c5ab9c..7819eda0 100644
--- a/sass/ascribe_uploader.scss
+++ b/sass/ascribe_uploader.scss
@@ -8,7 +8,6 @@
overflow: auto;
text-align: center;
vertical-align: middle;
- cursor: default !important;
padding: 1.5em 0 1.5em 0;
.file-drag-and-drop-dialog > p:first-child {
@@ -108,6 +107,29 @@
cursor: default;
overflow: hidden;
}
+.action-file {
+ color: white;
+ cursor: pointer;
+ font-size: 2.5em;
+ text-shadow: -1px 0 black,
+ 0 1px black,
+ 1px 0 black,
+ 0 -1px black;
+ &:link,
+ &:visited,
+ &:hover,
+ &:active {
+ text-decoration: none;
+ }
+
+ &:hover {
+ color: #d9534f;
+ }
+}
+
+.spinner-file {
+ font-size: 2.5em;
+}
.file-drag-and-drop-preview-image {
border: 1px solid #616161;
@@ -117,23 +139,8 @@
text-align: center;
width: 104px;
- .action-file {
- color: white;
- cursor: pointer;
- font-size: 2.5em;
+ .action-file, .spinner-file {
margin-top: .6em;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
-
- &:link,
- &:visited,
- &:hover,
- &:active {
- text-decoration: none;
- }
-
- &:hover {
- color: #d9534f;
- }
}
}
@@ -147,29 +154,26 @@
margin-top: 5px;
}
- .action-file {
- color: white;
- cursor: pointer;
- font-size: 2.5em;
+ .action-file, .spinner-file {
margin-top: 0;
position: relative;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
top: .3em;
- &:link,
- &:visited,
- &:hover,
- &:active {
- text-decoration: none;
- }
-
- &:hover {
- color: #d9534f;
- }
-
span:not(:first-child) {
display: block;
margin-top: .5em;
}
}
}
+
+.ascribe-progress-bar {
+ margin-bottom: 0;
+ > .progress-bar {
+ background-color: $ascribe-dark-blue;
+ }
+}
+
+.ascribe-progress-bar-xs {
+ height: 12px;
+}
+
diff --git a/sass/ascribe_variables.scss b/sass/ascribe_variables.scss
index 2af5c6d3..c3263f4d 100644
--- a/sass/ascribe_variables.scss
+++ b/sass/ascribe_variables.scss
@@ -1,3 +1,25 @@
-$ascribe-color-green: rgba(2, 182, 163, 1);
+$ascribe-black: #1E1E1E;
+$ascribe-dark-blue: #003C69;
+$ascribe-blue: #65CFE9;
+$ascribe-light-blue: #D3DEE4;
+$ascribe-white: #F8F8F8;
+$ascribe-pink: #D10074;
+$ascribe-blue-border: rgba(0, 60, 105, 0.1);
+$ascribe-red-error: rgb(169, 68, 66);
-$ascribe-brand-danger: #fc535f;
+
+
+$ascribe--fg-color: $ascribe-dark-blue;
+$ascribe--bg-color: $ascribe-dark-blue;
+
+$ascribe--nav-fg-prim-color: $ascribe-dark-blue;
+$ascribe--nav-fg-sec-color: lighten($ascribe-dark-blue, 20%);
+$ascribe--nav-bg-color: white;
+
+$ascribe--button-default-color: $ascribe--bg-color;
+$ascribe--button-secondary-fg-color: $ascribe--bg-color;
+$ascribe--button-secondary-bg-color: white;
+
+$ascribe--font: 'canada-type-gibson', sans-serif !important;
+$ascribe--font-weight-light: 300 !important;
+$ascribe--font-weight-normal: normal;
diff --git a/sass/main.scss b/sass/main.scss
index d5fef084..4b9e0f71 100644
--- a/sass/main.scss
+++ b/sass/main.scss
@@ -11,8 +11,8 @@ $BASE_URL: '<%= BASE_URL %>';
@import '../node_modules/react-datepicker/dist/react-datepicker';
@import 'glyphicons-social';
@import 'ascribe_theme';
-@import './ascribe-fonts/style';
@import './ascribe-fonts/ascribe-fonts';
+@import 'ascribe_navbar';
@import 'ascribe_login';
@import 'ascribe_table';
@import 'ascribe_accordion_list';
@@ -31,9 +31,12 @@ $BASE_URL: '<%= BASE_URL %>';
@import 'offset_right';
@import 'ascribe_settings';
@import 'ascribe_slides_container';
+@import 'ascribe_property';
@import 'ascribe_form';
@import 'ascribe_panel';
@import 'ascribe_collapsible';
+@import 'ascribe_custom_style';
+@import 'ascribe_spinner';
@import 'whitelabel/index';
@@ -68,8 +71,6 @@ hr {
.no-margin {
margin: 0;
- margin-left: 0;
- margin-right: 0;
}
.no-padding {
@@ -80,78 +81,10 @@ hr {
display: inline;
}
-.navbar-default {
- border: 0;
- border-color: #ccc;
- border-left: 0;
- border-right: 0;
- border-top: 0;
- font-size: .8em;
- margin-bottom: 1.5em;
-
- .navbar-nav > li > a {
- border: 1px solid rgba(0, 0, 0, 0);
- }
-
- .navbar-nav > .active {
- a {
- background-color: transparent !important;
- border-bottom: 1px solid #02b6a3;
- color: #02b6a3;
-
- > span {
- color: #02b6a3;
- }
-
- &:hover,
- &:focus {
- background-color: transparent;
- border-bottom: 1px solid #02b6a3;
- color: #02b6a3;
-
- > span {
- color: #02b6a3;
- }
- }
- }
- }
-}
-
-
-
-.img-brand {
- height: 60px;
-}
-
-.truncate {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 4em;
-
- @media only screen and (min-width: 400px) {
- width: 8em;
- }
-
- @media only screen and (min-width: 600px) {
- width: 12em;
- }
-
- @media only screen and (min-width: 1000px) {
- width: 14em;
- }
-
- @media only screen and (min-width: 1200px) {
- width: 16em;
- }
-
- @media only screen and (min-width: 1400px) {
- width: 18em;
- }
-}
-
-.navbar-right {
- margin-right: 0;
+.ascribe-powered-by {
+ font-size: 11px!important;
+ text-transform: none!important;
+ font-weight: normal!important;
}
.clear-paddings {
@@ -165,7 +98,7 @@ hr {
}
.ascribe-color {
- color: $ascribe-color-green;
+ color: $ascribe-dark-blue;
}
.ascribe-subheader {
@@ -202,59 +135,15 @@ hr {
}
.btn-delete {
- background-color: rgba(0, 0, 0, 0);
- border: 1px solid rgba(0, 0, 0, 0);
+ background-color: rgba(0, 0, 0, 0)!important;
+ border: 1px solid rgba(0, 0, 0, 0)!important;
color: #888;
&:hover {
- border: 1px solid $ascribe-brand-danger;
+ background-color: $ascribe-red-error !important;
+ border: 1px solid $ascribe-red-error !important;
}
}
-.btn-ascribe {
- border: 1px solid #444;
- border-radius: 0 !important;
- font-family: sans-serif !important;
- line-height: 2em;
- margin-left: 0 !important;
- font-family: sans-serif !important;
- border-radius: 0 !important;
- color: #222 !important;
-}
-
-.btn-ascribe:active, .btn-ascribe:hover {
- color: #FFF !important;
- background-color: #444;
-}
-
-.btn-ascribe-sm {
- font-size: 12px;
- line-height: 1.3em;
-}
-
-.btn-ascribe-green,
-.btn-ascribe-green-inv {
- border: 1px solid #48dacb;
- border-radius: 0 !important;
- font-family: sans-serif !important;
- line-height: 2em;
- margin-left: 0 !important;
-}
-
-.btn-ascribe-green,
-.btn-ascribe-green-inv:active,
-.btn-ascribe-green-inv:hover {
- background-color: #fff;
- border: 1px solid rgba(2, 182, 163, .5);
- color: rgba(2, 182, 163, 0.5);
-}
-
-.btn-ascribe-green:active,
-.btn-ascribe-green:hover,
-.btn-ascribe-green-inv {
- background-color: rgba(2, 182, 163, .5);
- border: 1px solid rgba(2, 182, 163, .5);
- color: white;
-}
.ascribe-detail-title {
font-size: 2em;
@@ -450,18 +339,6 @@ hr {
text-align: center;
}
-.ascribe-progress-bar {
- margin-bottom: 0;
- > .progress-bar {
- background-color: $ascribe-color-green;
- }
-}
-
-.ascribe-progress-bar-xs {
- height: 12px;
-}
-
-
.ascribe-piece-list-filter-display {
padding-left: 10px;
padding-right: 10px;
@@ -496,4 +373,4 @@ hr {
> p {
font-size: 2em;
}
-}
\ No newline at end of file
+}
diff --git a/sass/variables.scss b/sass/variables.scss
index 909440c9..ccd48864 100644
--- a/sass/variables.scss
+++ b/sass/variables.scss
@@ -19,7 +19,7 @@ $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
$brand-success: #5cb85c !default;
$brand-info: #5bc0de !default;
$brand-warning: #ccc !default;
-$brand-danger: $ascribe-brand-danger !default;
+$brand-danger: $ascribe-red-error !default;
//== Scaffolding
@@ -150,8 +150,8 @@ $table-border-color: #ddd !default;
$btn-font-weight: normal !default;
$btn-default-color: white !default;
-$btn-default-bg: $ascribe-color-green !default;
-$btn-default-border: $ascribe-color-green !default;
+$btn-default-bg: $ascribe-dark-blue !default;
+$btn-default-border: $ascribe-dark-blue !default;
$btn-primary-color: #fff !default;
$btn-primary-bg: $brand-primary !default;
@@ -219,9 +219,9 @@ $legend-color: $gray-dark !default;
$legend-border-color: #e5e5e5 !default;
//** Background color for textual input addons
-$input-group-addon-bg: $ascribe-color-green !default;
+$input-group-addon-bg: $ascribe-dark-blue !default;
//** Border color for textual input addons
-$input-group-addon-border-color: $ascribe-color-green !default;
+$input-group-addon-border-color: transparent !default;
//** Disabled cursor for form controls and buttons.
$cursor-disabled: not-allowed !default;
@@ -468,14 +468,14 @@ $pagination-disabled-border: #ddd !default;
//
//##
-$pager-bg: $ascribe-color-green !default;
-$pager-border: $ascribe-color-green !default;
+$pager-bg: $ascribe-dark-blue !default;
+$pager-border: $ascribe-dark-blue !default;
$pager-border-radius: 0 !default;
-$pager-hover-bg: darken($ascribe-color-green, 10%) !default;
+$pager-hover-bg: darken($ascribe-dark-blue, 10%) !default;
-$pager-active-bg: $ascribe-color-green !default;
-$pager-active-color: $ascribe-color-green !default;
+$pager-active-bg: $ascribe-dark-blue !default;
+$pager-active-color: $ascribe-dark-blue !default;
$pager-disabled-color: #CCC !default;
$pager-disabled-border: 1px solid #CCC !default;
diff --git a/sass/whitelabel/index.scss b/sass/whitelabel/index.scss
index fc7a6b3b..1d339a2f 100644
--- a/sass/whitelabel/index.scss
+++ b/sass/whitelabel/index.scss
@@ -1,3 +1,3 @@
@import 'prize/index';
@import 'wallet/index';
-@import 'wallet/ikonotv/ikonotv_landing';
+
diff --git a/sass/whitelabel/prize/index.scss b/sass/whitelabel/prize/index.scss
index 65c4d0c7..5bc75746 100644
--- a/sass/whitelabel/prize/index.scss
+++ b/sass/whitelabel/prize/index.scss
@@ -1,5 +1,4 @@
-@import 'landing';
-@import 'rating';
+@import 'sluice/sluice_custom_style';
.ascribe-prize-app {
border-radius: 0;
diff --git a/sass/whitelabel/prize/landing.scss b/sass/whitelabel/prize/landing.scss
deleted file mode 100644
index fd639ca4..00000000
--- a/sass/whitelabel/prize/landing.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-.wp {
- height: 100%;
- max-width: 90%;
- margin: auto;
- /* We need this, otherwise piece list will have a scrollbar */
-}
-
-.hero {
- font-family: 'Nunito', sans-serif;
- font-weight: 300;
-
- overflow: hidden;
- text-align: center;
-
- > img {
- margin-top: 5em;
- margin-bottom: 5em;
- }
-}
-
-.wp-landing-wrapper {
- text-align: center;
- font-family: 'Nunito', sans-serif;
- font-weight: 300;
-
- > .enter {
- margin-top: 2em;
- > p {
- margin-top: 2em;
- }
- }
-}
-
-
diff --git a/sass/whitelabel/prize/rating.scss b/sass/whitelabel/prize/rating.scss
deleted file mode 100644
index dfbff05b..00000000
--- a/sass/whitelabel/prize/rating.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-
-.rating-container .rating-stars {
- width: 25px;
- color: #02b6a3;
-}
-
-#list-rating {
- > a > span > span > .rating-container .rating-stars {
- color: #000;
- }
- > span > span > span > .rating-container .rating-stars {
- color: #000;
- }
- > span > span > .rating-container .rating-stars {
- color: #000;
- }
-}
-.react-rating-caption {
- font-size: 1em;
-}
-
-.rating-list {
- margin-left: 1.5em;
- font-size: 0.9em;
- margin-bottom: 0.3em;
- color: #333;
-}
-
-.rating-note {
- color: #666;
- font-style: italic;
- padding: 0.7em;
-
-}
\ No newline at end of file
diff --git a/sass/whitelabel/prize/sluice/sluice_custom_style.scss b/sass/whitelabel/prize/sluice/sluice_custom_style.scss
new file mode 100644
index 00000000..e2ceeeb3
--- /dev/null
+++ b/sass/whitelabel/prize/sluice/sluice_custom_style.scss
@@ -0,0 +1,253 @@
+$sluice--nav-bg-color: #fcfcfc;
+$sluice--nav-fg-prim-color: #1E1E1E;
+$sluice--button-color: $sluice--nav-fg-prim-color;
+
+.wp {
+ height: 100%;
+ max-width: 90%;
+ margin: auto;
+ /* We need this, otherwise piece list will have a scrollbar */
+}
+
+.hero {
+ font-family: 'Nunito', sans-serif;
+ font-weight: 300;
+
+ overflow: hidden;
+ text-align: center;
+
+ > img {
+ margin-top: 5em;
+ margin-bottom: 5em;
+ }
+}
+
+.wp-landing-wrapper {
+ text-align: center;
+ font-family: 'Nunito', sans-serif;
+ font-weight: 300;
+
+ > .enter {
+ margin-top: 2em;
+ > p {
+ margin-top: 2em;
+ }
+ }
+}
+
+
+.rating-container {
+ color: lighten($sluice--nav-fg-prim-color, 80%) !important;
+ .rating-stars {
+ width: 25px;
+ color: $sluice--nav-fg-prim-color !important;
+ }
+}
+
+#list-rating {
+ > a > span > span > .rating-container .rating-stars {
+ color: #000;
+ }
+ > span > span > span > .rating-container .rating-stars {
+ color: #000;
+ }
+ > span > span > .rating-container .rating-stars {
+ color: #000;
+ }
+}
+.react-rating-caption {
+ font-size: 1em;
+}
+
+.rating-list {
+ margin-left: 1.5em;
+ font-size: 0.9em;
+ margin-bottom: 0.3em;
+ color: #333;
+}
+
+.rating-note {
+ color: #666;
+ font-style: italic;
+ padding: 0.7em;
+
+}
+
+.client--sluice {
+ .navbar-default {
+ background-color: $sluice--nav-bg-color;
+ box-shadow: none;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ }
+ .navbar-nav > li > a,
+ .navbar-nav > li > .active a {
+ color: $sluice--nav-fg-prim-color;
+ background-color: $sluice--nav-bg-color;
+ }
+ .navbar-nav > li > a:hover {
+ color: lighten($sluice--nav-fg-prim-color, 40%);
+ }
+ .navbar-nav > .active a,
+ .navbar-nav > .active a:hover,
+ .navbar-nav > .active a:focus {
+ color: $sluice--nav-fg-prim-color;
+ border-bottom-color: $sluice--nav-fg-prim-color;
+ background-color: $sluice--nav-bg-color;
+ }
+ .dropdown-menu > li > a:hover,
+ .dropdown-menu > li > a:focus {
+ color: lighten($sluice--nav-fg-prim-color, 40%);
+ background-color: $sluice--nav-bg-color;
+ }
+ .navbar-nav > .open > a,
+ .navbar-nav > .open > a:hover,
+ .navbar-nav > .open > a:focus,
+ .dropdown-menu > .active > a,
+ .dropdown-menu > .active > a:hover,
+ .dropdown-menu > .active > a:focus {
+ color: lighten($sluice--nav-fg-prim-color, 40%);
+ background-color: $sluice--nav-bg-color;
+ }
+ .dropdown-menu {
+ background-color: $sluice--nav-bg-color;
+ }
+
+ .dropdown-menu > li > a {
+ color: $sluice--nav-fg-prim-color;
+ }
+
+ .navbar-toggle .icon-bar {
+ background-color: $sluice--nav-fg-prim-color;
+ }
+
+ .navbar-toggle:hover,
+ .navbar-toggle:focus {
+ background-color: $sluice--nav-bg-color;
+ }
+}
+
+.client--sluice .ascribe-footer {
+ display: none;
+}
+
+
+.client--sluice .icon-ascribe-search{
+ color: $sluice--button-color;
+}
+
+.client--sluice .ascribe-piece-list-toolbar .btn-ascribe-add{
+ display: none;
+}
+
+// disabled buttons
+.client--sluice {
+ .btn-default.disabled,
+ .btn-default.disabled:hover,
+ .btn-default.disabled:focus,
+ .btn-default.disabled.focus,
+ .btn-default.disabled:active,
+ .btn-default.disabled.active,
+ .btn-default[disabled],
+ .btn-default[disabled]:hover,
+ .btn-default[disabled]:focus,
+ .btn-default[disabled].focus,
+ .btn-default[disabled]:active,
+ .btn-default[disabled].active,
+ fieldset[disabled] .btn-default,
+ fieldset[disabled] .btn-default:hover,
+ fieldset[disabled] .btn-default:focus,
+ fieldset[disabled] .btn-default.focus,
+ fieldset[disabled] .btn-default:active,
+ fieldset[disabled] .btn-default.active {
+ background-color: darken($sluice--button-color, 20%);
+ border-color: darken($sluice--button-color, 20%);
+ }
+}
+
+// buttons!
+// thought of the day:
+// "every great atrocity is the result of people just following orders"
+.client--sluice {
+ .ascribe-piece-list-toolbar-filter-widget button {
+ color: $sluice--button-color !important;
+ background-color: transparent !important;
+ border-color: transparent !important;
+
+ &:hover,
+ &:active {
+ background-color: $sluice--button-color !important;
+ border-color: $sluice--button-color !important;
+ color: white !important;
+ }
+ }
+
+ .btn-wide,
+ .btn-default {
+ background-color: $sluice--button-color;
+ border-color: $sluice--button-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: lighten($sluice--button-color, 20%);
+ border-color: lighten($sluice--button-color, 20%);
+ }
+ }
+
+ .open > .btn-default.dropdown-toggle:hover,
+ .open > .btn-default.dropdown-toggle:focus,
+ .open > .btn-default.dropdown-toggle.focus,
+ .open > .btn-default.dropdown-toggle.dropdown-toggle {
+ background-color: darken($sluice--button-color, 20%);
+ border-color: darken($sluice--button-color, 20%);
+ }
+
+ .pager li > a, .pager li > span {
+ background-color: $sluice--button-color;
+ border-color: $sluice--button-color;
+ }
+
+ .pager li.disabled > a,
+ .pager li.disabled > span {
+ background-color: $sluice--button-color !important;
+ border-color: $sluice--button-color;
+ }
+}
+
+// spinner!
+.client--sluice {
+ .btn-spinner {
+ color: $sluice--button-color;
+ }
+ .spinner-circle {
+ border-color: $sluice--button-color;
+ }
+ .spinner-inner {
+ color: $sluice--button-color;
+ display: none;
+ }
+}
+
+// intercom stuff
+.client--sluice {
+ #intercom-container .intercom-launcher-button {
+ background-color: $sluice--button-color !important;;
+ border-color: $sluice--button-color !important;;
+ }
+}
+
+// notifications
+.client--sluice .ascribe-global-notification-success {
+ background-color: lighten($sluice--button-color, 50%);
+}
+
+// progress bar
+.client--sluice .ascribe-progress-bar > .progress-bar {
+ background-color: $sluice--button-color;
+}
diff --git a/sass/whitelabel/wallet/cc/cc_custom_style.scss b/sass/whitelabel/wallet/cc/cc_custom_style.scss
new file mode 100644
index 00000000..238937e7
--- /dev/null
+++ b/sass/whitelabel/wallet/cc/cc_custom_style.scss
@@ -0,0 +1,206 @@
+$cc--nav-bg-color: #fcfcfc;
+$cc--nav-fg-prim-color: #1E1E1E;
+$cc--button-color: $cc--nav-fg-prim-color;
+
+.client--cc {
+ .navbar-default {
+ background-color: $cc--nav-bg-color;
+ box-shadow: none;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ }
+ .navbar-nav > li > a,
+ .navbar-nav > li > .active a {
+ color: $cc--nav-fg-prim-color;
+ background-color: $cc--nav-bg-color;
+ }
+ .navbar-nav > li > a:hover {
+ color: lighten($cc--nav-fg-prim-color, 40%);
+ }
+ .navbar-nav > .active a,
+ .navbar-nav > .active a:hover,
+ .navbar-nav > .active a:focus {
+ color: $cc--nav-fg-prim-color;
+ border-bottom-color: $cc--nav-fg-prim-color;
+ background-color: $cc--nav-bg-color;
+ }
+ .dropdown-menu > li > a:hover,
+ .dropdown-menu > li > a:focus {
+ color: lighten($cc--nav-fg-prim-color, 40%);
+ background-color: $cc--nav-bg-color;
+ }
+ .navbar-nav > .open > a,
+ .navbar-nav > .open > a:hover,
+ .navbar-nav > .open > a:focus,
+ .dropdown-menu > .active > a,
+ .dropdown-menu > .active > a:hover,
+ .dropdown-menu > .active > a:focus {
+ color: lighten($cc--nav-fg-prim-color, 40%);
+ background-color: $cc--nav-bg-color;
+ }
+ .dropdown-menu {
+ background-color: $cc--nav-bg-color;
+ }
+
+ .dropdown-menu > li > a {
+ color: $cc--nav-fg-prim-color;
+ }
+
+ .navbar-toggle .icon-bar {
+ background-color: $cc--nav-fg-prim-color;
+ }
+
+ .navbar-toggle:hover,
+ .navbar-toggle:focus {
+ background-color: $cc--nav-bg-color;
+ }
+}
+
+.client--cc .ascribe-footer {
+ display: none;
+}
+
+
+.client--cc .icon-ascribe-search{
+ color: $cc--button-color;
+}
+
+.client--cc .ascribe-piece-list-toolbar .btn-ascribe-add{
+ display: none;
+}
+
+// disabled buttons
+.client--cc {
+ // disabled buttons
+ .btn-default.disabled,
+ .btn-default.disabled:hover,
+ .btn-default.disabled:focus,
+ .btn-default.disabled.focus,
+ .btn-default.disabled:active,
+ .btn-default.disabled.active,
+ .btn-default[disabled],
+ .btn-default[disabled]:hover,
+ .btn-default[disabled]:focus,
+ .btn-default[disabled].focus,
+ .btn-default[disabled]:active,
+ .btn-default[disabled].active,
+ fieldset[disabled] .btn-default,
+ fieldset[disabled] .btn-default:hover,
+ fieldset[disabled] .btn-default:focus,
+ fieldset[disabled] .btn-default.focus,
+ fieldset[disabled] .btn-default:active,
+ fieldset[disabled] .btn-default.active {
+ background-color: $cc--nav-bg-color;
+ color: $cc--nav-fg-prim-color;
+ }
+}
+
+.client--cc {
+ .btn-secondary {
+ background-color: $cc--nav-bg-color;
+ border-color: $cc--nav-fg-prim-color;
+ color: $cc--nav-fg-prim-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: $cc--nav-fg-prim-color;
+ border-color: $cc--nav-fg-prim-color;
+ color: $cc--nav-bg-color;
+ }
+ }
+}
+
+// buttons!
+// thought of the day:
+// "every great atrocity is the result of people just following orders"
+.client--cc {
+ .ascribe-piece-list-toolbar-filter-widget button {
+ color: $cc--button-color !important;
+ background-color: transparent !important;
+ border-color: transparent !important;
+
+ &:hover,
+ &:active {
+ background-color: $cc--button-color !important;
+ border-color: $cc--button-color !important;
+ color: white !important;
+ }
+ }
+
+ .btn-wide,
+ .btn-default {
+ background-color: $cc--button-color;
+ border-color: $cc--button-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: lighten($cc--button-color, 20%);
+ border-color: lighten($cc--button-color, 20%);
+ }
+ }
+
+ .open > .btn-default.dropdown-toggle:hover,
+ .open > .btn-default.dropdown-toggle:focus,
+ .open > .btn-default.dropdown-toggle.focus,
+ .open > .btn-default.dropdown-toggle.dropdown-toggle {
+ background-color: darken($cc--button-color, 20%);
+ border-color: darken($cc--button-color, 20%);
+ }
+
+ .pager li > a,
+ .pager li > span {
+ background-color: $cc--button-color;
+ border-color: $cc--button-color;
+ }
+
+ .pager li.disabled > a,
+ .pager li.disabled > span {
+ background-color: $cc--button-color !important;
+ border-color: $cc--button-color;
+ }
+}
+
+// spinner!
+.client--cc {
+ .btn-spinner {
+ color: $cc--button-color;
+ }
+ .spinner-circle {
+ border-color: $cc--button-color;
+ }
+ .spinner-inner {
+ color: $cc--button-color;
+ display: none;
+ }
+}
+
+// intercom stuff
+.client--cc {
+ #intercom-container .intercom-launcher-button {
+ background-color: $cc--button-color !important;;
+ border-color: $cc--button-color !important;;
+ }
+}
+
+// notifications
+.client--cc .ascribe-global-notification-success {
+ background-color: lighten($cc--button-color, 50%);
+}
+
+// progress bar
+.client--cc .ascribe-progress-bar > .progress-bar {
+ background-color: $cc--button-color;
+}
diff --git a/sass/whitelabel/wallet/cyland/cyland_custom_style.scss b/sass/whitelabel/wallet/cyland/cyland_custom_style.scss
new file mode 100644
index 00000000..c33e247b
--- /dev/null
+++ b/sass/whitelabel/wallet/cyland/cyland_custom_style.scss
@@ -0,0 +1,181 @@
+$cyland--nav-bg-color: #fcfcfc;
+$cyland--nav-fg-prim-color: #1E1E1E;
+$cyland--button-color: $cyland--nav-fg-prim-color;
+
+.client--cyland {
+ .navbar-default {
+ background-color: $cyland--nav-bg-color;
+ box-shadow: none;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+ }
+ .navbar-nav > li > a,
+ .navbar-nav > li > .active a {
+ color: $cyland--nav-fg-prim-color;
+ background-color: $cyland--nav-bg-color;
+ }
+ .navbar-nav > li > a:hover {
+ color: lighten($cyland--nav-fg-prim-color, 40%);
+ }
+ .navbar-nav > .active a,
+ .navbar-nav > .active a:hover,
+ .navbar-nav > .active a:focus {
+ color: $cyland--nav-fg-prim-color;
+ border-bottom-color: $cyland--nav-fg-prim-color;
+ background-color: $cyland--nav-bg-color;
+ }
+ .dropdown-menu > li > a:hover,
+ .dropdown-menu > li > a:focus {
+ color: lighten($cyland--nav-fg-prim-color, 40%);
+ background-color: $cyland--nav-bg-color;
+ }
+ .navbar-nav > .open > a,
+ .navbar-nav > .open > a:hover,
+ .navbar-nav > .open > a:focus,
+ .dropdown-menu > .active > a,
+ .dropdown-menu > .active > a:hover,
+ .dropdown-menu > .active > a:focus {
+ color: lighten($cyland--nav-fg-prim-color, 40%);
+ background-color: $cyland--nav-bg-color;
+ }
+ .dropdown-menu {
+ background-color: $cyland--nav-bg-color;
+ }
+
+ .dropdown-menu > li > a {
+ color: $cyland--nav-fg-prim-color;
+ }
+
+ .navbar-toggle .icon-bar {
+ background-color: $cyland--nav-fg-prim-color;
+ }
+
+ .navbar-toggle:hover,
+ .navbar-toggle:focus {
+ background-color: $cyland--nav-bg-color;
+ }
+}
+
+.client--cyland .ascribe-footer {
+ display: none;
+}
+
+
+.client--cyland .icon-ascribe-search{
+ color: $cyland--button-color;
+}
+
+.client--cyland .ascribe-piece-list-toolbar .btn-ascribe-add{
+ display: none;
+}
+
+// disabled buttons
+.client--cyland {
+ .btn-default.disabled,
+ .btn-default.disabled:hover,
+ .btn-default.disabled:focus,
+ .btn-default.disabled.focus,
+ .btn-default.disabled:active,
+ .btn-default.disabled.active,
+ .btn-default[disabled],
+ .btn-default[disabled]:hover,
+ .btn-default[disabled]:focus,
+ .btn-default[disabled].focus,
+ .btn-default[disabled]:active,
+ .btn-default[disabled].active,
+ fieldset[disabled] .btn-default,
+ fieldset[disabled] .btn-default:hover,
+ fieldset[disabled] .btn-default:focus,
+ fieldset[disabled] .btn-default.focus,
+ fieldset[disabled] .btn-default:active,
+ fieldset[disabled] .btn-default.active {
+ background-color: darken($cyland--button-color, 20%);
+ border-color: darken($cyland--button-color, 20%);
+ }
+}
+
+// buttons!
+// thought of the day:
+// "every great atrocity is the result of people just following orders"
+.client--cyland {
+ .ascribe-piece-list-toolbar-filter-widget button {
+ color: $cyland--button-color !important;
+ background-color: transparent !important;
+ border-color: transparent !important;
+
+ &:hover,
+ &:active {
+ background-color: $cyland--button-color !important;
+ border-color: $cyland--button-color !important;
+ color: white !important;
+ }
+ }
+
+ .btn-wide,
+ .btn-default {
+ background-color: $cyland--button-color;
+ border-color: $cyland--button-color;
+
+ &:hover,
+ &:active,
+ &:focus,
+ &:active:hover,
+ &:active:focus,
+ &:active.focus,
+ &.active:hover,
+ &.active:focus,
+ &.active.focus {
+ background-color: lighten($cyland--button-color, 20%);
+ border-color: lighten($cyland--button-color, 20%);
+ }
+ }
+
+ .open > .btn-default.dropdown-toggle:hover,
+ .open > .btn-default.dropdown-toggle:focus,
+ .open > .btn-default.dropdown-toggle.focus,
+ .open > .btn-default.dropdown-toggle.dropdown-toggle {
+ background-color: darken($cyland--button-color, 20%);
+ border-color: darken($cyland--button-color, 20%);
+ }
+
+ .pager li > a, .pager li > span {
+ background-color: $cyland--button-color;
+ border-color: $cyland--button-color;
+ }
+ .pager li.disabled > a,
+ .pager li.disabled > span {
+ background-color: $cyland--button-color !important;
+ border-color: $cyland--button-color;
+ }
+}
+
+// spinner!
+.client--cyland {
+ .btn-spinner {
+ color: $cyland--button-color;
+ }
+ .spinner-circle {
+ border-color: $cyland--button-color;
+ }
+ .spinner-inner {
+ color: $cyland--button-color;
+ display: none;
+ }
+}
+
+// intercom stuff
+.client--cyland {
+ #intercom-container .intercom-launcher-button {
+ background-color: $cyland--button-color !important;;
+ border-color: $cyland--button-color !important;;
+ }
+}
+
+// notifications
+.client--cyland .ascribe-global-notification-success {
+ background-color: lighten($cyland--button-color, 50%);
+}
+
+// progress bar
+.client--cyland .ascribe-progress-bar > .progress-bar {
+ background-color: $cyland--button-color;
+}
diff --git a/sass/whitelabel/wallet/ikonotv/ikonotv_landing.scss b/sass/whitelabel/wallet/ikonotv/ikonotv_custom_style.scss
similarity index 75%
rename from sass/whitelabel/wallet/ikonotv/ikonotv_landing.scss
rename to sass/whitelabel/wallet/ikonotv/ikonotv_custom_style.scss
index 982fda69..5fc9220b 100644
--- a/sass/whitelabel/wallet/ikonotv/ikonotv_landing.scss
+++ b/sass/whitelabel/wallet/ikonotv/ikonotv_custom_style.scss
@@ -2,7 +2,7 @@ $ikono--landing-bg-color: #093;
$ikono--bg-color: #06c;
$ikono--button-color: $ikono--bg-color;
$ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ikono_tv.png';
-
+$ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
@include keyframes(color-loop) {
0% { background: $ikono--landing-bg-color; }
@@ -12,23 +12,16 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
.client--ikonotv {
- font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
+ font-family: $ikono--font;
+ h1, h3 {
+ font-family: $ikono--font;
+ }
}
-.navbar-default .navbar-nav > .active a:hover, .navbar-default .navbar-nav > .active a:focus {
-
-}
-
.client--ikonotv .navbar-default {
background-color: $ikono--bg-color;
-
- // this is a horrible hack
- .navbar-nav > li > a[href="https://www.ascribe.io/"] {
- font-size: 11px;
- text-transform: none;
- font-weight: normal;
- }
+ box-shadow: none;
.navbar-nav > li > a,
.navbar-nav > li > .active a {
@@ -47,6 +40,8 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
.navbar-nav > .active a:focus {
color: black;
border-bottom-color: transparent;
+ background-color: transparent;
+ font-weight: bold;
}
.navbar-nav > .active {
@@ -67,6 +62,30 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
background-color: $ikono--bg-color;
}
+ .dropdown-menu {
+ background-color: $ikono--bg-color;
+ }
+
+ .dropdown-menu > li > a {
+ color: white;
+ font-weight: bold;
+ }
+
+ .dropdown-menu > li > a:hover,
+ .dropdown-menu > li > a:focus {
+ color: $ikono--bg-color;
+ background-color: white;
+ }
+
+ .notification-menu {
+ .dropdown-menu {
+ background-color: white;
+ li:hover {
+ background-color: rgba($ikono--button-color, 0.1);
+ }
+ }
+ }
+
.img-brand.navbar-brand {
width: 0;
height: 0;
@@ -92,6 +111,8 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
.client--ikonotv .route--landing {
background-color: $ikono--landing-bg-color;
animation: color-loop 20s;
+ -o-animation: color-loop 20s infinite;
+ -ms-animation: color-loop 20s infinite;
-moz-animation: color-loop 20s infinite;
-webkit-animation: color-loop 20s infinite;
@@ -105,7 +126,7 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
.client--ikonotv .route--signup {
background-color: $ikono--landing-bg-color;
- .ascribe-btn-login {
+ .btn-wide {
display: block;
margin: 50px auto 0;
width: auto;
@@ -115,7 +136,7 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
width: 180px;
}
- .ascribe-btn-login-spinner {
+ .btn-spinner {
background-color: $ikono--button-color;
}
@@ -138,11 +159,10 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
text-align: center;
font-size: 22px;
text-indent: -99999px;
- font-size: 0;
}
}
- .ascribe-settings-wrapper {
+ .ascribe-property-wrapper {
background-color: transparent;
&:hover {
@@ -154,15 +174,15 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
}
}
- .ascribe-settings-property {
+ .ascribe-property {
border: none;
}
- .ascribe-settings-property > span {
+ .ascribe-property > span {
color: white;
}
- .ascribe-settings-property > input {
+ .ascribe-property > input {
padding: 10px;
background-color: #fff;
margin-top: .1em;
@@ -205,6 +225,30 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
display: none;
}
+.client--ikonotv .icon-ascribe-search{
+ color: $ikono--button-color;
+}
+
+.client--ikonotv .ascribe-piece-list-toolbar .btn-ascribe-add{
+ display: none;
+}
+
+// spinner!
+.client--ikonotv {
+
+ .btn-spinner {
+ color: $ikono--button-color;
+ }
+ .spinner-circle {
+ border-color: $ikono--button-color;
+ }
+ .spinner-inner {
+ display: none;
+ font-family: $ascribe--font;
+ color: $ikono--button-color;
+ }
+}
+
.ikonotv-landing {
/* center all text on the page */
text-align: center;
@@ -250,7 +294,7 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
}
}
}
-
+
> h2 {
font-weight: 600;
font-size: 2.75em;
@@ -336,31 +380,34 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
// "every great atrocity is the result of people just following orders"
.client--ikonotv {
.ascribe-piece-list-toolbar-filter-widget button {
- background-color: transparent;
- border: 1px solid transparent;
- color: $ikono--button-color;
+ color: $ikono--button-color !important;
+ background-color: transparent !important;
+ border-color: transparent !important;
&:hover,
&:active {
background-color: $ikono--button-color !important;
border-color: $ikono--button-color !important;
- color: white;
+ color: white !important;
}
}
- .ascribe-btn-login,
+ .btn-wide,
.btn-default {
background-color: $ikono--button-color;
border-color: $ikono--button-color;
+ &:hover,
+ &:active,
+ &:focus,
&:active:hover,
&:active:focus,
&:active.focus,
&.active:hover,
&.active:focus,
&.active.focus {
- background-color: darken($ikono--button-color, 20%);
- border-color: darken($ikono--button-color, 20%);
+ background-color: lighten($ikono--button-color, 20%);
+ border-color: lighten($ikono--button-color, 20%);
}
}
@@ -376,6 +423,12 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
background-color: $ikono--button-color;
border-color: $ikono--button-color;
}
+
+ .pager li.disabled > a,
+ .pager li.disabled > span {
+ background-color: $ikono--button-color !important;
+ border-color: $ikono--button-color;
+ }
}
// inputs!
@@ -390,20 +443,55 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
border-color: $ikono--button-color;
}
- .ascribe-settings-property-collapsible-toggle [type=checkbox]:checked + .checkbox:before,
+ .ascribe-property-collapsible-toggle [type=checkbox]:checked + .checkbox:before,
.ascribe-checkbox-wrapper [type=checkbox]:checked + .checkbox:before {
color: $ikono--button-color;
}
+ .search-bar > .form-group > .input-group > .input-group-addon {
+ border-color: transparent;
+ }
}
// properties!
.client--ikonotv {
+ input {
+ background-color: white;
+ }
+ .ascribe-property {
+ > div,
+ > input,
+ > pre,
+ > select,
+ > span:not(.glyphicon),
+ > textarea {
+ font-family: $ikono--font;
+ }
+ > div {
+ > div:not(.file-drag-and-drop div) {
+ font-family: $ikono--font;
+ }
+ }
+ }
.is-focused {
border-left-color: $ikono--button-color !important;
background-color: rgba($ikono--button-color, .05);
}
- .ascribe-settings-wrapper:hover {
+ .is-error {
+ > div {
+ > span {
+ color: white !important;
+ }
+ > input,
+ > textarea {
+ color: rgba($ascribe-red-error, 1) !important;
+ }
+ }
+ &:hover {
+ border-left: 3px solid rgba($ascribe-red-error, .5)!important;
+ }
+ }
+ .ascribe-property-wrapper:hover {
border-left-color: rgba($ikono--button-color, .5);
}
}
@@ -418,15 +506,15 @@ $ikono--logo: 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ik
// intercom stuff
.client--ikonotv {
#intercom-container .intercom-launcher-button {
- background-color: $ikono--button-color;
- border-color: $ikono--button-color;
+ background-color: $ikono--button-color !important;;
+ border-color: $ikono--button-color !important;;
}
}
// notifications
.client--ikonotv .ascribe-global-notification-success {
- background-color: $ikono--button-color;
+ background-color: lighten($ikono--button-color, 20%);
}
// progress bar
diff --git a/sass/whitelabel/wallet/index.scss b/sass/whitelabel/wallet/index.scss
index 4ec76076..024fb3cc 100644
--- a/sass/whitelabel/wallet/index.scss
+++ b/sass/whitelabel/wallet/index.scss
@@ -1,3 +1,7 @@
+@import 'cc/cc_custom_style';
+@import 'cyland/cyland_custom_style';
+@import 'ikonotv/ikonotv_custom_style';
+
.ascribe-wallet-app {
border-radius: 0;
padding-top: 70px;