Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,158 @@
@timely-font-path: @fontdir_default;
@font-face {
font-family: 'Timely Logo Icon';
src: url('@{timely-font-path}/ai1ec-icons.eot');
src: url(data:application/x-font-woff;charset=utf-8;base64,__BASE64_FONT_AI1EC_ai1ec-icons.woff__) format('woff'),
url('@{fa-font-path}/ai1ec-icons.eot?#iefix&v=@{fa-version}') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
/* Use the following CSS code if you want to have a class per icon */
[class^="ai1ec-icon-"]:before, [class*=" ai1ec-icon-"]:before {
display: inline-block;
font-family: 'Timely Logo Icon';
font-style: normal;
font-weight: normal;
speak: none;
vertical-align: baseline;
}
.ai1ec-icon-agenda:before {
content: "\e603";
}
.ai1ec-icon-oneday:before {
content: "\e604";
}
.ai1ec-icon-month:before {
content: "\e602";
}
.ai1ec-icon-week:before {
content: "\e605";
}
.ai1ec-icon-posterboard:before {
content: "\e600";
}
.ai1ec-icon-stream:before {
content: "\e601";
}
.ai1ec-icon-calendar:before {
content: "\f073";
}
.ai1ec-icon-rss:before {
content: "\f09e";
}
.ai1ec-icon-google:before {
content: "\f0d5";
}
.ai1ec-icon-apple:before {
content: "\f179";
}
.ai1ec-icon-windows:before {
content: "\f17a";
}
.ai1ec-icon-timely:before {
content: "\21";
}
.timely-icon-timely-logomark:before {
content: "\21";
}
.timely-icon-import-events:before {
content: "\22";
}
.timely-icon-export-events:before {
content: "\23";
}
.timely-icon-facebook-sync:before {
content: "\24";
}
.timely-icon-filter-tag-category:before {
content: "\25";
}
.timely-icon-subscribe-events:before {
content: "\26";
}
.timely-icon-recurring-events:before {
content: "\27";
}
.timely-icon-multiple-views:before {
content: "\28";
}
.timely-icon-customizable-views:before {
content: "\29";
}
.timely-icon-upcoming-events-widget:before {
content: "\2a";
}
.timely-icon-locations-maps:before {
content: "\2b";
}
.timely-icon-seo-optimized:before {
content: "\2c";
}
.timely-icon-dedicated-support:before {
content: "\2d";
}
.timely-icon-plus-sign:before {
content: "\2e";
}
.timely-icon-minus-sign:before {
content: "\2f";
}
.timely-icon-chevron-right:before {
content: "\30";
}
.timely-icon-chevron-left:before {
content: "\31";
}
.timely-icon-chevron-down:before {
content: "\32";
}
.timely-icon-chevron-up:before {
content: "\33";
}
.timely-icon-arrow-right:before {
content: "\34";
}
.timely-icon-arrow-left:before {
content: "\35";
}
.timely-icon-arrow-up:before {
content: "\36";
}
.timely-icon-arrow-down:before {
content: "\37";
}
.timely-icon-pencil:before {
content: "\3c";
}
.timely-icon-gear:before {
content: "\3e";
}
.timely-icon-tag:before {
content: "\3f";
}
.timely-icon-forward:before {
content: "\3b";
}
.timely-icon-close:before {
content: "\3a";
}
.timely-icon-heart:before {
content: "\3d";
}
.timely-icon-folder:before {
content: "\40";
}
.timely-icon-grid:before {
content: "\41";
}
.timely-icon-plus:before {
content: "\42";
}
.timely-icon-minus:before {
content: "\43";
}
.timely-icon-print:before {
content: "\38";
}

View File

@@ -0,0 +1,74 @@
//
// Alerts
// --------------------------------------------------
// Base styles
// -------------------------
.ai1ec-alert {
padding: @alert-padding;
margin-bottom: @line-height-computed;
border: 1px solid transparent;
border-radius: @alert-border-radius;
// Headings for larger alerts
h4 {
margin-top: 0;
// Specified for the h4 to prevent conflicts of changing @headings-color
color: inherit;
}
// Provide class for links that match alerts
.ai1ec-alert-link {
font-weight: @alert-link-font-weight;
}
// Improve alignment and spacing of inner content
> p,
> ul {
margin-bottom: 0;
}
> p + p {
margin-top: 5px;
}
}
// Dismissable alerts
//
// Expand the right padding and account for the close button's positioning.
.ai1ec-alert-dismissable {
padding-right: (@alert-padding + 20);
// Adjust close link position
.ai1ec-close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
}
// Alternate styles
//
// Generate contextual modifier classes for colorizing the alert.
.ai1ec-alert-success {
.ai1ec-alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
}
.ai1ec-alert-info {
.ai1ec-alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
}
.ai1ec-alert-warning {
.ai1ec-alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
}
.ai1ec-alert-danger {
.ai1ec-alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
font-size: 13px;
font-family: sans-serif;
line-height: 1.8;
a {
line-height: 1.8;
text-decoration: underline !important;
}
}

View File

@@ -0,0 +1,51 @@
//
// Badges
// --------------------------------------------------
// Base classes
.ai1ec-badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: @font-size-small;
font-weight: @badge-font-weight;
color: @badge-color;
line-height: @badge-line-height;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: @badge-bg;
border-radius: @badge-border-radius;
// Empty badges collapse automatically (not available in IE8)
&:empty {
display: none;
}
// Quick fix for badges in buttons
.ai1ec-btn & {
position: relative;
top: -1px;
}
}
// Hover state, but only for links
a.ai1ec-badge {
&:hover,
&:focus {
color: @badge-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
// Account for counters in navs
a.ai1ec-list-group-item.ai1ec-active > .ai1ec-badge,
.ai1ec-nav-pills > .ai1ec-active > a > .ai1ec-badge {
color: @badge-active-color;
background-color: @badge-active-bg;
}
.ai1ec-nav-pills > li > a > .ai1ec-badge {
margin-left: 3px;
}

View File

@@ -0,0 +1,49 @@
// Core variables and mixins
@import "variables.less";
@import "mixins.less";
// Reset
@import "normalize.less";
@import "print.less";
// Core CSS
@import "scaffolding.less";
@import "type.less";
@import "code.less";
@import "grid.less";
@import "tables.less";
@import "forms.less";
@import "buttons.less";
// Components
@import "component-animations.less";
@import "glyphicons.less";
@import "dropdowns.less";
@import "button-groups.less";
@import "input-groups.less";
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";
@import "labels.less";
@import "badges.less";
@import "jumbotron.less";
@import "thumbnails.less";
@import "alerts.less";
@import "progress-bars.less";
@import "media.less";
@import "list-group.less";
@import "panels.less";
@import "wells.less";
@import "close.less";
// Components w/ JavaScript
@import "modals.less";
@import "tooltip.less";
@import "popovers.less";
@import "carousel.less";
// Utility classes
@import "utilities.less";
@import "responsive-utilities.less";

View File

@@ -0,0 +1,23 @@
//
// Breadcrumbs
// --------------------------------------------------
.ai1ec-breadcrumb {
padding: 8px 15px;
margin-bottom: @line-height-computed;
list-style: none;
background-color: @breadcrumb-bg;
border-radius: @border-radius-base;
> li {
display: inline-block;
+ li:before {
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: @breadcrumb-color;
}
}
> .ai1ec-active {
color: @breadcrumb-active-color;
}
}

View File

@@ -0,0 +1,227 @@
//
// Button groups
// --------------------------------------------------
// Make the div behave like a button
.ai1ec-btn-group,
.ai1ec-btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle; // match .ai1ec-btn alignment given font-size hack above
> .ai1ec-btn {
position: relative;
float: left;
// Bring the "active" button to the front
&:hover,
&:focus,
&:active,
&.ai1ec-active {
z-index: 2;
}
&:focus {
// Remove focus outline when dropdown JS adds it after closing the menu
outline: none;
}
}
}
// Prevent double borders when buttons are next to each other
.ai1ec-btn-group {
.ai1ec-btn + .ai1ec-btn,
.ai1ec-btn + .ai1ec-btn-group,
.ai1ec-btn-group + .ai1ec-btn,
.ai1ec-btn-group + .ai1ec-btn-group {
margin-left: -1px;
}
}
// Optional: Group multiple button groups together for a toolbar
.ai1ec-btn-toolbar {
.ai1ec-clearfix();
.ai1ec-btn-group {
float: left;
}
// Space out series of button groups
> .ai1ec-btn,
> .ai1ec-btn-group {
+ .ai1ec-btn,
+ .ai1ec-btn-group {
margin-left: 5px;
}
}
}
.ai1ec-btn-group > .ai1ec-btn:not(:first-child):not(:last-child):not(.ai1ec-dropdown-toggle) {
border-radius: 0;
}
// Set corners individual because sometimes a single button can be in a .ai1ec-btn-group and we need :first-child and :last-child to both match
.ai1ec-btn-group > .ai1ec-btn:first-child {
margin-left: 0;
&:not(:last-child):not(.ai1ec-dropdown-toggle) {
.ai1ec-border-right-radius(0);
}
}
// Need .ai1ec-dropdown-toggle since :last-child doesn't apply given a .ai1ec-dropdown-menu immediately after it
.ai1ec-btn-group > .ai1ec-btn:last-child:not(:first-child),
.ai1ec-btn-group > .ai1ec-dropdown-toggle:not(:first-child) {
.ai1ec-border-left-radius(0);
}
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
.ai1ec-btn-group > .ai1ec-btn-group {
float: left;
}
.ai1ec-btn-group > .ai1ec-btn-group:not(:first-child):not(:last-child) > .ai1ec-btn {
border-radius: 0;
}
.ai1ec-btn-group > .ai1ec-btn-group:first-child {
> .ai1ec-btn:last-child,
> .ai1ec-dropdown-toggle {
.ai1ec-border-right-radius(0);
}
}
.ai1ec-btn-group > .ai1ec-btn-group:last-child > .ai1ec-btn:first-child {
.ai1ec-border-left-radius(0);
}
// On active and open, don't show outline
.ai1ec-btn-group .ai1ec-dropdown-toggle:active,
.ai1ec-btn-group.ai1ec-open .ai1ec-dropdown-toggle {
outline: 0;
}
// Sizing
//
// Remix the default button sizing classes into new ones for easier manipulation.
.ai1ec-btn-group-xs > .ai1ec-btn { .ai1ec-btn-xs(); }
.ai1ec-btn-group-sm > .ai1ec-btn { .ai1ec-btn-sm(); }
.ai1ec-btn-group-lg > .ai1ec-btn { .ai1ec-btn-lg(); }
// Split button dropdowns
// ----------------------
// Give the line between buttons some depth
.ai1ec-btn-group > .ai1ec-btn + .ai1ec-dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
.ai1ec-btn-group > .ai1ec-btn-lg + .ai1ec-dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
// The clickable button for toggling the menu
// Remove the gradient and set the same inset shadow as the :active state
.ai1ec-btn-group.ai1ec-open .ai1ec-dropdown-toggle {
.ai1ec-box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
// Show no shadow for `.ai1ec-btn-link` since it has no other button styles.
&.ai1ec-btn-link {
.ai1ec-box-shadow(none);
}
}
// Reposition the caret
.ai1ec-btn .ai1ec-caret {
margin-left: 0;
}
// Carets in other button sizes
.ai1ec-btn-lg .ai1ec-caret {
border-width: @caret-width-large @caret-width-large 0;
border-bottom-width: 0;
}
// Upside down carets for .ai1ec-dropup
.ai1ec-dropup .ai1ec-btn-lg .ai1ec-caret {
border-width: 0 @caret-width-large @caret-width-large;
}
// Vertical button groups
// ----------------------
.ai1ec-btn-group-vertical {
> .ai1ec-btn,
> .ai1ec-btn-group,
> .ai1ec-btn-group > .ai1ec-btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
// Clear floats so dropdown menus can be properly placed
> .ai1ec-btn-group {
.ai1ec-clearfix();
> .ai1ec-btn {
float: none;
}
}
> .ai1ec-btn + .ai1ec-btn,
> .ai1ec-btn + .ai1ec-btn-group,
> .ai1ec-btn-group + .ai1ec-btn,
> .ai1ec-btn-group + .ai1ec-btn-group {
margin-top: -1px;
margin-left: 0;
}
}
.ai1ec-btn-group-vertical > .ai1ec-btn {
&:not(:first-child):not(:last-child) {
border-radius: 0;
}
&:first-child:not(:last-child) {
border-top-right-radius: @border-radius-base;
.ai1ec-border-bottom-radius(0);
}
&:last-child:not(:first-child) {
border-bottom-left-radius: @border-radius-base;
.ai1ec-border-top-radius(0);
}
}
.ai1ec-btn-group-vertical > .ai1ec-btn-group:not(:first-child):not(:last-child) > .ai1ec-btn {
border-radius: 0;
}
.ai1ec-btn-group-vertical > .ai1ec-btn-group:first-child {
> .ai1ec-btn:last-child,
> .ai1ec-dropdown-toggle {
.ai1ec-border-bottom-radius(0);
}
}
.ai1ec-btn-group-vertical > .ai1ec-btn-group:last-child > .ai1ec-btn:first-child {
.ai1ec-border-top-radius(0);
}
// Justified button groups
// ----------------------
.ai1ec-btn-group-justified {
display: table;
width: 100%;
table-layout: fixed;
border-collapse: separate;
> .ai1ec-btn,
> .ai1ec-btn-group {
float: none;
display: table-cell;
width: 1%;
}
> .ai1ec-btn-group .ai1ec-btn {
width: 100%;
}
}
// Checkbox and radio options
[data-toggle="buttons"] > .ai1ec-btn > input[type="radio"],
[data-toggle="buttons"] > .ai1ec-btn > input[type="checkbox"] {
display: none;
}

View File

@@ -0,0 +1,161 @@
//
// Buttons
// --------------------------------------------------
// Base styles
// --------------------------------------------------
.ai1ec-btn {
display: inline-block;
margin-bottom: 0; // For input.ai1ec-btn
font-weight: @btn-font-weight;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.ai1ec-com/necolas/normalize.ai1ec-css/issues/214
border: 1px solid transparent;
white-space: nowrap;
.ai1ec-button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
.ai1ec-user-select(none);
&:focus {
.ai1ec-tab-focus();
}
&:hover,
&:focus {
color: @btn-default-color;
text-decoration: none;
}
&:active,
&.ai1ec-active {
outline: 0;
background-image: none;
.ai1ec-box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
&.ai1ec-disabled,
&[disabled],
fieldset[disabled] & {
cursor: not-allowed;
pointer-events: none; // Future-proof disabling of clicks
.ai1ec-opacity(.65);
.ai1ec-box-shadow(none);
}
}
// Alternate buttons
// --------------------------------------------------
.ai1ec-btn-default {
.ai1ec-button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
}
.ai1ec-btn-primary {
.ai1ec-button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
}
// Warning appears as orange
.ai1ec-btn-warning {
.ai1ec-button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
}
// Danger and error appear as red
.ai1ec-btn-danger {
.ai1ec-button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
}
// Success appears as green
.ai1ec-btn-success {
.ai1ec-button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
}
// Info appears as blue-green
.ai1ec-btn-info {
.ai1ec-button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
}
// Button appears as inactive (with opacity)
.ai1ec-btn-inactive {
cursor: default;
.ai1ec-opacity(.65);
.ai1ec-box-shadow(none);
}
// Link buttons
// -------------------------
// Make a button look and behave like a link
.ai1ec-btn-link {
color: @link-color;
font-weight: normal;
cursor: pointer;
border-radius: 0;
&,
&:active,
&[disabled],
fieldset[disabled] & {
background-color: transparent;
.ai1ec-box-shadow(none);
}
&,
&:hover,
&:focus,
&:active {
border-color: transparent;
}
&:hover,
&:focus {
color: @link-hover-color;
text-decoration: underline;
background-color: transparent;
}
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus {
color: @btn-link-disabled-color;
text-decoration: none;
}
}
}
// Button Sizes
// --------------------------------------------------
.ai1ec-btn-lg {
// line-height: ensure even-numbered height of button next to large input
.ai1ec-button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}
.ai1ec-btn-sm {
// line-height: ensure proper height of button next to small input
.ai1ec-button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
.ai1ec-btn-xs {
.ai1ec-button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
// Block button
// --------------------------------------------------
.ai1ec-btn-block {
display: block;
width: 100%;
padding-left: 0;
padding-right: 0;
}
// Vertically space out multiple block buttons
.ai1ec-btn-block + .ai1ec-btn-block {
margin-top: 5px;
}
// Specificity overrides
input[type="submit"],
input[type="reset"],
input[type="button"] {
&.ai1ec-btn-block {
width: 100%;
}
}

View File

@@ -0,0 +1,232 @@
//
// Carousel
// --------------------------------------------------
// Wrapper for the slide container and indicators
.ai1ec-carousel {
position: relative;
}
.ai1ec-carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
> .ai1ec-item {
display: none;
position: relative;
.ai1ec-transition(.6s ease-in-out left);
// Account for jankitude on images
> img,
> a > img {
.ai1ec-img-responsive();
line-height: 1;
}
}
> .ai1ec-active,
> .ai1ec-next,
> .ai1ec-prev { display: block; }
> .ai1ec-active {
left: 0;
}
> .ai1ec-next,
> .ai1ec-prev {
position: absolute;
top: 0;
width: 100%;
}
> .ai1ec-next {
left: 100%;
}
> .ai1ec-prev {
left: -100%;
}
> .ai1ec-next.ai1ec-left,
> .ai1ec-prev.ai1ec-right {
left: 0;
}
> .ai1ec-active.ai1ec-left {
left: -100%;
}
> .ai1ec-active.ai1ec-right {
left: 100%;
}
}
// Left/right controls for nav
// ---------------------------
.ai1ec-carousel-control {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: @carousel-control-width;
.ai1ec-opacity(@carousel-control-opacity);
font-size: @carousel-control-font-size;
color: @carousel-control-color;
text-align: center;
text-shadow: @carousel-text-shadow;
// We can't have this transition here because WebKit cancels the carousel
// animation if you trip this while in the middle of another animation.
// Set gradients for backgrounds
&.ai1ec-left {
#gradient > .ai1ec-horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
}
&.ai1ec-right {
left: auto;
right: 0;
#gradient > .ai1ec-horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
}
// Hover/focus state
&:hover,
&:focus {
outline: none;
color: @carousel-control-color;
text-decoration: none;
.ai1ec-opacity(.9);
}
// Toggles
.ai1ec-icon-prev,
.ai1ec-icon-next,
.ai1ec-glyphicon-chevron-left,
.ai1ec-glyphicon-chevron-right {
position: absolute;
top: 50%;
z-index: 5;
display: inline-block;
}
.ai1ec-icon-prev,
.ai1ec-glyphicon-chevron-left {
left: 50%;
}
.ai1ec-icon-next,
.ai1ec-glyphicon-chevron-right {
right: 50%;
}
.ai1ec-icon-prev,
.ai1ec-icon-next {
width: 20px;
height: 20px;
margin-top: -10px;
margin-left: -10px;
font-family: serif;
}
.ai1ec-icon-prev {
&:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
}
}
.ai1ec-icon-next {
&:before {
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
}
}
}
// Optional indicator pips
//
// Add an unordered list with the following class and add a list item for each
// slide your carousel holds.
.ai1ec-carousel-indicators {
position: absolute;
bottom: 10px;
left: 50%;
z-index: 15;
width: 60%;
margin-left: -30%;
padding-left: 0;
list-style: none;
text-align: center;
li {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid @carousel-indicator-border-color;
border-radius: 10px;
cursor: pointer;
// IE8-9 hack for event handling
//
// Internet Explorer 8-9 does not support clicks on elements without a set
// `background-color`. We cannot use `filter` since that's not viewed as a
// background color by the browser. Thus, a hack is needed.
//
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
// set alpha transparency for the best results possible.
background-color: #000 \9; // IE8
background-color: rgba(0,0,0,0); // IE9
}
.ai1ec-active {
margin: 0;
width: 12px;
height: 12px;
background-color: @carousel-indicator-active-bg;
}
}
// Optional captions
// -----------------------------
// Hidden by default for smaller viewports
.ai1ec-carousel-caption {
position: absolute;
left: 15%;
right: 15%;
bottom: 20px;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: @carousel-caption-color;
text-align: center;
text-shadow: @carousel-text-shadow;
& .ai1ec-btn {
text-shadow: none; // No shadow for button elements in carousel-caption
}
}
// Scale up controls for tablets and up
@media screen and (min-width: @screen-sm-min) {
// Scale up the controls a smidge
.ai1ec-carousel-control {
.ai1ec-glyphicons-chevron-left,
.ai1ec-glyphicons-chevron-right,
.ai1ec-icon-prev,
.ai1ec-icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
}
}
// Show and left align the captions
.ai1ec-carousel-caption {
left: 20%;
right: 20%;
padding-bottom: 30px;
}
// Move up the indicators
.ai1ec-carousel-indicators {
bottom: 20px;
}
}

View File

@@ -0,0 +1,33 @@
//
// Close icons
// --------------------------------------------------
.ai1ec-close {
float: right;
font-size: (@font-size-base * 1.5);
font-weight: @close-font-weight;
line-height: 1;
color: @close-color;
text-shadow: @close-text-shadow;
.ai1ec-opacity(.2);
&:hover,
&:focus {
color: @close-color;
text-decoration: none;
cursor: pointer;
.ai1ec-opacity(.5);
}
// Additional properties for button version
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
button& {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
}

View File

@@ -0,0 +1,53 @@
//
// Code (inline and block)
// --------------------------------------------------
// Inline and block code styles
code,
kbd,
pre,
samp {
font-family: @font-family-monospace;
}
// Inline code
code {
padding: 2px 4px;
font-size: 90%;
color: @code-color;
background-color: @code-bg;
white-space: nowrap;
border-radius: @border-radius-base;
}
// Blocks of code
pre {
display: block;
padding: ((@line-height-computed - 1) / 2);
margin: 0 0 (@line-height-computed / 2);
font-size: (@font-size-base - 1); // 14px to 13px
line-height: @line-height-base;
word-break: break-all;
word-wrap: break-word;
color: @pre-color;
background-color: @pre-bg;
border: 1px solid @pre-border-color;
border-radius: @border-radius-base;
// Account for some code outputs that place code tags in pre tags
code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
}
// Enable scrollable blocks of code
.ai1ec-pre-scrollable {
max-height: @pre-scrollable-max-height;
overflow-y: scroll;
}

View File

@@ -0,0 +1,29 @@
//
// Component animations
// --------------------------------------------------
// Heads up!
//
// We don't use the `.ai1ec-opacity()` mixin here since it causes a bug with text
// fields in IE7-8. Source: https://github.ai1ec-com/twitter/bootstrap/pull/3552.
.ai1ec-fade {
opacity: 0;
.ai1ec-transition(opacity .15s linear);
&.ai1ec-in {
opacity: 1;
}
}
.ai1ec-collapse {
display: none;
&.ai1ec-in {
display: block;
}
}
.ai1ec-collapsing {
position: relative;
height: 0;
overflow: hidden;
.ai1ec-transition(height .35s ease);
}

View File

@@ -0,0 +1,187 @@
//
// Dropdown menus
// --------------------------------------------------
// Dropdown arrow/caret
.ai1ec-caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: @caret-width-base solid;
border-right: @caret-width-base solid transparent;
border-left: @caret-width-base solid transparent;
}
// The dropdown wrapper (div)
.ai1ec-dropdown {
position: relative;
}
// Prevent the focus on the dropdown toggle when closing dropdowns
.ai1ec-dropdown-toggle:focus {
outline: 0;
}
// The dropdown menu (ul)
.ai1ec-dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: @zindex-dropdown;
display: none; // none by default, but block on "open" of the menu
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0; // override default ul
list-style: none;
font-size: @font-size-base;
background-color: @dropdown-bg;
border: 1px solid @dropdown-fallback-border; // IE8 fallback
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
.ai1ec-box-shadow(0 6px 12px rgba(0,0,0,.175));
background-clip: padding-box;
// Aligns the dropdown menu to right
&.ai1ec-pull-right {
right: 0;
left: auto;
}
// Dividers (basically an hr) within the dropdown
.ai1ec-divider {
.ai1ec-nav-divider(@dropdown-divider-bg);
}
// Links within the dropdown menu
> li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: @line-height-base;
color: @dropdown-link-color;
white-space: nowrap; // prevent links from randomly breaking onto new lines
}
}
// Hover/Focus state
.ai1ec-dropdown-menu > li > a {
&:hover,
&:focus {
text-decoration: none;
color: @dropdown-link-hover-color;
background-color: @dropdown-link-hover-bg;
}
}
// Active state
.ai1ec-dropdown-menu > .ai1ec-active > a {
&,
&:hover,
&:focus {
color: @dropdown-link-active-color;
text-decoration: none;
outline: 0;
background-color: @dropdown-link-active-bg;
}
}
// Disabled state
//
// Gray out text and ensure the hover/focus state remains gray
.ai1ec-dropdown-menu > .ai1ec-disabled > a {
&,
&:hover,
&:focus {
color: @dropdown-link-disabled-color;
}
}
// Nuke hover/focus effects
.ai1ec-dropdown-menu > .ai1ec-disabled > a {
&:hover,
&:focus {
text-decoration: none;
background-color: transparent;
background-image: none; // Remove CSS gradient
.ai1ec-reset-filter();
cursor: not-allowed;
}
}
// Open state for the dropdown
.ai1ec-open {
// Show the menu
> .ai1ec-dropdown-menu {
display: block;
}
// Remove the outline when :focus is triggered
> a {
outline: 0;
}
}
// Dropdown section headers
.ai1ec-dropdown-header {
display: block;
padding: 3px 20px;
font-size: @font-size-small;
line-height: @line-height-base;
color: @dropdown-header-color;
}
// Backdrop to catch body clicks on mobile, etc.
.ai1ec-dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: @zindex-dropdown - 10;
}
// Right aligned dropdowns
.ai1ec-pull-right > .ai1ec-dropdown-menu {
right: 0;
left: auto;
}
// Allow for dropdowns to go bottom up (aka, dropup-menu)
//
// Just add .ai1ec-dropup after the standard .ai1ec-dropdown class and you're set, bro.
// TODO: abstract this so that the navbar fixed styles are not placed here?
.ai1ec-dropup,
.ai1ec-navbar-fixed-bottom .ai1ec-dropdown {
// Reverse the caret
.ai1ec-caret {
border-top: 0;
border-bottom: @caret-width-base solid;
content: "";
}
// Different positioning for bottom up menu
.ai1ec-dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 1px;
}
}
// Component alignment
//
// Reiterate per navbar.less and the modified component alignment there.
@media (min-width: @grid-float-breakpoint) {
.ai1ec-navbar-right {
.ai1ec-dropdown-menu {
.ai1ec-pull-right > .ai1ec-dropdown-menu();
}
}
}

View File

@@ -0,0 +1,375 @@
//
// Forms
// --------------------------------------------------
// Normalize non-controls
//
// Restyle and baseline non-control form elements.
fieldset {
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: @line-height-computed;
font-size: (@font-size-base * 1.5);
line-height: inherit;
color: @legend-color;
border: 0;
border-bottom: 1px solid @legend-border-color;
}
label {
display: inline-block;
margin-bottom: 5px;
font-weight: bold;
}
// Normalize form controls
// Override content-box in Normalize (* isn't specific enough)
input[type="search"] {
.ai1ec-box-sizing(border-box);
}
// Position radios and checkboxes better
input[type="radio"],
input[type="checkbox"] {
margin: 4px 0 0;
margin-top: 1px \9; /* IE8-9 */
line-height: normal;
}
// Set the height of select and file controls to match text inputs
input[type="file"] {
display: block;
}
// Make multiple select elements height not fixed
select[multiple],
select[size] {
height: auto;
}
// Fix optgroup Firefox bug per https://github.ai1ec-com/twbs/bootstrap/issues/7611
select optgroup {
font-size: inherit;
font-style: inherit;
font-family: inherit;
}
// Focus for select, file, radio, and checkbox
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
.ai1ec-tab-focus();
}
// Fix for Chrome number input
// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.
// See https://github.ai1ec-com/twbs/bootstrap/issues/8350 for more.
input[type="number"] {
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
height: auto;
}
}
// Adjust output element
output {
display: block;
padding-top: (@padding-base-vertical + 1);
font-size: @font-size-base;
line-height: @line-height-base;
color: @input-color;
vertical-align: middle;
}
// Common form controls
//
// Shared size and type resets for form controls. Apply `.ai1ec-form-control` to any
// of the following form controls:
//
// select
// textarea
// input[type="text"]
// input[type="password"]
// input[type="datetime"]
// input[type="datetime-local"]
// input[type="date"]
// input[type="month"]
// input[type="time"]
// input[type="week"]
// input[type="number"]
// input[type="email"]
// input[type="url"]
// input[type="search"]
// input[type="tel"]
// input[type="color"]
.ai1ec-form-control {
display: block;
width: 100%;
height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
padding: @padding-base-vertical @padding-base-horizontal;
font-size: @font-size-base;
line-height: @line-height-base;
color: @input-color;
vertical-align: middle;
background-color: @input-bg;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.ai1ec-com/necolas/normalize.ai1ec-css/issues/214
border: 1px solid @input-border;
border-radius: @input-border-radius;
.ai1ec-box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.ai1ec-transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
// Customize the `:focus` state to imitate native WebKit styles.
.ai1ec-form-control-focus();
// Placeholder
//
// Placeholder text gets special styles because when browsers invalidate entire
// lines if it doesn't understand a selector/
.ai1ec-placeholder();
// Disabled and read-only inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// be disabled if the fieldset is disabled. Due to implementation difficulty,
// we don't honor that edge case; we style them as disabled anyway.
&[disabled],
&[readonly],
fieldset[disabled] & {
cursor: not-allowed;
background-color: @input-bg-disabled;
}
// Reset height for `textarea`s
textarea& {
height: auto;
}
}
// Form groups
//
// Designed to help with the organization and spacing of vertical forms. For
// horizontal forms, use the predefined grid classes.
.ai1ec-form-group {
margin-bottom: 15px;
}
// Checkboxes and radios
//
// Indent the labels to position radios/checkboxes as hanging controls.
.ai1ec-radio,
.ai1ec-checkbox {
display: block;
min-height: @line-height-computed; // clear the floating input if there is no label text
margin-top: 10px;
margin-bottom: 10px;
padding-left: 20px;
vertical-align: middle;
label {
display: inline;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
}
.ai1ec-radio input[type="radio"],
.ai1ec-radio-inline input[type="radio"],
.ai1ec-checkbox input[type="checkbox"],
.ai1ec-checkbox-inline input[type="checkbox"] {
float: left;
margin-left: -20px;
}
.ai1ec-radio + .ai1ec-radio,
.ai1ec-checkbox + .ai1ec-checkbox {
margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
}
// Radios and checkboxes on same line
.ai1ec-radio-inline,
.ai1ec-checkbox-inline {
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
vertical-align: middle;
font-weight: normal;
cursor: pointer;
}
.ai1ec-radio-inline + .ai1ec-radio-inline,
.ai1ec-checkbox-inline + .ai1ec-checkbox-inline {
margin-top: 0;
margin-left: 10px; // space out consecutive inline controls
}
// Apply same disabled cursor tweak as for inputs
//
// Note: Neither radios nor checkboxes can be readonly.
input[type="radio"],
input[type="checkbox"],
.ai1ec-radio,
.ai1ec-radio-inline,
.ai1ec-checkbox,
.ai1ec-checkbox-inline {
&[disabled],
fieldset[disabled] & {
cursor: not-allowed;
}
}
// Form control sizing
.ai1ec-input-sm {
.ai1ec-input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
.ai1ec-input-lg {
.ai1ec-input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}
// Form control feedback states
//
// Apply contextual and semantic states to individual form controls.
// Warning
.ai1ec-has-warning {
.ai1ec-form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);
}
// Error
.ai1ec-has-error {
.ai1ec-form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
}
// Success
.ai1ec-has-success {
.ai1ec-form-control-validation(@state-success-text; @state-success-text; @state-success-bg);
}
// Static form control text
//
// Apply class to a `p` element to make any string of text align with labels in
// a horizontal form layout.
.ai1ec-form-control-static {
margin-bottom: 0; // Remove default margin from `p`
}
// Help text
//
// Apply to any element you wish to create light text for placement immediately
// below a form control. Use for general help, formatting, or instructional text.
.ai1ec-help-block {
display: block; // account for any element using help-block
margin-top: 5px;
margin-bottom: 10px;
color: lighten(@text-color, 25%); // lighten the text some for contrast
}
// Inline forms
//
// Make forms appear inline(-block) by adding the `.ai1ec-form-inline` class. Inline
// forms begin stacked on extra small (mobile) devices and then go inline when
// viewports reach <768px.
//
// Requires wrapping inputs and labels with `.ai1ec-form-group` for proper display of
// default HTML form controls and our custom form controls (e.ai1ec-g., input groups).
//
// Heads up! This is mixin-ed into `.ai1ec-navbar-form` in navbars.less.
.ai1ec-form-inline {
// Kick in the inline
@media (min-width: @screen-sm) {
// Inline-block all the things for "inline"
.ai1ec-form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
// In navbar-form, allow folks to *not* use `.ai1ec-form-group`
.ai1ec-form-control {
display: inline-block;
}
// Override `width: 100%;` when not within a `.ai1ec-form-group`
select.ai1ec-form-control {
width: auto;
}
// Remove default margin on radios/checkboxes that were used for stacking, and
// then undo the floating of radios and checkboxes to match (which also avoids
// a bug in WebKit: https://github.ai1ec-com/twbs/bootstrap/issues/1969).
.ai1ec-radio,
.ai1ec-checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
}
.ai1ec-radio input[type="radio"],
.ai1ec-checkbox input[type="checkbox"] {
float: none;
margin-left: 0;
}
}
}
// Horizontal forms
//
// Horizontal forms are built on grid classes and allow you to create forms with
// labels on the left and inputs on the right.
.ai1ec-form-horizontal {
// Consistent vertical alignment of labels, radios, and checkboxes
.ai1ec-control-label,
.ai1ec-radio,
.ai1ec-checkbox,
.ai1ec-radio-inline,
.ai1ec-checkbox-inline {
margin-top: 0;
margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
}
// Account for padding we're adding to ensure the alignment and of help text
// and other content below items
.ai1ec-radio,
.ai1ec-checkbox {
min-height: @line-height-computed + (@padding-base-vertical + 1);
}
// Make form groups behave like rows
.ai1ec-form-group {
.ai1ec-make-row();
}
.ai1ec-form-control-static {
padding-top: (@padding-base-vertical + 1);
}
// Only right align form labels here when the columns stop stacking
@media (min-width: @screen-sm-min) {
.ai1ec-control-label {
text-align: right;
}
}
}

View File

@@ -0,0 +1,237 @@
//
// Glyphicons for Bootstrap
//
// Since icons are fonts, they can be placed anywhere text is placed and are
// thus automatically sized to match the surrounding child. To use, create an
// inline element with the appropriate classes, like so:
//
// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
// Import the fonts
@font-face {
font-family: 'Glyphicons Halflings';
src: ~"url('@{icon-font-path}@{icon-font-name}.eot')";
src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')",
~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')",
~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')",
~"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')";
}
// Catchall baseclass
.ai1ec-glyphicon {
position: relative;
top: 1px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&:empty {
width: 1em;
}
}
// Individual icons
.ai1ec-glyphicon-asterisk { &:before { content: "\2a"; } }
.ai1ec-glyphicon-plus { &:before { content: "\2b"; } }
.ai1ec-glyphicon-euro { &:before { content: "\20ac"; } }
.ai1ec-glyphicon-minus { &:before { content: "\2212"; } }
.ai1ec-glyphicon-cloud { &:before { content: "\2601"; } }
.ai1ec-glyphicon-envelope { &:before { content: "\2709"; } }
.ai1ec-glyphicon-pencil { &:before { content: "\270f"; } }
.ai1ec-glyphicon-glass { &:before { content: "\e001"; } }
.ai1ec-glyphicon-music { &:before { content: "\e002"; } }
.ai1ec-glyphicon-search { &:before { content: "\e003"; } }
.ai1ec-glyphicon-heart { &:before { content: "\e005"; } }
.ai1ec-glyphicon-star { &:before { content: "\e006"; } }
.ai1ec-glyphicon-star-empty { &:before { content: "\e007"; } }
.ai1ec-glyphicon-user { &:before { content: "\e008"; } }
.ai1ec-glyphicon-film { &:before { content: "\e009"; } }
.ai1ec-glyphicon-th-large { &:before { content: "\e010"; } }
.ai1ec-glyphicon-th { &:before { content: "\e011"; } }
.ai1ec-glyphicon-th-list { &:before { content: "\e012"; } }
.ai1ec-glyphicon-ok { &:before { content: "\e013"; } }
.ai1ec-glyphicon-remove { &:before { content: "\e014"; } }
.ai1ec-glyphicon-zoom-in { &:before { content: "\e015"; } }
.ai1ec-glyphicon-zoom-out { &:before { content: "\e016"; } }
.ai1ec-glyphicon-off { &:before { content: "\e017"; } }
.ai1ec-glyphicon-signal { &:before { content: "\e018"; } }
.ai1ec-glyphicon-cog { &:before { content: "\e019"; } }
.ai1ec-glyphicon-trash { &:before { content: "\e020"; } }
.ai1ec-glyphicon-home { &:before { content: "\e021"; } }
.ai1ec-glyphicon-file { &:before { content: "\e022"; } }
.ai1ec-glyphicon-time { &:before { content: "\e023"; } }
.ai1ec-glyphicon-road { &:before { content: "\e024"; } }
.ai1ec-glyphicon-download-alt { &:before { content: "\e025"; } }
.ai1ec-glyphicon-download { &:before { content: "\e026"; } }
.ai1ec-glyphicon-upload { &:before { content: "\e027"; } }
.ai1ec-glyphicon-inbox { &:before { content: "\e028"; } }
.ai1ec-glyphicon-play-circle { &:before { content: "\e029"; } }
.ai1ec-glyphicon-repeat { &:before { content: "\e030"; } }
.ai1ec-glyphicon-refresh { &:before { content: "\e031"; } }
.ai1ec-glyphicon-list-alt { &:before { content: "\e032"; } }
.ai1ec-glyphicon-lock { &:before { content: "\e033"; } }
.ai1ec-glyphicon-flag { &:before { content: "\e034"; } }
.ai1ec-glyphicon-headphones { &:before { content: "\e035"; } }
.ai1ec-glyphicon-volume-off { &:before { content: "\e036"; } }
.ai1ec-glyphicon-volume-down { &:before { content: "\e037"; } }
.ai1ec-glyphicon-volume-up { &:before { content: "\e038"; } }
.ai1ec-glyphicon-qrcode { &:before { content: "\e039"; } }
.ai1ec-glyphicon-barcode { &:before { content: "\e040"; } }
.ai1ec-glyphicon-tag { &:before { content: "\e041"; } }
.ai1ec-glyphicon-tags { &:before { content: "\e042"; } }
.ai1ec-glyphicon-book { &:before { content: "\e043"; } }
.ai1ec-glyphicon-bookmark { &:before { content: "\e044"; } }
.ai1ec-glyphicon-print { &:before { content: "\e045"; } }
.ai1ec-glyphicon-camera { &:before { content: "\e046"; } }
.ai1ec-glyphicon-font { &:before { content: "\e047"; } }
.ai1ec-glyphicon-bold { &:before { content: "\e048"; } }
.ai1ec-glyphicon-italic { &:before { content: "\e049"; } }
.ai1ec-glyphicon-text-height { &:before { content: "\e050"; } }
.ai1ec-glyphicon-text-width { &:before { content: "\e051"; } }
.ai1ec-glyphicon-align-left { &:before { content: "\e052"; } }
.ai1ec-glyphicon-align-center { &:before { content: "\e053"; } }
.ai1ec-glyphicon-align-right { &:before { content: "\e054"; } }
.ai1ec-glyphicon-align-justify { &:before { content: "\e055"; } }
.ai1ec-glyphicon-list { &:before { content: "\e056"; } }
.ai1ec-glyphicon-indent-left { &:before { content: "\e057"; } }
.ai1ec-glyphicon-indent-right { &:before { content: "\e058"; } }
.ai1ec-glyphicon-facetime-video { &:before { content: "\e059"; } }
.ai1ec-glyphicon-picture { &:before { content: "\e060"; } }
.ai1ec-glyphicon-map-marker { &:before { content: "\e062"; } }
.ai1ec-glyphicon-adjust { &:before { content: "\e063"; } }
.ai1ec-glyphicon-tint { &:before { content: "\e064"; } }
.ai1ec-glyphicon-edit { &:before { content: "\e065"; } }
.ai1ec-glyphicon-share { &:before { content: "\e066"; } }
.ai1ec-glyphicon-check { &:before { content: "\e067"; } }
.ai1ec-glyphicon-move { &:before { content: "\e068"; } }
.ai1ec-glyphicon-step-backward { &:before { content: "\e069"; } }
.ai1ec-glyphicon-fast-backward { &:before { content: "\e070"; } }
.ai1ec-glyphicon-backward { &:before { content: "\e071"; } }
.ai1ec-glyphicon-play { &:before { content: "\e072"; } }
.ai1ec-glyphicon-pause { &:before { content: "\e073"; } }
.ai1ec-glyphicon-stop { &:before { content: "\e074"; } }
.ai1ec-glyphicon-forward { &:before { content: "\e075"; } }
.ai1ec-glyphicon-fast-forward { &:before { content: "\e076"; } }
.ai1ec-glyphicon-step-forward { &:before { content: "\e077"; } }
.ai1ec-glyphicon-eject { &:before { content: "\e078"; } }
.ai1ec-glyphicon-chevron-left { &:before { content: "\e079"; } }
.ai1ec-glyphicon-chevron-right { &:before { content: "\e080"; } }
.ai1ec-glyphicon-plus-sign { &:before { content: "\e081"; } }
.ai1ec-glyphicon-minus-sign { &:before { content: "\e082"; } }
.ai1ec-glyphicon-remove-sign { &:before { content: "\e083"; } }
.ai1ec-glyphicon-ok-sign { &:before { content: "\e084"; } }
.ai1ec-glyphicon-question-sign { &:before { content: "\e085"; } }
.ai1ec-glyphicon-info-sign { &:before { content: "\e086"; } }
.ai1ec-glyphicon-screenshot { &:before { content: "\e087"; } }
.ai1ec-glyphicon-remove-circle { &:before { content: "\e088"; } }
.ai1ec-glyphicon-ok-circle { &:before { content: "\e089"; } }
.ai1ec-glyphicon-ban-circle { &:before { content: "\e090"; } }
.ai1ec-glyphicon-arrow-left { &:before { content: "\e091"; } }
.ai1ec-glyphicon-arrow-right { &:before { content: "\e092"; } }
.ai1ec-glyphicon-arrow-up { &:before { content: "\e093"; } }
.ai1ec-glyphicon-arrow-down { &:before { content: "\e094"; } }
.ai1ec-glyphicon-share-alt { &:before { content: "\e095"; } }
.ai1ec-glyphicon-resize-full { &:before { content: "\e096"; } }
.ai1ec-glyphicon-resize-small { &:before { content: "\e097"; } }
.ai1ec-glyphicon-exclamation-sign { &:before { content: "\e101"; } }
.ai1ec-glyphicon-gift { &:before { content: "\e102"; } }
.ai1ec-glyphicon-leaf { &:before { content: "\e103"; } }
.ai1ec-glyphicon-fire { &:before { content: "\e104"; } }
.ai1ec-glyphicon-eye-open { &:before { content: "\e105"; } }
.ai1ec-glyphicon-eye-close { &:before { content: "\e106"; } }
.ai1ec-glyphicon-warning-sign { &:before { content: "\e107"; } }
.ai1ec-glyphicon-plane { &:before { content: "\e108"; } }
.ai1ec-glyphicon-calendar { &:before { content: "\e109"; } }
.ai1ec-glyphicon-random { &:before { content: "\e110"; } }
.ai1ec-glyphicon-comment { &:before { content: "\e111"; } }
.ai1ec-glyphicon-magnet { &:before { content: "\e112"; } }
.ai1ec-glyphicon-chevron-up { &:before { content: "\e113"; } }
.ai1ec-glyphicon-chevron-down { &:before { content: "\e114"; } }
.ai1ec-glyphicon-retweet { &:before { content: "\e115"; } }
.ai1ec-glyphicon-shopping-cart { &:before { content: "\e116"; } }
.ai1ec-glyphicon-folder-close { &:before { content: "\e117"; } }
.ai1ec-glyphicon-folder-open { &:before { content: "\e118"; } }
.ai1ec-glyphicon-resize-vertical { &:before { content: "\e119"; } }
.ai1ec-glyphicon-resize-horizontal { &:before { content: "\e120"; } }
.ai1ec-glyphicon-hdd { &:before { content: "\e121"; } }
.ai1ec-glyphicon-bullhorn { &:before { content: "\e122"; } }
.ai1ec-glyphicon-bell { &:before { content: "\e123"; } }
.ai1ec-glyphicon-certificate { &:before { content: "\e124"; } }
.ai1ec-glyphicon-thumbs-up { &:before { content: "\e125"; } }
.ai1ec-glyphicon-thumbs-down { &:before { content: "\e126"; } }
.ai1ec-glyphicon-hand-right { &:before { content: "\e127"; } }
.ai1ec-glyphicon-hand-left { &:before { content: "\e128"; } }
.ai1ec-glyphicon-hand-up { &:before { content: "\e129"; } }
.ai1ec-glyphicon-hand-down { &:before { content: "\e130"; } }
.ai1ec-glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
.ai1ec-glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
.ai1ec-glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
.ai1ec-glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
.ai1ec-glyphicon-globe { &:before { content: "\e135"; } }
.ai1ec-glyphicon-wrench { &:before { content: "\e136"; } }
.ai1ec-glyphicon-tasks { &:before { content: "\e137"; } }
.ai1ec-glyphicon-filter { &:before { content: "\e138"; } }
.ai1ec-glyphicon-briefcase { &:before { content: "\e139"; } }
.ai1ec-glyphicon-fullscreen { &:before { content: "\e140"; } }
.ai1ec-glyphicon-dashboard { &:before { content: "\e141"; } }
.ai1ec-glyphicon-paperclip { &:before { content: "\e142"; } }
.ai1ec-glyphicon-heart-empty { &:before { content: "\e143"; } }
.ai1ec-glyphicon-link { &:before { content: "\e144"; } }
.ai1ec-glyphicon-phone { &:before { content: "\e145"; } }
.ai1ec-glyphicon-pushpin { &:before { content: "\e146"; } }
.ai1ec-glyphicon-usd { &:before { content: "\e148"; } }
.ai1ec-glyphicon-gbp { &:before { content: "\e149"; } }
.ai1ec-glyphicon-sort { &:before { content: "\e150"; } }
.ai1ec-glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
.ai1ec-glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
.ai1ec-glyphicon-sort-by-order { &:before { content: "\e153"; } }
.ai1ec-glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
.ai1ec-glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
.ai1ec-glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
.ai1ec-glyphicon-unchecked { &:before { content: "\e157"; } }
.ai1ec-glyphicon-expand { &:before { content: "\e158"; } }
.ai1ec-glyphicon-collapse-down { &:before { content: "\e159"; } }
.ai1ec-glyphicon-collapse-up { &:before { content: "\e160"; } }
.ai1ec-glyphicon-log-in { &:before { content: "\e161"; } }
.ai1ec-glyphicon-flash { &:before { content: "\e162"; } }
.ai1ec-glyphicon-log-out { &:before { content: "\e163"; } }
.ai1ec-glyphicon-new-window { &:before { content: "\e164"; } }
.ai1ec-glyphicon-record { &:before { content: "\e165"; } }
.ai1ec-glyphicon-save { &:before { content: "\e166"; } }
.ai1ec-glyphicon-open { &:before { content: "\e167"; } }
.ai1ec-glyphicon-saved { &:before { content: "\e168"; } }
.ai1ec-glyphicon-import { &:before { content: "\e169"; } }
.ai1ec-glyphicon-export { &:before { content: "\e170"; } }
.ai1ec-glyphicon-send { &:before { content: "\e171"; } }
.ai1ec-glyphicon-floppy-disk { &:before { content: "\e172"; } }
.ai1ec-glyphicon-floppy-saved { &:before { content: "\e173"; } }
.ai1ec-glyphicon-floppy-remove { &:before { content: "\e174"; } }
.ai1ec-glyphicon-floppy-save { &:before { content: "\e175"; } }
.ai1ec-glyphicon-floppy-open { &:before { content: "\e176"; } }
.ai1ec-glyphicon-credit-card { &:before { content: "\e177"; } }
.ai1ec-glyphicon-transfer { &:before { content: "\e178"; } }
.ai1ec-glyphicon-cutlery { &:before { content: "\e179"; } }
.ai1ec-glyphicon-header { &:before { content: "\e180"; } }
.ai1ec-glyphicon-compressed { &:before { content: "\e181"; } }
.ai1ec-glyphicon-earphone { &:before { content: "\e182"; } }
.ai1ec-glyphicon-phone-alt { &:before { content: "\e183"; } }
.ai1ec-glyphicon-tower { &:before { content: "\e184"; } }
.ai1ec-glyphicon-stats { &:before { content: "\e185"; } }
.ai1ec-glyphicon-sd-video { &:before { content: "\e186"; } }
.ai1ec-glyphicon-hd-video { &:before { content: "\e187"; } }
.ai1ec-glyphicon-subtitles { &:before { content: "\e188"; } }
.ai1ec-glyphicon-sound-stereo { &:before { content: "\e189"; } }
.ai1ec-glyphicon-sound-dolby { &:before { content: "\e190"; } }
.ai1ec-glyphicon-sound-5-1 { &:before { content: "\e191"; } }
.ai1ec-glyphicon-sound-6-1 { &:before { content: "\e192"; } }
.ai1ec-glyphicon-sound-7-1 { &:before { content: "\e193"; } }
.ai1ec-glyphicon-copyright-mark { &:before { content: "\e194"; } }
.ai1ec-glyphicon-registration-mark { &:before { content: "\e195"; } }
.ai1ec-glyphicon-cloud-download { &:before { content: "\e197"; } }
.ai1ec-glyphicon-cloud-upload { &:before { content: "\e198"; } }
.ai1ec-glyphicon-tree-conifer { &:before { content: "\e199"; } }
.ai1ec-glyphicon-tree-deciduous { &:before { content: "\e200"; } }

View File

@@ -0,0 +1,79 @@
//
// Grid system
// --------------------------------------------------
// Set the container width, and override it for fixed navbars in media queries
.ai1ec-container {
.ai1ec-container-fixed();
@media (min-width: @screen-sm) {
width: @container-sm;
}
@media (min-width: @screen-md) {
width: @container-md;
}
@media (min-width: @screen-lg-min) {
width: @container-lg;
}
}
// mobile first defaults
.ai1ec-row {
.ai1ec-make-row();
}
// Common styles for small and large grid columns
.ai1ec-make-grid-columns();
// Extra small grid
//
// Columns, offsets, pushes, and pulls for extra small devices like
// smartphones.
.ai1ec-make-grid-columns-float(xs);
.ai1ec-make-grid(@grid-columns, xs, width);
.ai1ec-make-grid(@grid-columns, xs, pull);
.ai1ec-make-grid(@grid-columns, xs, push);
.ai1ec-make-grid(@grid-columns, xs, offset);
// Small grid
//
// Columns, offsets, pushes, and pulls for the small device range, from phones
// to tablets.
@media (min-width: @screen-sm-min) {
.ai1ec-make-grid-columns-float(sm);
.ai1ec-make-grid(@grid-columns, sm, width);
.ai1ec-make-grid(@grid-columns, sm, pull);
.ai1ec-make-grid(@grid-columns, sm, push);
.ai1ec-make-grid(@grid-columns, sm, offset);
}
// Medium grid
//
// Columns, offsets, pushes, and pulls for the desktop device range.
@media (min-width: @screen-md-min) {
.ai1ec-make-grid-columns-float(md);
.ai1ec-make-grid(@grid-columns, md, width);
.ai1ec-make-grid(@grid-columns, md, pull);
.ai1ec-make-grid(@grid-columns, md, push);
.ai1ec-make-grid(@grid-columns, md, offset);
}
// Large grid
//
// Columns, offsets, pushes, and pulls for the large desktop device range.
@media (min-width: @screen-lg-min) {
.ai1ec-make-grid-columns-float(lg);
.ai1ec-make-grid(@grid-columns, lg, width);
.ai1ec-make-grid(@grid-columns, lg, pull);
.ai1ec-make-grid(@grid-columns, lg, push);
.ai1ec-make-grid(@grid-columns, lg, offset);
}

View File

@@ -0,0 +1,136 @@
//
// Input groups
// --------------------------------------------------
// Base styles
// -------------------------
.ai1ec-input-group {
position: relative; // For dropdowns
display: table;
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
// Undo padding and float of grid classes
&[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
.ai1ec-form-control {
width: 100%;
margin-bottom: 0;
}
}
// Sizing options
//
// Remix the default form control sizing classes into new ones for easier
// manipulation.
.ai1ec-input-group-lg > .ai1ec-form-control,
.ai1ec-input-group-lg > .ai1ec-input-group-addon,
.ai1ec-input-group-lg > .ai1ec-input-group-btn > .ai1ec-btn { .ai1ec-input-lg(); }
.ai1ec-input-group-sm > .ai1ec-form-control,
.ai1ec-input-group-sm > .ai1ec-input-group-addon,
.ai1ec-input-group-sm > .ai1ec-input-group-btn > .ai1ec-btn { .ai1ec-input-sm(); }
// Display as table-cell
// -------------------------
.ai1ec-input-group-addon,
.ai1ec-input-group-btn,
.ai1ec-input-group .ai1ec-form-control {
display: table-cell;
&:not(:first-child):not(:last-child) {
border-radius: 0;
}
}
// Addon and addon wrapper for buttons
.ai1ec-input-group-addon,
.ai1ec-input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle; // Match the inputs
}
// Text input groups
// -------------------------
.ai1ec-input-group-addon {
padding: @padding-base-vertical @padding-base-horizontal;
font-size: @font-size-base;
font-weight: normal;
line-height: 1;
color: @input-color;
text-align: center;
background-color: @input-group-addon-bg;
border: 1px solid @input-group-addon-border-color;
border-radius: @border-radius-base;
// Sizing
&.ai1ec-input-sm {
padding: @padding-small-vertical @padding-small-horizontal;
font-size: @font-size-small;
border-radius: @border-radius-small;
}
&.ai1ec-input-lg {
padding: @padding-large-vertical @padding-large-horizontal;
font-size: @font-size-large;
border-radius: @border-radius-large;
}
// Nuke default margins from checkboxes and radios to vertically center within.
input[type="radio"],
input[type="checkbox"] {
margin-top: 0;
}
}
// Reset rounded corners
.ai1ec-input-group .ai1ec-form-control:first-child,
.ai1ec-input-group-addon:first-child,
.ai1ec-input-group-btn:first-child > .ai1ec-btn,
.ai1ec-input-group-btn:first-child > .ai1ec-dropdown-toggle,
.ai1ec-input-group-btn:last-child > .ai1ec-btn:not(:last-child):not(.ai1ec-dropdown-toggle) {
.ai1ec-border-right-radius(0);
}
.ai1ec-input-group-addon:first-child {
border-right: 0;
}
.ai1ec-input-group .ai1ec-form-control:last-child,
.ai1ec-input-group-addon:last-child,
.ai1ec-input-group-btn:last-child > .ai1ec-btn,
.ai1ec-input-group-btn:last-child > .ai1ec-dropdown-toggle,
.ai1ec-input-group-btn:first-child > .ai1ec-btn:not(:first-child) {
.ai1ec-border-left-radius(0);
}
.ai1ec-input-group-addon:last-child {
border-left: 0;
}
// Button input groups
// -------------------------
.ai1ec-input-group-btn {
position: relative;
white-space: nowrap;
// Negative margin to only have a 1px border between the two
&:first-child > .ai1ec-btn {
margin-right: -1px;
}
&:last-child > .ai1ec-btn {
margin-left: -1px;
}
}
.ai1ec-input-group-btn > .ai1ec-btn {
position: relative;
// Jankily prevent input button groups from wrapping
+ .ai1ec-btn {
margin-left: -4px;
}
// Bring the "active" button to the front
&:hover,
&:active {
z-index: 2;
}
}

View File

@@ -0,0 +1,46 @@
//
// Jumbotron
// --------------------------------------------------
.ai1ec-jumbotron {
padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding;
font-size: @jumbotron-font-size;
font-weight: 200;
line-height: (@line-height-base * 1.5);
color: @jumbotron-color;
background-color: @jumbotron-bg;
h1,
.ai1ec-h1 {
line-height: 1;
color: @jumbotron-heading-color;
}
p {
line-height: 1.4;
}
.ai1ec-container & {
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
}
.ai1ec-container {
max-width: 100%;
}
@media screen and (min-width: @screen-sm-min) {
padding-top: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
.ai1ec-container & {
padding-left: (@jumbotron-padding * 2);
padding-right: (@jumbotron-padding * 2);
}
h1,
.ai1ec-h1 {
font-size: (@font-size-base * 4.5);
}
}
}

View File

@@ -0,0 +1,64 @@
//
// Labels
// --------------------------------------------------
.ai1ec-label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: bold;
line-height: 1;
color: @label-color;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
// Add hover effects, but only for links
&[href] {
&:hover,
&:focus {
color: @label-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
// Empty labels collapse automatically (not available in IE8)
&:empty {
display: none;
}
// Quick fix for labels in buttons
.ai1ec-btn & {
position: relative;
top: -1px;
}
}
// Colors
// Contextual variations (linked labels get darker on :hover)
.ai1ec-label-default {
.ai1ec-label-variant(@label-default-bg);
}
.ai1ec-label-primary {
.ai1ec-label-variant(@label-primary-bg);
}
.ai1ec-label-success {
.ai1ec-label-variant(@label-success-bg);
}
.ai1ec-label-info {
.ai1ec-label-variant(@label-info-bg);
}
.ai1ec-label-warning {
.ai1ec-label-variant(@label-warning-bg);
}
.ai1ec-label-danger {
.ai1ec-label-variant(@label-danger-bg);
}

View File

@@ -0,0 +1,88 @@
//
// List groups
// --------------------------------------------------
// Base class
//
// Easily usable on <ul>, <ol>, or <div>.
.ai1ec-list-group {
// No need to set list-style: none; since .ai1ec-list-group-item is block level
margin-bottom: 20px;
padding-left: 0; // reset padding because ul and ol
}
// Individual list items
// -------------------------
.ai1ec-list-group-item {
position: relative;
display: block;
padding: 10px 15px;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
background-color: @list-group-bg;
border: 1px solid @list-group-border;
// Round the first and last items
&:first-child {
.ai1ec-border-top-radius(@list-group-border-radius);
}
&:last-child {
margin-bottom: 0;
.ai1ec-border-bottom-radius(@list-group-border-radius);
}
// Align badges within list items
> .ai1ec-badge {
float: right;
}
> .ai1ec-badge + .ai1ec-badge {
margin-right: 5px;
}
}
// Linked list items
a.ai1ec-list-group-item {
color: @list-group-link-color;
.ai1ec-list-group-item-heading {
color: @list-group-link-heading-color;
}
// Hover state
&:hover,
&:focus {
text-decoration: none;
background-color: @list-group-hover-bg;
}
// Active class on item itself, not parent
&.ai1ec-active,
&.ai1ec-active:hover,
&.ai1ec-active:focus {
z-index: 2; // Place active items above their siblings for proper border styling
color: @list-group-active-color;
background-color: @list-group-active-bg;
border-color: @list-group-active-border;
// Force color to inherit for custom content
.ai1ec-list-group-item-heading {
color: inherit;
}
.ai1ec-list-group-item-text {
color: lighten(@list-group-active-bg, 40%);
}
}
}
// Custom content options
// -------------------------
.ai1ec-list-group-item-heading {
margin-top: 0;
margin-bottom: 5px;
}
.ai1ec-list-group-item-text {
margin-bottom: 0;
line-height: 1.3;
}

View File

@@ -0,0 +1,56 @@
// Media objects
// Source: http://stubbornella.ai1ec-org/content/?p=497
// --------------------------------------------------
// Common styles
// -------------------------
// Clear the floats
.ai1ec-media,
.ai1ec-media-body {
overflow: hidden;
zoom: 1;
}
// Proper spacing between instances of .ai1ec-media
.ai1ec-media,
.ai1ec-media .ai1ec-media {
margin-top: 15px;
}
.ai1ec-media:first-child {
margin-top: 0;
}
// For images and videos, set to block
.ai1ec-media-object {
display: block;
}
// Reset margins on headings for tighter default spacing
.ai1ec-media-heading {
margin: 0 0 5px;
}
// Media image alignment
// -------------------------
.ai1ec-media {
> .ai1ec-pull-left {
margin-right: 10px;
}
> .ai1ec-pull-right {
margin-left: 10px;
}
}
// Media list variation
// -------------------------
// Undo default ul/ol styles
.ai1ec-media-list {
padding-left: 0;
list-style: none;
}

View File

@@ -0,0 +1,845 @@
//
// Mixins
// --------------------------------------------------
// Utilities
// -------------------------
// Clearfix
// Source: http://nicolasgallagher.ai1ec-com/micro-clearfix-hack/
//
// For modern browsers
// 1. The space content is one way to avoid an Opera bug when the
// contenteditable attribute is included anywhere else in the document.
// Otherwise it causes space to appear at the top and bottom of elements
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
.ai1ec-clearfix() {
&:before,
&:after {
content: " "; // 1
display: table; // 2
}
&:after {
clear: both;
}
}
// WebKit-style focus
.ai1ec-tab-focus() {
// Default
outline: thin dotted;
// WebKit
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
// Center-align a block level element
.ai1ec-center-block() {
display: block;
margin-left: auto;
margin-right: auto;
}
// Sizing shortcuts
.ai1ec-size(@width; @height) {
width: @width;
height: @height;
}
.ai1ec-square(@size) {
.ai1ec-size(@size; @size);
}
// Placeholder text
.ai1ec-placeholder(@color: @input-color-placeholder) {
&:-moz-placeholder { color: @color; } // Firefox 4-18
&::-moz-placeholder { color: @color; // Firefox 19+
opacity: 1; } // See https://github.ai1ec-com/twbs/bootstrap/pull/11526
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
}
// Text overflow
// Requires inline-block or block for proper styling
.ai1ec-text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
// CSS image replacement
//
// Heads up! v3 launched with with only `.ai1ec-hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.ai1ec-text-hide()` and deprecated `.ai1ec-hide-text()`. Note
// that we cannot chain the mixins together in Less, so they are repeated.
//
// Source: https://github.ai1ec-com/h5bp/html5-boilerplate/commit/aa0396eae757
// Deprecated as of v3.0.1 (will be removed in v4)
.ai1ec-hide-text() {
font: ~"0/0" a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
// New mixin to use as of v3.0.1
.ai1ec-text-hide() {
.ai1ec-hide-text();
}
// CSS3 PROPERTIES
// --------------------------------------------------
// Single side border-radius
.ai1ec-border-top-radius(@radius) {
border-top-right-radius: @radius;
border-top-left-radius: @radius;
}
.ai1ec-border-right-radius(@radius) {
border-bottom-right-radius: @radius;
border-top-right-radius: @radius;
}
.ai1ec-border-bottom-radius(@radius) {
border-bottom-right-radius: @radius;
border-bottom-left-radius: @radius;
}
.ai1ec-border-left-radius(@radius) {
border-bottom-left-radius: @radius;
border-top-left-radius: @radius;
}
// Drop shadows
.ai1ec-box-shadow(@shadow) {
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
box-shadow: @shadow;
}
// Transitions
.ai1ec-transition(@transition) {
-webkit-transition: @transition;
transition: @transition;
}
.ai1ec-transition-property(@transition-property) {
-webkit-transition-property: @transition-property;
transition-property: @transition-property;
}
.ai1ec-transition-delay(@transition-delay) {
-webkit-transition-delay: @transition-delay;
transition-delay: @transition-delay;
}
.ai1ec-transition-duration(@transition-duration) {
-webkit-transition-duration: @transition-duration;
transition-duration: @transition-duration;
}
.ai1ec-transition-transform(@transition) {
-webkit-transition: -webkit-transform @transition;
-moz-transition: -moz-transform @transition;
-o-transition: -o-transform @transition;
transition: transform @transition;
}
// Transformations
.ai1ec-rotate(@degrees) {
-webkit-transform: rotate(@degrees);
-ms-transform: rotate(@degrees); // IE9+
transform: rotate(@degrees);
}
.ai1ec-scale(@ratio) {
-webkit-transform: scale(@ratio);
-ms-transform: scale(@ratio); // IE9+
transform: scale(@ratio);
}
.ai1ec-translate(@x; @y) {
-webkit-transform: translate(@x, @y);
-ms-transform: translate(@x, @y); // IE9+
transform: translate(@x, @y);
}
.ai1ec-skew(@x; @y) {
-webkit-transform: skew(@x, @y);
-ms-transform: skewX(@x) skewY(@y); // See https://github.ai1ec-com/twbs/bootstrap/issues/4885; IE9+
transform: skew(@x, @y);
}
.ai1ec-translate3d(@x; @y; @z) {
-webkit-transform: translate3d(@x, @y, @z);
transform: translate3d(@x, @y, @z);
}
.ai1ec-rotateX(@degrees) {
-webkit-transform: rotateX(@degrees);
-ms-transform: rotateX(@degrees); // IE9+
transform: rotateX(@degrees);
}
.ai1ec-rotateY(@degrees) {
-webkit-transform: rotateY(@degrees);
-ms-transform: rotateY(@degrees); // IE9+
transform: rotateY(@degrees);
}
.ai1ec-perspective(@perspective) {
-webkit-perspective: @perspective;
-moz-perspective: @perspective;
perspective: @perspective;
}
.ai1ec-perspective-origin(@perspective) {
-webkit-perspective-origin: @perspective;
-moz-perspective-origin: @perspective;
perspective-origin: @perspective;
}
.ai1ec-transform-origin(@origin) {
-webkit-transform-origin: @origin;
-moz-transform-origin: @origin;
transform-origin: @origin;
}
// Animations
.ai1ec-animation(@animation) {
-webkit-animation: @animation;
animation: @animation;
}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
.ai1ec-backface-visibility(@visibility){
-webkit-backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
backface-visibility: @visibility;
}
// Box sizing
.ai1ec-box-sizing(@boxmodel) {
-webkit-box-sizing: @boxmodel;
-moz-box-sizing: @boxmodel;
box-sizing: @boxmodel;
}
// User select
// For selecting text on the page
.ai1ec-user-select(@select) {
-webkit-user-select: @select;
-moz-user-select: @select;
-ms-user-select: @select; // IE10+
-o-user-select: @select;
user-select: @select;
}
// Resize anything
.ai1ec-resizable(@direction) {
resize: @direction; // Options: horizontal, vertical, both
overflow: auto; // Safari fix
}
// CSS3 Content Columns
.ai1ec-content-columns(@column-count; @column-gap: @grid-gutter-width) {
-webkit-column-count: @column-count;
-moz-column-count: @column-count;
column-count: @column-count;
-webkit-column-gap: @column-gap;
-moz-column-gap: @column-gap;
column-gap: @column-gap;
}
// Optional hyphenation
.ai1ec-hyphens(@mode: auto) {
word-wrap: break-word;
-webkit-hyphens: @mode;
-moz-hyphens: @mode;
-ms-hyphens: @mode; // IE10+
-o-hyphens: @mode;
hyphens: @mode;
}
// Opacity
.ai1ec-opacity(@opacity) {
opacity: @opacity;
// IE8 filter
@opacity-ie: (@opacity * 100);
filter: ~"alpha(opacity=@{opacity-ie})";
}
// GRADIENTS
// --------------------------------------------------
#gradient {
// Horizontal gradient, from left to right
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.ai1ec-horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
}
// Vertical gradient, from top to bottom
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.ai1ec-vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
}
.ai1ec-directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
background-repeat: repeat-x;
background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
}
.ai1ec-horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.ai1ec-vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.ai1ec-radial(@inner-color: #555; @outer-color: #333) {
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
background-image: radial-gradient(circle, @inner-color, @outer-color);
background-repeat: no-repeat;
}
.ai1ec-striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
}
}
// Reset filters for IE
//
// When you need to remove a gradient background, do not forget to use this to reset
// the IE filter for IE9 and below.
.ai1ec-reset-filter() {
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
}
// Retina images
//
// Short retina mixin for setting background-image and -size
.ai1ec-img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
background-image: url("@{file-1x}");
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
background-image: url("@{file-2x}");
background-size: @width-1x @height-1x;
}
}
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
.ai1ec-img-responsive(@display: block;) {
display: @display;
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}
// COMPONENT MIXINS
// --------------------------------------------------
// Horizontal dividers
// -------------------------
// Dividers (basically an hr) within dropdowns and nav lists
.ai1ec-nav-divider(@color: #e5e5e5) {
height: 1px;
margin: ((@line-height-computed / 2) - 1) 0;
overflow: hidden;
background-color: @color;
}
// Panels
// -------------------------
.ai1ec-panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
border-color: @border;
& > .ai1ec-panel-heading {
color: @heading-text-color;
background-color: @heading-bg-color;
border-color: @heading-border;
+ .ai1ec-panel-collapse .ai1ec-panel-body {
border-top-color: @border;
}
}
& > .ai1ec-panel-footer {
+ .ai1ec-panel-collapse .ai1ec-panel-body {
border-bottom-color: @border;
}
}
}
// Alerts
// -------------------------
.ai1ec-alert-variant(@background; @border; @text-color) {
background-color: @background;
border-color: @border;
color: @text-color;
hr {
border-top-color: darken(@border, 5%);
}
.ai1ec-alert-link {
color: darken(@text-color, 10%);
}
}
// Tables
// -------------------------
.ai1ec-table-row-variant(@state; @background) {
// Exact selectors below required to override `.ai1ec-table-striped` and prevent
// inheritance to nested tables.
.ai1ec-table {
> thead,
> tbody,
> tfoot {
> tr > .@{state},
> .@{state} > td,
> .@{state} > th {
background-color: @background;
}
}
}
// Hover states for `.ai1ec-table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.ai1ec-table-hover > tbody {
> tr > .@{state}:hover,
> .@{state}:hover > td,
> .@{state}:hover > th {
background-color: darken(@background, 5%);
}
}
}
// Button variants
// -------------------------
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
.ai1ec-button-variant(@color; @background; @border) {
color: @color;
background-color: @background;
border-color: @border;
&:hover,
&:focus,
&:active,
&.ai1ec-active,
.ai1ec-open .ai1ec-dropdown-toggle& {
color: @color;
background-color: darken(@background, 8%);
border-color: darken(@border, 12%);
}
&:active,
&.ai1ec-active,
.ai1ec-open .ai1ec-dropdown-toggle& {
background-image: none;
}
&.ai1ec-disabled,
&[disabled],
fieldset[disabled] & {
&,
&:hover,
&:focus,
&:active,
&.ai1ec-active {
background-color: @background;
border-color: @border;
}
}
.ai1ec-badge {
color: @background;
background-color: #fff;
}
}
// Button sizes
// -------------------------
.ai1ec-button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
border-radius: @border-radius;
}
// Pagination
// -------------------------
.ai1ec-pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
}
&:first-child {
> a,
> span {
.ai1ec-border-left-radius(@border-radius);
}
}
&:last-child {
> a,
> span {
.ai1ec-border-right-radius(@border-radius);
}
}
}
}
// Labels
// -------------------------
.ai1ec-label-variant(@color) {
background-color: @color;
&[href] {
&:hover,
&:focus {
background-color: darken(@color, 10%);
}
}
}
// Navbar vertical align
// -------------------------
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.ai1ec-navbar-vertical-align(30px);` to calculate the appropriate top margin.
.ai1ec-navbar-vertical-align(@element-height) {
margin-top: ((@navbar-height - @element-height) / 2);
margin-bottom: ((@navbar-height - @element-height) / 2);
}
// Progress bars
// -------------------------
.ai1ec-progress-bar-variant(@color) {
background-color: @color;
.ai1ec-progress-striped & {
#gradient > .ai1ec-striped();
}
}
// Responsive utilities
// -------------------------
// More easily include all the states for responsive-utilities.less.
.ai1ec-responsive-visibility() {
display: block !important;
table& { display: table; }
tr& { display: table-row !important; }
th&,
td& { display: table-cell !important; }
}
.ai1ec-responsive-invisibility() {
&,
tr&,
th&,
td& { display: none !important; }
}
// Grid System
// -----------
// Centered container element
.ai1ec-container-fixed() {
margin-right: auto;
margin-left: auto;
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
.ai1ec-clearfix();
}
// Creates a wrapper for a series of columns
.ai1ec-make-row(@gutter: @grid-gutter-width) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
.ai1ec-clearfix();
}
// Generate the extra small columns
.ai1ec-make-xs-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
float: left;
width: percentage((@columns / @grid-columns));
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
}
// Generate the small columns
.ai1ec-make-sm-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
// Calculate width based on number of columns available
@media (min-width: @screen-sm-min) {
float: left;
width: percentage((@columns / @grid-columns));
}
}
// Generate the small column offsets
.ai1ec-make-sm-column-offset(@columns) {
@media (min-width: @screen-sm-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-sm-column-push(@columns) {
@media (min-width: @screen-sm-min) {
left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-sm-column-pull(@columns) {
@media (min-width: @screen-sm-min) {
right: percentage((@columns / @grid-columns));
}
}
// Generate the medium columns
.ai1ec-make-md-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
// Calculate width based on number of columns available
@media (min-width: @screen-md-min) {
float: left;
width: percentage((@columns / @grid-columns));
}
}
// Generate the medium column offsets
.ai1ec-make-md-column-offset(@columns) {
@media (min-width: @screen-md-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-md-column-push(@columns) {
@media (min-width: @screen-md) {
left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-md-column-pull(@columns) {
@media (min-width: @screen-md-min) {
right: percentage((@columns / @grid-columns));
}
}
// Generate the large columns
.ai1ec-make-lg-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
// Calculate width based on number of columns available
@media (min-width: @screen-lg-min) {
float: left;
width: percentage((@columns / @grid-columns));
}
}
// Generate the large column offsets
.ai1ec-make-lg-column-offset(@columns) {
@media (min-width: @screen-lg-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-lg-column-push(@columns) {
@media (min-width: @screen-lg-min) {
left: percentage((@columns / @grid-columns));
}
}
.ai1ec-make-lg-column-pull(@columns) {
@media (min-width: @screen-lg-min) {
right: percentage((@columns / @grid-columns));
}
}
// Framework grid generation
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `@grid-columns`.
.ai1ec-make-grid-columns() {
// Common styles for all sizes of grid columns, widths 1-12
.ai1ec-col(@index) when (@index = 1) { // initial
@item: ~".ai1ec-col-xs-@{index}, .ai1ec-col-sm-@{index}, .ai1ec-col-md-@{index}, .ai1ec-col-lg-@{index}";
.ai1ec-col(@index + 1, @item);
}
.ai1ec-col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
@item: ~".ai1ec-col-xs-@{index}, .ai1ec-col-sm-@{index}, .ai1ec-col-md-@{index}, .ai1ec-col-lg-@{index}";
.ai1ec-col(@index + 1, ~"@{list}, @{item}");
}
.ai1ec-col(@index, @list) when (@index > @grid-columns) { // terminal
@{list} {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
}
}
.ai1ec-col(1); // kickstart it
}
.ai1ec-make-grid-columns-float(@class) {
.ai1ec-col(@index) when (@index = 1) { // initial
@item: ~".ai1ec-col-@{class}-@{index}";
.ai1ec-col(@index + 1, @item);
}
.ai1ec-col(@index, @list) when (@index =< @grid-columns) { // general
@item: ~".ai1ec-col-@{class}-@{index}";
.ai1ec-col(@index + 1, ~"@{list}, @{item}");
}
.ai1ec-col(@index, @list) when (@index > @grid-columns) { // terminal
@{list} {
float: left;
}
}
.ai1ec-col(1); // kickstart it
}
.ai1ec-calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {
.ai1ec-col-@{class}-@{index} {
width: percentage((@index / @grid-columns));
}
}
.ai1ec-calc-grid(@index, @class, @type) when (@type = push) {
.ai1ec-col-@{class}-push-@{index} {
left: percentage((@index / @grid-columns));
}
}
.ai1ec-calc-grid(@index, @class, @type) when (@type = pull) {
.ai1ec-col-@{class}-pull-@{index} {
right: percentage((@index / @grid-columns));
}
}
.ai1ec-calc-grid(@index, @class, @type) when (@type = offset) {
.ai1ec-col-@{class}-offset-@{index} {
margin-left: percentage((@index / @grid-columns));
}
}
// Basic looping in LESS
.ai1ec-make-grid(@index, @class, @type) when (@index >= 0) {
.ai1ec-calc-grid(@index, @class, @type);
// next iteration
.ai1ec-make-grid(@index - 1, @class, @type);
}
// Form validation states
//
// Used in forms.less to generate the form validation CSS for warnings, errors,
// and successes.
.ai1ec-form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
// Color the label and help text
.ai1ec-help-block,
.ai1ec-control-label,
.ai1ec-radio,
.ai1ec-checkbox,
.ai1ec-radio-inline,
.ai1ec-checkbox-inline {
color: @text-color;
}
// Set the border and box shadow on specific inputs to match
.ai1ec-form-control {
border-color: @border-color;
.ai1ec-box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
border-color: darken(@border-color, 10%);
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
.ai1ec-box-shadow(@shadow);
}
}
// Set validation states also for addons
.ai1ec-input-group-addon {
color: @text-color;
border-color: @border-color;
background-color: @background-color;
}
}
// Form control focus state
//
// Generate a customized focus state and for any input with the specified color,
// which defaults to the `@input-focus-border` variable.
//
// We highly encourage you to not customize the default value, but instead use
// this to tweak colors on an as-needed basis. This aesthetic change is based on
// WebKit's default styles, but applicable to a wider range of browsers. Its
// usability and accessibility should be taken into account with any change.
//
// Example usage: change the default blue border and shadow to white for better
// contrast against a dark gray background.
.ai1ec-form-control-focus(@color: @input-border-focus) {
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
&:focus {
border-color: @color;
outline: 0;
.ai1ec-box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
}
}
// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!
.ai1ec-input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
height: @input-height;
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
border-radius: @border-radius;
select& {
height: @input-height;
line-height: @input-height;
}
textarea& {
height: auto;
}
}

View File

@@ -0,0 +1,129 @@
//
// Modals
// --------------------------------------------------
// .ai1ec-modal-open - body class for killing the scroll
// .ai1ec-modal - container to scroll within
// .ai1ec-modal-dialog - positioning shell for the actual modal
// .ai1ec-modal-content - actual modal w/ bg and corners and shit
// Kill the scroll on the body
.ai1ec-modal-open {
overflow: hidden;
}
// Container that the modal scrolls within
.ai1ec-modal {
display: none;
overflow: auto;
overflow-y: scroll;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: @zindex-modal-background;
// When fading in the modal, animate it to slide down
&.ai1ec-fade .ai1ec-modal-dialog {
.ai1ec-translate(0, -25%);
.ai1ec-transition-transform(~"0.3s ease-out");
}
&.ai1ec-in .ai1ec-modal-dialog { .ai1ec-translate(0, 0)}
}
// Shell div to position the modal with bottom padding
.ai1ec-modal-dialog {
position: relative;
width: auto;
margin: 10px;
z-index: (@zindex-modal-background + 10);
}
// Actual modal
.ai1ec-modal-content {
position: relative;
background-color: @modal-content-bg;
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
border: 1px solid @modal-content-border-color;
border-radius: @border-radius-large;
.ai1ec-box-shadow(0 3px 9px rgba(0,0,0,.5));
background-clip: padding-box;
// Remove focus outline from opened modal
outline: none;
}
// Modal background
.ai1ec-modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: (@zindex-modal-background - 10);
background-color: @modal-backdrop-bg;
// Fade for backdrop
&.ai1ec-fade { .ai1ec-opacity(0); }
&.ai1ec-in { .ai1ec-opacity(.5); }
}
// Modal header
// Top section of the modal w/ title and dismiss
.ai1ec-modal-header {
padding: @modal-title-padding;
border-bottom: 1px solid @modal-header-border-color;
min-height: (@modal-title-padding + @modal-title-line-height);
}
// Close icon
.ai1ec-modal-header .ai1ec-close {
margin-top: -2px;
}
// Title text within header
.ai1ec-modal-title {
margin: 0;
line-height: @modal-title-line-height;
}
// Modal body
// Where all modal content resides (sibling of .ai1ec-modal-header and .ai1ec-modal-footer)
.ai1ec-modal-body {
position: relative;
padding: @modal-inner-padding;
}
// Footer (for actions)
.ai1ec-modal-footer {
margin-top: 15px;
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
text-align: right; // right align buttons
border-top: 1px solid @modal-footer-border-color;
.ai1ec-clearfix(); // clear it in case folks use .ai1ec-pull-* classes on buttons
// Properly space out buttons
.ai1ec-btn + .ai1ec-btn {
margin-left: 5px;
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
}
// but override that for button groups
.ai1ec-btn-group .ai1ec-btn + .ai1ec-btn {
margin-left: -1px;
}
// and override it for block buttons as well
.ai1ec-btn-block + .ai1ec-btn-block {
margin-left: 0;
}
}
// Scale up the modal
@media screen and (min-width: @screen-sm-min) {
.ai1ec-modal-dialog {
width: 600px;
margin: 30px auto;
}
.ai1ec-modal-content {
.ai1ec-box-shadow(0 5px 15px rgba(0,0,0,.5));
}
}

View File

@@ -0,0 +1,612 @@
//
// Navbars
// --------------------------------------------------
// Wrapper and base class
//
// Provide a static navbar from which we expand to create full-width, fixed, and
// other navbar variations.
.ai1ec-navbar {
position: relative;
min-height: @navbar-height; // Ensure a navbar always shows (e.ai1ec-g., without a .ai1ec-navbar-brand in collapsed mode)
margin-bottom: @navbar-margin-bottom;
border: 1px solid transparent;
// Prevent floats from breaking the navbar
.ai1ec-clearfix();
@media (min-width: @grid-float-breakpoint) {
border-radius: @navbar-border-radius;
}
}
// Navbar heading
//
// Groups `.ai1ec-navbar-brand` and `.ai1ec-navbar-toggle` into a single component for easy
// styling of responsive aspects.
.ai1ec-navbar-header {
.ai1ec-clearfix();
@media (min-width: @grid-float-breakpoint) {
float: left;
}
}
// Navbar collapse (body)
//
// Group your navbar content into this for easy collapsing and expanding across
// various device sizes. By default, this content is collapsed when <768px, but
// will expand past that for a horizontal display.
//
// To start (on mobile devices) the navbar links, forms, and buttons are stacked
// vertically and include a `max-height` to overflow in case you have too much
// content for the user's viewport.
.ai1ec-navbar-collapse {
max-height: 340px;
overflow-x: visible;
padding-right: @navbar-padding-horizontal;
padding-left: @navbar-padding-horizontal;
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
.ai1ec-clearfix();
-webkit-overflow-scrolling: touch;
&.ai1ec-in {
overflow-y: auto;
}
@media (min-width: @grid-float-breakpoint) {
width: auto;
border-top: 0;
box-shadow: none;
&.ai1ec-collapse {
display: block !important;
height: auto !important;
padding-bottom: 0; // Override default setting
overflow: visible !important;
}
&.ai1ec-in {
overflow-y: visible;
}
// Undo the collapse side padding for navbars with containers to ensure
// alignment of right-aligned contents.
.ai1ec-navbar-fixed-top &,
.ai1ec-navbar-static-top &,
.ai1ec-navbar-fixed-bottom & {
padding-left: 0;
padding-right: 0;
}
}
}
// Both navbar header and collapse
//
// When a container is present, change the behavior of the header and collapse.
.ai1ec-container > .ai1ec-navbar-header,
.ai1ec-container > .ai1ec-navbar-collapse {
margin-right: -@navbar-padding-horizontal;
margin-left: -@navbar-padding-horizontal;
@media (min-width: @grid-float-breakpoint) {
margin-right: 0;
margin-left: 0;
}
}
//
// Navbar alignment options
//
// Display the navbar across the entirety of the page or fixed it to the top or
// bottom of the page.
// Static top (unfixed, but 100% wide) navbar
.ai1ec-navbar-static-top {
z-index: @zindex-navbar;
border-width: 0 0 1px;
@media (min-width: @grid-float-breakpoint) {
border-radius: 0;
}
}
// Fix the top/bottom navbars when screen real estate supports it
.ai1ec-navbar-fixed-top,
.ai1ec-navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: @zindex-navbar-fixed;
// Undo the rounded corners
@media (min-width: @grid-float-breakpoint) {
border-radius: 0;
}
}
.ai1ec-navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.ai1ec-navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0; // override .ai1ec-navbar defaults
border-width: 1px 0 0;
}
// Brand/project name
.ai1ec-navbar-brand {
float: left;
padding: @navbar-padding-vertical @navbar-padding-horizontal;
font-size: @font-size-large;
line-height: @line-height-computed;
&:hover,
&:focus {
text-decoration: none;
}
@media (min-width: @grid-float-breakpoint) {
.ai1ec-navbar > .ai1ec-container & {
margin-left: -@navbar-padding-horizontal;
}
}
}
// Navbar toggle
//
// Custom button for toggling the `.ai1ec-navbar-collapse`, powered by the collapse
// JavaScript plugin.
.ai1ec-navbar-toggle {
position: relative;
float: right;
margin-right: @navbar-padding-horizontal;
padding: 9px 10px;
.ai1ec-navbar-vertical-align(34px);
background-color: transparent;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.ai1ec-com/necolas/normalize.ai1ec-css/issues/214
border: 1px solid transparent;
border-radius: @border-radius-base;
// Bars
.ai1ec-icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
.ai1ec-icon-bar + .ai1ec-icon-bar {
margin-top: 4px;
}
@media (min-width: @grid-float-breakpoint) {
display: none;
}
}
// Navbar nav links
//
// Builds on top of the `.ai1ec-nav` components with it's own modifier class to make
// the nav the full height of the horizontal nav (above 768px).
.ai1ec-navbar-nav {
margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;
> li > a {
padding-top: 10px;
padding-bottom: 10px;
line-height: @line-height-computed;
}
@media (max-width: @grid-float-breakpoint-max) {
// Dropdowns get custom display when collapsed
.ai1ec-open .ai1ec-dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
box-shadow: none;
> li > a,
.ai1ec-dropdown-header {
padding: 5px 15px 5px 25px;
}
> li > a {
line-height: @line-height-computed;
&:hover,
&:focus {
background-image: none;
}
}
}
}
// Uncollapse the nav
@media (min-width: @grid-float-breakpoint) {
float: left;
margin: 0;
> li {
float: left;
> a {
padding-top: @navbar-padding-vertical;
padding-bottom: @navbar-padding-vertical;
}
}
&.ai1ec-navbar-right:last-child {
margin-right: -@navbar-padding-horizontal;
}
}
}
// Component alignment
//
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
// issues with parents and chaining. Only do this when the navbar is uncollapsed
// though so that navbar contents properly stack and align in mobile.
@media (min-width: @grid-float-breakpoint) {
.ai1ec-navbar-left { .ai1ec-pull-left(); }
.ai1ec-navbar-right { .ai1ec-pull-right(); }
}
// Navbar form
//
// Extension of the `.ai1ec-form-inline` with some extra flavor for optimum display in
// our navbars.
.ai1ec-navbar-form {
margin-left: -@navbar-padding-horizontal;
margin-right: -@navbar-padding-horizontal;
padding: 10px @navbar-padding-horizontal;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
@shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
.ai1ec-box-shadow(@shadow);
// Mixin behavior for optimum display
.ai1ec-form-inline();
.ai1ec-form-group {
@media (max-width: @grid-float-breakpoint-max) {
margin-bottom: 5px;
}
}
// Vertically center in expanded, horizontal navbar
.ai1ec-navbar-vertical-align(@input-height-base);
// Undo 100% width for pull classes
@media (min-width: @grid-float-breakpoint) {
width: auto;
border: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
.ai1ec-box-shadow(none);
// Outdent the form if last child to line up with content down the page
&.ai1ec-navbar-right:last-child {
margin-right: -@navbar-padding-horizontal;
}
}
}
// Dropdown menus
// Menu position and menu carets
.ai1ec-navbar-nav > li > .ai1ec-dropdown-menu {
margin-top: 0;
.ai1ec-border-top-radius(0);
}
// Menu position and menu caret support for dropups via extra dropup class
.ai1ec-navbar-fixed-bottom .ai1ec-navbar-nav > li > .ai1ec-dropdown-menu {
.ai1ec-border-bottom-radius(0);
}
// Right aligned menus need alt position
.ai1ec-navbar-nav.ai1ec-pull-right > li > .ai1ec-dropdown-menu,
.ai1ec-navbar-nav > li > .ai1ec-dropdown-menu.ai1ec-pull-right {
left: auto;
right: 0;
}
// Buttons in navbars
//
// Vertically center a button within a navbar (when *not* in a form).
.ai1ec-navbar-btn {
.ai1ec-navbar-vertical-align(@input-height-base);
&.ai1ec-btn-sm {
.ai1ec-navbar-vertical-align(@input-height-small);
}
&.ai1ec-btn-xs {
.ai1ec-navbar-vertical-align(22);
}
}
// Text in navbars
//
// Add a class to make any element properly align itself vertically within the navbars.
.ai1ec-navbar-text {
.ai1ec-navbar-vertical-align(@line-height-computed);
@media (min-width: @grid-float-breakpoint) {
float: left;
margin-left: @navbar-padding-horizontal;
margin-right: @navbar-padding-horizontal;
// Outdent the form if last child to line up with content down the page
&.ai1ec-navbar-right:last-child {
margin-right: 0;
}
}
}
// Alternate navbars
// --------------------------------------------------
// Default navbar
.ai1ec-navbar-default {
background-color: @navbar-default-bg;
border-color: @navbar-default-border;
.ai1ec-navbar-brand {
color: @navbar-default-brand-color;
&:hover,
&:focus {
color: @navbar-default-brand-hover-color;
background-color: @navbar-default-brand-hover-bg;
}
}
.ai1ec-navbar-text {
color: @navbar-default-color;
}
.ai1ec-navbar-nav {
> li > a {
color: @navbar-default-link-color;
&:hover,
&:focus {
color: @navbar-default-link-hover-color;
background-color: @navbar-default-link-hover-bg;
}
}
> .ai1ec-active > a {
&,
&:hover,
&:focus {
color: @navbar-default-link-active-color;
background-color: @navbar-default-link-active-bg;
}
}
> .ai1ec-disabled > a {
&,
&:hover,
&:focus {
color: @navbar-default-link-disabled-color;
background-color: @navbar-default-link-disabled-bg;
}
}
}
.ai1ec-navbar-toggle {
border-color: @navbar-default-toggle-border-color;
&:hover,
&:focus {
background-color: @navbar-default-toggle-hover-bg;
}
.ai1ec-icon-bar {
background-color: @navbar-default-toggle-icon-bar-bg;
}
}
.ai1ec-navbar-collapse,
.ai1ec-navbar-form {
border-color: @navbar-default-border;
}
// Dropdown menu items
.ai1ec-navbar-nav {
// Remove background color from open dropdown
> .ai1ec-open > a {
&,
&:hover,
&:focus {
background-color: @navbar-default-link-active-bg;
color: @navbar-default-link-active-color;
}
}
@media (max-width: @grid-float-breakpoint-max) {
// Dropdowns get custom display when collapsed
.ai1ec-open .ai1ec-dropdown-menu {
> li > a {
color: @navbar-default-link-color;
&:hover,
&:focus {
color: @navbar-default-link-hover-color;
background-color: @navbar-default-link-hover-bg;
}
}
> .ai1ec-active > a {
&,
&:hover,
&:focus {
color: @navbar-default-link-active-color;
background-color: @navbar-default-link-active-bg;
}
}
> .ai1ec-disabled > a {
&,
&:hover,
&:focus {
color: @navbar-default-link-disabled-color;
background-color: @navbar-default-link-disabled-bg;
}
}
}
}
}
// Links in navbars
//
// Add a class to ensure links outside the navbar nav are colored correctly.
.ai1ec-navbar-link {
color: @navbar-default-link-color;
&:hover {
color: @navbar-default-link-hover-color;
}
}
}
// Inverse navbar
.ai1ec-navbar-inverse {
background-color: @navbar-inverse-bg;
border-color: @navbar-inverse-border;
.ai1ec-navbar-brand {
color: @navbar-inverse-brand-color;
&:hover,
&:focus {
color: @navbar-inverse-brand-hover-color;
background-color: @navbar-inverse-brand-hover-bg;
}
}
.ai1ec-navbar-text {
color: @navbar-inverse-color;
}
.ai1ec-navbar-nav {
> li > a {
color: @navbar-inverse-link-color;
&:hover,
&:focus {
color: @navbar-inverse-link-hover-color;
background-color: @navbar-inverse-link-hover-bg;
}
}
> .ai1ec-active > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-active-color;
background-color: @navbar-inverse-link-active-bg;
}
}
> .ai1ec-disabled > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-disabled-color;
background-color: @navbar-inverse-link-disabled-bg;
}
}
}
// Darken the responsive nav toggle
.ai1ec-navbar-toggle {
border-color: @navbar-inverse-toggle-border-color;
&:hover,
&:focus {
background-color: @navbar-inverse-toggle-hover-bg;
}
.ai1ec-icon-bar {
background-color: @navbar-inverse-toggle-icon-bar-bg;
}
}
.ai1ec-navbar-collapse,
.ai1ec-navbar-form {
border-color: darken(@navbar-inverse-bg, 7%);
}
// Dropdowns
.ai1ec-navbar-nav {
> .ai1ec-open > a {
&,
&:hover,
&:focus {
background-color: @navbar-inverse-link-active-bg;
color: @navbar-inverse-link-active-color;
}
}
@media (max-width: @grid-float-breakpoint-max) {
// Dropdowns get custom display
.ai1ec-open .ai1ec-dropdown-menu {
> .ai1ec-dropdown-header {
border-color: @navbar-inverse-border;
}
.ai1ec-divider {
background-color: @navbar-inverse-border;
}
> li > a {
color: @navbar-inverse-link-color;
&:hover,
&:focus {
color: @navbar-inverse-link-hover-color;
background-color: @navbar-inverse-link-hover-bg;
}
}
> .ai1ec-active > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-active-color;
background-color: @navbar-inverse-link-active-bg;
}
}
> .ai1ec-disabled > a {
&,
&:hover,
&:focus {
color: @navbar-inverse-link-disabled-color;
background-color: @navbar-inverse-link-disabled-bg;
}
}
}
}
}
.ai1ec-navbar-link {
color: @navbar-inverse-link-color;
&:hover {
color: @navbar-inverse-link-hover-color;
}
}
}

View File

@@ -0,0 +1,242 @@
//
// Navs
// --------------------------------------------------
// Base class
// --------------------------------------------------
.ai1ec-nav {
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
.ai1ec-clearfix();
> li {
position: relative;
display: block;
> a {
position: relative;
display: block;
padding: @nav-link-padding;
&:hover,
&:focus {
text-decoration: none;
background-color: @nav-link-hover-bg;
}
}
// Disabled state sets text to gray and nukes hover/tab effects
&.ai1ec-disabled > a {
color: @nav-disabled-link-color;
&:hover,
&:focus {
color: @nav-disabled-link-hover-color;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
}
}
// Open dropdowns
.ai1ec-open > a {
&,
&:hover,
&:focus {
background-color: @nav-link-hover-bg;
border-color: @link-color;
}
}
// Nav dividers (deprecated with v3.0.1)
//
// This should have been removed in v3 with the dropping of `.ai1ec-nav-list`, but
// we missed it. We don't currently support this anywhere, but in the interest
// of maintaining backward compatibility in case you use it, it's deprecated.
.ai1ec-nav-divider {
.ai1ec-nav-divider();
}
// Prevent IE8 from misplacing imgs
//
// See https://github.ai1ec-com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
> li > a > img {
max-width: none;
}
}
// Tabs
// -------------------------
// Give the tabs something to sit on
.ai1ec-nav-tabs {
border-bottom: 1px solid @nav-tabs-border-color;
> li {
float: left;
// Make the list-items overlay the bottom border
margin-bottom: -1px;
// Actual tabs (as links)
> a {
margin-right: 2px;
line-height: @line-height-base;
border: 1px solid transparent;
border-radius: @border-radius-base @border-radius-base 0 0;
&:hover {
border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
}
}
// Active state, and it's :hover to override normal :hover
&.ai1ec-active > a {
&,
&:hover,
&:focus {
color: @nav-tabs-active-link-hover-color;
background-color: @nav-tabs-active-link-hover-bg;
border: 1px solid @nav-tabs-active-link-hover-border-color;
border-bottom-color: transparent;
cursor: default;
}
}
}
// pulling this in mainly for less shorthand
&.ai1ec-nav-justified {
.ai1ec-nav-justified();
.ai1ec-nav-tabs-justified();
}
}
// Pills
// -------------------------
.ai1ec-nav-pills {
> li {
float: left;
// Links rendered as pills
> a {
border-radius: @nav-pills-border-radius;
}
+ li {
margin-left: 2px;
}
// Active state
&.ai1ec-active > a {
&,
&:hover,
&:focus {
color: @nav-pills-active-link-hover-color;
background-color: @nav-pills-active-link-hover-bg;
}
}
}
}
// Stacked pills
.ai1ec-nav-stacked {
> li {
float: none;
+ li {
margin-top: 2px;
margin-left: 0; // no need for this gap between nav items
}
}
}
// Nav variations
// --------------------------------------------------
// Justified nav links
// -------------------------
.ai1ec-nav-justified {
width: 100%;
> li {
float: none;
> a {
text-align: center;
margin-bottom: 5px;
}
}
> .ai1ec-dropdown .ai1ec-dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: @screen-sm-min) {
> li {
display: table-cell;
width: 1%;
> a {
margin-bottom: 0;
}
}
}
}
// Move borders to anchors instead of bottom of list
//
// Mixin for adding on top the shared `.ai1ec-nav-justified` styles for our tabs
.ai1ec-nav-tabs-justified {
border-bottom: 0;
> li > a {
// Override margin from .ai1ec-nav-tabs
margin-right: 0;
border-radius: @border-radius-base;
}
> .ai1ec-active > a,
> .ai1ec-active > a:hover,
> .ai1ec-active > a:focus {
border: 1px solid @nav-tabs-justified-link-border-color;
}
@media (min-width: @screen-sm-min) {
> li > a {
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
border-radius: @border-radius-base @border-radius-base 0 0;
}
> .ai1ec-active > a,
> .ai1ec-active > a:hover,
> .ai1ec-active > a:focus {
border-bottom-color: @nav-tabs-justified-active-link-border-color;
}
}
}
// Tabbable tabs
// -------------------------
// Hide tabbable panes to start, show them when `.ai1ec-active`
.ai1ec-tab-content {
> .ai1ec-tab-pane {
display: none;
}
> .ai1ec-active {
display: block;
}
}
// Dropdowns
// -------------------------
// Specific dropdowns
.ai1ec-nav-tabs .ai1ec-dropdown-menu {
// make dropdown border overlap tab border
margin-top: -1px;
// Remove the top rounded corners here since there is a hard edge above the menu
.ai1ec-border-top-radius(0);
}

View File

@@ -0,0 +1,406 @@
/*! normalize.ai1ec-css v2.1.3 | MIT License | git.ai1ec-io/normalize */
// ==========================================================================
// HTML5 display definitions
// ==========================================================================
//
// Correct `block` display not defined in IE 8/9.
//
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
//
// Correct `inline-block` display not defined in IE 8/9.
//
audio,
canvas,
video {
display: inline-block;
}
//
// Prevent modern browsers from displaying `audio` without controls.
// Remove excess height in iOS 5 devices.
//
audio:not([controls]) {
display: none;
height: 0;
}
//
// Address `[hidden]` styling not present in IE 8/9.
// Hide the `template` element in IE, Safari, and Firefox < 22.
//
[hidden],
template {
display: none;
}
// ==========================================================================
// Base
// ==========================================================================
//
// 1. Set default font family to sans-serif.
// 2. Prevent iOS text size adjust after orientation change, without disabling
// user zoom.
//
html {
font-family: sans-serif; // 1
-ms-text-size-adjust: 100%; // 2
-webkit-text-size-adjust: 100%; // 2
}
//
// Remove default margin.
//
body {
margin: 0;
}
// ==========================================================================
// Links
// ==========================================================================
//
// Remove the gray background color from active links in IE 10.
//
a {
background: transparent;
}
//
// Address `outline` inconsistency between Chrome and other browsers.
//
a:focus {
outline: thin dotted;
}
//
// Improve readability when focused and also mouse hovered in all browsers.
//
a:active,
a:hover {
outline: 0;
}
// ==========================================================================
// Typography
// ==========================================================================
//
// Address variable `h1` font-size and margin within `section` and `article`
// contexts in Firefox 4+, Safari 5, and Chrome.
//
h1 {
font-size: 2em;
margin: 0.67em 0;
}
//
// Address styling not present in IE 8/9, Safari 5, and Chrome.
//
abbr[title] {
border-bottom: 1px dotted;
}
//
// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
//
b,
strong {
font-weight: bold;
}
//
// Address styling not present in Safari 5 and Chrome.
//
dfn {
font-style: italic;
}
//
// Address differences between Firefox and other browsers.
//
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
//
// Address styling not present in IE 8/9.
//
mark {
background: #ff0;
color: #000;
}
//
// Correct font family set oddly in Safari 5 and Chrome.
//
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
//
// Improve readability of pre-formatted text in all browsers.
//
pre {
white-space: pre-wrap;
}
//
// Set consistent quote types.
//
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
//
// Address inconsistent and variable font size in all browsers.
//
small {
font-size: 80%;
}
//
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
//
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
// ==========================================================================
// Embedded content
// ==========================================================================
//
// Remove border when inside `a` element in IE 8/9.
//
img {
border: 0;
}
//
// Correct overflow displayed oddly in IE 9.
//
svg:not(:root) {
overflow: hidden;
}
// ==========================================================================
// Figures
// ==========================================================================
//
// Address margin not present in IE 8/9 and Safari 5.
//
figure {
margin: 0;
}
// ==========================================================================
// Forms
// ==========================================================================
//
// Define consistent border, margin, and padding.
//
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
//
// 1. Correct `color` not being inherited in IE 8/9.
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
//
legend {
border: 0; // 1
padding: 0; // 2
}
//
// 1. Correct font family not being inherited in all browsers.
// 2. Correct font size not being inherited in all browsers.
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
//
button,
input,
select,
textarea {
font-family: inherit; // 1
font-size: 100%; // 2
margin: 0; // 3
}
//
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
// the UA stylesheet.
//
button,
input {
line-height: normal;
}
//
// Address inconsistent `text-transform` inheritance for `button` and `select`.
// All other form control elements do not inherit `text-transform` values.
// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
// Correct `select` style inheritance in Firefox 4+ and Opera.
//
button,
select {
text-transform: none;
}
//
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
// and `video` controls.
// 2. Correct inability to style clickable `input` types in iOS.
// 3. Improve usability and consistency of cursor style between image-type
// `input` and others.
//
button,
html input[type="button"], // 1
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; // 2
cursor: pointer; // 3
}
//
// Re-set default cursor for disabled elements.
//
button[disabled],
html input[disabled] {
cursor: default;
}
//
// 1. Address box sizing set to `content-box` in IE 8/9/10.
// 2. Remove excess padding in IE 8/9/10.
//
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; // 1
padding: 0; // 2
}
//
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
// (include `-moz` to future-proof).
//
input[type="search"] {
-webkit-appearance: textfield; // 1
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; // 2
box-sizing: content-box;
}
//
// Remove inner padding and search cancel button in Safari 5 and Chrome
// on OS X.
//
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
//
// Remove inner padding and border in Firefox 4+.
//
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
//
// 1. Remove default vertical scrollbar in IE 8/9.
// 2. Improve readability and alignment in all browsers.
//
textarea {
overflow: auto; // 1
vertical-align: top; // 2
}
// ==========================================================================
// Tables
// ==========================================================================
//
// Remove most spacing between table cells.
//
table {
border-collapse: collapse;
border-spacing: 0;
}

View File

@@ -0,0 +1,55 @@
//
// Pager pagination
// --------------------------------------------------
.ai1ec-pager {
padding-left: 0;
margin: @line-height-computed 0;
list-style: none;
text-align: center;
.ai1ec-clearfix();
li {
display: inline;
> a,
> span {
display: inline-block;
padding: 5px 14px;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
border-radius: @pager-border-radius;
}
> a:hover,
> a:focus {
text-decoration: none;
background-color: @pagination-hover-bg;
}
}
.ai1ec-next {
> a,
> span {
float: right;
}
}
.ai1ec-previous {
> a,
> span {
float: left;
}
}
.ai1ec-disabled {
> a,
> a:hover,
> a:focus,
> span {
color: @pager-disabled-color;
background-color: @pagination-bg;
cursor: not-allowed;
}
}
}

View File

@@ -0,0 +1,85 @@
//
// Pagination (multiple pages)
// --------------------------------------------------
.ai1ec-pagination {
display: inline-block;
padding-left: 0;
margin: @line-height-computed 0;
border-radius: @border-radius-base;
> li {
display: inline; // Remove list-style and block-level defaults
> a,
> span {
position: relative;
float: left; // Collapse white-space
padding: @padding-base-vertical @padding-base-horizontal;
line-height: @line-height-base;
text-decoration: none;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
margin-left: -1px;
}
&:first-child {
> a,
> span {
margin-left: 0;
.ai1ec-border-left-radius(@border-radius-base);
}
}
&:last-child {
> a,
> span {
.ai1ec-border-right-radius(@border-radius-base);
}
}
}
> li > a,
> li > span {
&:hover,
&:focus {
background-color: @pagination-hover-bg;
}
}
> .ai1ec-active > a,
> .ai1ec-active > span {
&,
&:hover,
&:focus {
z-index: 2;
color: @pagination-active-color;
background-color: @pagination-active-bg;
border-color: @pagination-active-bg;
cursor: default;
}
}
> .ai1ec-disabled {
> span,
> span:hover,
> span:focus,
> a,
> a:hover,
> a:focus {
color: @pagination-disabled-color;
background-color: @pagination-bg;
border-color: @pagination-border;
cursor: not-allowed;
}
}
}
// Sizing
// --------------------------------------------------
// Large
.ai1ec-pagination-lg {
.ai1ec-pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
}
// Small
.ai1ec-pagination-sm {
.ai1ec-pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
}

View File

@@ -0,0 +1,182 @@
//
// Panels
// --------------------------------------------------
// Base class
.ai1ec-panel {
margin-bottom: @line-height-computed;
background-color: @panel-bg;
border: 1px solid transparent;
border-radius: @panel-border-radius;
.ai1ec-box-shadow(0 1px 1px rgba(0,0,0,.05));
}
// Panel contents
.ai1ec-panel-body {
padding: 15px;
.ai1ec-clearfix();
}
// List groups in panels
//
// By default, space out list group content from panel headings to account for
// any kind of custom content between the two.
.ai1ec-panel {
> .ai1ec-list-group {
margin-bottom: 0;
.ai1ec-list-group-item {
border-width: 1px 0;
// Remove border radius for top one
&:first-child {
.ai1ec-border-top-radius(0);
}
// But keep it for the last one
&:last-child {
border-bottom: 0;
}
}
}
}
// Collapse space between when there's no additional content.
.ai1ec-panel-heading + .ai1ec-list-group {
.ai1ec-list-group-item:first-child {
border-top-width: 0;
}
}
// Tables in panels
//
// Place a non-bordered `.ai1ec-table` within a panel (not within a `.ai1ec-panel-body`) and
// watch it go full width.
.ai1ec-panel {
> .ai1ec-table,
> .ai1ec-table-responsive > .ai1ec-table {
margin-bottom: 0;
}
> .ai1ec-panel-body + .ai1ec-table,
> .ai1ec-panel-body + .ai1ec-table-responsive {
border-top: 1px solid @table-border-color;
}
> .ai1ec-table > tbody:first-child th,
> .ai1ec-table > tbody:first-child td {
border-top: 0;
}
> .ai1ec-table-bordered,
> .ai1ec-table-responsive > .ai1ec-table-bordered {
border: 0;
> thead,
> tbody,
> tfoot {
> tr {
> th:first-child,
> td:first-child {
border-left: 0;
}
> th:last-child,
> td:last-child {
border-right: 0;
}
&:last-child > th,
&:last-child > td {
border-bottom: 0;
}
}
}
}
> .ai1ec-table-responsive {
border: 0;
margin-bottom: 0;
}
}
// Optional heading
.ai1ec-panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
.ai1ec-border-top-radius(@panel-border-radius - 1);
> .ai1ec-dropdown .ai1ec-dropdown-toggle {
color: inherit;
}
}
// Within heading, strip any `h*` tag of it's default margins for spacing.
.ai1ec-panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: ceil((@font-size-base * 1.125));
color: inherit;
> a {
color: inherit;
}
}
// Optional footer (stays gray in every modifier class)
.ai1ec-panel-footer {
padding: 10px 15px;
background-color: @panel-footer-bg;
border-top: 1px solid @panel-inner-border;
.ai1ec-border-bottom-radius(@panel-border-radius - 1);
}
// Collapsable panels (aka, accordion)
//
// Wrap a series of panels in `.ai1ec-panel-group` to turn them into an accordion with
// the help of our collapse JavaScript plugin.
.ai1ec-panel-group {
// Tighten up margin so it's only between panels
.ai1ec-panel {
margin-bottom: 0;
border-radius: @panel-border-radius;
overflow: hidden; // crop contents when collapsed
+ .ai1ec-panel {
margin-top: 5px;
}
}
.ai1ec-panel-heading {
border-bottom: 0;
+ .ai1ec-panel-collapse .ai1ec-panel-body {
border-top: 1px solid @panel-inner-border;
}
}
.ai1ec-panel-footer {
border-top: 0;
+ .ai1ec-panel-collapse .ai1ec-panel-body {
border-bottom: 1px solid @panel-inner-border;
}
}
}
// Contextual variations
.ai1ec-panel-default {
.ai1ec-panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
}
.ai1ec-panel-primary {
.ai1ec-panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
}
.ai1ec-panel-success {
.ai1ec-panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
}
.ai1ec-panel-warning {
.ai1ec-panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
}
.ai1ec-panel-danger {
.ai1ec-panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
}
.ai1ec-panel-info {
.ai1ec-panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
}

View File

@@ -0,0 +1,133 @@
//
// Popovers
// --------------------------------------------------
.ai1ec-popover {
position: absolute;
top: 0;
left: 0;
z-index: @zindex-popover;
display: none;
max-width: @popover-max-width;
padding: 1px;
text-align: left; // Reset given new insertion method
background-color: @popover-bg;
background-clip: padding-box;
border: 1px solid @popover-fallback-border-color;
border: 1px solid @popover-border-color;
border-radius: @border-radius-large;
.ai1ec-box-shadow(0 5px 10px rgba(0,0,0,.2));
// Overrides for proper insertion
white-space: normal;
// Offset the popover to account for the popover arrow
&.ai1ec-top { margin-top: -10px; }
&.ai1ec-right { margin-left: 10px; }
&.ai1ec-bottom { margin-top: 10px; }
&.ai1ec-left { margin-left: -10px; }
}
.ai1ec-popover-title {
margin: 0; // reset heading margin
padding: 8px 14px;
font-size: @font-size-base;
font-weight: normal;
line-height: 18px;
background-color: @popover-title-bg;
border-bottom: 1px solid darken(@popover-title-bg, 5%);
border-radius: 5px 5px 0 0;
}
.ai1ec-popover-content {
padding: 9px 14px;
}
// Arrows
//
// .ai1ec-arrow is outer, .ai1ec-arrow:after is inner
.ai1ec-popover .ai1ec-arrow {
&,
&:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
}
.ai1ec-popover .ai1ec-arrow {
border-width: @popover-arrow-outer-width;
}
.ai1ec-popover .ai1ec-arrow:after {
border-width: @popover-arrow-width;
content: "";
}
.ai1ec-popover {
&.ai1ec-top .ai1ec-arrow {
left: 50%;
margin-left: -@popover-arrow-outer-width;
border-bottom-width: 0;
border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
border-top-color: @popover-arrow-outer-color;
bottom: -@popover-arrow-outer-width;
&:after {
content: " ";
bottom: 1px;
margin-left: -@popover-arrow-width;
border-bottom-width: 0;
border-top-color: @popover-arrow-color;
}
}
&.ai1ec-right .ai1ec-arrow {
top: 50%;
left: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
border-left-width: 0;
border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
border-right-color: @popover-arrow-outer-color;
&:after {
content: " ";
left: 1px;
bottom: -@popover-arrow-width;
border-left-width: 0;
border-right-color: @popover-arrow-color;
}
}
&.ai1ec-bottom .ai1ec-arrow {
left: 50%;
margin-left: -@popover-arrow-outer-width;
border-top-width: 0;
border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
border-bottom-color: @popover-arrow-outer-color;
top: -@popover-arrow-outer-width;
&:after {
content: " ";
top: 1px;
margin-left: -@popover-arrow-width;
border-top-width: 0;
border-bottom-color: @popover-arrow-color;
}
}
&.ai1ec-left .ai1ec-arrow {
top: 50%;
right: -@popover-arrow-outer-width;
margin-top: -@popover-arrow-outer-width;
border-right-width: 0;
border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
border-left-color: @popover-arrow-outer-color;
&:after {
content: " ";
right: 1px;
border-right-width: 0;
border-left-color: @popover-arrow-color;
bottom: -@popover-arrow-width;
}
}
}

View File

@@ -0,0 +1,105 @@
//
// Basic print styles
// --------------------------------------------------
// Source: https://github.ai1ec-com/h5bp/html5-boilerplate/blob/master/css/main.ai1ec-css
@media print {
* {
text-shadow: none !important;
color: #000 !important; // Black prints faster: h5bp.ai1ec-com/s
background: transparent !important;
box-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
// Don't show links for images, or javascript/internal links
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group; // h5bp.ai1ec-com/t
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 2cm .5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
// Chrome (OSX) fix for https://github.ai1ec-com/twbs/bootstrap/issues/11245
// Once fixed, we can just straight up remove this.
select {
background: #fff !important;
}
// Bootstrap components
.ai1ec-navbar {
display: none;
}
.ai1ec-table {
td,
th {
background-color: #fff !important;
}
}
.ai1ec-btn,
.ai1ec-dropup > .ai1ec-btn {
> .ai1ec-caret {
border-top-color: #000 !important;
}
}
.ai1ec-label {
border: 1px solid #000;
}
.ai1ec-table {
border-collapse: collapse !important;
}
.ai1ec-table-bordered {
th,
td {
border: 1px solid #ddd !important;
}
}
}

View File

@@ -0,0 +1,80 @@
//
// Progress bars
// --------------------------------------------------
// Bar animations
// -------------------------
// WebKit
@-webkit-keyframes progress-bar-stripes {
from { background-position: 40px 0; }
to { background-position: 0 0; }
}
// Spec and IE10+
@keyframes progress-bar-stripes {
from { background-position: 40px 0; }
to { background-position: 0 0; }
}
// Bar itself
// -------------------------
// Outer container
.ai1ec-progress {
overflow: hidden;
height: @line-height-computed;
margin-bottom: @line-height-computed;
background-color: @progress-bg;
border-radius: @border-radius-base;
.ai1ec-box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
}
// Bar of progress
.ai1ec-progress-bar {
float: left;
width: 0%;
height: 100%;
font-size: @font-size-small;
line-height: @line-height-computed;
color: @progress-bar-color;
text-align: center;
background-color: @progress-bar-bg;
.ai1ec-box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
.ai1ec-transition(width .6s ease);
}
// Striped bars
.ai1ec-progress-striped .ai1ec-progress-bar {
#gradient > .ai1ec-striped();
background-size: 40px 40px;
}
// Call animation for the active one
.ai1ec-progress.ai1ec-active .ai1ec-progress-bar {
.ai1ec-animation(progress-bar-stripes 2s linear infinite);
}
// Variations
// -------------------------
.ai1ec-progress-bar-success {
.ai1ec-progress-bar-variant(@progress-bar-success-bg);
}
.ai1ec-progress-bar-info {
.ai1ec-progress-bar-variant(@progress-bar-info-bg);
}
.ai1ec-progress-bar-warning {
.ai1ec-progress-bar-variant(@progress-bar-warning-bg);
}
.ai1ec-progress-bar-danger {
.ai1ec-progress-bar-variant(@progress-bar-danger-bg);
}

View File

@@ -0,0 +1,209 @@
//
// Responsive: Utility classes
// --------------------------------------------------
// IE10 in Windows (Phone) 8
//
// Support for responsive views via media queries is kind of borked in IE10, for
// Surface/desktop in split view and for Windows Phone 8. This particular fix
// must be accompanied by a snippet of JavaScript to sniff the user agent and
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
// our Getting Started page for more information on this bug.
//
// For more information, see the following:
//
// Issue: https://github.ai1ec-com/twbs/bootstrap/issues/10497
// Docs: http://getbootstrap.ai1ec-com/getting-started/#browsers
// Source: http://timkadlec.ai1ec-com/2012/10/ie10-snap-mode-and-responsive-design/
@-ms-viewport {
width: device-width;
}
// Visibility utilities
.ai1ec-visible-xs {
.ai1ec-responsive-invisibility();
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-visibility();
}
&.ai1ec-visible-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-visibility();
}
}
}
.ai1ec-visible-sm {
.ai1ec-responsive-invisibility();
&.ai1ec-visible-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-visibility();
}
}
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-visibility();
}
&.ai1ec-visible-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-visibility();
}
}
}
.ai1ec-visible-md {
.ai1ec-responsive-invisibility();
&.ai1ec-visible-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-visibility();
}
}
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-visibility();
}
&.ai1ec-visible-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-visibility();
}
}
}
.ai1ec-visible-lg {
.ai1ec-responsive-invisibility();
&.ai1ec-visible-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-visibility();
}
}
&.ai1ec-visible-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-visibility();
}
}
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-visibility();
}
}
.ai1ec-hidden-xs {
.ai1ec-responsive-visibility();
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-invisibility();
}
&.ai1ec-hidden-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-invisibility();
}
}
}
.ai1ec-hidden-sm {
.ai1ec-responsive-visibility();
&.ai1ec-hidden-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-invisibility();
}
}
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-invisibility();
}
&.ai1ec-hidden-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-invisibility();
}
}
}
.ai1ec-hidden-md {
.ai1ec-responsive-visibility();
&.ai1ec-hidden-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-invisibility();
}
}
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-invisibility();
}
&.ai1ec-hidden-lg {
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-invisibility();
}
}
}
.ai1ec-hidden-lg {
.ai1ec-responsive-visibility();
&.ai1ec-hidden-xs {
@media (max-width: @screen-xs-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-sm {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
.ai1ec-responsive-invisibility();
}
}
&.ai1ec-hidden-md {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
.ai1ec-responsive-invisibility();
}
}
@media (min-width: @screen-lg-min) {
.ai1ec-responsive-invisibility();
}
}
// Print utilities
.ai1ec-visible-print {
.ai1ec-responsive-invisibility();
}
@media print {
.ai1ec-visible-print {
.ai1ec-responsive-visibility();
}
.ai1ec-hidden-print {
.ai1ec-responsive-invisibility();
}
}

View File

@@ -0,0 +1,119 @@
//
// Scaffolding
// --------------------------------------------------
// Reset the box-sizing
*,
*:before,
*:after {
.ai1ec-box-sizing(border-box);
}
// Body reset
html {
font-size: 62.5%;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
font-family: @font-family-base;
font-size: @font-size-base;
line-height: @line-height-base;
color: @text-color;
background-color: @body-bg;
}
// Reset fonts for relevant elements
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
// Links
a {
color: @link-color;
text-decoration: none;
&:hover,
&:focus {
color: @link-hover-color;
text-decoration: underline;
}
&:focus {
.ai1ec-tab-focus();
}
}
// Images
img {
vertical-align: middle;
}
// Responsive images (ensure images don't scale beyond their parents)
.ai1ec-img-responsive {
.ai1ec-img-responsive();
}
// Rounded corners
.ai1ec-img-rounded {
border-radius: @border-radius-large;
}
// Image thumbnails
//
// Heads up! This is mixin-ed into thumbnails.less for `.ai1ec-thumbnail`.
.ai1ec-img-thumbnail {
padding: @thumbnail-padding;
line-height: @line-height-base;
background-color: @thumbnail-bg;
border: 1px solid @thumbnail-border;
border-radius: @thumbnail-border-radius;
.ai1ec-transition(all .2s ease-in-out);
// Keep them at most 100% wide
.ai1ec-img-responsive(inline-block);
}
// Perfect circle
.ai1ec-img-circle {
border-radius: 50%; // set radius in percents
}
// Horizontal rules
hr {
margin-top: @line-height-computed;
margin-bottom: @line-height-computed;
border: 0;
border-top: 1px solid @hr-border;
}
// Only display content to screen readers
//
// See: http://a11yproject.ai1ec-com/posts/how-to-hide-content/
.ai1ec-sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}

View File

@@ -0,0 +1,231 @@
//
// Tables
// --------------------------------------------------
table {
max-width: 100%;
background-color: @table-bg;
}
th {
text-align: left;
}
// Baseline styles
.ai1ec-table {
width: 100%;
margin-bottom: @line-height-computed;
// Cells
> thead,
> tbody,
> tfoot {
> tr {
> th,
> td {
padding: @table-cell-padding;
line-height: @line-height-base;
vertical-align: top;
border-top: 1px solid @table-border-color;
}
}
}
// Bottom align for column headings
> thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid @table-border-color;
}
// Remove top border from thead by default
> caption + thead,
> colgroup + thead,
> thead:first-child {
> tr:first-child {
> th,
> td {
border-top: 0;
}
}
}
// Account for multiple tbody instances
> tbody + tbody {
border-top: 2px solid @table-border-color;
}
// Nesting
.ai1ec-table {
background-color: @body-bg;
}
}
// Condensed table w/ half padding
.ai1ec-table-condensed {
> thead,
> tbody,
> tfoot {
> tr {
> th,
> td {
padding: @table-condensed-cell-padding;
}
}
}
}
// Bordered version
//
// Add borders all around the table and between all the columns.
.ai1ec-table-bordered {
border: 1px solid @table-border-color;
> thead,
> tbody,
> tfoot {
> tr {
> th,
> td {
border: 1px solid @table-border-color;
}
}
}
> thead > tr {
> th,
> td {
border-bottom-width: 2px;
}
}
}
// Zebra-striping
//
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
.ai1ec-table-striped {
> tbody > tr:nth-child(odd) {
> td,
> th {
background-color: @table-bg-accent;
}
}
}
// Hover effect
//
// Placed here since it has to come after the potential zebra striping
.ai1ec-table-hover {
> tbody > tr:hover {
> td,
> th {
background-color: @table-bg-hover;
}
}
}
// Table cell sizing
//
// Reset default table behavior
table col[class*="col-"] {
position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.ai1ec-com/twbs/bootstrap/issues/11623)
float: none;
display: table-column;
}
table {
td,
th {
&[class*="col-"] {
float: none;
display: table-cell;
}
}
}
// Table backgrounds
//
// Exact selectors below required to override `.ai1ec-table-striped` and prevent
// inheritance to nested tables.
// Generate the contextual variants
.ai1ec-table-row-variant(active; @table-bg-active);
.ai1ec-table-row-variant(success; @state-success-bg);
.ai1ec-table-row-variant(danger; @state-danger-bg);
.ai1ec-table-row-variant(warning; @state-warning-bg);
// Responsive tables
//
// Wrap your tables in `.ai1ec-table-responsive` and we'll make them mobile friendly
// by enabling horizontal scrolling. Only applies <768px. Everything above that
// will display normally.
@media (max-width: @screen-xs-max) {
.ai1ec-table-responsive {
width: 100%;
margin-bottom: (@line-height-computed * 0.75);
overflow-y: hidden;
overflow-x: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid @table-border-color;
-webkit-overflow-scrolling: touch;
// Tighten up spacing
> .ai1ec-table {
margin-bottom: 0;
// Ensure the content doesn't wrap
> thead,
> tbody,
> tfoot {
> tr {
> th,
> td {
white-space: nowrap;
}
}
}
}
// Special overrides for the bordered tables
> .ai1ec-table-bordered {
border: 0;
// Nuke the appropriate borders so that the parent can handle them
> thead,
> tbody,
> tfoot {
> tr {
> th:first-child,
> td:first-child {
border-left: 0;
}
> th:last-child,
> td:last-child {
border-right: 0;
}
}
}
// Only nuke the last row's bottom-border in `tbody` and `tfoot` since
// chances are there will be only one `tr` in a `thead` and that would
// remove the border altogether.
> tbody,
> tfoot {
> tr:last-child {
> th,
> td {
border-bottom: 0;
}
}
}
}
}
}

View File

@@ -0,0 +1,247 @@
//
// Load core variables and mixins
// --------------------------------------------------
@import "variables.less";
@import "mixins.less";
//
// Buttons
// --------------------------------------------------
// Common styles
.ai1ec-btn-default,
.ai1ec-btn-primary,
.ai1ec-btn-success,
.ai1ec-btn-info,
.ai1ec-btn-warning,
.ai1ec-btn-danger {
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
.ai1ec-box-shadow(@shadow);
// Reset the shadow
&:active,
&.ai1ec-active {
.ai1ec-box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
}
// Mixin for generating new styles
.ai1ec-btn-styles(@btn-color: #555) {
#gradient > .ai1ec-vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
.ai1ec-reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
background-repeat: repeat-x;
border-color: darken(@btn-color, 14%);
&:hover,
&:focus {
background-color: darken(@btn-color, 12%);
background-position: 0 -15px;
}
&:active,
&.ai1ec-active {
background-color: darken(@btn-color, 12%);
border-color: darken(@btn-color, 14%);
}
}
// Common styles
.ai1ec-btn {
// Remove the gradient for the pressed/active state
&:active,
&.ai1ec-active {
background-image: none;
}
}
// Apply the mixin to the buttons
.ai1ec-btn-default { .ai1ec-btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
.ai1ec-btn-primary { .ai1ec-btn-styles(@btn-primary-bg); }
.ai1ec-btn-success { .ai1ec-btn-styles(@btn-success-bg); }
.ai1ec-btn-warning { .ai1ec-btn-styles(@btn-warning-bg); }
.ai1ec-btn-danger { .ai1ec-btn-styles(@btn-danger-bg); }
.ai1ec-btn-info { .ai1ec-btn-styles(@btn-info-bg); }
//
// Images
// --------------------------------------------------
.ai1ec-thumbnail,
.ai1ec-img-thumbnail {
.ai1ec-box-shadow(0 1px 2px rgba(0,0,0,.075));
}
//
// Dropdowns
// --------------------------------------------------
.ai1ec-dropdown-menu > li > a:hover,
.ai1ec-dropdown-menu > li > a:focus {
#gradient > .ai1ec-vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
background-color: darken(@dropdown-link-hover-bg, 5%);
}
.ai1ec-dropdown-menu > .ai1ec-active > a,
.ai1ec-dropdown-menu > .ai1ec-active > a:hover,
.ai1ec-dropdown-menu > .ai1ec-active > a:focus {
#gradient > .ai1ec-vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
background-color: darken(@dropdown-link-active-bg, 5%);
}
//
// Navbar
// --------------------------------------------------
// Default navbar
.ai1ec-navbar-default {
#gradient > .ai1ec-vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
.ai1ec-reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
border-radius: @navbar-border-radius;
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
.ai1ec-box-shadow(@shadow);
.ai1ec-navbar-nav > .ai1ec-active > a {
#gradient > .ai1ec-vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));
.ai1ec-box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
}
}
.ai1ec-navbar-brand,
.ai1ec-navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
// Inverted navbar
.ai1ec-navbar-inverse {
#gradient > .ai1ec-vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
.ai1ec-reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
.ai1ec-navbar-nav > .ai1ec-active > a {
#gradient > .ai1ec-vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));
.ai1ec-box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
}
.ai1ec-navbar-brand,
.ai1ec-navbar-nav > li > a {
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
}
// Undo rounded corners in static and fixed navbars
.ai1ec-navbar-static-top,
.ai1ec-navbar-fixed-top,
.ai1ec-navbar-fixed-bottom {
border-radius: 0;
}
//
// Alerts
// --------------------------------------------------
// Common styles
.ai1ec-alert {
text-shadow: 0 1px 0 rgba(255,255,255,.2);
@shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
.ai1ec-box-shadow(@shadow);
}
// Mixin for generating new styles
.ai1ec-alert-styles(@color) {
#gradient > .ai1ec-vertical(@start-color: @color; @end-color: darken(@color, 7.5%));
border-color: darken(@color, 15%);
}
// Apply the mixin to the alerts
.ai1ec-alert-success { .ai1ec-alert-styles(@alert-success-bg); }
.ai1ec-alert-info { .ai1ec-alert-styles(@alert-info-bg); }
.ai1ec-alert-warning { .ai1ec-alert-styles(@alert-warning-bg); }
.ai1ec-alert-danger { .ai1ec-alert-styles(@alert-danger-bg); }
//
// Progress bars
// --------------------------------------------------
// Give the progress background some depth
.ai1ec-progress {
#gradient > .ai1ec-vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)
}
// Mixin for generating new styles
.ai1ec-progress-bar-styles(@color) {
#gradient > .ai1ec-vertical(@start-color: @color; @end-color: darken(@color, 10%));
}
// Apply the mixin to the progress bars
.ai1ec-progress-bar { .ai1ec-progress-bar-styles(@progress-bar-bg); }
.ai1ec-progress-bar-success { .ai1ec-progress-bar-styles(@progress-bar-success-bg); }
.ai1ec-progress-bar-info { .ai1ec-progress-bar-styles(@progress-bar-info-bg); }
.ai1ec-progress-bar-warning { .ai1ec-progress-bar-styles(@progress-bar-warning-bg); }
.ai1ec-progress-bar-danger { .ai1ec-progress-bar-styles(@progress-bar-danger-bg); }
//
// List groups
// --------------------------------------------------
.ai1ec-list-group {
border-radius: @border-radius-base;
.ai1ec-box-shadow(0 1px 2px rgba(0,0,0,.075));
}
.ai1ec-list-group-item.ai1ec-active,
.ai1ec-list-group-item.ai1ec-active:hover,
.ai1ec-list-group-item.ai1ec-active:focus {
text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);
#gradient > .ai1ec-vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));
border-color: darken(@list-group-active-border, 7.5%);
}
//
// Panels
// --------------------------------------------------
// Common styles
.ai1ec-panel {
.ai1ec-box-shadow(0 1px 2px rgba(0,0,0,.05));
}
// Mixin for generating new styles
.ai1ec-panel-heading-styles(@color) {
#gradient > .ai1ec-vertical(@start-color: @color; @end-color: darken(@color, 5%));
}
// Apply the mixin to the panel headings only
.ai1ec-panel-default > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-default-heading-bg); }
.ai1ec-panel-primary > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-primary-heading-bg); }
.ai1ec-panel-success > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-success-heading-bg); }
.ai1ec-panel-info > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-info-heading-bg); }
.ai1ec-panel-warning > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-warning-heading-bg); }
.ai1ec-panel-danger > .ai1ec-panel-heading { .ai1ec-panel-heading-styles(@panel-danger-heading-bg); }
//
// Wells
// --------------------------------------------------
.ai1ec-well {
#gradient > .ai1ec-vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);
border-color: darken(@well-bg, 10%);
@shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
.ai1ec-box-shadow(@shadow);
}

View File

@@ -0,0 +1,36 @@
//
// Thumbnails
// --------------------------------------------------
// Mixin and adjust the regular image class
.ai1ec-thumbnail {
display: block;
padding: @thumbnail-padding;
margin-bottom: @line-height-computed;
line-height: @line-height-base;
background-color: @thumbnail-bg;
border: 1px solid @thumbnail-border;
border-radius: @thumbnail-border-radius;
.ai1ec-transition(all .2s ease-in-out);
> img,
a > img {
.ai1ec-img-responsive();
margin-left: auto;
margin-right: auto;
}
// Add a hover state for linked versions only
a&:hover,
a&:focus,
a&.ai1ec-active {
border-color: @link-color;
}
// Image captions
.ai1ec-caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
}
}

View File

@@ -0,0 +1,95 @@
//
// Tooltips
// --------------------------------------------------
// Base class
.ai1ec-tooltip {
position: absolute;
z-index: @zindex-tooltip;
display: block;
visibility: visible;
font-size: @font-size-small;
line-height: 1.4;
.ai1ec-opacity(0);
&.ai1ec-in { .ai1ec-opacity(.9); }
&.ai1ec-top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
&.ai1ec-right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
&.ai1ec-bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
&.ai1ec-left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
}
// Wrapper for the tooltip content
.ai1ec-tooltip-inner {
max-width: @tooltip-max-width;
padding: 3px 8px;
color: @tooltip-color;
text-align: center;
text-decoration: none;
background-color: @tooltip-bg;
border-radius: @border-radius-base;
}
// Arrows
.ai1ec-tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.ai1ec-tooltip {
&.ai1ec-top .ai1ec-tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -@tooltip-arrow-width;
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
border-top-color: @tooltip-arrow-color;
}
&.ai1ec-top-left .ai1ec-tooltip-arrow {
bottom: 0;
left: @tooltip-arrow-width;
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
border-top-color: @tooltip-arrow-color;
}
&.ai1ec-top-right .ai1ec-tooltip-arrow {
bottom: 0;
right: @tooltip-arrow-width;
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
border-top-color: @tooltip-arrow-color;
}
&.ai1ec-right .ai1ec-tooltip-arrow {
top: 50%;
left: 0;
margin-top: -@tooltip-arrow-width;
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
border-right-color: @tooltip-arrow-color;
}
&.ai1ec-left .ai1ec-tooltip-arrow {
top: 50%;
right: 0;
margin-top: -@tooltip-arrow-width;
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
border-left-color: @tooltip-arrow-color;
}
&.ai1ec-bottom .ai1ec-tooltip-arrow {
top: 0;
left: 50%;
margin-left: -@tooltip-arrow-width;
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
border-bottom-color: @tooltip-arrow-color;
}
&.ai1ec-bottom-left .ai1ec-tooltip-arrow {
top: 0;
left: @tooltip-arrow-width;
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
border-bottom-color: @tooltip-arrow-color;
}
&.ai1ec-bottom-right .ai1ec-tooltip-arrow {
top: 0;
right: @tooltip-arrow-width;
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
border-bottom-color: @tooltip-arrow-color;
}
}

View File

@@ -0,0 +1,281 @@
//
// Typography
// --------------------------------------------------
// Headings
// -------------------------
h1, h2, h3, h4, h5, h6,
.ai1ec-h1, .ai1ec-h2, .ai1ec-h3, .ai1ec-h4, .ai1ec-h5, .ai1ec-h6 {
font-family: @headings-font-family;
font-weight: @headings-font-weight;
line-height: @headings-line-height;
color: @headings-color;
small,
.ai1ec-small {
font-weight: normal;
line-height: 1;
color: @headings-small-color;
}
}
h1,
h2,
h3 {
margin-top: @line-height-computed;
margin-bottom: (@line-height-computed / 2);
small,
.ai1ec-small {
font-size: 65%;
}
}
h4,
h5,
h6 {
margin-top: (@line-height-computed / 2);
margin-bottom: (@line-height-computed / 2);
small,
.ai1ec-small {
font-size: 75%;
}
}
h1, .ai1ec-h1 { font-size: @font-size-h1; }
h2, .ai1ec-h2 { font-size: @font-size-h2; }
h3, .ai1ec-h3 { font-size: @font-size-h3; }
h4, .ai1ec-h4 { font-size: @font-size-h4; }
h5, .ai1ec-h5 { font-size: @font-size-h5; }
h6, .ai1ec-h6 { font-size: @font-size-h6; }
// Body text
// -------------------------
p {
margin: 0 0 (@line-height-computed / 2);
}
.ai1ec-lead {
margin-bottom: @line-height-computed;
font-size: floor(@font-size-base * 1.15);
font-weight: 200;
line-height: 1.4;
@media (min-width: @screen-sm-min) {
font-size: (@font-size-base * 1.5);
}
}
// Emphasis & misc
// -------------------------
// Ex: 14px base font * 85% = about 12px
small,
.ai1ec-small { font-size: 85%; }
// Undo browser default styling
cite { font-style: normal; }
// Contextual emphasis
.ai1ec-text-muted {
color: @text-muted;
}
.ai1ec-text-primary {
color: @brand-primary;
&:hover {
color: darken(@brand-primary, 10%);
}
}
.ai1ec-text-warning {
color: @state-warning-text;
&:hover {
color: darken(@state-warning-text, 10%);
}
}
.ai1ec-text-danger {
color: @state-danger-text;
&:hover {
color: darken(@state-danger-text, 10%);
}
}
.ai1ec-text-success {
color: @state-success-text;
&:hover {
color: darken(@state-success-text, 10%);
}
}
.ai1ec-text-info {
color: @state-info-text;
&:hover {
color: darken(@state-info-text, 10%);
}
}
// Alignment
.ai1ec-text-left { text-align: left; }
.ai1ec-text-right { text-align: right; }
.ai1ec-text-center { text-align: center; }
// Page header
// -------------------------
.ai1ec-page-header {
padding-bottom: ((@line-height-computed / 2) - 1);
margin: (@line-height-computed * 2) 0 @line-height-computed;
border-bottom: 1px solid @page-header-border-color;
}
// Lists
// --------------------------------------------------
// Unordered and Ordered lists
ul,
ol {
margin-top: 0;
margin-bottom: (@line-height-computed / 2);
ul,
ol {
margin-bottom: 0;
}
}
// List options
// Unstyled keeps list items block level, just removes default browser padding and list-style
.ai1ec-list-unstyled {
padding-left: 0;
list-style: none;
}
// Inline turns list items into inline-block
.ai1ec-list-inline {
.ai1ec-list-unstyled();
> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
&:first-child {
padding-left: 0;
}
}
}
// Description Lists
dl {
margin-top: 0; // Remove browser default
margin-bottom: @line-height-computed;
}
dt,
dd {
line-height: @line-height-base;
}
dt {
font-weight: bold;
}
dd {
margin-left: 0; // Undo browser default
}
// Horizontal description lists
//
// Defaults to being stacked without any of the below styles applied, until the
// grid breakpoint is reached (default of ~768px).
@media (min-width: @grid-float-breakpoint) {
.ai1ec-dl-horizontal {
dt {
float: left;
width: (@component-offset-horizontal - 20);
clear: left;
text-align: right;
.ai1ec-text-overflow();
}
dd {
margin-left: @component-offset-horizontal;
.ai1ec-clearfix(); // Clear the floated `dt` if an empty `dd` is present
}
}
}
// MISC
// ----
// Abbreviations and acronyms
abbr[title],
// Add data-* attribute to help out our tooltip plugin, per https://github.ai1ec-com/twbs/bootstrap/issues/5257
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted @abbr-border-color;
}
.ai1ec-initialism {
font-size: 90%;
text-transform: uppercase;
}
// Blockquotes
blockquote {
padding: (@line-height-computed / 2) @line-height-computed;
margin: 0 0 @line-height-computed;
border-left: 5px solid @blockquote-border-color;
p {
font-size: (@font-size-base * 1.25);
font-weight: 300;
line-height: 1.25;
}
p:last-child {
margin-bottom: 0;
}
small,
.ai1ec-small {
display: block;
line-height: @line-height-base;
color: @blockquote-small-color;
&:before {
content: '\2014 \00A0'; // EM DASH, NBSP
}
}
// Float right with text-align: right
&.ai1ec-pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid @blockquote-border-color;
border-left: 0;
p,
small,
.ai1ec-small {
text-align: right;
}
small,
.ai1ec-small {
&:before {
content: '';
}
&:after {
content: '\00A0 \2014'; // NBSP, EM DASH
}
}
}
}
// Quotes
blockquote:before,
blockquote:after {
content: "";
}
// Addresses
address {
margin-bottom: @line-height-computed;
font-style: normal;
line-height: @line-height-base;
}

View File

@@ -0,0 +1,56 @@
//
// Utility classes
// --------------------------------------------------
// Floats
// -------------------------
.ai1ec-clearfix {
.ai1ec-clearfix();
}
.ai1ec-center-block {
.ai1ec-center-block();
}
.ai1ec-pull-right {
float: right !important;
}
.ai1ec-pull-left {
float: left !important;
}
// Toggling content
// -------------------------
// Note: Deprecated .ai1ec-hide in favor of .ai1ec-hidden or .ai1ec-sr-only (as appropriate) in v3.0.1
.ai1ec-hide {
display: none !important;
}
.ai1ec-show {
display: block !important;
}
.ai1ec-invisible {
visibility: hidden;
}
.ai1ec-text-hide {
.ai1ec-text-hide();
}
// Hide from screenreaders and browsers
//
// Credit: HTML5 Boilerplate
.ai1ec-hidden {
display: none !important;
visibility: hidden !important;
}
// For Affix plugin
// -------------------------
.ai1ec-affix {
position: fixed;
}

View File

@@ -0,0 +1,642 @@
//
// Variables
// --------------------------------------------------
// Global values
// --------------------------------------------------
// Grays
// -------------------------
@gray-darker: lighten(#000, 13.5%); // #222
@gray-dark: lighten(#000, 20%); // #333
@gray: lighten(#000, 33.5%); // #555
@gray-light: lighten(#000, 60%); // #999
@gray-lighter: lighten(#000, 93.5%); // #eee
// Brand colors
// -------------------------
@brand-primary: #428bca;
@brand-success: #5cb85c;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@brand-info: #5bc0de;
// Scaffolding
// -------------------------
@body-bg: #fff;
@text-color: @gray-dark;
// Links
// -------------------------
@link-color: @brand-primary;
@link-hover-color: darken(@link-color, 15%);
// Typography
// -------------------------
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif: Georgia, "Times New Roman", Times, serif;
@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
@font-family-base: @font-family-sans-serif;
@font-size-base: 14px;
@font-size-large: ceil(@font-size-base * 1.25); // ~18px
@font-size-small: ceil(@font-size-base * 0.85); // ~12px
@font-size-h1: floor(@font-size-base * 2.6); // ~36px
@font-size-h2: floor(@font-size-base * 2.15); // ~30px
@font-size-h3: ceil(@font-size-base * 1.7); // ~24px
@font-size-h4: ceil(@font-size-base * 1.25); // ~18px
@font-size-h5: @font-size-base;
@font-size-h6: ceil(@font-size-base * 0.85); // ~12px
@line-height-base: 1.428571429; // 20/14
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
@headings-font-family: @font-family-base;
@headings-font-weight: 500;
@headings-line-height: 1.1;
@headings-color: inherit;
// Iconography
// -------------------------
@icon-font-path: "../fonts/";
@icon-font-name: "glyphicons-halflings-regular";
// Components
// -------------------------
// Based on 14px font-size and 1.428 line-height (~20px to start)
@padding-base-vertical: 6px;
@padding-base-horizontal: 12px;
@padding-large-vertical: 10px;
@padding-large-horizontal: 16px;
@padding-small-vertical: 5px;
@padding-small-horizontal: 10px;
@padding-xs-vertical: 1px;
@padding-xs-horizontal: 5px;
@line-height-large: 1.33;
@line-height-small: 1.5;
@border-radius-base: 4px;
@border-radius-large: 6px;
@border-radius-small: 3px;
@component-active-color: #fff;
@component-active-bg: @brand-primary;
@caret-width-base: 4px;
@caret-width-large: 5px;
// Tables
// -------------------------
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-bg: transparent; // overall background-color
@table-bg-accent: #f9f9f9; // for striping
@table-bg-hover: #f5f5f5;
@table-bg-active: @table-bg-hover;
@table-border-color: #ddd; // table and cell border
// Buttons
// -------------------------
@btn-font-weight: normal;
@btn-default-color: #333;
@btn-default-bg: #fff;
@btn-default-border: #ccc;
@btn-primary-color: #fff;
@btn-primary-bg: @brand-primary;
@btn-primary-border: darken(@btn-primary-bg, 5%);
@btn-success-color: #fff;
@btn-success-bg: @brand-success;
@btn-success-border: darken(@btn-success-bg, 5%);
@btn-warning-color: #fff;
@btn-warning-bg: @brand-warning;
@btn-warning-border: darken(@btn-warning-bg, 5%);
@btn-danger-color: #fff;
@btn-danger-bg: @brand-danger;
@btn-danger-border: darken(@btn-danger-bg, 5%);
@btn-info-color: #fff;
@btn-info-bg: @brand-info;
@btn-info-border: darken(@btn-info-bg, 5%);
@btn-link-disabled-color: @gray-light;
// Forms
// -------------------------
@input-bg: #fff;
@input-bg-disabled: @gray-lighter;
@input-color: @gray;
@input-border: #ccc;
@input-border-radius: @border-radius-base;
@input-border-focus: #66afe9;
@input-color-placeholder: @gray-light;
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
@legend-color: @gray-dark;
@legend-border-color: #e5e5e5;
@input-group-addon-bg: @gray-lighter;
@input-group-addon-border-color: @input-border;
// Dropdowns
// -------------------------
@dropdown-bg: #fff;
@dropdown-border: rgba(0,0,0,.15);
@dropdown-fallback-border: #ccc;
@dropdown-divider-bg: #e5e5e5;
@dropdown-link-color: @gray-dark;
@dropdown-link-hover-color: darken(@gray-dark, 5%);
@dropdown-link-hover-bg: #f5f5f5;
@dropdown-link-active-color: @component-active-color;
@dropdown-link-active-bg: @component-active-bg;
@dropdown-link-disabled-color: @gray-light;
@dropdown-header-color: @gray-light;
// COMPONENT VARIABLES
// --------------------------------------------------
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindex-navbar: 1000;
@zindex-dropdown: 1000;
@zindex-popover: 1010;
@zindex-tooltip: 1030;
@zindex-navbar-fixed: 1030;
@zindex-modal-background: 1040;
@zindex-modal: 1050;
// Media queries breakpoints
// --------------------------------------------------
// Extra small screen / phone
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
@screen-xs: 480px;
@screen-xs-min: @screen-xs;
@screen-phone: @screen-xs-min;
// Small screen / tablet
// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
@screen-sm: 768px;
@screen-sm-min: @screen-sm;
@screen-tablet: @screen-sm-min;
// Medium screen / desktop
// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
@screen-md: 992px;
@screen-md-min: @screen-md;
@screen-desktop: @screen-md-min;
// Large screen / wide desktop
// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
@screen-lg: 1200px;
@screen-lg-min: @screen-lg;
@screen-lg-desktop: @screen-lg-min;
// So media queries don't overlap when required, provide a maximum
@screen-xs-max: (@screen-sm-min - 1);
@screen-sm-max: (@screen-md-min - 1);
@screen-md-max: (@screen-lg-min - 1);
// Grid system
// --------------------------------------------------
// Number of columns in the grid system
@grid-columns: 12;
// Padding, to be divided by two and applied to the left and right of all columns
@grid-gutter-width: 30px;
// Navbar collapse
// Point at which the navbar becomes uncollapsed
@grid-float-breakpoint: @screen-sm-min;
// Point at which the navbar begins collapsing
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
// Navbar
// -------------------------
// Basics of a navbar
@navbar-height: 50px;
@navbar-margin-bottom: @line-height-computed;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-color: #777;
@navbar-default-bg: #f8f8f8;
@navbar-default-border: darken(@navbar-default-bg, 6.5%);
// Navbar links
@navbar-default-link-color: #777;
@navbar-default-link-hover-color: #333;
@navbar-default-link-hover-bg: transparent;
@navbar-default-link-active-color: #555;
@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
@navbar-default-link-disabled-color: #ccc;
@navbar-default-link-disabled-bg: transparent;
// Navbar brand label
@navbar-default-brand-color: @navbar-default-link-color;
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
@navbar-default-brand-hover-bg: transparent;
// Navbar toggle
@navbar-default-toggle-hover-bg: #ddd;
@navbar-default-toggle-icon-bar-bg: #ccc;
@navbar-default-toggle-border-color: #ddd;
// Inverted navbar
//
// Reset inverted navbar basics
@navbar-inverse-color: @gray-light;
@navbar-inverse-bg: #222;
@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
// Inverted navbar links
@navbar-inverse-link-color: @gray-light;
@navbar-inverse-link-hover-color: #fff;
@navbar-inverse-link-hover-bg: transparent;
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
@navbar-inverse-link-disabled-color: #444;
@navbar-inverse-link-disabled-bg: transparent;
// Inverted navbar brand label
@navbar-inverse-brand-color: @navbar-inverse-link-color;
@navbar-inverse-brand-hover-color: #fff;
@navbar-inverse-brand-hover-bg: transparent;
// Inverted navbar toggle
@navbar-inverse-toggle-hover-bg: #333;
@navbar-inverse-toggle-icon-bar-bg: #fff;
@navbar-inverse-toggle-border-color: #333;
// Navs
// -------------------------
@nav-link-padding: 10px 15px;
@nav-link-hover-bg: @gray-lighter;
@nav-disabled-link-color: @gray-light;
@nav-disabled-link-hover-color: @gray-light;
@nav-open-link-hover-color: #fff;
// Tabs
@nav-tabs-border-color: #ddd;
@nav-tabs-link-hover-border-color: @gray-lighter;
@nav-tabs-active-link-hover-bg: @body-bg;
@nav-tabs-active-link-hover-color: @gray;
@nav-tabs-active-link-hover-border-color: #ddd;
@nav-tabs-justified-link-border-color: #ddd;
@nav-tabs-justified-active-link-border-color: @body-bg;
// Pills
@nav-pills-border-radius: @border-radius-base;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: @component-active-color;
// Pagination
// -------------------------
@pagination-bg: #fff;
@pagination-border: #ddd;
@pagination-hover-bg: @gray-lighter;
@pagination-active-bg: @brand-primary;
@pagination-active-color: #fff;
@pagination-disabled-color: @gray-light;
// Pager
// -------------------------
@pager-border-radius: 15px;
@pager-disabled-color: @gray-light;
// Jumbotron
// -------------------------
@jumbotron-padding: 30px;
@jumbotron-color: inherit;
@jumbotron-bg: @gray-lighter;
@jumbotron-heading-color: inherit;
@jumbotron-font-size: ceil(@font-size-base * 1.5);
// Form states and alerts
// -------------------------
@state-success-text: #3c763d;
@state-success-bg: #dff0d8;
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
@state-info-text: #31708f;
@state-info-bg: #d9edf7;
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
@state-warning-text: #8a6d3b;
@state-warning-bg: #fcf8e3;
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
@state-danger-text: #a94442;
@state-danger-bg: #f2dede;
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
// Tooltips
// -------------------------
@tooltip-max-width: 200px;
@tooltip-color: #fff;
@tooltip-bg: #000;
@tooltip-arrow-width: 5px;
@tooltip-arrow-color: @tooltip-bg;
// Popovers
// -------------------------
@popover-bg: #fff;
@popover-max-width: 276px;
@popover-border-color: rgba(0,0,0,.2);
@popover-fallback-border-color: #ccc;
@popover-title-bg: darken(@popover-bg, 3%);
@popover-arrow-width: 10px;
@popover-arrow-color: #fff;
@popover-arrow-outer-width: (@popover-arrow-width + 1);
@popover-arrow-outer-color: rgba(0,0,0,.25);
@popover-arrow-outer-fallback-color: #999;
// Labels
// -------------------------
@label-default-bg: @gray-light;
@label-primary-bg: @brand-primary;
@label-success-bg: @brand-success;
@label-info-bg: @brand-info;
@label-warning-bg: @brand-warning;
@label-danger-bg: @brand-danger;
@label-color: #fff;
@label-link-hover-color: #fff;
// Modals
// -------------------------
@modal-inner-padding: 20px;
@modal-title-padding: 15px;
@modal-title-line-height: @line-height-base;
@modal-content-bg: #fff;
@modal-content-border-color: rgba(0,0,0,.2);
@modal-content-fallback-border-color: #999;
@modal-backdrop-bg: #000;
@modal-header-border-color: #e5e5e5;
@modal-footer-border-color: @modal-header-border-color;
// Alerts
// -------------------------
@alert-padding: 15px;
@alert-border-radius: @border-radius-base;
@alert-link-font-weight: bold;
@alert-success-bg: @state-success-bg;
@alert-success-text: @state-success-text;
@alert-success-border: @state-success-border;
@alert-info-bg: @state-info-bg;
@alert-info-text: @state-info-text;
@alert-info-border: @state-info-border;
@alert-warning-bg: @state-warning-bg;
@alert-warning-text: @state-warning-text;
@alert-warning-border: @state-warning-border;
@alert-danger-bg: @state-danger-bg;
@alert-danger-text: @state-danger-text;
@alert-danger-border: @state-danger-border;
// Progress bars
// -------------------------
@progress-bg: #f5f5f5;
@progress-bar-color: #fff;
@progress-bar-bg: @brand-primary;
@progress-bar-success-bg: @brand-success;
@progress-bar-warning-bg: @brand-warning;
@progress-bar-danger-bg: @brand-danger;
@progress-bar-info-bg: @brand-info;
// List group
// -------------------------
@list-group-bg: #fff;
@list-group-border: #ddd;
@list-group-border-radius: @border-radius-base;
@list-group-hover-bg: #f5f5f5;
@list-group-active-color: @component-active-color;
@list-group-active-bg: @component-active-bg;
@list-group-active-border: @list-group-active-bg;
@list-group-link-color: #555;
@list-group-link-heading-color: #333;
// Panels
// -------------------------
@panel-bg: #fff;
@panel-inner-border: #ddd;
@panel-border-radius: @border-radius-base;
@panel-footer-bg: #f5f5f5;
@panel-default-text: @gray-dark;
@panel-default-border: #ddd;
@panel-default-heading-bg: #f5f5f5;
@panel-primary-text: #fff;
@panel-primary-border: @brand-primary;
@panel-primary-heading-bg: @brand-primary;
@panel-success-text: @state-success-text;
@panel-success-border: @state-success-border;
@panel-success-heading-bg: @state-success-bg;
@panel-warning-text: @state-warning-text;
@panel-warning-border: @state-warning-border;
@panel-warning-heading-bg: @state-warning-bg;
@panel-danger-text: @state-danger-text;
@panel-danger-border: @state-danger-border;
@panel-danger-heading-bg: @state-danger-bg;
@panel-info-text: @state-info-text;
@panel-info-border: @state-info-border;
@panel-info-heading-bg: @state-info-bg;
// Thumbnails
// -------------------------
@thumbnail-padding: 4px;
@thumbnail-bg: @body-bg;
@thumbnail-border: #ddd;
@thumbnail-border-radius: @border-radius-base;
@thumbnail-caption-color: @text-color;
@thumbnail-caption-padding: 9px;
// Wells
// -------------------------
@well-bg: #f5f5f5;
// Badges
// -------------------------
@badge-color: #fff;
@badge-link-hover-color: #fff;
@badge-bg: @gray-light;
@badge-active-color: @link-color;
@badge-active-bg: #fff;
@badge-font-weight: bold;
@badge-line-height: 1;
@badge-border-radius: 10px;
// Breadcrumbs
// -------------------------
@breadcrumb-bg: #f5f5f5;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
@breadcrumb-separator: "/";
// Carousel
// ------------------------
@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
@carousel-control-color: #fff;
@carousel-control-width: 15%;
@carousel-control-opacity: .5;
@carousel-control-font-size: 20px;
@carousel-indicator-active-bg: #fff;
@carousel-indicator-border-color: #fff;
@carousel-caption-color: #fff;
// Close
// ------------------------
@close-font-weight: bold;
@close-color: #000;
@close-text-shadow: 0 1px 0 #fff;
// Code
// ------------------------
@code-color: #c7254e;
@code-bg: #f9f2f4;
@pre-bg: #f5f5f5;
@pre-color: @gray-dark;
@pre-border-color: #ccc;
@pre-scrollable-max-height: 340px;
// Type
// ------------------------
@text-muted: @gray-light;
@abbr-border-color: @gray-light;
@headings-small-color: @gray-light;
@blockquote-small-color: @gray-light;
@blockquote-border-color: @gray-lighter;
@page-header-border-color: @gray-lighter;
// Miscellaneous
// -------------------------
// Hr border color
@hr-border: @gray-lighter;
// Horizontal forms & lists
@component-offset-horizontal: 180px;
// Container sizes
// --------------------------------------------------
// Small screen / tablet
@container-tablet: ((720px + @grid-gutter-width));
@container-sm: @container-tablet;
// Medium screen / desktop
@container-desktop: ((940px + @grid-gutter-width));
@container-md: @container-desktop;
// Large screen / wide desktop
@container-large-desktop: ((1140px + @grid-gutter-width));
@container-lg: @container-large-desktop;

View File

@@ -0,0 +1,29 @@
//
// Wells
// --------------------------------------------------
// Base class
.ai1ec-well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: @well-bg;
border: 1px solid darken(@well-bg, 7%);
border-radius: @border-radius-base;
.ai1ec-box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
blockquote {
border-color: #ddd;
border-color: rgba(0,0,0,.15);
}
}
// Sizes
.ai1ec-well-lg {
padding: 24px;
border-radius: @border-radius-large;
}
.ai1ec-well-sm {
padding: 9px;
border-radius: @border-radius-small;
}

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Processes the given 3rd-party .less files, including all of Bootstrap, to
# prefix CSS classes with "ai1ec-" so as to eliminate conflicts with WordPress
# theme or other WordPress plugins.
#
# This script must be run each time such a 3rd-party .less component is updated.
#
# Usage examples:
#
# $ ./build-3rdparty-less.sh datepicker3.less
#
# $ ./build-3rdparty-less.sh timepicker.less --preview
#
# $ ./build-3rdparty-less.sh bootstrap/*
which replace >/dev/null
if [[ $? -eq 0 ]]
then
replace \
'\.(?!eot|woff|ttf|svg|Microsoft|gradient\(|less)(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)' \
'.ai1ec-$1' \
"$@"
exit 0
else
echo 'Error: replace not found. Install Node.js then: npm install -g replace'
exit 1
fi

View File

@@ -0,0 +1,966 @@
//
// @file
//
// Used on the full calendar views page only (month, week, day, agenda, etc.).
//
@import "bootstrap/mixins.less";
@import "timely-mixins.less";
// =================
// = Calendar page =
// =================
// General calendar styles.
#ai1ec-container {
clear: both;
}
// Calendar view container.
#ai1ec-calendar-view-container {
position: relative;
-webkit-transform: translateZ(0);
z-index: 1;
}
#ai1ec-calendar-view .post-edit-link {
white-space: nowrap;
}
// Calendar toolbar.
.ai1ec-calendar-toolbar {
background-color: @toolbar-bg;
border: 1px solid @toolbar-border-color;
border-radius: @border-radius-large;
margin-bottom: 8px;
padding: 0 8px;
.ai1ec-nav {
margin: 0 !important;
padding: 0 !important;
}
.timely & .ai1ec-nav-pills > li > a {
border-radius: 0;
}
// Affixed toolbar.
&.ai1ec-affix {
z-index: @zindex-navbar-fixed;
top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
.ai1ec-transition( border-radius 0.3s );
.ai1ec-transition( box-shadow 0.4s );
.ai1ec-box-shadow( 0 3px 12px rgba( 0, 0, 0, 0.2 ) );
.ai1ec-views-dropdown {
margin-bottom: 4px;
clear: both;
}
.ai1ec-clearfix {
padding-top: 8px;
}
}
&.ai1ec-empty-toolbar.ai1ec-affix-top {
border: none;
margin: 0;
}
}
.ai1ec-title-buttons {
.ai1ec-btn-group {
margin-left: 8px;
}
.ai1ec-contribution-buttons {
float: right;
margin-top: 5px;
}
}
// Hidden elements to detect current window mode.
#ai1ec-bs-modes {
width: 0;
height: 0;
overflow: hidden;
}
// Trigger display of dropdown menus on hover on desktop devices only.
.no-touch .ai1ec-calendar-toolbar .ai1ec-dropdown:hover > .ai1ec-dropdown-menu {
display: block;
}
// Views dropdown.
.ai1ec-views-dropdown {
margin-left: 5px;
// Icons
i {
font-size: 1.9em;
line-height: 0.75em;
vertical-align: -37%;
}
.ai1ec-dropdown-menu {
min-width: 0;
}
}
// View filters.
.ai1ec-category-filter .ai1ec-category {
display: block;
}
.ai1ec-filters {
.ai1ec-color-swatch {
height: 7px;
width: 7px;
}
.ai1ec-dropdown-toggle > i {
font-size: 1.25em;
line-height: 0.8em;
vertical-align: -15%;
}
.ai1ec-dropdown-menu {
padding: 1px 2px;
}
}
.ai1ec-tag-filter .ai1ec-dropdown-menu {
max-height: 250px;
min-width: 200px;
overflow: auto;
}
// Select2 filters.
.ai1ec-select2-filters {
clear: both;
.select2-container {
margin: 2px 0;
width: 100%;
}
}
// Clear filter buttons.
.ai1ec-clear-filter {
cursor: pointer;
display: none !important;
}
.ai1ec-dropdown.ai1ec-active > .ai1ec-dropdown-toggle {
> i {
display: none !important;
}
.ai1ec-clear-filter {
display: inline !important;
}
}
// Overhead nav buttons.
.ai1ec-pagination {
> .ai1ec-btn {
text-transform: uppercase;
}
}
.ai1ec-calendar-title,
.ai1ec-calendar-title-short {
font-size: @font-size-base;
line-height: 1em;
}
.ai1ec-calendar-title-short {
display: none;
}
@media screen and ( max-width: @screen-xs-max ) {
.ai1ec-calendar-title {
display: none;
}
.ai1ec-calendar-title-short {
display: inline;
}
}
.ai1ec-minical-trigger {
font-weight: bold !important;
i {
vertical-align: baseline;
}
}
// Print button.
#ai1ec-print-button i {
font-size: 14px;
margin-top: -2px;
}
// Month, week, day tables.
table.ai1ec-month-view,
.ai1ec-week-view table,
.ai1ec-oneday-view table {
border-collapse: collapse;
border: 1px solid @table-border-color !important;
margin: 0 !important;
background: @table-bg;
table-layout: fixed !important;
clear: both;
width: 100% !important;
a.ai1ec-multiday {
.ai1ec-transition( none ) !important;
}
}
table.ai1ec-month-view {
margin-bottom: 6px !important;
}
table.ai1ec-week-view-original,
table.ai1ec-oneday-view-original {
visibility: hidden;
height: 400px;
&.tablescroll_body {
visibility: visible;
height: auto;
&,
& tr:first-child td {
border-top: none !important;
}
}
}
.ai1ec-week-view,
.ai1ec-oneday-view {
.tablescroll_wrapper {
border-bottom: 1px solid @table-border-color;
margin-bottom: 6px;
position: relative;
width: auto !important;
}
table.tablescroll_head {
border-bottom: none !important;
& th {
border-bottom: none !important;
padding: 2.48px !important;
}
}
.ai1ec-reveal-full-day {
float: right;
margin: 3px 3px 3px -3em;
position: relative;
}
.ai1ec-day {
height: 1440px;
}
th {
position: relative;
.ai1ec-weekday-date {
font-size: 15px;
font-weight: normal;
}
.ai1ec-weekday-day {
font-size: 12px;
font-weight: normal;
}
}
}
.ai1ec-month-view,
.ai1ec-week-view,
.ai1ec-oneday-view {
td {
border: 1px solid @table-border-color !important;
background: none !important;
padding: 0 !important;
text-align: left;
vertical-align: top;
}
th {
border: none !important;
background: @table-header-bg !important;
padding: 0.2em !important;
}
}
.ai1ec-month-view td.ai1ec-empty {
background: @table-header-bg !important;
}
.ai1ec-month-view th,
.ai1ec-week-view th,
.ai1ec-week-view .ai1ec-hour-marker div,
.ai1ec-week-view .ai1ec-allday-label,
.ai1ec-oneday-view th,
.ai1ec-oneday-view .ai1ec-hour-marker div,
.ai1ec-oneday-view .ai1ec-allday-label {
color: @table-header-color !important;
text-shadow: 0 1px 0 @text-emboss;
}
.ai1ec-month-view,
.ai1ec-oneday-view {
th {
text-align: center !important;
}
}
.ai1ec-week-view th {
text-align: left !important;
}
.ai1ec-month-view .ai1ec-day,
.ai1ec-week-view .ai1ec-day,
.ai1ec-week-view .ai1ec-allday-events,
.ai1ec-oneday-view .ai1ec-day,
.ai1ec-oneday-view .ai1ec-allday-events {
position: relative;
}
.ai1ec-month-view .ai1ec-day-stretcher {
float: left;
height: 94px;
width: 0;
}
.ai1ec-month-view,
.ai1ec-week-view {
.ai1ec-today {
background: @today-color !important;
}
}
.ai1ec-month-view .ai1ec-date {
background: @month-view-date-bg;
color: mix( @text-color, @month-view-date-bg, 40% );
font-size: 10pt;
line-height: 13px;
height: 13px;
margin-bottom: 1px;
padding: 0 0.4em;
font-size: 8pt;
text-align: right;
text-shadow: 0 1px 0 @text-emboss;
}
// Week/day view time/"now" markers.
.ai1ec-week-view,
.ai1ec-oneday-view {
clear: both;
.ai1ec-grid-container {
position: absolute;
top: auto;
left: 0;
right: 0;
}
.ai1ec-now-marker,
.ai1ec-hour-marker,
.ai1ec-quarter-marker {
position: absolute;
left: 0;
right: 0;
}
.ai1ec-hour-marker {
border-top: 1px solid @table-border-color;
border-top: 1px solid fade( @table-border-color, 70% );
height: 60px;
background: fade( @table-border-color, 40% ) !important;
&.ai1ec-business-hour {
background: none !important;
}
}
.ai1ec-hour-marker div,
.ai1ec-allday-label {
position: relative;
z-index: 2;
margin-left: 1px;
padding: 0 3px;
font-size: 8pt !important;
font-weight: normal !important;
background: @table-header-bg;
float: left;
border-radius: 3px;
}
.ai1ec-allday-label {
margin-top: 1px;
}
.ai1ec-quarter-marker {
border-top: 1px solid @table-border-color;
border-top: 1px solid fade( @table-border-color, 40% );
}
.ai1ec-now-marker {
border-top: 2px solid @day-view-now-marker-color;
.ai1ec-box-shadow( inset 0 1px 1px rgba(0, 0, 0, 0.35) );
height: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
z-index: 2;
div {
background-color: @day-view-now-marker-color;
border-radius: 0 0 3px 3px;
.ai1ec-box-shadow( 0 1px 1px rgba(0, 0, 0, 0.35) );
color: #fff;
.ai1ec-opacity( 0 );
font-size: 11px;
float: left;
padding: 1px 4px;
.ai1ec-transition( opacity 0.1s );
}
&:hover div {
.ai1ec-opacity( 1 );
}
}
}
// Event summaries in month/week/day view, including popups.
.ai1ec-month-view,
.ai1ec-week-view,
.ai1ec-oneday-view {
a.ai1ec-event-container {
border: none;
display: block;
font-size: 12px;
.ai1ec-opacity( 0.85 );
&:hover,
&.ai1ec-hover {
.ai1ec-opacity( 1 );
}
}
.ai1ec-event {
max-height: 100%;
overflow: hidden;
margin: 1px 0 0;
padding: 0 3px 1px;
white-space: nowrap;
}
.ai1ec-event-time {
font-weight: bold;
font-size: 11px;
}
}
.ai1ec-month-view,
.ai1ec-week-view .ai1ec-allday-events,
.ai1ec-oneday-view .ai1ec-allday-events {
a.ai1ec-event-container {
position: relative;
}
.ai1ec-allday .ai1ec-event,
.ai1ec-multiday .ai1ec-event {
border-radius: 3px;
background-color: @event-default-color;
color: @event-stub-allday-text;
text-shadow: 0 1px 1px @event-stub-allday-text-shadow;
}
}
.ai1ec-oneday-view {
a.ai1ec-event-container {
margin-right: 10px;
}
.ai1ec-allday-events a.ai1ec-event-container {
margin: 0 0 0 53px;
}
}
.ai1ec-week-view .ai1ec-week,
.ai1ec-oneday-view .ai1ec-oneday {
a.ai1ec-event-container {
background-color: @event-bg;
background-image: -webkit-linear-gradient( top, mix( @event-default-color, @event-bg, 5% ), mix( @event-default-color, @event-bg, 30% ) 120px );
background-image: -moz-linear-gradient( top, mix( @event-default-color, @event-bg, 5% ), mix( @event-default-color, @event-bg, 30% ) 120px );
background-image: -ms-linear-gradient( top, mix( @event-default-color, @event-bg, 5% ), mix( @event-default-color, @event-bg, 30% ) 120px );
background-image: -o-linear-gradient( top, mix( @event-default-color, @event-bg, 5% ), mix( @event-default-color, @event-bg, 30% ) 120px );
background-image: linear-gradient( top, mix( @event-default-color, @event-bg, 5% ), mix( @event-default-color, @event-bg, 30% ) 120px );
border: 1px solid mix( @event-default-color, @event-bg, 50% );
border-radius: 3px;
.ai1ec-box-shadow( 1px 2px 4px rgba(0,0,0,0.15) );
.ai1ec-box-sizing( border-box );
line-height: 15px;
margin: 0 -1px;
min-height: 34px;
position: absolute;
right: 0;
text-shadow: 0 1px 0 @text-emboss;
&.ai1ec-raised {
z-index: 5;
}
&:hover {
border-color: mix( @event-default-hover-color, @event-bg, 50% );
}
}
.ai1ec-event {
margin: 0;
position: absolute;
bottom: 1px;
left: 0;
right: 0;
top: 1px;
}
.ai1ec-event-title {
display: block;
white-space: normal;
}
}
// Month view multi-day bars and dropdowns.
.ai1ec-month-view {
.ai1ec-event {
height: 14px;
line-height: 14px;
margin: 0 0 1px;
}
// Apply word wrapping if enabled.
.ai1ec-word-wrap& {
.ai1ec-event {
border-bottom: 1px dotted @table-border-color;
height: auto;
overflow: visible;
padding-top: 1px;
padding-bottom: 2px;
white-space: normal;
}
// Disable word wrapping styles in some contexts.
.ai1ec-multiday .ai1ec-event {
border-bottom: none;
overflow: hidden;
padding-top: 0;
padding-bottom: 1px;
white-space: nowrap;
}
.ai1ec-allday .ai1ec-event {
border-bottom: none;
}
}
.ai1ec-allday {
padding-left: 1px;
width: 97.5%;
&.ai1ec-multiday {
padding-left: 0;
}
}
.ai1ec-multiday {
z-index: 1;
}
.ai1ec-multiday-arrow1 {
background: @event-default-color;
border: 7px solid @body-bg;
border-left-color: @event-default-color;
border-right-width: 0;
height: 1px;
position: absolute;
right: 0;
top: 0;
width: 0;
}
.ai1ec-multiday-arrow2 {
border: 7px solid @event-default-color;
border-left-color: @body-bg;
border-right-width: 2px;
height: 1px;
left: 0;
position: absolute;
top: 0;
width: 0;
}
.ai1ec-multiday-bar {
background: @event-default-color;
border-radius: 3px;
height: 14px;
left: 0;
position: absolute;
top: 0;
.ai1ec-event-title {
margin-left: 7px;
}
.ai1ec-event {
margin: 0;
}
.ai1ec-event-time {
display: none;
}
}
.ai1ec-event-dropdown {
background: #FFF;
border: 1px solid #E7E7E7;
border-top: 0;
left: -1px;
position: absolute;
top: 78px;
width: 90px;
z-index: 1000;
}
.ai1ec-obscured {
display: none !important;
}
a.ai1ec-scroll-up,
a.ai1ec-scroll-down {
border: 1px solid @table-border-color;
border-radius: 0.2em;
.ai1ec-box-sizing( border-box );
display: block;
left: 50%;
height: 16px;
line-height: 14px;
margin-left: -8px;
position: relative;
text-align: center;
width: 16px;
&:hover {
background-color: @table-border-color;
}
&.ai1ec-disabled {
border: none;
cursor: default;
.ai1ec-opacity( 0.2 );
padding: 1px; // To compensate for height lost by invisible border.
&:hover {
background-color: transparent;
}
}
}
}
// Truncated events in week/day views.
.ai1ec-oneday-view,
.ai1ec-week-view {
.ai1ec-start-truncated .ai1ec-event-time {
display: none;
}
.ai1ec-start-truncated {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.ai1ec-end-truncated {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.ai1ec-start-truncator,
.ai1ec-end-truncator {
position: absolute;
line-height: 1em;
font-size: 7px;
text-shadow: none;
.ai1ec-opacity( 0.5 );
}
.ai1ec-start-truncator {
top: -1px;
left: -1px;
}
.ai1ec-end-truncator {
bottom: -1px;
right: -1px;
}
}
// Agenda view.
.ai1ec-agenda-view {
clear: both;
overflow: hidden;
margin: 0 0 6px;
.ai1ec-date-events {
overflow: hidden;
margin: 0 0.75em 0 0;
// Fix for border bug in Chrome & Opera
@media screen and (-webkit-min-device-pixel-ratio:0) {
overflow: visible;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
}
}
.ai1ec-date {
overflow: hidden;
}
.ai1ec-event-toggle {
float: right;
font-size: 14px;
font-weight: bold;
color: mix( @text-color, @agenda-date-title-bg, 40% );
.ai1ec-transition( color 0.1s );
// Only show '+' icon by default.
.ai1ec-fa-minus-circle {
display: none;
}
}
// Agenda view events.
.ai1ec-event {
background: @event-bg;
border: 1px solid @event-border;
border-radius: 0.5em;
clear: right;
margin: @font-size-base / 2 0;
overflow: hidden;
position: relative;
padding: 0.6em;
.ai1ec-transition( border-color 0.1s );
// Fix for border bug in Chrome & Opera
@media screen and (-webkit-min-device-pixel-ratio:0) {
overflow: visible;
width: 100%;
& + .ai1ec-event {
margin: 0 0 @font-size-base / 2 0;
}
}
&.ai1ec-expanded {
border-color: @event-hover-border;
.ai1ec-box-shadow( 0 2px 4px mix( @text-color, @agenda-date-title-bg, 15% ) );
// Show - icon when expanded, hide + sign.
.ai1ec-event-toggle {
.ai1ec-fa-minus-circle {
display: inline-block;
}
.ai1ec-fa-plus-circle {
display: none;
}
}
}
.ai1ec-event-header {
cursor: pointer;
&:hover .ai1ec-event-toggle {
color: mix( @text-color, @agenda-date-title-bg, 85% );
}
}
.ai1ec-event-title {
color: @event-default-color;
font-weight: bold;
font-size: 10.5pt;
margin: 0 0 0.4em;
.ai1ec-transition( color 0.1s );
}
.ai1ec-event-time {
font-size: 9pt;
font-weight: bold;
.ai1ec-opacity( 0.8 );
}
.post-edit-link {
.ai1ec-opacity( 0 );
.ai1ec-transition( opacity 0.1s );
}
&:hover {
border-color: @event-hover-border;
.ai1ec-event-title {
color: @event-default-hover-color;
}
.post-edit-link {
.ai1ec-opacity( 1 );
}
}
}
// Agenda view expanded events.
.ai1ec-event-summary {
display: none;
&.ai1ec-expanded {
display: block;
}
}
.ai1ec-event-avatar {
float: left;
margin: 0 16px 8px 0;
max-width: 40%;
img {
max-width: 300px;
max-height: 300px;
min-height: 0;
width: 100%;
}
}
.ai1ec-event-description {
font-size: 9pt;
line-height: 1.5em;
margin-top: @line-height-computed / 2;
}
// Agenda event footer (categories, tags, read more).
.ai1ec-event-summary-footer {
clear: both;
padding-top: 10px;
.ai1ec-field-label {
font-size: 8pt;
}
}
.ai1ec-categories,
.ai1ec-tags {
font-size: 8pt;
margin-right: 0.5em;
}
.ai1ec-actions {
float: right;
margin-top: -5px;
}
}
// Printed agenda view overrides
.ai1ec-print {
* {
background: white !important;
color: black !important;
}
body {
margin: 0;
text-align: left;
}
#wpadminbar,
#comments,
#page > header {
display: none;
}
#ai1ec-container {
position: absolute;
left: 0;
top: 0;
width: 100%;
}
.ai1ec-agenda-view .ai1ec-event.ai1ec-expanded {
box-shadow: none;
border: 2px solid gray !important;
}
.ai1ec-agenda-view {
.ai1ec-event-summary-footer {
display: none;
}
.ai1ec-date-title {
border-color: #cacaca;
&:after {
display: none;
}
}
.ai1ec-event-summary {
.ai1ec-event-title {
display: inline;
}
.ai1ec-event-time {
display: inline;
border: none !important;
box-shadow: none !important;
}
}
.ai1ec-event-description {
padding: 0 !important;
}
.ai1ec-event.ai1ec-allday .ai1ec-allday-label {
border: none !important;
box-shadow: none !important;
padding-left: 0.2em !important;
}
}
.timely .entry-meta,
.timely .ai1ec-subscribe,
.timely .ai1ec-subscribe-google,
.ai1ec-agenda-view .ai1ec-event-expand,
.ai1ec-btn-toolbar,
.ai1ec-pagination,
.ai1ec-calendar-toolbar,
.ai1ec-read-more,
.ai1ec-color-swatch,
.post-edit-link,
.ai1ec-event-toggle,
.ai1ec-views-dropdown {
display: none !important;
}
.ai1ec-event-header {
cursor: text !important;
}
}
// Remove filtered views icon.
#ai1ec_clear_saved_view {
margin-left: -4px;
margin-right: 5px;
}
// Disclaimer link.
.ai1ec-collapsible-toggle {
cursor: pointer;
}
.ai1ec-subscribe-container {
.ai1ec-fa.ai1ec-fa-fw {
width: 20px;
}
}
.ai1ec-event:hover,
.ai1ec-popover {
.ai1ec-sas-actions {
display: block;
white-space: nowrap;
.ai1ec-sas-action {
display: inline-block;
}
.ai1ec-sas-action-tickets {
display: none;
}
}
}
.ai1ec-event[data-ticket-url],
.ai1ec-popover.ai1ec-has-tickets-button {
.ai1ec-sas-action-tickets {
display: inline-block !important;
}
}
:not( .ai1ec-has-product-buy-button ) .ai1ec-event:not( [data-ticket-url] ),
:not( .ai1ec-has-product-buy-button ) .ai1ec-popover:not( .ai1ec-has-tickets-button ) {
.ai1ec-sas-action-tickets {
display: none !important;
}
}
.ai1ec-sas-actions {
display: block;
.ai1ec-sas-action {
display: none;
border-radius: 0;
}
.ai1ec-sas-action:hover,
.ai1ec-active > .ai1ec-sas-action {
span {
display: inline;
}
}
}
// Single event page
.single-ai1ec_event {
.ai1ec-sas-actions {
display: block;
a {
text-align: center !important;
}
}
}
.ai1ec-sas-narrow {
.ai1ec-sas-save-and-share-buttons span {
display: none !important;
}
}
// Agenda
.ai1ec-agenda-view {
.ai1ec-event {
.ai1ec-sas-actions {
float: right;
margin: 0 10px;
@media ( max-width: @screen-md ) {
span {
display: none !important;
}
}
}
}
}
// Posterboard
.ai1ec-posterboard-view,
.ai1ec-popover {
.ai1ec-sas-actions {
text-align: center;
a.ai1ec-btn {
float: none;
}
}
}
.ai1ec-posterboard-view {
.ai1ec-sas-action-tickets {
float: left !important;
margin-top: 1px;
}
}
// Stream view.
.ai1ec-stream-view {
.ai1ec-sas-actions {
float: right;
margin: 0 10px;
position: absolute;
right: 0px;
@media ( max-width: @screen-md ) {
span {
display: none !important;
}
}
}
.post-edit-link {
margin-top: 28px;
}
}
.ai1ec-month-view {
.ai1ec-sas-actions {
display: block !important;
}
.ai1ec-sas-action {
display: block !important;
}
}
// Views with popovers.
.ai1ec-popup {
.ai1ec-sas-actions {
margin: 5px 0;
}
}

View File

@@ -0,0 +1,39 @@
//
// @file
//
// Used to style Widgets
//
#ai1ec-event-modal {
padding: 20px;
@media ( max-width: @screen-xs-max ) {
padding: 5px;
}
.ai1ec-modal-dialog {
width: auto;
max-width: @screen-md-max;
margin: 0 auto;
}
.ai1ec-modal-body {
min-height: 300px;
}
.ai1ec-close {
font-size: 2em;
margin: 0.25em 0.5em 0 0;
position: relative;
z-index: @zindex-modal + 1;
}
.ai1ec-category,
.ai1ec-tag {
cursor: default;
color: inherit;
border: inherit;
.ai1ec-box-shadow( inset 0 0 1px fade( @dropdown-link-hover-color, 50% ) );
&:hover {
color: inherit;
background-color: inherit;
border: inherit;
.ai1ec-box-shadow( inset 0 0 1px fade( @dropdown-link-hover-color, 50% ) );
}
}
}

View File

@@ -0,0 +1,211 @@
//
// @file
//
// Used for single and multiple event pages (not calendar views).
//
@import "bootstrap/mixins.less";
@import "timely-mixins.less";
// ================
// = Events pages =
// ================
@event-font-size: @font-size-base * 1.1;
@event-line-height: @line-height-computed * 1.25;
.ai1ec-single-event,
.ai1ec-multi-event {
.ai1ec-event-details {
margin: @event-line-height * 0.6 0;
.ai1ec-row {
margin-bottom: @event-line-height * 0.2;
}
}
.ai1ec-field-label {
line-height: 25px;
}
// Date/time & recurrence.
.ai1ec-time .ai1ec-field-value {
font-size: 1.2em;
.ai1ec-allday-badge {
font-size: 0.75em;
line-height: 1.4em;
}
}
.ai1ec-recurrence {
vertical-align: bottom;
.ai1ec-btn.ai1ec-disabled {
cursor: default;
.ai1ec-opacity( 1 );
pointer-events: auto;
}
}
// Categories & tags.
.ai1ec-category {
font-size: 0.8em;
}
.ai1ec-tag {
font-size: 0.85em;
}
// Location & Google map.
.ai1ec-gmap-container {
border: 1px solid @table-border-color;
border-radius: @border-radius-base;
position: relative;
}
#ai1ec-gmap-canvas {
width: 100%;
height: 200px;
}
.ai1ec-gmap-link {
bottom: -1px;
display: none;
margin: 0;
position: absolute;
right: -1px;
}
.ai1ec-gmap-container:hover .ai1ec-gmap-link {
display: block;
}
#ai1ec-gmap-canvas input {
margin: 0 !important;
}
.ai1ec-gmap-placeholder {
border-radius: 4px;
color: @link-color;
cursor: pointer;
height: 12em;
border: 1px dashed @table-border-color;
min-width: 18em;
margin-bottom: 0.3em;
text-align: center;
width: 100%;
&:hover {
border-color: darken( @table-border-color, 15% );
color: @link-hover-color;
}
strong {
position: relative;
top: 45%;
}
}
.ai1ec-gmap-container-hidden {
position: absolute !important;
visibility: hidden;
}
.ai1ec-contact span {
display: inline-block;
white-space: nowrap;
i:first-child:before {
text-align: center;
width: 1.7em;
}
}
}
// Single event page only.
.ai1ec-single-event {
position: relative;
font-size: @event-font-size;
line-height: @event-line-height;
// Event avatar/featured image.
.ai1ec-event-avatar {
max-width: 40%;
img {
max-width: 300px;
max-height: 300px;
min-height: 0;
width: 100%;
}
}
.ai1ec-event-details {
overflow: hidden;
}
.ai1ec-actions {
.ai1ec-pull-right;
margin-left: 10px;
.ai1ec-btn-group-vertical {
margin-bottom: 10px;
display: block;
}
.ai1ec-btn {
font-size: @font-size-small;
text-align: left;
}
.ai1ec-fa-fw {
width: 20px;
}
}
.timely-tickets-row {
td {
vertical-align: top;
padding-bottom: 10px;
}
td.ai1ec-tickets-info {
padding-left: 12px;
.ai1ec-tickets-description {
color: #666;
line-height: 1.1;
font-size: 12px;
}
}
.ai1ec-tickets-info-inactive {
.ai1ec-tickets-title {
text-decoration: line-through;
color: #666;
}
}
.ai1ec-tickets-availability {
font-size: 12px;
white-space: nowrap;
}
.ai1ec-tickets-amount {
text-align: right;
width: 1px;
select {
min-width: 48px !important;
}
}
}
.ai1ec-table {
border: none;
table-layout: inherit;
}
}
// This appears in a tooltip, so cannot be wrapped by a class qualifier.
.ai1ec-recurrence-exclude {
font-size: smaller;
color: @text-muted;
}
// Multi-event loop and event excerpts.
.ai1ec-multi-event,
.ai1ec-excerpt {
font-size: @event-font-size * 0.9;
line-height: @event-line-height * 0.9;
.ai1ec-field-label {
margin-top: @event-font-size * 0.1;
}
}
.ai1ec-excerpt {
margin-bottom: @event-line-height * 0.5;
}
// Footer.
.ai1ec-event-footer {
color: @text-muted;
clear: both;
margin: @line-height-computed / 2 0;
}
// White space breaks on the event page
.ai1ec-tooltip {
white-space: normal !important;
}

View File

@@ -0,0 +1,16 @@
// Bordered & Pulled
// -------------------------
.@{fa-css-prefix}-border {
padding: .2em .25em .15em;
border: solid .08em @fa-border-color;
border-radius: .1em;
}
.pull-right { float: right; }
.pull-left { float: left; }
.@{fa-css-prefix} {
&.pull-left { margin-right: .3em; }
&.pull-right { margin-left: .3em; }
}

View File

@@ -0,0 +1,12 @@
// Base Class Definition
// -------------------------
.@{fa-css-prefix} {
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

View File

@@ -0,0 +1,6 @@
// Fixed Width Icons
// -------------------------
.@{fa-css-prefix}-fw {
width: (18em / 14);
text-align: center;
}

View File

@@ -0,0 +1,17 @@
/*!
* Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@import "variables";
@import "mixins";
@import "path";
@import "core";
@import "larger";
@import "fixed-width";
@import "list";
@import "bordered-pulled";
@import "spinning";
@import "rotated-flipped";
@import "stacked";
@import "icons";

View File

@@ -0,0 +1,412 @@
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
.@{fa-css-prefix}-music:before { content: @fa-var-music; }
.@{fa-css-prefix}-search:before { content: @fa-var-search; }
.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }
.@{fa-css-prefix}-star:before { content: @fa-var-star; }
.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }
.@{fa-css-prefix}-user:before { content: @fa-var-user; }
.@{fa-css-prefix}-film:before { content: @fa-var-film; }
.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }
.@{fa-css-prefix}-th:before { content: @fa-var-th; }
.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }
.@{fa-css-prefix}-check:before { content: @fa-var-check; }
.@{fa-css-prefix}-times:before { content: @fa-var-times; }
.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }
.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }
.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }
.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }
.@{fa-css-prefix}-gear:before,
.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }
.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }
.@{fa-css-prefix}-home:before { content: @fa-var-home; }
.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }
.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }
.@{fa-css-prefix}-road:before { content: @fa-var-road; }
.@{fa-css-prefix}-download:before { content: @fa-var-download; }
.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }
.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }
.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }
.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }
.@{fa-css-prefix}-rotate-right:before,
.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }
.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }
.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }
.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }
.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }
.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }
.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }
.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }
.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }
.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }
.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }
.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }
.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }
.@{fa-css-prefix}-book:before { content: @fa-var-book; }
.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }
.@{fa-css-prefix}-print:before { content: @fa-var-print; }
.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }
.@{fa-css-prefix}-font:before { content: @fa-var-font; }
.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }
.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }
.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }
.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }
.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }
.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }
.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }
.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }
.@{fa-css-prefix}-list:before { content: @fa-var-list; }
.@{fa-css-prefix}-dedent:before,
.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }
.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }
.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }
.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }
.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }
.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }
.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }
.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }
.@{fa-css-prefix}-edit:before,
.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }
.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }
.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }
.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }
.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }
.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }
.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }
.@{fa-css-prefix}-play:before { content: @fa-var-play; }
.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }
.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }
.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }
.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }
.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }
.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }
.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }
.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }
.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }
.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }
.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }
.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }
.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }
.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }
.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }
.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }
.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }
.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }
.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }
.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }
.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }
.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }
.@{fa-css-prefix}-mail-forward:before,
.@{fa-css-prefix}-share:before { content: @fa-var-share; }
.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }
.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }
.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }
.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }
.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }
.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }
.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }
.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }
.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }
.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }
.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }
.@{fa-css-prefix}-warning:before,
.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }
.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }
.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }
.@{fa-css-prefix}-random:before { content: @fa-var-random; }
.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }
.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }
.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }
.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }
.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }
.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }
.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }
.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }
.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }
.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }
.@{fa-css-prefix}-bar-chart-o:before { content: @fa-var-bar-chart-o; }
.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }
.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }
.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }
.@{fa-css-prefix}-key:before { content: @fa-var-key; }
.@{fa-css-prefix}-gears:before,
.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }
.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }
.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }
.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }
.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }
.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }
.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }
.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }
.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }
.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }
.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }
.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }
.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }
.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }
.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }
.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }
.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }
.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }
.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }
.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }
.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }
.@{fa-css-prefix}-github:before { content: @fa-var-github; }
.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }
.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }
.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }
.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }
.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }
.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }
.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }
.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }
.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }
.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }
.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }
.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }
.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }
.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }
.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }
.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }
.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }
.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }
.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }
.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }
.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }
.@{fa-css-prefix}-group:before,
.@{fa-css-prefix}-users:before { content: @fa-var-users; }
.@{fa-css-prefix}-chain:before,
.@{fa-css-prefix}-link:before { content: @fa-var-link; }
.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }
.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }
.@{fa-css-prefix}-cut:before,
.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }
.@{fa-css-prefix}-copy:before,
.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }
.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }
.@{fa-css-prefix}-save:before,
.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }
.@{fa-css-prefix}-square:before { content: @fa-var-square; }
.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }
.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }
.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }
.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }
.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }
.@{fa-css-prefix}-table:before { content: @fa-var-table; }
.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }
.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }
.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }
.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }
.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }
.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }
.@{fa-css-prefix}-money:before { content: @fa-var-money; }
.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }
.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }
.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }
.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }
.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }
.@{fa-css-prefix}-unsorted:before,
.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }
.@{fa-css-prefix}-sort-down:before,
.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }
.@{fa-css-prefix}-sort-up:before,
.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }
.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }
.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }
.@{fa-css-prefix}-rotate-left:before,
.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }
.@{fa-css-prefix}-legal:before,
.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }
.@{fa-css-prefix}-dashboard:before,
.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }
.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }
.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }
.@{fa-css-prefix}-flash:before,
.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }
.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }
.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }
.@{fa-css-prefix}-paste:before,
.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }
.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }
.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }
.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }
.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }
.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }
.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }
.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }
.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }
.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }
.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }
.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }
.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }
.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }
.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }
.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }
.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }
.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }
.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }
.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }
.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }
.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }
.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }
.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }
.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }
.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }
.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }
.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }
.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }
.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }
.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }
.@{fa-css-prefix}-mobile-phone:before,
.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }
.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }
.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }
.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }
.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }
.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }
.@{fa-css-prefix}-mail-reply:before,
.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }
.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }
.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }
.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }
.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }
.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }
.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }
.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }
.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }
.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }
.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }
.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }
.@{fa-css-prefix}-code:before { content: @fa-var-code; }
.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }
.@{fa-css-prefix}-mail-reply-all:before { content: @fa-var-mail-reply-all; }
.@{fa-css-prefix}-star-half-empty:before,
.@{fa-css-prefix}-star-half-full:before,
.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }
.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }
.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }
.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }
.@{fa-css-prefix}-unlink:before,
.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }
.@{fa-css-prefix}-question:before { content: @fa-var-question; }
.@{fa-css-prefix}-info:before { content: @fa-var-info; }
.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }
.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }
.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }
.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }
.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }
.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }
.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }
.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }
.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }
.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }
.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }
.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }
.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }
.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }
.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }
.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }
.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }
.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }
.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }
.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }
.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }
.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }
.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }
.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }
.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }
.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }
.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }
.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }
.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }
.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }
.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }
.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }
.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }
.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }
.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }
.@{fa-css-prefix}-toggle-down:before,
.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }
.@{fa-css-prefix}-toggle-up:before,
.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }
.@{fa-css-prefix}-toggle-right:before,
.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }
.@{fa-css-prefix}-euro:before,
.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }
.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }
.@{fa-css-prefix}-dollar:before,
.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }
.@{fa-css-prefix}-rupee:before,
.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }
.@{fa-css-prefix}-cny:before,
.@{fa-css-prefix}-rmb:before,
.@{fa-css-prefix}-yen:before,
.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }
.@{fa-css-prefix}-ruble:before,
.@{fa-css-prefix}-rouble:before,
.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }
.@{fa-css-prefix}-won:before,
.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }
.@{fa-css-prefix}-bitcoin:before,
.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }
.@{fa-css-prefix}-file:before { content: @fa-var-file; }
.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }
.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }
.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }
.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }
.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }
.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }
.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }
.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }
.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }
.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }
.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }
.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }
.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }
.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }
.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }
.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }
.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }
.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }
.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }
.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }
.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }
.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }
.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }
.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }
.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }
.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }
.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }
.@{fa-css-prefix}-android:before { content: @fa-var-android; }
.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }
.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }
.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }
.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }
.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }
.@{fa-css-prefix}-female:before { content: @fa-var-female; }
.@{fa-css-prefix}-male:before { content: @fa-var-male; }
.@{fa-css-prefix}-gittip:before { content: @fa-var-gittip; }
.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }
.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }
.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }
.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }
.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }
.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }
.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }
.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }
.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }
.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }
.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }
.@{fa-css-prefix}-toggle-left:before,
.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }
.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }
.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }
.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }
.@{fa-css-prefix}-turkish-lira:before,
.@{fa-css-prefix}-try:before { content: @fa-var-try; }
.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }

View File

@@ -0,0 +1,13 @@
// Icon Sizes
// -------------------------
/* makes the font 33% larger relative to the icon container */
.@{fa-css-prefix}-lg {
font-size: (4em / 3);
line-height: (3em / 4);
vertical-align: -15%;
}
.@{fa-css-prefix}-2x { font-size: 2em; }
.@{fa-css-prefix}-3x { font-size: 3em; }
.@{fa-css-prefix}-4x { font-size: 4em; }
.@{fa-css-prefix}-5x { font-size: 5em; }

View File

@@ -0,0 +1,19 @@
// List Icons
// -------------------------
.@{fa-css-prefix}-ul {
padding-left: 0;
margin-left: @fa-li-width;
list-style-type: none;
> li { position: relative; }
}
.@{fa-css-prefix}-li {
position: absolute;
left: -@fa-li-width;
width: @fa-li-width;
top: (2em / 14);
text-align: center;
&.@{fa-css-prefix}-lg {
left: -@fa-li-width + (4em / 14);
}
}

View File

@@ -0,0 +1,20 @@
// Mixins
// --------------------------
.fa-icon-rotate(@degrees, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
-webkit-transform: rotate(@degrees);
-moz-transform: rotate(@degrees);
-ms-transform: rotate(@degrees);
-o-transform: rotate(@degrees);
transform: rotate(@degrees);
}
.fa-icon-flip(@horiz, @vert, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
-webkit-transform: scale(@horiz, @vert);
-moz-transform: scale(@horiz, @vert);
-ms-transform: scale(@horiz, @vert);
-o-transform: scale(@horiz, @vert);
transform: scale(@horiz, @vert);
}

View File

@@ -0,0 +1,14 @@
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal;
font-style: normal;
}

View File

@@ -0,0 +1,9 @@
// Rotated & Flipped Icons
// -------------------------
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }

View File

@@ -0,0 +1,30 @@
// Spinning Icons
// --------------------------
.@{fa-css-prefix}-spin {
-webkit-animation: spin 2s infinite linear;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); }
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(359deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}

View File

@@ -0,0 +1,20 @@
// Stacked Icons
// -------------------------
.@{fa-css-prefix}-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: center;
}
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
.@{fa-css-prefix}-inverse { color: @fa-inverse; }

View File

@@ -0,0 +1,381 @@
// Variables
// --------------------------
//@fa-font-path: "../fonts";
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.0.3/fonts"; // for referencing Bootstrap CDN font files directly
//@fa-css-prefix: fa;
@fa-version: "4.0.3";
@fa-border-color: #eee;
@fa-inverse: #fff;
@fa-li-width: (30em / 14);
@fa-var-glass: "\f000";
@fa-var-music: "\f001";
@fa-var-search: "\f002";
@fa-var-envelope-o: "\f003";
@fa-var-heart: "\f004";
@fa-var-star: "\f005";
@fa-var-star-o: "\f006";
@fa-var-user: "\f007";
@fa-var-film: "\f008";
@fa-var-th-large: "\f009";
@fa-var-th: "\f00a";
@fa-var-th-list: "\f00b";
@fa-var-check: "\f00c";
@fa-var-times: "\f00d";
@fa-var-search-plus: "\f00e";
@fa-var-search-minus: "\f010";
@fa-var-power-off: "\f011";
@fa-var-signal: "\f012";
@fa-var-cog: "\f013";
@fa-var-trash-o: "\f014";
@fa-var-home: "\f015";
@fa-var-file-o: "\f016";
@fa-var-clock-o: "\f017";
@fa-var-road: "\f018";
@fa-var-download: "\f019";
@fa-var-arrow-circle-o-down: "\f01a";
@fa-var-arrow-circle-o-up: "\f01b";
@fa-var-inbox: "\f01c";
@fa-var-play-circle-o: "\f01d";
@fa-var-repeat: "\f01e";
@fa-var-refresh: "\f021";
@fa-var-list-alt: "\f022";
@fa-var-lock: "\f023";
@fa-var-flag: "\f024";
@fa-var-headphones: "\f025";
@fa-var-volume-off: "\f026";
@fa-var-volume-down: "\f027";
@fa-var-volume-up: "\f028";
@fa-var-qrcode: "\f029";
@fa-var-barcode: "\f02a";
@fa-var-tag: "\f02b";
@fa-var-tags: "\f02c";
@fa-var-book: "\f02d";
@fa-var-bookmark: "\f02e";
@fa-var-print: "\f02f";
@fa-var-camera: "\f030";
@fa-var-font: "\f031";
@fa-var-bold: "\f032";
@fa-var-italic: "\f033";
@fa-var-text-height: "\f034";
@fa-var-text-width: "\f035";
@fa-var-align-left: "\f036";
@fa-var-align-center: "\f037";
@fa-var-align-right: "\f038";
@fa-var-align-justify: "\f039";
@fa-var-list: "\f03a";
@fa-var-outdent: "\f03b";
@fa-var-indent: "\f03c";
@fa-var-video-camera: "\f03d";
@fa-var-picture-o: "\f03e";
@fa-var-pencil: "\f040";
@fa-var-map-marker: "\f041";
@fa-var-adjust: "\f042";
@fa-var-tint: "\f043";
@fa-var-pencil-square-o: "\f044";
@fa-var-share-square-o: "\f045";
@fa-var-check-square-o: "\f046";
@fa-var-arrows: "\f047";
@fa-var-step-backward: "\f048";
@fa-var-fast-backward: "\f049";
@fa-var-backward: "\f04a";
@fa-var-play: "\f04b";
@fa-var-pause: "\f04c";
@fa-var-stop: "\f04d";
@fa-var-forward: "\f04e";
@fa-var-fast-forward: "\f050";
@fa-var-step-forward: "\f051";
@fa-var-eject: "\f052";
@fa-var-chevron-left: "\f053";
@fa-var-chevron-right: "\f054";
@fa-var-plus-circle: "\f055";
@fa-var-minus-circle: "\f056";
@fa-var-times-circle: "\f057";
@fa-var-check-circle: "\f058";
@fa-var-question-circle: "\f059";
@fa-var-info-circle: "\f05a";
@fa-var-crosshairs: "\f05b";
@fa-var-times-circle-o: "\f05c";
@fa-var-check-circle-o: "\f05d";
@fa-var-ban: "\f05e";
@fa-var-arrow-left: "\f060";
@fa-var-arrow-right: "\f061";
@fa-var-arrow-up: "\f062";
@fa-var-arrow-down: "\f063";
@fa-var-share: "\f064";
@fa-var-expand: "\f065";
@fa-var-compress: "\f066";
@fa-var-plus: "\f067";
@fa-var-minus: "\f068";
@fa-var-asterisk: "\f069";
@fa-var-exclamation-circle: "\f06a";
@fa-var-gift: "\f06b";
@fa-var-leaf: "\f06c";
@fa-var-fire: "\f06d";
@fa-var-eye: "\f06e";
@fa-var-eye-slash: "\f070";
@fa-var-exclamation-triangle: "\f071";
@fa-var-plane: "\f072";
@fa-var-calendar: "\f073";
@fa-var-random: "\f074";
@fa-var-comment: "\f075";
@fa-var-magnet: "\f076";
@fa-var-chevron-up: "\f077";
@fa-var-chevron-down: "\f078";
@fa-var-retweet: "\f079";
@fa-var-shopping-cart: "\f07a";
@fa-var-folder: "\f07b";
@fa-var-folder-open: "\f07c";
@fa-var-arrows-v: "\f07d";
@fa-var-arrows-h: "\f07e";
@fa-var-bar-chart-o: "\f080";
@fa-var-twitter-square: "\f081";
@fa-var-facebook-square: "\f082";
@fa-var-camera-retro: "\f083";
@fa-var-key: "\f084";
@fa-var-cogs: "\f085";
@fa-var-comments: "\f086";
@fa-var-thumbs-o-up: "\f087";
@fa-var-thumbs-o-down: "\f088";
@fa-var-star-half: "\f089";
@fa-var-heart-o: "\f08a";
@fa-var-sign-out: "\f08b";
@fa-var-linkedin-square: "\f08c";
@fa-var-thumb-tack: "\f08d";
@fa-var-external-link: "\f08e";
@fa-var-sign-in: "\f090";
@fa-var-trophy: "\f091";
@fa-var-github-square: "\f092";
@fa-var-upload: "\f093";
@fa-var-lemon-o: "\f094";
@fa-var-phone: "\f095";
@fa-var-square-o: "\f096";
@fa-var-bookmark-o: "\f097";
@fa-var-phone-square: "\f098";
@fa-var-twitter: "\f099";
@fa-var-facebook: "\f09a";
@fa-var-github: "\f09b";
@fa-var-unlock: "\f09c";
@fa-var-credit-card: "\f09d";
@fa-var-rss: "\f09e";
@fa-var-hdd-o: "\f0a0";
@fa-var-bullhorn: "\f0a1";
@fa-var-bell: "\f0f3";
@fa-var-certificate: "\f0a3";
@fa-var-hand-o-right: "\f0a4";
@fa-var-hand-o-left: "\f0a5";
@fa-var-hand-o-up: "\f0a6";
@fa-var-hand-o-down: "\f0a7";
@fa-var-arrow-circle-left: "\f0a8";
@fa-var-arrow-circle-right: "\f0a9";
@fa-var-arrow-circle-up: "\f0aa";
@fa-var-arrow-circle-down: "\f0ab";
@fa-var-globe: "\f0ac";
@fa-var-wrench: "\f0ad";
@fa-var-tasks: "\f0ae";
@fa-var-filter: "\f0b0";
@fa-var-briefcase: "\f0b1";
@fa-var-arrows-alt: "\f0b2";
@fa-var-users: "\f0c0";
@fa-var-link: "\f0c1";
@fa-var-cloud: "\f0c2";
@fa-var-flask: "\f0c3";
@fa-var-scissors: "\f0c4";
@fa-var-files-o: "\f0c5";
@fa-var-paperclip: "\f0c6";
@fa-var-floppy-o: "\f0c7";
@fa-var-square: "\f0c8";
@fa-var-bars: "\f0c9";
@fa-var-list-ul: "\f0ca";
@fa-var-list-ol: "\f0cb";
@fa-var-strikethrough: "\f0cc";
@fa-var-underline: "\f0cd";
@fa-var-table: "\f0ce";
@fa-var-magic: "\f0d0";
@fa-var-truck: "\f0d1";
@fa-var-pinterest: "\f0d2";
@fa-var-pinterest-square: "\f0d3";
@fa-var-google-plus-square: "\f0d4";
@fa-var-google-plus: "\f0d5";
@fa-var-money: "\f0d6";
@fa-var-caret-down: "\f0d7";
@fa-var-caret-up: "\f0d8";
@fa-var-caret-left: "\f0d9";
@fa-var-caret-right: "\f0da";
@fa-var-columns: "\f0db";
@fa-var-sort: "\f0dc";
@fa-var-sort-asc: "\f0dd";
@fa-var-sort-desc: "\f0de";
@fa-var-envelope: "\f0e0";
@fa-var-linkedin: "\f0e1";
@fa-var-undo: "\f0e2";
@fa-var-gavel: "\f0e3";
@fa-var-tachometer: "\f0e4";
@fa-var-comment-o: "\f0e5";
@fa-var-comments-o: "\f0e6";
@fa-var-bolt: "\f0e7";
@fa-var-sitemap: "\f0e8";
@fa-var-umbrella: "\f0e9";
@fa-var-clipboard: "\f0ea";
@fa-var-lightbulb-o: "\f0eb";
@fa-var-exchange: "\f0ec";
@fa-var-cloud-download: "\f0ed";
@fa-var-cloud-upload: "\f0ee";
@fa-var-user-md: "\f0f0";
@fa-var-stethoscope: "\f0f1";
@fa-var-suitcase: "\f0f2";
@fa-var-bell-o: "\f0a2";
@fa-var-coffee: "\f0f4";
@fa-var-cutlery: "\f0f5";
@fa-var-file-text-o: "\f0f6";
@fa-var-building-o: "\f0f7";
@fa-var-hospital-o: "\f0f8";
@fa-var-ambulance: "\f0f9";
@fa-var-medkit: "\f0fa";
@fa-var-fighter-jet: "\f0fb";
@fa-var-beer: "\f0fc";
@fa-var-h-square: "\f0fd";
@fa-var-plus-square: "\f0fe";
@fa-var-angle-double-left: "\f100";
@fa-var-angle-double-right: "\f101";
@fa-var-angle-double-up: "\f102";
@fa-var-angle-double-down: "\f103";
@fa-var-angle-left: "\f104";
@fa-var-angle-right: "\f105";
@fa-var-angle-up: "\f106";
@fa-var-angle-down: "\f107";
@fa-var-desktop: "\f108";
@fa-var-laptop: "\f109";
@fa-var-tablet: "\f10a";
@fa-var-mobile: "\f10b";
@fa-var-circle-o: "\f10c";
@fa-var-quote-left: "\f10d";
@fa-var-quote-right: "\f10e";
@fa-var-spinner: "\f110";
@fa-var-circle: "\f111";
@fa-var-reply: "\f112";
@fa-var-github-alt: "\f113";
@fa-var-folder-o: "\f114";
@fa-var-folder-open-o: "\f115";
@fa-var-smile-o: "\f118";
@fa-var-frown-o: "\f119";
@fa-var-meh-o: "\f11a";
@fa-var-gamepad: "\f11b";
@fa-var-keyboard-o: "\f11c";
@fa-var-flag-o: "\f11d";
@fa-var-flag-checkered: "\f11e";
@fa-var-terminal: "\f120";
@fa-var-code: "\f121";
@fa-var-reply-all: "\f122";
@fa-var-mail-reply-all: "\f122";
@fa-var-star-half-o: "\f123";
@fa-var-location-arrow: "\f124";
@fa-var-crop: "\f125";
@fa-var-code-fork: "\f126";
@fa-var-chain-broken: "\f127";
@fa-var-question: "\f128";
@fa-var-info: "\f129";
@fa-var-exclamation: "\f12a";
@fa-var-superscript: "\f12b";
@fa-var-subscript: "\f12c";
@fa-var-eraser: "\f12d";
@fa-var-puzzle-piece: "\f12e";
@fa-var-microphone: "\f130";
@fa-var-microphone-slash: "\f131";
@fa-var-shield: "\f132";
@fa-var-calendar-o: "\f133";
@fa-var-fire-extinguisher: "\f134";
@fa-var-rocket: "\f135";
@fa-var-maxcdn: "\f136";
@fa-var-chevron-circle-left: "\f137";
@fa-var-chevron-circle-right: "\f138";
@fa-var-chevron-circle-up: "\f139";
@fa-var-chevron-circle-down: "\f13a";
@fa-var-html5: "\f13b";
@fa-var-css3: "\f13c";
@fa-var-anchor: "\f13d";
@fa-var-unlock-alt: "\f13e";
@fa-var-bullseye: "\f140";
@fa-var-ellipsis-h: "\f141";
@fa-var-ellipsis-v: "\f142";
@fa-var-rss-square: "\f143";
@fa-var-play-circle: "\f144";
@fa-var-ticket: "\f145";
@fa-var-minus-square: "\f146";
@fa-var-minus-square-o: "\f147";
@fa-var-level-up: "\f148";
@fa-var-level-down: "\f149";
@fa-var-check-square: "\f14a";
@fa-var-pencil-square: "\f14b";
@fa-var-external-link-square: "\f14c";
@fa-var-share-square: "\f14d";
@fa-var-compass: "\f14e";
@fa-var-caret-square-o-down: "\f150";
@fa-var-caret-square-o-up: "\f151";
@fa-var-caret-square-o-right: "\f152";
@fa-var-eur: "\f153";
@fa-var-gbp: "\f154";
@fa-var-usd: "\f155";
@fa-var-inr: "\f156";
@fa-var-jpy: "\f157";
@fa-var-rub: "\f158";
@fa-var-krw: "\f159";
@fa-var-btc: "\f15a";
@fa-var-file: "\f15b";
@fa-var-file-text: "\f15c";
@fa-var-sort-alpha-asc: "\f15d";
@fa-var-sort-alpha-desc: "\f15e";
@fa-var-sort-amount-asc: "\f160";
@fa-var-sort-amount-desc: "\f161";
@fa-var-sort-numeric-asc: "\f162";
@fa-var-sort-numeric-desc: "\f163";
@fa-var-thumbs-up: "\f164";
@fa-var-thumbs-down: "\f165";
@fa-var-youtube-square: "\f166";
@fa-var-youtube: "\f167";
@fa-var-xing: "\f168";
@fa-var-xing-square: "\f169";
@fa-var-youtube-play: "\f16a";
@fa-var-dropbox: "\f16b";
@fa-var-stack-overflow: "\f16c";
@fa-var-instagram: "\f16d";
@fa-var-flickr: "\f16e";
@fa-var-adn: "\f170";
@fa-var-bitbucket: "\f171";
@fa-var-bitbucket-square: "\f172";
@fa-var-tumblr: "\f173";
@fa-var-tumblr-square: "\f174";
@fa-var-long-arrow-down: "\f175";
@fa-var-long-arrow-up: "\f176";
@fa-var-long-arrow-left: "\f177";
@fa-var-long-arrow-right: "\f178";
@fa-var-apple: "\f179";
@fa-var-windows: "\f17a";
@fa-var-android: "\f17b";
@fa-var-linux: "\f17c";
@fa-var-dribbble: "\f17d";
@fa-var-skype: "\f17e";
@fa-var-foursquare: "\f180";
@fa-var-trello: "\f181";
@fa-var-female: "\f182";
@fa-var-male: "\f183";
@fa-var-gittip: "\f184";
@fa-var-sun-o: "\f185";
@fa-var-moon-o: "\f186";
@fa-var-archive: "\f187";
@fa-var-bug: "\f188";
@fa-var-vk: "\f189";
@fa-var-weibo: "\f18a";
@fa-var-renren: "\f18b";
@fa-var-pagelines: "\f18c";
@fa-var-stack-exchange: "\f18d";
@fa-var-arrow-circle-o-right: "\f18e";
@fa-var-arrow-circle-o-left: "\f190";
@fa-var-caret-square-o-left: "\f191";
@fa-var-dot-circle-o: "\f192";
@fa-var-wheelchair: "\f193";
@fa-var-vimeo-square: "\f194";
@fa-var-try: "\f195";
@fa-var-plus-square-o: "\f196";

View File

@@ -0,0 +1,252 @@
/*!
* Datepicker for Bootstrap
*
* Copyright 2012 Stefan Petre
* Improvements by Andrew Rowls
* Licensed under the Apache License v2.0
* http://www.ai1ec-apache.ai1ec-org/licenses/LICENSE-2.0
*
*/
.ai1ec-datepicker {
padding: 4px;
border-radius: 4px;
&-inline {
width: 220px;
}
direction: ltr;
&&-rtl {
direction: rtl;
table tr td span {
float: right;
}
}
&-dropdown {
top: 0;
left: 0;
&:before {
content: '';
display: inline-block;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-top: 0;
border-bottom-color: rgba(0,0,0,.2);
position: absolute;
}
&:after {
content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #fff;
border-top: 0;
position: absolute;
}
&.ai1ec-datepicker-orient-left:before { left: 6px; }
&.ai1ec-datepicker-orient-left:after { left: 7px; }
&.ai1ec-datepicker-orient-right:before { right: 6px; }
&.ai1ec-datepicker-orient-right:after { right: 7px; }
&.ai1ec-datepicker-orient-top:before { top: -7px; }
&.ai1ec-datepicker-orient-top:after { top: -6px; }
&.ai1ec-datepicker-orient-bottom:before {
bottom: -7px;
border-bottom: 0;
border-top: 7px solid #999;
}
&.ai1ec-datepicker-orient-bottom:after {
bottom: -6px;
border-bottom: 0;
border-top: 6px solid #fff;
}
}
>div {
display: none;
}
&.ai1ec-days div.ai1ec-datepicker-days {
display: block;
}
&.ai1ec-months div.ai1ec-datepicker-months {
display: block;
}
&.ai1ec-years div.ai1ec-datepicker-years {
display: block;
}
table{
margin: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
tr {
td, th {
text-align: center;
width: 30px;
height: 30px;
border-radius: 4px;
border: none;
}
}
}
// Inline display inside a table presents some problems with
// border and background colors.
.ai1ec-table-striped & table tr {
td, th {
background-color:transparent;
}
}
table tr td {
&.ai1ec-day:hover, &.ai1ec-day.ai1ec-focused {
background: @gray-lighter;
cursor: pointer;
}
&.ai1ec-old,
&.ai1ec-new {
color: @btn-link-disabled-color;
}
&.ai1ec-disabled,
&.ai1ec-disabled:hover {
background: none;
color: @btn-link-disabled-color;
cursor: default;
}
&.ai1ec-today,
&.ai1ec-today:hover,
&.ai1ec-today.ai1ec-disabled,
&.ai1ec-today.ai1ec-disabled:hover {
@today-bg: lighten(orange, 30%);
.ai1ec-button-variant(#000, @today-bg, darken(@today-bg, 20%));
}
&.ai1ec-today:hover:hover { // Thank bootstrap 2.0 for this selector...
// TODO: Bump min BS to 2.1, use @textColor in buttonBackground above
color: #000;
}
&.ai1ec-today.ai1ec-active:hover {
color: #fff;
}
&.ai1ec-range,
&.ai1ec-range:hover,
&.ai1ec-range.ai1ec-disabled,
&.ai1ec-range.ai1ec-disabled:hover {
background:@gray-lighter;
border-radius: 0;
}
&.ai1ec-range.ai1ec-today,
&.ai1ec-range.ai1ec-today:hover,
&.ai1ec-range.ai1ec-today.ai1ec-disabled,
&.ai1ec-range.ai1ec-today.ai1ec-disabled:hover {
@today-bg: mix(orange, @gray-lighter, 50%);
.ai1ec-button-variant(#000, @today-bg, darken(@today-bg, 20%));
border-radius: 0;
}
&.ai1ec-selected,
&.ai1ec-selected:hover,
&.ai1ec-selected.ai1ec-disabled,
&.ai1ec-selected.ai1ec-disabled:hover {
.ai1ec-button-variant(#fff, @gray-light, @gray);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
&.ai1ec-active,
&.ai1ec-active:hover,
&.ai1ec-active.ai1ec-disabled,
&.ai1ec-active.ai1ec-disabled:hover {
.ai1ec-button-variant(@btn-primary-color, @btn-primary-bg, @btn-primary-border);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
span {
display: block;
width: 23%;
height: 54px;
line-height: 54px;
float: left;
margin: 1%;
cursor: pointer;
border-radius: 4px;
&:hover {
background: @gray-lighter;
}
&.ai1ec-disabled,
&.ai1ec-disabled:hover {
background: none;
color: @btn-link-disabled-color;
cursor: default;
}
&.ai1ec-active,
&.ai1ec-active:hover,
&.ai1ec-active.ai1ec-disabled,
&.ai1ec-active.ai1ec-disabled:hover {
.ai1ec-button-variant(@btn-primary-color, @btn-primary-bg, @btn-primary-border);
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
&.ai1ec-old,
&.ai1ec-new {
color: @btn-link-disabled-color;
}
}
}
th.ai1ec-datepicker-switch {
width: 145px;
}
thead tr:first-child th,
tfoot tr th {
cursor: pointer;
&:hover{
background: @gray-lighter;
}
}
/*.ai1ec-dow {
border-top: 1px solid #ddd !important;
}*/
// Basic styling for calendar-week cells
.ai1ec-cw {
font-size: 10px;
width: 12px;
padding: 0 2px 0 5px;
vertical-align: middle;
}
thead tr:first-child th.ai1ec-cw {
cursor: default;
background-color: transparent;
}
}
.ai1ec-input-group {
&.ai1ec-date {
.ai1ec-input-group-addon i {
cursor: pointer;
width: 16px;
height: 16px;
}
}
}
.ai1ec-input-daterange {
input {
text-align:center;
}
input:first-child {
border-radius: 3px 0 0 3px;
}
input:last-child {
border-radius: 0 3px 3px 0;
}
.ai1ec-input-group-addon {
width: auto;
min-width: 16px;
padding: 4px 5px;
font-weight: normal;
line-height: @line-height-base;
text-align: center;
text-shadow: 0 1px 0 #fff;
vertical-align: middle;
background-color: @input-group-addon-bg;
border: solid @input-group-addon-border-color;
border-width: 1px 0;
margin-left:-5px;
margin-right:-5px;
}
}

View File

@@ -0,0 +1,106 @@
// Fileupload.less
// CSS for file upload button and fileupload widget
// ------------------------------------------------
.ai1ec-btn-file {
overflow: hidden;
position: relative;
vertical-align: middle;
> input {
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 0;
height: 32px;
border: solid transparent;
opacity: 0;
filter: alpha(opacity=0);
direction: ltr;
cursor: pointer;
}
}
.ai1ec-fileupload {
margin-bottom: 9px;
.ai1ec-uneditable-input {
display: inline-block;
margin-bottom: 0px;
vertical-align: middle;
cursor: text;
}
.ai1ec-thumbnail {
overflow: hidden;
display: inline-block;
margin-bottom: 5px;
vertical-align: middle;
text-align: center;
> img {
display: inline-block;
vertical-align: middle;
max-height: 100%;
}
}
.ai1ec-btn {
vertical-align: middle;
}
}
.ai1ec-fileupload-exists .ai1ec-fileupload-new,
.ai1ec-fileupload-new .ai1ec-fileupload-exists {
display: none;
}
.ai1ec-fileupload-inline .ai1ec-fileupload-controls {
display: inline;
}
// Not 100% correct, but helps in typical use case
.ai1ec-fileupload-new .ai1ec-input-append .ai1ec-btn-file {
border-radius: 0 3px 3px 0
}
.ai1ec-thumbnail-borderless .ai1ec-thumbnail {
border: none;
padding: 0;
border-radius: 0;
.ai1ec-box-shadow(none);
}
.ai1ec-fileupload-new.ai1ec-thumbnail-borderless .ai1ec-thumbnail {
border: 1px solid #ddd;
}
.ai1ec-form-group.ai1ec-has-warning .ai1ec-fileupload {
.ai1ec-uneditable-input {
color: #a47e3c;
border-color: #a47e3c;
}
.ai1ec-fileupload-preview {
color: #a47e3c;
}
.ai1ec-thumbnail {
border-color: #a47e3c;
}
}
.ai1ec-form-group.ai1ec-has-error .ai1ec-fileupload {
.ai1ec-uneditable-input {
color: #b94a48;
border-color: #b94a48;
}
.ai1ec-fileupload-preview {
color: #b94a48;
}
.ai1ec-thumbnail {
border-color: #b94a48;
}
}
.ai1ec-form-group.ai1ec-has-success .ai1ec-fileupload {
.ai1ec-uneditable-input {
color: #468847;
border-color: #468847;
}
.ai1ec-fileupload-preview {
color: #468847;
}
.ai1ec-thumbnail {
border-color: #468847;
}
}

View File

@@ -0,0 +1,604 @@
/*
Version: 3.3.1 Timestamp: Wed Feb 20 09:57:22 PST 2013
*/
.select2-container {
position: relative;
display: inline-block;
/* inline-block for ie7 */
zoom: 1;
*display: inline;
vertical-align: top;
}
.select2-container,
.select2-drop,
.select2-search,
.select2-search input{
/*
Force border-box so that % widths fit the parent
container without overlap because of margin/padding.
More Info : http://www.quirksmode.org/css/box.html
*/
-webkit-box-sizing: border-box; /* webkit */
-khtml-box-sizing: border-box; /* konqueror */
-moz-box-sizing: border-box; /* firefox */
-ms-box-sizing: border-box; /* ie */
box-sizing: border-box; /* css3 */
}
.select2-container .select2-choice {
display: block;
height: 26px;
padding: 0 0 0 8px;
overflow: hidden;
position: relative;
border: 1px solid #aaa;
white-space: nowrap;
line-height: 26px;
color: #444;
text-decoration: none;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%);
background-image: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
background-image: linear-gradient(top, #ffffff 0%, #eeeeee 50%);
}
.select2-container.select2-drop-above .select2-choice {
border-bottom-color: #aaa;
-webkit-border-radius:0 0 4px 4px;
-moz-border-radius:0 0 4px 4px;
border-radius:0 0 4px 4px;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.9, white));
background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 90%);
background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 90%);
background-image: -o-linear-gradient(bottom, #eeeeee 0%, white 90%);
background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 90%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
background-image: linear-gradient(top, #eeeeee 0%,#ffffff 90%);
}
.select2-container .select2-choice span {
margin-right: 26px;
display: block;
overflow: hidden;
white-space: nowrap;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.select2-container .select2-choice abbr {
display: block;
width: 12px;
height: 12px;
position: absolute;
right: 26px;
top: 8px;
font-size: 1px;
text-decoration: none;
border: 0;
background: url('@{imgdir_default}/select2.png') right top no-repeat;
cursor: pointer;
outline: 0;
}
.select2-container .select2-choice abbr:hover {
background-position: right -11px;
cursor: pointer;
}
.select2-drop-mask {
position: absolute;
left: 0;
top: 0;
z-index: 9998;
opacity: 0;
}
.select2-drop {
width: 100%;
margin-top:-1px;
position: absolute;
z-index: 9999;
top: 100%;
background: #fff;
color: #000;
border: 1px solid #aaa;
border-top: 0;
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}
.select2-drop.select2-drop-above {
margin-top: 1px;
border-top: 1px solid #aaa;
border-bottom: 0;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
-moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}
.select2-container .select2-choice div {
display: block;
width: 18px;
height: 100%;
position: absolute;
right: 0;
top: 0;
border-left: 1px solid #aaa;
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
background: #ccc;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
}
.select2-container .select2-choice div b {
display: block;
width: 100%;
height: 100%;
background: url('@{imgdir_default}/select2.png') no-repeat 0 1px;
}
.select2-search {
display: inline-block;
width: 100%;
min-height: 26px;
margin: 0;
padding-left: 4px;
padding-right: 4px;
position: relative;
z-index: 10000;
white-space: nowrap;
}
.select2-search-hidden {
display: block;
position: absolute;
left: -10000px;
}
.select2-search input {
width: 100%;
height: auto !important;
min-height: 26px;
padding: 4px 20px 4px 5px;
margin: 0;
outline: 0;
font-family: sans-serif;
font-size: 1em;
border: 1px solid #aaa;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: #fff url('@{imgdir_default}/select2.png') no-repeat 100% -22px;
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
background: url('@{imgdir_default}/select2.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}
.select2-drop.select2-drop-above .select2-search input {
margin-top: 4px;
}
.select2-search input.select2-active {
background: #fff url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%;
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
background: url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}
.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
box-shadow: 0 0 5px rgba(0,0,0,.3);
}
.select2-dropdown-open .select2-choice {
border-bottom-color: transparent;
-webkit-box-shadow: 0 1px 0 #fff inset;
-moz-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
background-color: #eee;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
}
.select2-dropdown-open .select2-choice div {
background: transparent;
border-left: none;
filter: none;
}
.select2-dropdown-open .select2-choice div b {
background-position: -18px 1px;
}
/* results */
.select2-results {
max-height: 200px;
padding: 0 0 0 4px;
margin: 4px 4px 4px 0;
position: relative;
overflow-x: hidden;
overflow-y: auto;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.select2-results ul.select2-result-sub {
margin: 0;
padding-left: 0;
}
.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }
.select2-results li {
list-style: none;
display: list-item;
background-image: none;
}
.select2-results li.select2-result-with-children > .select2-result-label {
font-weight: bold;
}
.select2-results .select2-result-label {
padding: 3px 7px 4px;
margin: 0;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-results .select2-highlighted {
background: #3875d7;
color: #fff;
}
.select2-results li em {
background: #feffde;
font-style: normal;
}
.select2-results .select2-highlighted em {
background: transparent;
}
.select2-results .select2-highlighted ul {
background: white;
color: #000;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-selection-limit {
background: #f4f4f4;
display: list-item;
}
/*
disabled look for disabled choices in the results dropdown
*/
.select2-results .select2-disabled.select2-highlighted {
color: #666;
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-disabled {
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-selected {
display: none;
}
.select2-more-results.select2-active {
background: #f4f4f4 url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100%;
}
.select2-more-results {
background: #f4f4f4;
display: list-item;
}
/* disabled styles */
.select2-container.select2-container-disabled .select2-choice {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container.select2-container-disabled .select2-choice div {
background-color: #f4f4f4;
background-image: none;
border-left: 0;
}
.select2-container.select2-container-disabled .select2-choice abbr {
display: none
}
/* multiselect */
.select2-container-multi .select2-choices {
height: auto !important;
height: 1%;
margin: 0;
padding: 0;
position: relative;
border: 1px solid #aaa;
cursor: text;
overflow: hidden;
background-color: #fff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
}
.select2-locked {
padding: 3px 5px 3px 5px !important;
}
.select2-container-multi .select2-choices {
min-height: 26px;
}
.select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
box-shadow: 0 0 5px rgba(0,0,0,.3);
}
.select2-container-multi .select2-choices li {
float: left;
list-style: none;
}
.select2-container-multi .select2-choices .select2-search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}
.select2-container-multi .select2-choices .select2-search-field input {
padding: 5px;
margin: 1px 0;
font-family: sans-serif;
font-size: 100%;
color: #666;
outline: 0;
border: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: transparent !important;
}
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
background: #fff url('@{imgdir_default}/ajax-loader-small.gif') no-repeat 100% !important;
}
.select2-default {
color: #999 !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
padding: 3px 5px 3px 18px;
margin: 3px 0 3px 5px;
position: relative;
line-height: 13px;
color: #333;
cursor: default;
border: 1px solid #aaaaaa;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
-moz-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #e4e4e4;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0 );
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
}
.select2-container-multi .select2-choices .select2-search-choice span {
cursor: default;
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
background: #d4d4d4;
}
.select2-search-choice-close {
display: block;
width: 12px;
height: 13px;
position: absolute;
right: 3px;
top: 4px;
font-size: 1px;
outline: none;
background: url('@{imgdir_default}/select2.png') right top no-repeat;
}
.select2-container-multi .select2-search-choice-close {
left: 3px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
background-position: right -11px;
}
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
background-position: right -11px;
}
/* disabled styles */
.select2-container-multi.select2-container-disabled .select2-choices{
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
padding: 3px 5px 3px 5px;
border: 1px solid #ddd;
background-image: none;
background-color: #f4f4f4;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close {
display: none;
}
/* end multiselect */
.select2-result-selectable .select2-match,
.select2-result-unselectable .select2-match {
text-decoration: underline;
}
.select2-offscreen {
position: absolute;
left: -10000px;
}
/* Retina-ize icons */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b {
background-image: url('@{imgdir_default}/select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
.select2-search input {
background-position: 100% -21px !important;
}
}

View File

@@ -0,0 +1,171 @@
/*!
* Timepicker Component for Twitter Bootstrap
*
* Copyright 2013 Joris de Wit
*
* Contributors https://github.ai1ec-com/jdewit/bootstrap-timepicker/graphs/contributors
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
.ai1ec-bootstrap-timepicker {
position: relative;
&.ai1ec-pull-right {
.ai1ec-bootstrap-timepicker-widget {
&.ai1ec-dropdown-menu {
left: auto;
right: 0;
&:before {
left: auto;
right: 12px;
}
&:after {
left: auto;
right: 13px;
}
}
}
}
.ai1ec-input-group-addon {
cursor: pointer;
i {
display: inline-block;
width: 16px;
height: 16px;
}
}
}
.ai1ec-bootstrap-timepicker-widget {
&.ai1ec-dropdown-menu {
padding: 4px;
&.ai1ec-open {
display: inline-block;
}
&:before {
border-bottom: 7px solid rgba(0, 0, 0, 0.2);
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
display: inline-block;
position: absolute;
}
&:after {
border-bottom: 6px solid #FFFFFF;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
content: "";
display: inline-block;
position: absolute;
}
}
&.ai1ec-timepicker-orient-left {
&:before {
left: 6px;
}
&:after {
left: 7px;
}
}
&.ai1ec-timepicker-orient-right {
&:before {
right: 6px;
}
&:after {
right: 7px;
}
}
&.ai1ec-timepicker-orient-top {
&:before {
top: -7px;
}
&:after {
top: -6px;
}
}
&.ai1ec-timepicker-orient-bottom {
&:before {
bottom: -7px;
border-bottom: 0;
border-top: 7px solid #999;
}
&:after {
bottom: -6px;
border-bottom: 0;
border-top: 6px solid #ffffff;
}
}
a.ai1ec-btn, input {
border-radius: 4px;
}
table {
width: 100%;
margin: 0;
td {
text-align: center;
height: 30px;
margin: 0;
padding: 2px;
&:not(.ai1ec-separator) {
min-width: 30px;
}
span {
width: 100%;
}
a {
border: 1px transparent solid;
width: 100%;
display: inline-block;
margin: 0;
padding: 8px 0;
outline: 0;
color: #333;
&:hover {
text-decoration: none;
background-color: #eee;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border-color: #ddd;
}
i {
margin-top: 2px;
font-size: 18px;
}
}
input {
width: 25px;
margin: 0;
text-align: center;
}
}
}
}
.ai1ec-bootstrap-timepicker-widget .ai1ec-modal-body {
padding: 4px;
}
@media (min-width: @screen-sm-min) {
.ai1ec-bootstrap-timepicker-widget.ai1ec-modal {
width: 200px;
}
}
@media (max-width: @screen-sm-max) {
.ai1ec-bootstrap-timepicker {
width: 100%;
.ai1ec-dropdown-menu {
width: 100%;
}
}
}

View File

@@ -0,0 +1,54 @@
//
// @file
//
// Adapated from font-awesome.less.
//
// Variables & variable overrides
@import "font-awesome/variables";
@fa-font-path: @fontdir_default;
@fa-css-prefix: ~"ai1ec-fa";
@import "font-awesome/mixins";
// Namespace the font name instead of importing path.less directly.
@font-face {
font-family: 'Timely_FontAwesome';
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
src: url(data:application/x-font-woff;charset=utf-8;base64,__BASE64_FONT_AI1EC_fontawesome-webfont.woff__) format('woff'),
url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
@import "font-awesome/core";
@import "font-awesome/larger";
@import "font-awesome/fixed-width";
@import "font-awesome/list";
@import "font-awesome/spinning";
@import "font-awesome/stacked";
@import "font-awesome/icons";
// Other overrides
.@{fa-css-prefix} {
font-family: Timely_FontAwesome;
}
a.ai1ec-fa.ai1ec-hide {
display: none;
}
// Sometimes theme developers place WP posts within <ul>/<li> structures. This
// causes issues with Font Awesome. Here's how we protect against that.
li .ai1ec-fa,
li .ai1ec-fa-lg:before {
width: auto;
}
.timely small.ai1ec-fa-stack {
font-size: 90%;
height: 1.53em;
vertical-align: -11%;
top: -0.1em;
}
.ai1ec-fa-stack .ai1ec-icon-timely {
left: 0.05em;
top: -0.05em;
}

View File

@@ -0,0 +1,242 @@
//
// @file
//
// Custom mixins where Bootstrap mixins fall short.
//
// Gradients.
#gradient {
// Use these for the following behaviour:
// If browser supports the gradient syntax it will *replace the background
// color* behind it, and is *especially important for translucent gradients*.
.ai1ec-horizontal-replace(@startColor: #555, @endColor: #333) {
background: @endColor;
background: -moz-linear-gradient(left, @startColor, @endColor); // FF 3.6+
background: -ms-linear-gradient(left, @startColor, @endColor); // IE10
background: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
background: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+
background: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10
background: linear-gradient(left, @startColor, @endColor); // Le standard
background-repeat: repeat-x;
}
.ai1ec-vertical-replace(@startColor: #555, @endColor: #333) {
background: mix(@startColor, @endColor, 60%);
background: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
background: -ms-linear-gradient(top, @startColor, @endColor); // IE10
background: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
background: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
background: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
background: linear-gradient(top, @startColor, @endColor); // The standard
background-repeat: repeat-x;
}
.ai1ec-vertical-three-colors-replace(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
background: mix(@midColor, @endColor, 80%);
background: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
background: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
background: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
background: -ms-linear-gradient(@startColor, @midColor @colorStop, @endColor);
background: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
background: linear-gradient(@startColor, @midColor @colorStop, @endColor);
background-repeat: no-repeat;
}
.ai1ec-horizontal-three-colors-replace(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
background: mix(@midColor, @endColor, 80%);
background: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
background: -webkit-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
background: -moz-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
background: -ms-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
background: -o-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
background: linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
background-repeat: no-repeat;
}
}
/*
// Popover arrows
// -------------------------
.ai1ec-inner-arrow-styles() {
content: " ";
height: 0;
width: 0;
position: absolute;
z-index: 10;
border: solid transparent;
}
#timelyPopoverArrow {
.ai1ec-top(@arrowWidth: 5px, @color: @black) {
bottom: 0;
left: 50%;
margin-left: -@arrowWidth;
margin-bottom: ceil( @arrowWidth * -1.5 + 3 );
border: solid transparent;
border-width: @arrowWidth;
border-top-color: @color;
}
.ai1ec-left(@arrowWidth: 5px, @color: @black) {
top: 50%;
right: 0;
margin-top: -@arrowWidth;
margin-right: ceil( @arrowWidth * -1.5 + 3 );
border: solid transparent;
border-width: @arrowWidth;
border-left-color: @color;
}
.ai1ec-bottom(@arrowWidth: 5px, @color: @black) {
top: 0;
left: 50%;
margin-left: -@arrowWidth;
margin-top: ceil( @arrowWidth * -1.5 + 3 );
border: solid transparent;
border-width: @arrowWidth;
border-bottom-color: @color;
}
.ai1ec-right(@arrowWidth: 5px, @color: @black) {
top: 50%;
left: 0;
margin-top: -@arrowWidth;
margin-left: ceil( @arrowWidth * -1.5 + 3 );
border: solid transparent;
border-width: @arrowWidth;
border-right-color: @color;
}
#outlinedArrow {
.ai1ec-top( @mainArrowWidth: 5px, @outlineWidth: 1px, @color: @white ) {
.ai1ec-inner-arrow-styles();
border-width: @mainArrowWidth + @outlineWidth;
border-top-color: @color;
margin-left: -@mainArrowWidth - @outlineWidth;
margin-top: -@mainArrowWidth + -(@outlineWidth * 2)
}
.ai1ec-left( @mainArrowWidth: 5px, @outlineWidth: 1px, @color: @white ) {
.ai1ec-inner-arrow-styles();
border-width: @mainArrowWidth + @outlineWidth;
border-left-color: @color;
margin-top: -@mainArrowWidth - @outlineWidth;
margin-left: -@mainArrowWidth + -(@outlineWidth * 2);
}
.ai1ec-bottom( @mainArrowWidth: 5px, @outlineWidth: 1px, @color: @white ) {
.ai1ec-inner-arrow-styles();
border-width: @mainArrowWidth + @outlineWidth;
border-bottom-color: @color;
margin-left: -@mainArrowWidth - @outlineWidth;
margin-top: -@mainArrowWidth;
}
.ai1ec-right( @mainArrowWidth: 5px, @outlineWidth: 1px, @color: @white ) {
.ai1ec-inner-arrow-styles();
border-width: @mainArrowWidth + @outlineWidth;
border-right-color: @color;
margin-top: -@mainArrowWidth - @outlineWidth;
margin-left: -@mainArrowWidth;
}
}
}*/
// =================
// = Avatar styles =
// =================
.ai1ec-avatar( natural ) {
background-color: @body-bg;
.ai1ec-box-shadow( 0 1px 4px @event-image-shadow );
img {
height: auto;
display: block;
min-height: 90px;
width: auto;
}
}
.ai1ec-avatar( thumbnail ) {
width: 90px;
img {
display: block;
margin: auto;
height: 90px !important;
max-width: 90px !important;
min-height: 0 !important;
min-width: 0 !important;
width: auto !important;
}
}
// ====================
// = List item styles =
// ====================
.ai1ec-listItem() {
color: @dropdown-link-color;
}
.ai1ec-listItemActive( @extra-shadow: ~"" ) {
background-color: @dropdown-link-hover-bg;
border-color: @dropdown-link-hover-bg;
.ai1ec-box-shadow( inset 0 0 2px fade( @dropdown-link-hover-color, 30% ) @extra-shadow );
color: @dropdown-link-hover-color;
}
// ============================
// = Multiline overflow trick =
// ============================
.ai1ec-multilineOverflow( @container-height, @line-height, @bg-color ) {
line-height: @line-height;
height: @container-height;
overflow: hidden;
&:before {
content: "";
float: left;
width: 5px;
height: @container-height;
}
> *:first-child {
float: right;
width: 100%;
margin-left: -5px;
}
&:after {
content: "…";
.ai1ec-box-sizing( content-box );
float: right;
left: 100%;
margin-left: -1.25em;
padding-right: 5px;
position: relative;
text-align: right;
top: -@line-height;
width: 1.25em;
#gradient > .ai1ec-horizontal-three-colors-replace(
fade( @bg-color, 0% ),
@bg-color,
50%,
@bg-color
);
}
}
// =========================
// = Bug fixes/workarounds =
// =========================
// forms.less needs to be .timely-namespaced since it contains unclassed HTML
// tagsf, but this makes .ai1ec-input-sm and .ai1ec-input-lg inaccessible as
// mixins. So we copy them from forms.less:
.ai1ec-input-sm() {
.ai1ec-input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
.ai1ec-input-lg() {
.ai1ec-input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}
// buttons.less needs to be .timely-namespaced since its rules sometimes aren't
// strong enough to override global link styles, but this makes .ai1ec-btn-lg,
// .ai1ec-btn-sm, and .ai1ec-btn-xs inaccessible as mixins. So we copy them from
// buttons.less:
.ai1ec-btn-lg {
// line-height: ensure even-numbered height of button next to large input
.ai1ec-button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
}
.ai1ec-btn-sm {
// line-height: ensure proper height of button next to small input
.ai1ec-button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}
.ai1ec-btn-xs {
.ai1ec-button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
}

View File

@@ -0,0 +1,48 @@
//
// @file Maps legacy user variable names to Bootstrap 3.x-style variable names.
//
@body-bg: @bodyBackground;
@text-color: @textColor;
@text-emboss: @textEmboss;
@link-color: @linkColor;
@link-hover-color: @linkColorHover;
@font-family-base: @baseFontFamily;
@font-size-base: @baseFontSize;
@table-bg: @tableBackground;
@table-header-bg: @tableLabelBackground;
@table-header-color: @tableLabelText;
@brand-primary: @btnPrimaryBackground;
@btn-default-bg: @btnBackground;
@btn-default-border: @btnBorder;
@btn-default-color: @btnTextColor;
@input-color: @inputText;
@input-bg: @inputBackground;
@input-border: @inputBorder;
@input-border-focus: @inputBorderFocus;
@input-bg-disabled: @inputDisabledBackground;
@field-label-color: @labelColor;
@dropdown-bg: @dropdownBackground;
@dropdown-border: @dropdownBorder;
@dropdown-link-color: @dropdownLinkColor;
@dropdown-link-hover-color: @dropdownLinkColorHover;
@dropdown-link-hover-bg: @dropdownLinkBackgroundHover;
@input-color-placeholder: @placeholderText;
@calendar-title-color: @calendarTitle;
@today-color: @todayColor;
@allday-badge-color: @alldayBadgeGradientMiddle;
@event-image-shadow: @eventImageShadow;
@event-default-color: @eventDefaultColor;
@event-default-hover-color: @eventDefaultColorHover;
@event-stub-allday-text: @eventStubAllDayText;
@event-stub-allday-text-shadow: @eventStubAllDayTextShadow;
@event-border: @eventBorder;
@event-bg: @eventBackground;
@event-time-bg: @eventTimeBackground;
@event-text: @eventText;
@month-view-date-bg: @monthViewDateBackground;
@day-view-now-marker-color: @dayViewNowMarkerColor;
@agenda-date-title-border: @agendaDateTitleBorder;
@agenda-date-title-bg: @agendaDateTitleBackground;
@agenda-date-bg: @agendaDateBackground;
@agenda-today-bg: @agendaTodayBackground;

View File

@@ -0,0 +1,261 @@
<?php
return array(
"bodyBackground" => array(
"value" => "#ffffff",
"description" => __( "Body background", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "color",
),
"textColor" => array(
"value" => "#333333",
"description" => __( "Text color", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "color",
),
"textEmboss" => array(
"value" => "#ffffff",
"description" => __( "Text emboss", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "color",
),
"linkColor" => array(
"value" => "#3d6b99",
"description" => __( "Link", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "color",
),
"linkColorHover" => array(
"value" => "#335980",
"description" => __( "Link (hover)", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "color",
),
"baseFontFamily" => array(
"value" => "\"Helvetica Neue\", Helvetica, Arial, sans-serif",
"description" => __( "Base font", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "font",
),
"baseFontSize" => array(
"value" => "13px",
"description" => __( "Base font size", AI1EC_PLUGIN_NAME ),
"tab" => "general",
"type" => "size",
),
"tableBackground" => array(
"value" => "#ffffff",
"description" => __( "Table background", AI1EC_PLUGIN_NAME ),
"tab" => "table",
"type" => "color",
),
"tableLabelBackground" => array(
"value" => "#f5f5f5",
"description" => __( "Table header background", AI1EC_PLUGIN_NAME ),
"tab" => "table",
"type" => "color",
),
"tableLabelText" => array(
"value" => "#9e9e9e",
"description" => __( "Table header text", AI1EC_PLUGIN_NAME ),
"tab" => "table",
"type" => "color",
),
"btnPrimaryBackground" => array(
"value" => "#6dbb4f",
"description" => __( "Primary brand color", AI1EC_PLUGIN_NAME ),
"tab" => "buttons",
"type" => "color",
),
"btnBackground" => array(
"value" => "#ffffff",
"description" => __( "Button background", AI1EC_PLUGIN_NAME ),
"tab" => "buttons",
"type" => "color",
),
"btnBorder" => array(
"value" => "#cccccc",
"description" => __( "Button border", AI1EC_PLUGIN_NAME ),
"tab" => "buttons",
"type" => "color",
),
"btnTextColor" => array(
"value" => "#333333",
"description" => __( "Button text", AI1EC_PLUGIN_NAME ),
"tab" => "buttons",
"type" => "color",
),
"inputText" => array(
"value" => "#555",
"description" => __( "Input field text", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"inputBackground" => array(
"value" => "#ffffff",
"description" => __( "Input field background", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"inputBorder" => array(
"value" => "#cccccc",
"description" => __( "Input field border", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"inputBorderFocus" => array(
"value" => "rgba(82,168,236,0.8)",
"description" => __( "Input field border (focus)", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"inputDisabledBackground" => array(
"value" => "#eeeeee",
"description" => __( "Input field background (disabled)", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"labelColor" => array(
"value" => "#aaaaaa",
"description" => __( "Field label", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"dropdownBackground" => array(
"value" => "#ffffff",
"description" => __( "Dropdown list background", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"dropdownBorder" => array(
"value" => "rgba(0,0,0,0.15)",
"description" => __( "Dropdown list border", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"dropdownLinkColor" => array(
"value" => "#333333",
"description" => __( "List item text", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"dropdownLinkColorHover" => array(
"value" => "#262626",
"description" => __( "List item text (active/hover)", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"dropdownLinkBackgroundHover" => array(
"value" => "#f5f5f5",
"description" => __( "List item background (active/hover)", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"placeholderText" => array(
"value" => "#999999",
"description" => __( "Input field placeholder text", AI1EC_PLUGIN_NAME ),
"tab" => "forms",
"type" => "color",
),
"todayColor" => array(
"value" => "#ffffdd",
"description" => __( "Today color", AI1EC_PLUGIN_NAME ),
"tab" => "calendar",
"type" => "color",
),
"alldayBadgeGradientMiddle" => array(
"value" => "#3d6b99",
"description" => __( "All-day badge color", AI1EC_PLUGIN_NAME ),
"tab" => "calendar",
"type" => "color",
),
"eventImageShadow" => array(
"value" => "rgba(0,0,0,0.4)",
"description" => __( "Event image shadow", AI1EC_PLUGIN_NAME ),
"tab" => "calendar",
"type" => "color",
),
"eventDefaultColor" => array(
"value" => "#3d6b99",
"description" => __( "Event default color", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventDefaultColorHover" => array(
"value" => "#335980",
"description" => __( "Event default color (hover)", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventStubAllDayText" => array(
"value" => "#ffffff",
"description" => __( "All-day/multi-day event stub text", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventStubAllDayTextShadow" => array(
"value" => "rgba(0,0,0,0.4)",
"description" => __( "All-day/multi-day event stub text shadow", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventBorder" => array(
"value" => "#cccccc",
"description" => __( "Event border", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventBackground" => array(
"value" => "#ffffff",
"description" => __( "Event background", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventTimeBackground" => array(
"value" => "#eeeeee",
"description" => __( "Event time background", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"eventText" => array(
"value" => "#333333",
"description" => __( "Event text", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"monthViewDateBackground" => array(
"value" => "#eaf4ff",
"description" => __( "Month view date background", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"dayViewNowMarkerColor" => array(
"value" => "#f2c539",
"description" => __( "Week/day view now marker", AI1EC_PLUGIN_NAME ),
"tab" => "month",
"type" => "color",
),
"agendaDateTitleBorder" => array(
"value" => "#6689AC",
"description" => __( "Date label accent color", AI1EC_PLUGIN_NAME ),
"tab" => "agenda",
"type" => "color",
),
"agendaDateTitleBackground" => array(
"value" => "#ffffff",
"description" => __( "Date label background", AI1EC_PLUGIN_NAME ),
"tab" => "agenda",
"type" => "color",
),
"agendaDateBackground" => array(
"value" => "#f2f2f2",
"description" => __( "Date background", AI1EC_PLUGIN_NAME ),
"tab" => "agenda",
"type" => "color",
),
"agendaTodayBackground" => array(
"value" => "#f4f4bf",
"description" => __( "Today background", AI1EC_PLUGIN_NAME ),
"tab" => "agenda",
"type" => "color",
),
);

View File

@@ -0,0 +1,38 @@
//
// @file
//
// This overrides and extends variables definitions from Bootstrap's
// variables.less. Change these variables to modify the look of the calendar.
//
@import "bootstrap/variables.less";
@import "user-variable-map.less";
@text-muted: mix( @text-color, @body-bg, 60% );
@headings-color: @grayDark;
@dropdown-link-active-bg: mix( @body-bg, @link-color, 20% );
@state-info-text: #418CC7;
@zindex-dropdown: 10000;
@zindex-popover: 10010;
@zindex-tooltip: 10035;
@zindex-navbar-fixed: 10030;
@zindex-modal-background: 10040;
@zindex-modal: 10050;
@modal-backdrop-bg: @body-bg;
@modal-content-bg: @body-bg;
@modal-content-border-color: mix( @body-bg, @text-color, 70% );
@modal-footer-shadow: 0 1px 0 @body-bg;
@modal-header-border-color: @modal-content-border-color;
@toolbar-bg: @body-bg;
@toolbar-border-color: mix( @btn-default-border, @body-bg, 70% );
@event-hover-border: mix( @event-border, @text-color, 50% );
@popover-arrow-width: 5px;
@popover-bg: @event-bg;
@popover-arrow-color: @event-bg;
@close-color: @text-color;