mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Initial Bootstrap 3 migration
This commit is contained in:
parent
ad0e372c35
commit
28fa264c69
@ -1,10 +1,10 @@
|
|||||||
<div class="row operations-row">
|
<div class="row operations-row">
|
||||||
<div class="btn-group btn-block">
|
<div class="btn-group btn-block">
|
||||||
<div class="btn btn-large add-series-import-btn x-import">
|
<div class="btn btn-lg add-series-import-btn x-import">
|
||||||
<i class="icon-hdd"/>
|
<i class="icon-hdd"/>
|
||||||
Import existing series on disk
|
Import existing series on disk
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-large btn-icon-only dropdown-toggle" data-toggle="dropdown">
|
<button class="btn btn-lg btn-icon-only dropdown-toggle" data-toggle="dropdown">
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
@ -14,7 +14,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--<div class="btn btn-block btn-large add-series-import-btn x-import">-->
|
<!--<div class="btn btn-block btn-lg add-series-import-btn x-import">-->
|
||||||
<!--<i class="icon-hdd"/>-->
|
<!--<i class="icon-hdd"/>-->
|
||||||
<!--Import existing series on disk-->
|
<!--Import existing series on disk-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
{{#if folder.path}}
|
{{#if folder.path}}
|
||||||
<div class="row unmapped-folder-path">
|
<div class="row unmapped-folder-path">
|
||||||
<div class="span11">
|
<div class="col-md-11">
|
||||||
{{folder.path}}
|
{{folder.path}}
|
||||||
</div>
|
</div>
|
||||||
</div>{{/if}}
|
</div>{{/if}}
|
||||||
<div class="row x-search-bar">
|
<div class="row x-search-bar">
|
||||||
<div class="input-prepend nz-input-large add-series-search span11">
|
<div class="input-group nz-input-large add-series-search col-md-11">
|
||||||
<i class="add-on icon-search"/>
|
<i class="input-group-addon icon-search"/>
|
||||||
{{#if folder}}
|
{{#if folder}}
|
||||||
<input type="text" class="input-block-level x-series-search" value="{{folder.name}}">
|
<input type="text" class="form-control x-series-search" value="{{folder.name}}">
|
||||||
{{else}}
|
{{else}}
|
||||||
<input type="text" class="input-block-level x-series-search" placeholder="Start typing the name of series you want to add ...">
|
<input type="text" class="form-control x-series-search" placeholder="Start typing the name of series you want to add ...">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div id="search-result" class="result-list span12"/>
|
<div id="search-result" class="result-list col-md-12"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn-block text-center new-series-loadmore x-load-more" style="display: none;">
|
<div class="btn btn-block text-center new-series-loadmore x-load-more" style="display: none;">
|
||||||
<i class="icon-angle-down"/>
|
<i class="icon-angle-down"/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="text-center span12">
|
<div class="text-center col-md-12">
|
||||||
<h3>
|
<h3>
|
||||||
Sorry. We couldn't find any series matching '{{term}}'
|
Sorry. We couldn't find any series matching '{{term}}'
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<td class="span10 x-folder folder-path">
|
<td class="col-md-10 x-folder folder-path">
|
||||||
{{path}}
|
{{path}}
|
||||||
</td>
|
</td>
|
||||||
<td class="span3 x-folder folder-free-space">
|
<td class="col-md-3 x-folder folder-free-space">
|
||||||
<span>{{Bytes freeSpace}}</span>
|
<span>{{Bytes freeSpace}}</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="span1 nz-row-action">
|
<td class="col-md-1 nz-row-action">
|
||||||
<div class="btn btn-small btn-icon-only icon-nd-delete x-delete">
|
<div class="btn btn-sm btn-icon-only icon-nd-delete x-delete">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
@ -1,22 +1,26 @@
|
|||||||
<div class="modal-header">
|
<div class="modal-dialog">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<div class="modal-content">
|
||||||
<h3>Select Folder</h3>
|
<div class="modal-header">
|
||||||
</div>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<div class="modal-body root-folders-modal">
|
<h3>Select Folder</h3>
|
||||||
<div class="validation-errors"></div>
|
</div>
|
||||||
<div class="alert alert-info">Enter the path that contains some or all of your TV series, you will be able to choose which series you want to import<button type="button" class="close" data-dismiss="alert">×</button></div>
|
<div class="modal-body root-folders-modal">
|
||||||
<div class="input-prepend input-append x-path control-group">
|
<div class="validation-errors"></div>
|
||||||
<span class="add-on"> <i class="icon-folder-open"></i></span>
|
<div class="alert alert-info">Enter the path that contains some or all of your TV series, you will be able to choose which series you want to import<button type="button" class="close" data-dismiss="alert">×</button></div>
|
||||||
<input class="span9" type="text" validation-name="path" placeholder="Enter path to folder that contains your shows">
|
<div class="input-group x-path form-group">
|
||||||
<button class="btn btn-success x-add">
|
<span class="input-group-addon"> <i class="icon-folder-open"></i></span>
|
||||||
<i class="icon-ok"/>
|
<input class="col-md-9" type="text" validation-name="path" placeholder="Enter path to folder that contains your shows">
|
||||||
</button>
|
<button class="btn btn-success x-add">
|
||||||
|
<i class="icon-ok"/>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{{#if items}}
|
||||||
|
<h4>Recent Folders</h4>
|
||||||
|
{{/if}}
|
||||||
|
<div id="current-dirs" class="root-folders-list"></div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal">close</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{#if items}}
|
|
||||||
<h4>Recent Folders</h4>
|
|
||||||
{{/if}}
|
|
||||||
<div id="current-dirs" class="root-folders-list"></div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button class="btn" data-dismiss="modal">close</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div>
|
<div>
|
||||||
<select class="span4 x-root-folder" validation-name="RootFolderPath">
|
<select class="col-md-4 x-root-folder" validation-name="RootFolderPath">
|
||||||
{{#if this}}
|
{{#if this}}
|
||||||
{{#each this}}
|
{{#each this}}
|
||||||
<option value="{{id}}">{{path}}</option>
|
<option value="{{id}}">{{path}}</option>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
|
<div class="search-item {{#unless isExisting}}search-item-new{{/unless}}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<a href="{{traktUrl}}" target="_blank">
|
<a href="{{traktUrl}}" target="_blank">
|
||||||
<img class="new-series-poster" src="{{remotePoster}}"
|
<img class="new-series-poster" src="{{remotePoster}}"
|
||||||
{{defaultImg}} >
|
{{defaultImg}} >
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
<div class="col-md-9">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h2 class="series-title">
|
<h2 class="series-title">
|
||||||
@ -24,11 +24,11 @@
|
|||||||
{{#unless existing}}
|
{{#unless existing}}
|
||||||
<div class="row labels">
|
<div class="row labels">
|
||||||
{{#unless path}}
|
{{#unless path}}
|
||||||
<div class="span4">Path</div>
|
<div class="col-md-4">Path</div>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
<div class="span1 starting-season starting-season-label">Starting Season</div>
|
<div class="col-md-1 starting-season starting-season-label">Starting Season</div>
|
||||||
<div class="span2">Quality Profile</div>
|
<div class="col-md-2">Quality Profile</div>
|
||||||
</div>
|
</div>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div>
|
<div>
|
||||||
<div class="form-horizontal">
|
<div class="form-horizontal">
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">iCal feed</label>
|
<label class="control-label">iCal feed</label>
|
||||||
|
|
||||||
<div class="controls ical-url">
|
<div class="controls ical-url">
|
||||||
<div class="input-append">
|
<div class="input-group">
|
||||||
<input type="text" class="x-ical-url" value="{{icalHttpUrl}}" readonly="readonly" />
|
<input type="text" class="x-ical-url" value="{{icalHttpUrl}}" readonly="readonly" />
|
||||||
<button class="btn btn-icon-only x-ical-copy" title="Copy to clipboard"><i class="icon-copy"></i></button>
|
<button class="btn btn-icon-only x-ical-copy" title="Copy to clipboard"><i class="icon-copy"></i></button>
|
||||||
<a class="btn btn-icon-only no-router" title="Subscribe" href="{{icalWebCalUrl}}" target="_blank"><i class="icon-calendar-empty"></i></a>
|
<a class="btn btn-icon-only no-router" title="Subscribe" href="{{icalWebCalUrl}}" target="_blank"><i class="icon-calendar-empty"></i></a>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span3">
|
<div class="col-md-3">
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<h4>Upcoming</h4>
|
<h4>Upcoming</h4>
|
||||||
</div>
|
</div>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="x-upcoming"/>
|
<div id="x-upcoming"/>
|
||||||
</div>
|
</div>
|
||||||
<div class=span9>
|
<div class="col-md-9">
|
||||||
<div id="x-calendar" class="calendar"/>
|
<div id="x-calendar" class="calendar"/>
|
||||||
<div class="legend calendar">
|
<div class="legend calendar">
|
||||||
<ul class='legend-labels'>
|
<ul class='legend-labels'>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
@import "../Content/Bootstrap/buttons";
|
@import "../Content/Bootstrap/buttons";
|
||||||
@import "../Shared/Styles/clickable";
|
@import "../Shared/Styles/clickable";
|
||||||
@import "../Content/variables";
|
@import "../Content/variables";
|
||||||
|
@import "../Content/Overrides/bootstrap";
|
||||||
|
|
||||||
.calendar {
|
.calendar {
|
||||||
th, td {
|
th, td {
|
||||||
@ -77,27 +78,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
border-color : @btnPrimaryBackground;
|
border-color : @btn-primary-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
border-color : @btnInfoBackground;
|
border-color : @btn-info-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inverse {
|
.inverse {
|
||||||
border-color : @btnInverseBackground;
|
border-color : @btn-link-disabled-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
border-color : @btnWarningBackground;
|
border-color : @btn-warning-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.danger {
|
.danger {
|
||||||
border-color : @btnDangerBackground;
|
border-color : @btn-danger-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.success {
|
.success {
|
||||||
border-color : @btnSuccessBackground;;
|
border-color : @btn-success-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.purple {
|
.purple {
|
||||||
@ -107,10 +108,17 @@
|
|||||||
.episode-title {
|
.episode-title {
|
||||||
.btn-link;
|
.btn-link;
|
||||||
.text-overflow;
|
.text-overflow;
|
||||||
color : @linkColor;
|
color : @link-color;
|
||||||
margin-top : 1px;
|
margin-top : 1px;
|
||||||
width : 140px;
|
|
||||||
display : inline-block;
|
display : inline-block;
|
||||||
|
|
||||||
|
@media (max-width: @screen-xs-min) {
|
||||||
|
width : 140px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
width : 140px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,33 +127,33 @@
|
|||||||
background-position : -160px -128px;
|
background-position : -160px -128px;
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
border-color : @btnPrimaryBackground;
|
border-color : @btn-primary-bg;
|
||||||
background-color : @btnPrimaryBackground;
|
background-color : @btn-primary-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
border-color : @btnInfoBackground;
|
border-color : @btn-info-bg;
|
||||||
background-color : @btnInfoBackground;
|
background-color : @btn-info-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inverse {
|
.inverse {
|
||||||
border-color : @btnInverseBackground;
|
border-color : @btn-link-disabled-color;
|
||||||
background-color : @btnInverseBackground;
|
background-color : @btn-link-disabled-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
border-color : @btnWarningBackground;
|
border-color : @btn-warning-bg;
|
||||||
background-color : @btnWarningBackground;
|
background-color : @btn-warning-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.danger {
|
.danger {
|
||||||
border-color : @btnDangerBackground;
|
border-color : @btn-danger-bg;
|
||||||
background-color : @btnDangerBackground;
|
background-color : @btn-danger-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.success {
|
.success {
|
||||||
border-color : @btnSuccessBackground;
|
border-color : @btn-success-bg;
|
||||||
background-color : @btnSuccessBackground;
|
background-color : @btn-success-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.purple {
|
.purple {
|
||||||
@ -161,7 +169,7 @@
|
|||||||
|
|
||||||
.ical
|
.ical
|
||||||
{
|
{
|
||||||
color: @btnInverseBackground;
|
color: @btn-link-disabled-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn btn-mini x-automatic-search x-automatic-search-icon" title="Automatic Search" data-container="body"><i class="icon-search"></i></button>
|
<button class="btn btn-xs x-automatic-search x-automatic-search-icon" title="Automatic Search" data-container="body"><i class="icon-search"></i></button>
|
||||||
<button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">
|
<button class="btn btn-xs dropdown-toggle" data-toggle="dropdown">
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
@ -4,18 +4,30 @@
|
|||||||
@import "../Shared/Styles/clickable";
|
@import "../Shared/Styles/clickable";
|
||||||
@import "../Content/mixins";
|
@import "../Content/mixins";
|
||||||
|
|
||||||
|
.table {
|
||||||
|
|
||||||
|
//table-layout: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.series-title {
|
||||||
|
.text-overflow();
|
||||||
|
}
|
||||||
|
|
||||||
.episode-title-cell {
|
.episode-title-cell {
|
||||||
.btn-link;
|
.btn-link;
|
||||||
|
.text-overflow();
|
||||||
}
|
}
|
||||||
|
|
||||||
.air-date-cell {
|
.air-date-cell {
|
||||||
width : 120px;
|
width : 120px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
.text-overflow();
|
||||||
}
|
}
|
||||||
|
|
||||||
.relative-date-cell {
|
.relative-date-cell {
|
||||||
width : 150px;
|
width : 150px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
.text-overflow();
|
||||||
}
|
}
|
||||||
|
|
||||||
.history-event-type-cell {
|
.history-event-type-cell {
|
||||||
@ -42,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color : @red;
|
color : @brand-danger;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +110,7 @@ td.episode-status-cell, td.quality-cell {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.series-actions-cell {
|
.series-actions-cell {
|
||||||
width: 40px;
|
width: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeleft-cell {
|
.timeleft-cell {
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
//
|
|
||||||
// Accordion
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Parent container
|
|
||||||
.accordion {
|
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Group == heading + body
|
|
||||||
.accordion-group {
|
|
||||||
margin-bottom: 2px;
|
|
||||||
border: 1px solid #e5e5e5;
|
|
||||||
.border-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
.accordion-heading {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
.accordion-heading .accordion-toggle {
|
|
||||||
display: block;
|
|
||||||
padding: 8px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// General toggle styles
|
|
||||||
.accordion-toggle {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Inner needs the styles because you can't animate properly with any styles on the element
|
|
||||||
.accordion-inner {
|
|
||||||
padding: 9px 15px;
|
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
}
|
|
@ -7,73 +7,61 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
padding: 8px 35px 8px 14px;
|
padding: @alert-padding;
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
border: 1px solid transparent;
|
||||||
background-color: @warningBackground;
|
border-radius: @alert-border-radius;
|
||||||
border: 1px solid @warningBorder;
|
|
||||||
.border-radius(@baseBorderRadius);
|
// Headings for larger alerts
|
||||||
}
|
h4 {
|
||||||
.alert,
|
margin-top: 0;
|
||||||
.alert h4 {
|
// Specified for the h4 to prevent conflicts of changing @headings-color
|
||||||
// Specified for the h4 to prevent conflicts of changing @headingsColor
|
color: inherit;
|
||||||
color: @warningText;
|
}
|
||||||
}
|
// Provide class for links that match alerts
|
||||||
.alert h4 {
|
.alert-link {
|
||||||
margin: 0;
|
font-weight: @alert-link-font-weight;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Improve alignment and spacing of inner content
|
||||||
|
> p,
|
||||||
|
> ul {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
> p + p {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust close link position
|
// Dismissable alerts
|
||||||
.alert .close {
|
//
|
||||||
position: relative;
|
// Expand the right padding and account for the close button's positioning.
|
||||||
top: -2px;
|
|
||||||
right: -21px;
|
|
||||||
line-height: @baseLineHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
.alert-dismissable {
|
||||||
|
padding-right: (@alert-padding + 20);
|
||||||
|
|
||||||
|
// Adjust close link position
|
||||||
|
.close {
|
||||||
|
position: relative;
|
||||||
|
top: -2px;
|
||||||
|
right: -21px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Alternate styles
|
// Alternate styles
|
||||||
// -------------------------
|
//
|
||||||
|
// Generate contextual modifier classes for colorizing the alert.
|
||||||
|
|
||||||
.alert-success {
|
.alert-success {
|
||||||
background-color: @successBackground;
|
.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
|
||||||
border-color: @successBorder;
|
|
||||||
color: @successText;
|
|
||||||
}
|
|
||||||
.alert-success h4 {
|
|
||||||
color: @successText;
|
|
||||||
}
|
|
||||||
.alert-danger,
|
|
||||||
.alert-error {
|
|
||||||
background-color: @errorBackground;
|
|
||||||
border-color: @errorBorder;
|
|
||||||
color: @errorText;
|
|
||||||
}
|
|
||||||
.alert-danger h4,
|
|
||||||
.alert-error h4 {
|
|
||||||
color: @errorText;
|
|
||||||
}
|
}
|
||||||
.alert-info {
|
.alert-info {
|
||||||
background-color: @infoBackground;
|
.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
|
||||||
border-color: @infoBorder;
|
|
||||||
color: @infoText;
|
|
||||||
}
|
}
|
||||||
.alert-info h4 {
|
.alert-warning {
|
||||||
color: @infoText;
|
.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
|
||||||
}
|
}
|
||||||
|
.alert-danger {
|
||||||
|
.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
|
||||||
// Block alerts
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
.alert-block {
|
|
||||||
padding-top: 14px;
|
|
||||||
padding-bottom: 14px;
|
|
||||||
}
|
|
||||||
.alert-block > p,
|
|
||||||
.alert-block > ul {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.alert-block p + p {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
}
|
||||||
|
55
src/UI/Content/Bootstrap/badges.less
Normal file
55
src/UI/Content/Bootstrap/badges.less
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
//
|
||||||
|
// Badges
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base classes
|
||||||
|
.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
|
||||||
|
.btn & {
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
.btn-xs & {
|
||||||
|
top: 0;
|
||||||
|
padding: 1px 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hover state, but only for links
|
||||||
|
a.badge {
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @badge-link-hover-color;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Account for counters in navs
|
||||||
|
a.list-group-item.active > .badge,
|
||||||
|
.nav-pills > .active > a > .badge {
|
||||||
|
color: @badge-active-color;
|
||||||
|
background-color: @badge-active-bg;
|
||||||
|
}
|
||||||
|
.nav-pills > li > a > .badge {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
68
src/UI/Content/Bootstrap/bootstrap.less
vendored
68
src/UI/Content/Bootstrap/bootstrap.less
vendored
@ -1,63 +1,49 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap v2.3.2
|
|
||||||
*
|
|
||||||
* Copyright 2012 Twitter, Inc
|
|
||||||
* Licensed under the Apache License v2.0
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Core variables and mixins
|
// Core variables and mixins
|
||||||
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
|
@import "variables.less";
|
||||||
@import "mixins.less";
|
@import "mixins.less";
|
||||||
|
|
||||||
// CSS Reset
|
// Reset
|
||||||
@import "reset.less";
|
@import "normalize.less";
|
||||||
|
@import "print.less";
|
||||||
|
|
||||||
// Grid system and page structure
|
// Core CSS
|
||||||
@import "scaffolding.less";
|
@import "scaffolding.less";
|
||||||
@import "grid.less";
|
|
||||||
@import "layouts.less";
|
|
||||||
|
|
||||||
// Base CSS
|
|
||||||
@import "type.less";
|
@import "type.less";
|
||||||
@import "code.less";
|
@import "code.less";
|
||||||
@import "forms.less";
|
@import "grid.less";
|
||||||
@import "tables.less";
|
@import "tables.less";
|
||||||
|
@import "forms.less";
|
||||||
// Components: common
|
|
||||||
@import "../FontAwesome/font-awesome.less";
|
|
||||||
@import "dropdowns.less";
|
|
||||||
@import "wells.less";
|
|
||||||
@import "component-animations.less";
|
|
||||||
@import "close.less";
|
|
||||||
|
|
||||||
// Components: Buttons & Alerts
|
|
||||||
@import "buttons.less";
|
@import "buttons.less";
|
||||||
@import "button-groups.less";
|
|
||||||
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
|
|
||||||
|
|
||||||
// Components: Nav
|
// Components
|
||||||
|
@import "component-animations.less";
|
||||||
|
@import "glyphicons.less";
|
||||||
|
@import "dropdowns.less";
|
||||||
|
@import "button-groups.less";
|
||||||
|
@import "input-groups.less";
|
||||||
@import "navs.less";
|
@import "navs.less";
|
||||||
@import "navbar.less";
|
@import "navbar.less";
|
||||||
@import "breadcrumbs.less";
|
@import "breadcrumbs.less";
|
||||||
@import "pagination.less";
|
@import "pagination.less";
|
||||||
@import "pager.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: Popovers
|
// Components w/ JavaScript
|
||||||
@import "modals.less";
|
@import "modals.less";
|
||||||
@import "tooltip.less";
|
@import "tooltip.less";
|
||||||
@import "popovers.less";
|
@import "popovers.less";
|
||||||
|
|
||||||
// Components: Misc
|
|
||||||
@import "thumbnails.less";
|
|
||||||
@import "media.less";
|
|
||||||
@import "labels-badges.less";
|
|
||||||
@import "progress-bars.less";
|
|
||||||
@import "accordion.less";
|
|
||||||
@import "carousel.less";
|
@import "carousel.less";
|
||||||
@import "hero-unit.less";
|
|
||||||
|
|
||||||
// Utility classes
|
// Utility classes
|
||||||
@import "utilities.less"; // Has to be last to override when necessary
|
@import "utilities.less";
|
||||||
|
@import "responsive-utilities.less";
|
||||||
|
@ -4,21 +4,23 @@
|
|||||||
|
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
padding: 8px 15px;
|
padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
|
||||||
margin: 0 0 @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
background-color: #f5f5f5;
|
background-color: @breadcrumb-bg;
|
||||||
.border-radius(@baseBorderRadius);
|
border-radius: @border-radius-base;
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
|
||||||
text-shadow: 0 1px 0 @white;
|
+ li:before {
|
||||||
> .divider {
|
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
color: #ccc;
|
color: @breadcrumb-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .active {
|
> .active {
|
||||||
color: @grayLight;
|
color: @breadcrumb-active-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,90 +2,87 @@
|
|||||||
// Button groups
|
// Button groups
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Make the div behave like a button
|
// Make the div behave like a button
|
||||||
.btn-group {
|
.btn-group,
|
||||||
|
.btn-group-vertical {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
|
||||||
font-size: 0; // remove as part 1 of font-size inline-block hack
|
|
||||||
vertical-align: middle; // match .btn alignment given font-size hack above
|
vertical-align: middle; // match .btn alignment given font-size hack above
|
||||||
white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
|
> .btn {
|
||||||
.ie7-restore-left-whitespace();
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
// Bring the "active" button to the front
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active,
|
||||||
|
&.active {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
&:focus {
|
||||||
|
// Remove focus outline when dropdown JS adds it after closing the menu
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Space out series of button groups
|
// Prevent double borders when buttons are next to each other
|
||||||
.btn-group + .btn-group {
|
.btn-group {
|
||||||
margin-left: 5px;
|
.btn + .btn,
|
||||||
|
.btn + .btn-group,
|
||||||
|
.btn-group + .btn,
|
||||||
|
.btn-group + .btn-group {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Optional: Group multiple button groups together for a toolbar
|
// Optional: Group multiple button groups together for a toolbar
|
||||||
.btn-toolbar {
|
.btn-toolbar {
|
||||||
font-size: 0; // Hack to remove whitespace that results from using inline-block
|
margin-left: -5px; // Offset the first child's margin
|
||||||
margin-top: @baseLineHeight / 2;
|
&:extend(.clearfix all);
|
||||||
margin-bottom: @baseLineHeight / 2;
|
|
||||||
> .btn + .btn,
|
.btn-group,
|
||||||
> .btn-group + .btn,
|
.input-group {
|
||||||
> .btn + .btn-group {
|
float: left;
|
||||||
|
}
|
||||||
|
> .btn,
|
||||||
|
> .btn-group,
|
||||||
|
> .input-group {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Float them, remove border radius, then re-add to first and last elements
|
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
||||||
.btn-group > .btn {
|
border-radius: 0;
|
||||||
position: relative;
|
|
||||||
.border-radius(0);
|
|
||||||
}
|
|
||||||
.btn-group > .btn + .btn {
|
|
||||||
margin-left: -1px;
|
|
||||||
}
|
|
||||||
.btn-group > .btn,
|
|
||||||
.btn-group > .dropdown-menu,
|
|
||||||
.btn-group > .popover {
|
|
||||||
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
|
|
||||||
}
|
|
||||||
|
|
||||||
// Reset fonts for other sizes
|
|
||||||
.btn-group > .btn-mini {
|
|
||||||
font-size: @fontSizeMini;
|
|
||||||
}
|
|
||||||
.btn-group > .btn-small {
|
|
||||||
font-size: @fontSizeSmall;
|
|
||||||
}
|
|
||||||
.btn-group > .btn-large {
|
|
||||||
font-size: @fontSizeLarge;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
||||||
.btn-group > .btn:first-child {
|
.btn-group > .btn:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
.border-top-left-radius(@baseBorderRadius);
|
&:not(:last-child):not(.dropdown-toggle) {
|
||||||
.border-bottom-left-radius(@baseBorderRadius);
|
.border-right-radius(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
||||||
.btn-group > .btn:last-child,
|
.btn-group > .btn:last-child:not(:first-child),
|
||||||
.btn-group > .dropdown-toggle {
|
.btn-group > .dropdown-toggle:not(:first-child) {
|
||||||
.border-top-right-radius(@baseBorderRadius);
|
.border-left-radius(0);
|
||||||
.border-bottom-right-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
// Reset corners for large buttons
|
|
||||||
.btn-group > .btn.large:first-child {
|
|
||||||
margin-left: 0;
|
|
||||||
.border-top-left-radius(@borderRadiusLarge);
|
|
||||||
.border-bottom-left-radius(@borderRadiusLarge);
|
|
||||||
}
|
|
||||||
.btn-group > .btn.large:last-child,
|
|
||||||
.btn-group > .large.dropdown-toggle {
|
|
||||||
.border-top-right-radius(@borderRadiusLarge);
|
|
||||||
.border-bottom-right-radius(@borderRadiusLarge);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// On hover/focus/active, bring the proper btn to front
|
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
||||||
.btn-group > .btn:hover,
|
.btn-group > .btn-group {
|
||||||
.btn-group > .btn:focus,
|
float: left;
|
||||||
.btn-group > .btn:active,
|
}
|
||||||
.btn-group > .btn.active {
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
z-index: 2;
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
.btn-group > .btn-group:first-child {
|
||||||
|
> .btn:last-child,
|
||||||
|
> .dropdown-toggle {
|
||||||
|
.border-right-radius(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn-group > .btn-group:last-child > .btn:first-child {
|
||||||
|
.border-left-radius(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// On active and open, don't show outline
|
// On active and open, don't show outline
|
||||||
@ -95,6 +92,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Sizing
|
||||||
|
//
|
||||||
|
// Remix the default button sizing classes into new ones for easier manipulation.
|
||||||
|
|
||||||
|
.btn-group-xs > .btn { &:extend(.btn-xs); }
|
||||||
|
.btn-group-sm > .btn { &:extend(.btn-sm); }
|
||||||
|
.btn-group-lg > .btn { &:extend(.btn-lg); }
|
||||||
|
|
||||||
|
|
||||||
// Split button dropdowns
|
// Split button dropdowns
|
||||||
// ----------------------
|
// ----------------------
|
||||||
@ -103,127 +108,119 @@
|
|||||||
.btn-group > .btn + .dropdown-toggle {
|
.btn-group > .btn + .dropdown-toggle {
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
.box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
|
|
||||||
*padding-top: 5px;
|
|
||||||
*padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
.btn-group > .btn-mini + .dropdown-toggle {
|
.btn-group > .btn-lg + .dropdown-toggle {
|
||||||
padding-left: 5px;
|
|
||||||
padding-right: 5px;
|
|
||||||
*padding-top: 2px;
|
|
||||||
*padding-bottom: 2px;
|
|
||||||
}
|
|
||||||
.btn-group > .btn-small + .dropdown-toggle {
|
|
||||||
*padding-top: 5px;
|
|
||||||
*padding-bottom: 4px;
|
|
||||||
}
|
|
||||||
.btn-group > .btn-large + .dropdown-toggle {
|
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
*padding-top: 7px;
|
|
||||||
*padding-bottom: 7px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group.open {
|
// The clickable button for toggling the menu
|
||||||
|
// Remove the gradient and set the same inset shadow as the :active state
|
||||||
|
.btn-group.open .dropdown-toggle {
|
||||||
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||||
|
|
||||||
// The clickable button for toggling the menu
|
// Show no shadow for `.btn-link` since it has no other button styles.
|
||||||
// Remove the gradient and set the same inset shadow as the :active state
|
&.btn-link {
|
||||||
.dropdown-toggle {
|
.box-shadow(none);
|
||||||
background-image: none;
|
|
||||||
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Keep the hover's background when dropdown is open
|
|
||||||
.btn.dropdown-toggle {
|
|
||||||
background-color: @btnBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-primary.dropdown-toggle {
|
|
||||||
background-color: @btnPrimaryBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-warning.dropdown-toggle {
|
|
||||||
background-color: @btnWarningBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-danger.dropdown-toggle {
|
|
||||||
background-color: @btnDangerBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-success.dropdown-toggle {
|
|
||||||
background-color: @btnSuccessBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-info.dropdown-toggle {
|
|
||||||
background-color: @btnInfoBackgroundHighlight;
|
|
||||||
}
|
|
||||||
.btn-inverse.dropdown-toggle {
|
|
||||||
background-color: @btnInverseBackgroundHighlight;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Reposition the caret
|
// Reposition the caret
|
||||||
.btn .caret {
|
.btn .caret {
|
||||||
margin-top: 8px;
|
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
// Carets in other button sizes
|
// Carets in other button sizes
|
||||||
.btn-large .caret {
|
.btn-lg .caret {
|
||||||
margin-top: 6px;
|
border-width: @caret-width-large @caret-width-large 0;
|
||||||
}
|
border-bottom-width: 0;
|
||||||
.btn-large .caret {
|
|
||||||
border-left-width: 5px;
|
|
||||||
border-right-width: 5px;
|
|
||||||
border-top-width: 5px;
|
|
||||||
}
|
|
||||||
.btn-mini .caret,
|
|
||||||
.btn-small .caret {
|
|
||||||
margin-top: 8px;
|
|
||||||
}
|
}
|
||||||
// Upside down carets for .dropup
|
// Upside down carets for .dropup
|
||||||
.dropup .btn-large .caret {
|
.dropup .btn-lg .caret {
|
||||||
border-bottom-width: 5px;
|
border-width: 0 @caret-width-large @caret-width-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Account for other colors
|
|
||||||
.btn-primary,
|
|
||||||
.btn-warning,
|
|
||||||
.btn-danger,
|
|
||||||
.btn-info,
|
|
||||||
.btn-success,
|
|
||||||
.btn-inverse {
|
|
||||||
.caret {
|
|
||||||
border-top-color: @white;
|
|
||||||
border-bottom-color: @white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Vertical button groups
|
// Vertical button groups
|
||||||
// ----------------------
|
// ----------------------
|
||||||
|
|
||||||
.btn-group-vertical {
|
.btn-group-vertical {
|
||||||
display: inline-block; // makes buttons only take up the width they need
|
> .btn,
|
||||||
.ie7-inline-block();
|
> .btn-group,
|
||||||
|
> .btn-group > .btn {
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear floats so dropdown menus can be properly placed
|
||||||
|
> .btn-group {
|
||||||
|
&:extend(.clearfix all);
|
||||||
|
> .btn {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .btn + .btn,
|
||||||
|
> .btn + .btn-group,
|
||||||
|
> .btn-group + .btn,
|
||||||
|
> .btn-group + .btn-group {
|
||||||
|
margin-top: -1px;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical > .btn {
|
.btn-group-vertical > .btn {
|
||||||
display: block;
|
&:not(:first-child):not(:last-child) {
|
||||||
float: none;
|
border-radius: 0;
|
||||||
max-width: 100%;
|
}
|
||||||
.border-radius(0);
|
&:first-child:not(:last-child) {
|
||||||
|
border-top-right-radius: @border-radius-base;
|
||||||
|
.border-bottom-radius(0);
|
||||||
|
}
|
||||||
|
&:last-child:not(:first-child) {
|
||||||
|
border-bottom-left-radius: @border-radius-base;
|
||||||
|
.border-top-radius(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn + .btn {
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
margin-left: 0;
|
border-radius: 0;
|
||||||
margin-top: -1px;
|
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn:first-child {
|
.btn-group-vertical > .btn-group:first-child:not(:last-child) {
|
||||||
.border-radius(@baseBorderRadius @baseBorderRadius 0 0);
|
> .btn:last-child,
|
||||||
|
> .dropdown-toggle {
|
||||||
|
.border-bottom-radius(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn:last-child {
|
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
||||||
.border-radius(0 0 @baseBorderRadius @baseBorderRadius);
|
.border-top-radius(0);
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn-large:first-child {
|
|
||||||
.border-radius(@borderRadiusLarge @borderRadiusLarge 0 0);
|
|
||||||
|
|
||||||
|
// Justified button groups
|
||||||
|
// ----------------------
|
||||||
|
|
||||||
|
.btn-group-justified {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
table-layout: fixed;
|
||||||
|
border-collapse: separate;
|
||||||
|
> .btn,
|
||||||
|
> .btn-group {
|
||||||
|
float: none;
|
||||||
|
display: table-cell;
|
||||||
|
width: 1%;
|
||||||
|
}
|
||||||
|
> .btn-group .btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn-large:last-child {
|
|
||||||
.border-radius(0 0 @borderRadiusLarge @borderRadiusLarge);
|
|
||||||
|
// Checkbox and radio options
|
||||||
|
[data-toggle="buttons"] > .btn > input[type="radio"],
|
||||||
|
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -6,109 +6,142 @@
|
|||||||
// Base styles
|
// Base styles
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Core
|
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
|
||||||
padding: 4px 12px;
|
|
||||||
margin-bottom: 0; // For input.btn
|
margin-bottom: 0; // For input.btn
|
||||||
font-size: @baseFontSize;
|
font-weight: @btn-font-weight;
|
||||||
line-height: @baseLineHeight;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, 0 1px 1px rgba(255,255,255,.75));
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||||
border: 1px solid @btnBorder;
|
border: 1px solid transparent;
|
||||||
*border: 0; // Remove the border to prevent IE7's black border on input:focus
|
white-space: nowrap;
|
||||||
border-bottom-color: darken(@btnBorder, 10%);
|
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
||||||
.border-radius(@baseBorderRadius);
|
.user-select(none);
|
||||||
.ie7-restore-left-whitespace(); // Give IE7 some love
|
|
||||||
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
|
&,
|
||||||
|
&:active,
|
||||||
|
&.active {
|
||||||
|
&:focus {
|
||||||
|
.tab-focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Hover/focus state
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: @grayDark;
|
color: @btn-default-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-position: 0 -15px;
|
|
||||||
|
|
||||||
// transition is only when going to hover/focus, otherwise the background
|
|
||||||
// behind the gradient (there for IE<=9 fallback) gets mismatched
|
|
||||||
.transition(background-position .1s linear);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Focus state for keyboard and accessibility
|
&:active,
|
||||||
&:focus {
|
&.active {
|
||||||
.tab-focus();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Active state
|
|
||||||
&.active,
|
|
||||||
&:active {
|
|
||||||
background-image: none;
|
|
||||||
outline: 0;
|
outline: 0;
|
||||||
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
|
background-image: none;
|
||||||
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disabled state
|
|
||||||
&.disabled,
|
&.disabled,
|
||||||
&[disabled] {
|
&[disabled],
|
||||||
cursor: default;
|
fieldset[disabled] & {
|
||||||
background-image: none;
|
cursor: not-allowed;
|
||||||
.opacity(65);
|
pointer-events: none; // Future-proof disabling of clicks
|
||||||
|
.opacity(.65);
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Alternate buttons
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.btn-default {
|
||||||
|
.button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
|
||||||
|
}
|
||||||
|
.btn-primary {
|
||||||
|
.button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
|
||||||
|
}
|
||||||
|
// Success appears as green
|
||||||
|
.btn-success {
|
||||||
|
.button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
|
||||||
|
}
|
||||||
|
// Info appears as blue-green
|
||||||
|
.btn-info {
|
||||||
|
.button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
|
||||||
|
}
|
||||||
|
// Warning appears as orange
|
||||||
|
.btn-warning {
|
||||||
|
.button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
|
||||||
|
}
|
||||||
|
// Danger and error appear as red
|
||||||
|
.btn-danger {
|
||||||
|
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Link buttons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Make a button look and behave like a link
|
||||||
|
.btn-link {
|
||||||
|
color: @link-color;
|
||||||
|
font-weight: normal;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
|
&,
|
||||||
|
&:active,
|
||||||
|
&[disabled],
|
||||||
|
fieldset[disabled] & {
|
||||||
|
background-color: transparent;
|
||||||
|
.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
|
// Button Sizes
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Large
|
.btn-lg {
|
||||||
.btn-large {
|
// line-height: ensure even-numbered height of button next to large input
|
||||||
padding: @paddingLarge;
|
.button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
|
||||||
font-size: @fontSizeLarge;
|
|
||||||
.border-radius(@borderRadiusLarge);
|
|
||||||
}
|
}
|
||||||
.btn-large [class^="icon-"],
|
.btn-sm {
|
||||||
.btn-large [class*=" icon-"] {
|
// line-height: ensure proper height of button next to small input
|
||||||
margin-top: 4px;
|
.button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
||||||
}
|
}
|
||||||
|
.btn-xs {
|
||||||
// Small
|
.button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
|
||||||
.btn-small {
|
|
||||||
padding: @paddingSmall;
|
|
||||||
font-size: @fontSizeSmall;
|
|
||||||
.border-radius(@borderRadiusSmall);
|
|
||||||
}
|
|
||||||
.btn-small [class^="icon-"],
|
|
||||||
.btn-small [class*=" icon-"] {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.btn-mini [class^="icon-"],
|
|
||||||
.btn-mini [class*=" icon-"] {
|
|
||||||
margin-top: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mini
|
|
||||||
.btn-mini {
|
|
||||||
padding: @paddingMini;
|
|
||||||
font-size: @fontSizeMini;
|
|
||||||
.border-radius(@borderRadiusSmall);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Block button
|
// Block button
|
||||||
// -------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
.box-sizing(border-box);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vertically space out multiple block buttons
|
// Vertically space out multiple block buttons
|
||||||
@ -124,105 +157,3 @@ input[type="button"] {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Alternate buttons
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
// Provide *some* extra contrast for those who can get it
|
|
||||||
.btn-primary.active,
|
|
||||||
.btn-warning.active,
|
|
||||||
.btn-danger.active,
|
|
||||||
.btn-success.active,
|
|
||||||
.btn-info.active,
|
|
||||||
.btn-inverse.active {
|
|
||||||
color: rgba(255,255,255,.75);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the backgrounds
|
|
||||||
// -------------------------
|
|
||||||
.btn-primary {
|
|
||||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
|
||||||
}
|
|
||||||
// Warning appears are orange
|
|
||||||
.btn-warning {
|
|
||||||
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
|
|
||||||
}
|
|
||||||
// Danger and error appear as red
|
|
||||||
.btn-danger {
|
|
||||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
|
||||||
}
|
|
||||||
// Success appears as green
|
|
||||||
.btn-success {
|
|
||||||
.buttonBackground(@btnSuccessBackground, @btnSuccessBackgroundHighlight);
|
|
||||||
}
|
|
||||||
// Info appears as a neutral blue
|
|
||||||
.btn-info {
|
|
||||||
.buttonBackground(@btnInfoBackground, @btnInfoBackgroundHighlight);
|
|
||||||
}
|
|
||||||
// Inverse appears as dark gray
|
|
||||||
.btn-inverse {
|
|
||||||
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Cross-browser Jank
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
button.btn,
|
|
||||||
input[type="submit"].btn {
|
|
||||||
|
|
||||||
// Firefox 3.6 only I believe
|
|
||||||
&::-moz-focus-inner {
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// IE7 has some default padding on button controls
|
|
||||||
*padding-top: 3px;
|
|
||||||
*padding-bottom: 3px;
|
|
||||||
|
|
||||||
&.btn-large {
|
|
||||||
*padding-top: 7px;
|
|
||||||
*padding-bottom: 7px;
|
|
||||||
}
|
|
||||||
&.btn-small {
|
|
||||||
*padding-top: 3px;
|
|
||||||
*padding-bottom: 3px;
|
|
||||||
}
|
|
||||||
&.btn-mini {
|
|
||||||
*padding-top: 1px;
|
|
||||||
*padding-bottom: 1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Link buttons
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
// Make a button look and behave like a link
|
|
||||||
.btn-link,
|
|
||||||
.btn-link:active,
|
|
||||||
.btn-link[disabled] {
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: none;
|
|
||||||
.box-shadow(none);
|
|
||||||
}
|
|
||||||
.btn-link {
|
|
||||||
border-color: transparent;
|
|
||||||
cursor: pointer;
|
|
||||||
color: @linkColor;
|
|
||||||
.border-radius(0);
|
|
||||||
}
|
|
||||||
.btn-link:hover,
|
|
||||||
.btn-link:focus {
|
|
||||||
color: @linkColorHover;
|
|
||||||
text-decoration: underline;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.btn-link[disabled]:hover,
|
|
||||||
.btn-link[disabled]:focus {
|
|
||||||
color: @grayDark;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
@ -3,19 +3,15 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Wrapper for the slide container and indicators
|
||||||
.carousel {
|
.carousel {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.carousel-inner {
|
.carousel-inner {
|
||||||
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel-inner {
|
|
||||||
|
|
||||||
> .item {
|
> .item {
|
||||||
display: none;
|
display: none;
|
||||||
@ -25,7 +21,7 @@
|
|||||||
// Account for jankitude on images
|
// Account for jankitude on images
|
||||||
> img,
|
> img,
|
||||||
> a > img {
|
> a > img {
|
||||||
display: block;
|
&:extend(.img-responsive);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,89 +66,167 @@
|
|||||||
|
|
||||||
.carousel-control {
|
.carousel-control {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40%;
|
top: 0;
|
||||||
left: 15px;
|
left: 0;
|
||||||
width: 40px;
|
bottom: 0;
|
||||||
height: 40px;
|
width: @carousel-control-width;
|
||||||
margin-top: -20px;
|
.opacity(@carousel-control-opacity);
|
||||||
font-size: 60px;
|
font-size: @carousel-control-font-size;
|
||||||
font-weight: 100;
|
color: @carousel-control-color;
|
||||||
line-height: 30px;
|
|
||||||
color: @white;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: @grayDarker;
|
text-shadow: @carousel-text-shadow;
|
||||||
border: 3px solid @white;
|
// We can't have this transition here because WebKit cancels the carousel
|
||||||
.border-radius(23px);
|
// animation if you trip this while in the middle of another animation.
|
||||||
.opacity(50);
|
|
||||||
|
|
||||||
// we can't have this transition here
|
// Set gradients for backgrounds
|
||||||
// because webkit cancels the carousel
|
&.left {
|
||||||
// animation if you trip this while
|
#gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
|
||||||
// in the middle of another animation
|
}
|
||||||
// ;_;
|
|
||||||
// .transition(opacity .2s linear);
|
|
||||||
|
|
||||||
// Reposition the right one
|
|
||||||
&.right {
|
&.right {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: 15px;
|
right: 0;
|
||||||
|
#gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hover/focus state
|
// Hover/focus state
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: @white;
|
outline: none;
|
||||||
|
color: @carousel-control-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
.opacity(90);
|
.opacity(.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Toggles
|
||||||
|
.icon-prev,
|
||||||
|
.icon-next,
|
||||||
|
.glyphicon-chevron-left,
|
||||||
|
.glyphicon-chevron-right {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
z-index: 5;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.icon-prev,
|
||||||
|
.glyphicon-chevron-left {
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
.icon-next,
|
||||||
|
.glyphicon-chevron-right {
|
||||||
|
right: 50%;
|
||||||
|
}
|
||||||
|
.icon-prev,
|
||||||
|
.icon-next {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin-top: -10px;
|
||||||
|
margin-left: -10px;
|
||||||
|
font-family: serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-prev {
|
||||||
|
&:before {
|
||||||
|
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.icon-next {
|
||||||
|
&:before {
|
||||||
|
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Carousel indicator pips
|
// Optional indicator pips
|
||||||
// -----------------------------
|
//
|
||||||
|
// Add an unordered list with the following class and add a list item for each
|
||||||
|
// slide your carousel holds.
|
||||||
|
|
||||||
.carousel-indicators {
|
.carousel-indicators {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 15px;
|
bottom: 10px;
|
||||||
right: 15px;
|
left: 50%;
|
||||||
z-index: 5;
|
z-index: 15;
|
||||||
margin: 0;
|
width: 60%;
|
||||||
|
margin-left: -30%;
|
||||||
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: block;
|
display: inline-block;
|
||||||
float: left;
|
width: 10px;
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin-left: 5px;
|
margin: 1px;
|
||||||
text-indent: -999px;
|
text-indent: -999px;
|
||||||
background-color: #ccc;
|
border: 1px solid @carousel-indicator-border-color;
|
||||||
background-color: rgba(255,255,255,.25);
|
border-radius: 10px;
|
||||||
border-radius: 5px;
|
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
|
||||||
}
|
}
|
||||||
.active {
|
.active {
|
||||||
background-color: #fff;
|
margin: 0;
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
background-color: @carousel-indicator-active-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Caption for text below images
|
// Optional captions
|
||||||
// -----------------------------
|
// -----------------------------
|
||||||
|
// Hidden by default for smaller viewports
|
||||||
.carousel-caption {
|
.carousel-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 15%;
|
||||||
right: 0;
|
right: 15%;
|
||||||
bottom: 0;
|
bottom: 20px;
|
||||||
padding: 15px;
|
z-index: 10;
|
||||||
background: @grayDark;
|
padding-top: 20px;
|
||||||
background: rgba(0,0,0,.75);
|
padding-bottom: 20px;
|
||||||
|
color: @carousel-caption-color;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: @carousel-text-shadow;
|
||||||
|
& .btn {
|
||||||
|
text-shadow: none; // No shadow for button elements in carousel-caption
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.carousel-caption h4,
|
|
||||||
.carousel-caption p {
|
|
||||||
color: @white;
|
// Scale up controls for tablets and up
|
||||||
line-height: @baseLineHeight;
|
@media screen and (min-width: @screen-sm-min) {
|
||||||
}
|
|
||||||
.carousel-caption h4 {
|
// Scale up the controls a smidge
|
||||||
margin: 0 0 5px;
|
.carousel-control {
|
||||||
}
|
.glyphicon-chevron-left,
|
||||||
.carousel-caption p {
|
.glyphicon-chevron-right,
|
||||||
margin-bottom: 0;
|
.icon-prev,
|
||||||
|
.icon-next {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
margin-top: -15px;
|
||||||
|
margin-left: -15px;
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show and left align the captions
|
||||||
|
.carousel-caption {
|
||||||
|
left: 20%;
|
||||||
|
right: 20%;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move up the indicators
|
||||||
|
.carousel-indicators {
|
||||||
|
bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,28 +5,29 @@
|
|||||||
|
|
||||||
.close {
|
.close {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 20px;
|
font-size: (@font-size-base * 1.5);
|
||||||
font-weight: bold;
|
font-weight: @close-font-weight;
|
||||||
line-height: @baseLineHeight;
|
line-height: 1;
|
||||||
color: @black;
|
color: @close-color;
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
text-shadow: @close-text-shadow;
|
||||||
.opacity(20);
|
.opacity(.2);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: @black;
|
color: @close-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.opacity(40);
|
.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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.close {
|
|
||||||
padding: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
background: transparent;
|
|
||||||
border: 0;
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
@ -1,61 +1,63 @@
|
|||||||
//
|
//
|
||||||
// Code (inline and blocK)
|
// Code (inline and block)
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Inline and block code styles
|
// Inline and block code styles
|
||||||
code,
|
code,
|
||||||
pre {
|
kbd,
|
||||||
padding: 0 3px 2px;
|
pre,
|
||||||
#font > #family > .monospace;
|
samp {
|
||||||
font-size: @baseFontSize - 2;
|
font-family: @font-family-monospace;
|
||||||
color: @grayDark;
|
|
||||||
.border-radius(3px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inline code
|
// Inline code
|
||||||
code {
|
code {
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
color: #d14;
|
font-size: 90%;
|
||||||
background-color: #f7f7f9;
|
color: @code-color;
|
||||||
border: 1px solid #e1e1e8;
|
background-color: @code-bg;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
border-radius: @border-radius-base;
|
||||||
|
}
|
||||||
|
|
||||||
|
// User input typically entered via keyboard
|
||||||
|
kbd {
|
||||||
|
padding: 2px 4px;
|
||||||
|
font-size: 90%;
|
||||||
|
color: @kbd-color;
|
||||||
|
background-color: @kbd-bg;
|
||||||
|
border-radius: @border-radius-small;
|
||||||
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blocks of code
|
// Blocks of code
|
||||||
pre {
|
pre {
|
||||||
display: block;
|
display: block;
|
||||||
padding: (@baseLineHeight - 1) / 2;
|
padding: ((@line-height-computed - 1) / 2);
|
||||||
margin: 0 0 @baseLineHeight / 2;
|
margin: 0 0 (@line-height-computed / 2);
|
||||||
font-size: @baseFontSize - 1; // 14px to 13px
|
font-size: (@font-size-base - 1); // 14px to 13px
|
||||||
line-height: @baseLineHeight;
|
line-height: @line-height-base;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
white-space: pre;
|
color: @pre-color;
|
||||||
white-space: pre-wrap;
|
background-color: @pre-bg;
|
||||||
background-color: #f5f5f5;
|
border: 1px solid @pre-border-color;
|
||||||
border: 1px solid #ccc; // fallback for IE7-8
|
border-radius: @border-radius-base;
|
||||||
border: 1px solid rgba(0,0,0,.15);
|
|
||||||
.border-radius(@baseBorderRadius);
|
|
||||||
|
|
||||||
// Make prettyprint styles more spaced out for readability
|
|
||||||
&.prettyprint {
|
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Account for some code outputs that place code tags in pre tags
|
// Account for some code outputs that place code tags in pre tags
|
||||||
code {
|
code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
font-size: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
white-space: pre;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enable scrollable blocks of code
|
// Enable scrollable blocks of code
|
||||||
.pre-scrollable {
|
.pre-scrollable {
|
||||||
max-height: 340px;
|
max-height: @pre-scrollable-max-height;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
// Component animations
|
// Component animations
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// Heads up!
|
||||||
|
//
|
||||||
|
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
||||||
|
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
|
||||||
|
|
||||||
.fade {
|
.fade {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -12,11 +16,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.collapse {
|
.collapse {
|
||||||
|
display: none;
|
||||||
|
&.in {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.collapsing {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.transition(height .35s ease);
|
.transition(height .35s ease);
|
||||||
&.in {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -3,64 +3,51 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
|
|
||||||
.dropup,
|
|
||||||
.dropdown {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-toggle {
|
|
||||||
// The caret makes the toggle a bit too tall in IE7
|
|
||||||
*margin-bottom: -3px;
|
|
||||||
}
|
|
||||||
.dropdown-toggle:active,
|
|
||||||
.open .dropdown-toggle {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dropdown arrow/caret
|
// Dropdown arrow/caret
|
||||||
// --------------------
|
|
||||||
.caret {
|
.caret {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
vertical-align: top;
|
margin-left: 2px;
|
||||||
border-top: 4px solid @black;
|
vertical-align: middle;
|
||||||
border-right: 4px solid transparent;
|
border-top: @caret-width-base solid;
|
||||||
border-left: 4px solid transparent;
|
border-right: @caret-width-base solid transparent;
|
||||||
content: "";
|
border-left: @caret-width-base solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Place the caret
|
// The dropdown wrapper (div)
|
||||||
.dropdown .caret {
|
.dropdown {
|
||||||
margin-top: 8px;
|
position: relative;
|
||||||
margin-left: 2px;
|
}
|
||||||
|
|
||||||
|
// Prevent the focus on the dropdown toggle when closing dropdowns
|
||||||
|
.dropdown-toggle:focus {
|
||||||
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The dropdown menu (ul)
|
// The dropdown menu (ul)
|
||||||
// ----------------------
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: @zindexDropdown;
|
z-index: @zindex-dropdown;
|
||||||
display: none; // none by default, but block on "open" of the menu
|
display: none; // none by default, but block on "open" of the menu
|
||||||
float: left;
|
float: left;
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
margin: 2px 0 0; // override default ul
|
margin: 2px 0 0; // override default ul
|
||||||
list-style: none;
|
list-style: none;
|
||||||
background-color: @dropdownBackground;
|
font-size: @font-size-base;
|
||||||
border: 1px solid #ccc; // Fallback for IE7-8
|
background-color: @dropdown-bg;
|
||||||
border: 1px solid @dropdownBorder;
|
border: 1px solid @dropdown-fallback-border; // IE8 fallback
|
||||||
*border-right-width: 2px;
|
border: 1px solid @dropdown-border;
|
||||||
*border-bottom-width: 2px;
|
border-radius: @border-radius-base;
|
||||||
.border-radius(6px);
|
.box-shadow(0 6px 12px rgba(0,0,0,.175));
|
||||||
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
background-clip: padding-box;
|
||||||
-webkit-background-clip: padding-box;
|
|
||||||
-moz-background-clip: padding;
|
|
||||||
background-clip: padding-box;
|
|
||||||
|
|
||||||
// Aligns the dropdown menu to right
|
// Aligns the dropdown menu to right
|
||||||
|
//
|
||||||
|
// Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
|
||||||
&.pull-right {
|
&.pull-right {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
@ -68,7 +55,7 @@
|
|||||||
|
|
||||||
// Dividers (basically an hr) within the dropdown
|
// Dividers (basically an hr) within the dropdown
|
||||||
.divider {
|
.divider {
|
||||||
.nav-divider(@dropdownDividerTop, @dropdownDividerBottom);
|
.nav-divider(@dropdown-divider-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Links within the dropdown menu
|
// Links within the dropdown menu
|
||||||
@ -77,92 +64,125 @@
|
|||||||
padding: 3px 20px;
|
padding: 3px 20px;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: @baseLineHeight;
|
line-height: @line-height-base;
|
||||||
color: @dropdownLinkColor;
|
color: @dropdown-link-color;
|
||||||
white-space: nowrap;
|
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hover/Focus state
|
// Hover/Focus state
|
||||||
// -----------
|
.dropdown-menu > li > a {
|
||||||
.dropdown-menu > li > a:hover,
|
&:hover,
|
||||||
.dropdown-menu > li > a:focus,
|
&:focus {
|
||||||
.dropdown-submenu:hover > a,
|
text-decoration: none;
|
||||||
.dropdown-submenu:focus > a {
|
color: @dropdown-link-hover-color;
|
||||||
text-decoration: none;
|
background-color: @dropdown-link-hover-bg;
|
||||||
color: @dropdownLinkColorHover;
|
|
||||||
#gradient > .vertical(@dropdownLinkBackgroundHover, darken(@dropdownLinkBackgroundHover, 5%));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Active state
|
|
||||||
// ------------
|
|
||||||
.dropdown-menu > .active > a,
|
|
||||||
.dropdown-menu > .active > a:hover,
|
|
||||||
.dropdown-menu > .active > a:focus {
|
|
||||||
color: @dropdownLinkColorActive;
|
|
||||||
text-decoration: none;
|
|
||||||
outline: 0;
|
|
||||||
#gradient > .vertical(@dropdownLinkBackgroundActive, darken(@dropdownLinkBackgroundActive, 5%));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Disabled state
|
|
||||||
// --------------
|
|
||||||
// Gray out text and ensure the hover/focus state remains gray
|
|
||||||
.dropdown-menu > .disabled > a,
|
|
||||||
.dropdown-menu > .disabled > a:hover,
|
|
||||||
.dropdown-menu > .disabled > a:focus {
|
|
||||||
color: @grayLight;
|
|
||||||
}
|
|
||||||
// Nuke hover/focus effects
|
|
||||||
.dropdown-menu > .disabled > a:hover,
|
|
||||||
.dropdown-menu > .disabled > a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: none; // Remove CSS gradient
|
|
||||||
.reset-filter();
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Open state for the dropdown
|
|
||||||
// ---------------------------
|
|
||||||
.open {
|
|
||||||
// IE7's z-index only goes to the nearest positioned ancestor, which would
|
|
||||||
// make the menu appear below buttons that appeared later on the page
|
|
||||||
*z-index: @zindexDropdown;
|
|
||||||
|
|
||||||
& > .dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Active state
|
||||||
|
.dropdown-menu > .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
|
||||||
|
|
||||||
|
.dropdown-menu > .disabled > a {
|
||||||
|
&,
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @dropdown-link-disabled-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Nuke hover/focus effects
|
||||||
|
.dropdown-menu > .disabled > a {
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: none; // Remove CSS gradient
|
||||||
|
.reset-filter();
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Open state for the dropdown
|
||||||
|
.open {
|
||||||
|
// Show the menu
|
||||||
|
> .dropdown-menu {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Remove the outline when :focus is triggered
|
||||||
|
> a {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Menu positioning
|
||||||
|
//
|
||||||
|
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
|
||||||
|
// menu with the parent.
|
||||||
|
.dropdown-menu-right {
|
||||||
|
left: auto; // Reset the default from `.dropdown-menu`
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
// With v3, we enabled auto-flipping if you have a dropdown within a right
|
||||||
|
// aligned nav component. To enable the undoing of that, we provide an override
|
||||||
|
// to restore the default dropdown menu alignment.
|
||||||
|
//
|
||||||
|
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
|
||||||
|
// `.pull-right` nav component.
|
||||||
|
.dropdown-menu-left {
|
||||||
|
left: 0;
|
||||||
|
right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Dropdown section headers
|
||||||
|
.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.
|
// Backdrop to catch body clicks on mobile, etc.
|
||||||
// ---------------------------
|
|
||||||
.dropdown-backdrop {
|
.dropdown-backdrop {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: @zindexDropdown - 10;
|
z-index: (@zindex-dropdown - 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Right aligned dropdowns
|
// Right aligned dropdowns
|
||||||
// ---------------------------
|
|
||||||
.pull-right > .dropdown-menu {
|
.pull-right > .dropdown-menu {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
||||||
// ------------------------------------------------------
|
//
|
||||||
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
||||||
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
||||||
|
|
||||||
.dropup,
|
.dropup,
|
||||||
.navbar-fixed-bottom .dropdown {
|
.navbar-fixed-bottom .dropdown {
|
||||||
// Reverse the caret
|
// Reverse the caret
|
||||||
.caret {
|
.caret {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-bottom: 4px solid @black;
|
border-bottom: @caret-width-base solid;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
// Different positioning for bottom up menu
|
// Different positioning for bottom up menu
|
||||||
@ -173,76 +193,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sub menus
|
|
||||||
// ---------------------------
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
// Default dropdowns
|
|
||||||
.dropdown-submenu > .dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
.border-radius(0 6px 6px 6px);
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover > .dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dropups
|
// Component alignment
|
||||||
.dropup .dropdown-submenu > .dropdown-menu {
|
//
|
||||||
top: auto;
|
// Reiterate per navbar.less and the modified component alignment there.
|
||||||
bottom: 0;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: -2px;
|
|
||||||
.border-radius(5px 5px 5px 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Caret to indicate there is a submenu
|
@media (min-width: @grid-float-breakpoint) {
|
||||||
.dropdown-submenu > a:after {
|
.navbar-right {
|
||||||
display: block;
|
.dropdown-menu {
|
||||||
content: " ";
|
.dropdown-menu-right();
|
||||||
float: right;
|
}
|
||||||
width: 0;
|
// Necessary for overrides of the default right aligned menu.
|
||||||
height: 0;
|
// Will remove come v4 in all likelihood.
|
||||||
border-color: transparent;
|
.dropdown-menu-left {
|
||||||
border-style: solid;
|
.dropdown-menu-left();
|
||||||
border-width: 5px 0 5px 5px;
|
}
|
||||||
border-left-color: darken(@dropdownBackground, 20%);
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover > a:after {
|
|
||||||
border-left-color: @dropdownLinkColorHover;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Left aligned submenus
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
// Undo the float
|
|
||||||
// Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
|
|
||||||
float: none;
|
|
||||||
|
|
||||||
// Positioning the submenu
|
|
||||||
> .dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
.border-radius(6px 0 6px 6px);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tweak nav headers
|
|
||||||
// -----------------
|
|
||||||
// Increase padding from 15px to 20px on sides
|
|
||||||
.dropdown .dropdown-menu .nav-header {
|
|
||||||
padding-left: 20px;
|
|
||||||
padding-right: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Typeahead
|
|
||||||
// ---------
|
|
||||||
.typeahead {
|
|
||||||
z-index: 1051;
|
|
||||||
margin-top: 2px; // give it some space to breathe
|
|
||||||
.border-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
233
src/UI/Content/Bootstrap/glyphicons.less
Normal file
233
src/UI/Content/Bootstrap/glyphicons.less
Normal file
@ -0,0 +1,233 @@
|
|||||||
|
//
|
||||||
|
// 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#@{icon-font-svg-id}') format('svg')";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Catchall baseclass
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Individual icons
|
||||||
|
.glyphicon-asterisk { &:before { content: "\2a"; } }
|
||||||
|
.glyphicon-plus { &:before { content: "\2b"; } }
|
||||||
|
.glyphicon-euro { &:before { content: "\20ac"; } }
|
||||||
|
.glyphicon-minus { &:before { content: "\2212"; } }
|
||||||
|
.glyphicon-cloud { &:before { content: "\2601"; } }
|
||||||
|
.glyphicon-envelope { &:before { content: "\2709"; } }
|
||||||
|
.glyphicon-pencil { &:before { content: "\270f"; } }
|
||||||
|
.glyphicon-glass { &:before { content: "\e001"; } }
|
||||||
|
.glyphicon-music { &:before { content: "\e002"; } }
|
||||||
|
.glyphicon-search { &:before { content: "\e003"; } }
|
||||||
|
.glyphicon-heart { &:before { content: "\e005"; } }
|
||||||
|
.glyphicon-star { &:before { content: "\e006"; } }
|
||||||
|
.glyphicon-star-empty { &:before { content: "\e007"; } }
|
||||||
|
.glyphicon-user { &:before { content: "\e008"; } }
|
||||||
|
.glyphicon-film { &:before { content: "\e009"; } }
|
||||||
|
.glyphicon-th-large { &:before { content: "\e010"; } }
|
||||||
|
.glyphicon-th { &:before { content: "\e011"; } }
|
||||||
|
.glyphicon-th-list { &:before { content: "\e012"; } }
|
||||||
|
.glyphicon-ok { &:before { content: "\e013"; } }
|
||||||
|
.glyphicon-remove { &:before { content: "\e014"; } }
|
||||||
|
.glyphicon-zoom-in { &:before { content: "\e015"; } }
|
||||||
|
.glyphicon-zoom-out { &:before { content: "\e016"; } }
|
||||||
|
.glyphicon-off { &:before { content: "\e017"; } }
|
||||||
|
.glyphicon-signal { &:before { content: "\e018"; } }
|
||||||
|
.glyphicon-cog { &:before { content: "\e019"; } }
|
||||||
|
.glyphicon-trash { &:before { content: "\e020"; } }
|
||||||
|
.glyphicon-home { &:before { content: "\e021"; } }
|
||||||
|
.glyphicon-file { &:before { content: "\e022"; } }
|
||||||
|
.glyphicon-time { &:before { content: "\e023"; } }
|
||||||
|
.glyphicon-road { &:before { content: "\e024"; } }
|
||||||
|
.glyphicon-download-alt { &:before { content: "\e025"; } }
|
||||||
|
.glyphicon-download { &:before { content: "\e026"; } }
|
||||||
|
.glyphicon-upload { &:before { content: "\e027"; } }
|
||||||
|
.glyphicon-inbox { &:before { content: "\e028"; } }
|
||||||
|
.glyphicon-play-circle { &:before { content: "\e029"; } }
|
||||||
|
.glyphicon-repeat { &:before { content: "\e030"; } }
|
||||||
|
.glyphicon-refresh { &:before { content: "\e031"; } }
|
||||||
|
.glyphicon-list-alt { &:before { content: "\e032"; } }
|
||||||
|
.glyphicon-lock { &:before { content: "\e033"; } }
|
||||||
|
.glyphicon-flag { &:before { content: "\e034"; } }
|
||||||
|
.glyphicon-headphones { &:before { content: "\e035"; } }
|
||||||
|
.glyphicon-volume-off { &:before { content: "\e036"; } }
|
||||||
|
.glyphicon-volume-down { &:before { content: "\e037"; } }
|
||||||
|
.glyphicon-volume-up { &:before { content: "\e038"; } }
|
||||||
|
.glyphicon-qrcode { &:before { content: "\e039"; } }
|
||||||
|
.glyphicon-barcode { &:before { content: "\e040"; } }
|
||||||
|
.glyphicon-tag { &:before { content: "\e041"; } }
|
||||||
|
.glyphicon-tags { &:before { content: "\e042"; } }
|
||||||
|
.glyphicon-book { &:before { content: "\e043"; } }
|
||||||
|
.glyphicon-bookmark { &:before { content: "\e044"; } }
|
||||||
|
.glyphicon-print { &:before { content: "\e045"; } }
|
||||||
|
.glyphicon-camera { &:before { content: "\e046"; } }
|
||||||
|
.glyphicon-font { &:before { content: "\e047"; } }
|
||||||
|
.glyphicon-bold { &:before { content: "\e048"; } }
|
||||||
|
.glyphicon-italic { &:before { content: "\e049"; } }
|
||||||
|
.glyphicon-text-height { &:before { content: "\e050"; } }
|
||||||
|
.glyphicon-text-width { &:before { content: "\e051"; } }
|
||||||
|
.glyphicon-align-left { &:before { content: "\e052"; } }
|
||||||
|
.glyphicon-align-center { &:before { content: "\e053"; } }
|
||||||
|
.glyphicon-align-right { &:before { content: "\e054"; } }
|
||||||
|
.glyphicon-align-justify { &:before { content: "\e055"; } }
|
||||||
|
.glyphicon-list { &:before { content: "\e056"; } }
|
||||||
|
.glyphicon-indent-left { &:before { content: "\e057"; } }
|
||||||
|
.glyphicon-indent-right { &:before { content: "\e058"; } }
|
||||||
|
.glyphicon-facetime-video { &:before { content: "\e059"; } }
|
||||||
|
.glyphicon-picture { &:before { content: "\e060"; } }
|
||||||
|
.glyphicon-map-marker { &:before { content: "\e062"; } }
|
||||||
|
.glyphicon-adjust { &:before { content: "\e063"; } }
|
||||||
|
.glyphicon-tint { &:before { content: "\e064"; } }
|
||||||
|
.glyphicon-edit { &:before { content: "\e065"; } }
|
||||||
|
.glyphicon-share { &:before { content: "\e066"; } }
|
||||||
|
.glyphicon-check { &:before { content: "\e067"; } }
|
||||||
|
.glyphicon-move { &:before { content: "\e068"; } }
|
||||||
|
.glyphicon-step-backward { &:before { content: "\e069"; } }
|
||||||
|
.glyphicon-fast-backward { &:before { content: "\e070"; } }
|
||||||
|
.glyphicon-backward { &:before { content: "\e071"; } }
|
||||||
|
.glyphicon-play { &:before { content: "\e072"; } }
|
||||||
|
.glyphicon-pause { &:before { content: "\e073"; } }
|
||||||
|
.glyphicon-stop { &:before { content: "\e074"; } }
|
||||||
|
.glyphicon-forward { &:before { content: "\e075"; } }
|
||||||
|
.glyphicon-fast-forward { &:before { content: "\e076"; } }
|
||||||
|
.glyphicon-step-forward { &:before { content: "\e077"; } }
|
||||||
|
.glyphicon-eject { &:before { content: "\e078"; } }
|
||||||
|
.glyphicon-chevron-left { &:before { content: "\e079"; } }
|
||||||
|
.glyphicon-chevron-right { &:before { content: "\e080"; } }
|
||||||
|
.glyphicon-plus-sign { &:before { content: "\e081"; } }
|
||||||
|
.glyphicon-minus-sign { &:before { content: "\e082"; } }
|
||||||
|
.glyphicon-remove-sign { &:before { content: "\e083"; } }
|
||||||
|
.glyphicon-ok-sign { &:before { content: "\e084"; } }
|
||||||
|
.glyphicon-question-sign { &:before { content: "\e085"; } }
|
||||||
|
.glyphicon-info-sign { &:before { content: "\e086"; } }
|
||||||
|
.glyphicon-screenshot { &:before { content: "\e087"; } }
|
||||||
|
.glyphicon-remove-circle { &:before { content: "\e088"; } }
|
||||||
|
.glyphicon-ok-circle { &:before { content: "\e089"; } }
|
||||||
|
.glyphicon-ban-circle { &:before { content: "\e090"; } }
|
||||||
|
.glyphicon-arrow-left { &:before { content: "\e091"; } }
|
||||||
|
.glyphicon-arrow-right { &:before { content: "\e092"; } }
|
||||||
|
.glyphicon-arrow-up { &:before { content: "\e093"; } }
|
||||||
|
.glyphicon-arrow-down { &:before { content: "\e094"; } }
|
||||||
|
.glyphicon-share-alt { &:before { content: "\e095"; } }
|
||||||
|
.glyphicon-resize-full { &:before { content: "\e096"; } }
|
||||||
|
.glyphicon-resize-small { &:before { content: "\e097"; } }
|
||||||
|
.glyphicon-exclamation-sign { &:before { content: "\e101"; } }
|
||||||
|
.glyphicon-gift { &:before { content: "\e102"; } }
|
||||||
|
.glyphicon-leaf { &:before { content: "\e103"; } }
|
||||||
|
.glyphicon-fire { &:before { content: "\e104"; } }
|
||||||
|
.glyphicon-eye-open { &:before { content: "\e105"; } }
|
||||||
|
.glyphicon-eye-close { &:before { content: "\e106"; } }
|
||||||
|
.glyphicon-warning-sign { &:before { content: "\e107"; } }
|
||||||
|
.glyphicon-plane { &:before { content: "\e108"; } }
|
||||||
|
.glyphicon-calendar { &:before { content: "\e109"; } }
|
||||||
|
.glyphicon-random { &:before { content: "\e110"; } }
|
||||||
|
.glyphicon-comment { &:before { content: "\e111"; } }
|
||||||
|
.glyphicon-magnet { &:before { content: "\e112"; } }
|
||||||
|
.glyphicon-chevron-up { &:before { content: "\e113"; } }
|
||||||
|
.glyphicon-chevron-down { &:before { content: "\e114"; } }
|
||||||
|
.glyphicon-retweet { &:before { content: "\e115"; } }
|
||||||
|
.glyphicon-shopping-cart { &:before { content: "\e116"; } }
|
||||||
|
.glyphicon-folder-close { &:before { content: "\e117"; } }
|
||||||
|
.glyphicon-folder-open { &:before { content: "\e118"; } }
|
||||||
|
.glyphicon-resize-vertical { &:before { content: "\e119"; } }
|
||||||
|
.glyphicon-resize-horizontal { &:before { content: "\e120"; } }
|
||||||
|
.glyphicon-hdd { &:before { content: "\e121"; } }
|
||||||
|
.glyphicon-bullhorn { &:before { content: "\e122"; } }
|
||||||
|
.glyphicon-bell { &:before { content: "\e123"; } }
|
||||||
|
.glyphicon-certificate { &:before { content: "\e124"; } }
|
||||||
|
.glyphicon-thumbs-up { &:before { content: "\e125"; } }
|
||||||
|
.glyphicon-thumbs-down { &:before { content: "\e126"; } }
|
||||||
|
.glyphicon-hand-right { &:before { content: "\e127"; } }
|
||||||
|
.glyphicon-hand-left { &:before { content: "\e128"; } }
|
||||||
|
.glyphicon-hand-up { &:before { content: "\e129"; } }
|
||||||
|
.glyphicon-hand-down { &:before { content: "\e130"; } }
|
||||||
|
.glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
|
||||||
|
.glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
|
||||||
|
.glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
|
||||||
|
.glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
|
||||||
|
.glyphicon-globe { &:before { content: "\e135"; } }
|
||||||
|
.glyphicon-wrench { &:before { content: "\e136"; } }
|
||||||
|
.glyphicon-tasks { &:before { content: "\e137"; } }
|
||||||
|
.glyphicon-filter { &:before { content: "\e138"; } }
|
||||||
|
.glyphicon-briefcase { &:before { content: "\e139"; } }
|
||||||
|
.glyphicon-fullscreen { &:before { content: "\e140"; } }
|
||||||
|
.glyphicon-dashboard { &:before { content: "\e141"; } }
|
||||||
|
.glyphicon-paperclip { &:before { content: "\e142"; } }
|
||||||
|
.glyphicon-heart-empty { &:before { content: "\e143"; } }
|
||||||
|
.glyphicon-link { &:before { content: "\e144"; } }
|
||||||
|
.glyphicon-phone { &:before { content: "\e145"; } }
|
||||||
|
.glyphicon-pushpin { &:before { content: "\e146"; } }
|
||||||
|
.glyphicon-usd { &:before { content: "\e148"; } }
|
||||||
|
.glyphicon-gbp { &:before { content: "\e149"; } }
|
||||||
|
.glyphicon-sort { &:before { content: "\e150"; } }
|
||||||
|
.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
|
||||||
|
.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
|
||||||
|
.glyphicon-sort-by-order { &:before { content: "\e153"; } }
|
||||||
|
.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
|
||||||
|
.glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
|
||||||
|
.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
|
||||||
|
.glyphicon-unchecked { &:before { content: "\e157"; } }
|
||||||
|
.glyphicon-expand { &:before { content: "\e158"; } }
|
||||||
|
.glyphicon-collapse-down { &:before { content: "\e159"; } }
|
||||||
|
.glyphicon-collapse-up { &:before { content: "\e160"; } }
|
||||||
|
.glyphicon-log-in { &:before { content: "\e161"; } }
|
||||||
|
.glyphicon-flash { &:before { content: "\e162"; } }
|
||||||
|
.glyphicon-log-out { &:before { content: "\e163"; } }
|
||||||
|
.glyphicon-new-window { &:before { content: "\e164"; } }
|
||||||
|
.glyphicon-record { &:before { content: "\e165"; } }
|
||||||
|
.glyphicon-save { &:before { content: "\e166"; } }
|
||||||
|
.glyphicon-open { &:before { content: "\e167"; } }
|
||||||
|
.glyphicon-saved { &:before { content: "\e168"; } }
|
||||||
|
.glyphicon-import { &:before { content: "\e169"; } }
|
||||||
|
.glyphicon-export { &:before { content: "\e170"; } }
|
||||||
|
.glyphicon-send { &:before { content: "\e171"; } }
|
||||||
|
.glyphicon-floppy-disk { &:before { content: "\e172"; } }
|
||||||
|
.glyphicon-floppy-saved { &:before { content: "\e173"; } }
|
||||||
|
.glyphicon-floppy-remove { &:before { content: "\e174"; } }
|
||||||
|
.glyphicon-floppy-save { &:before { content: "\e175"; } }
|
||||||
|
.glyphicon-floppy-open { &:before { content: "\e176"; } }
|
||||||
|
.glyphicon-credit-card { &:before { content: "\e177"; } }
|
||||||
|
.glyphicon-transfer { &:before { content: "\e178"; } }
|
||||||
|
.glyphicon-cutlery { &:before { content: "\e179"; } }
|
||||||
|
.glyphicon-header { &:before { content: "\e180"; } }
|
||||||
|
.glyphicon-compressed { &:before { content: "\e181"; } }
|
||||||
|
.glyphicon-earphone { &:before { content: "\e182"; } }
|
||||||
|
.glyphicon-phone-alt { &:before { content: "\e183"; } }
|
||||||
|
.glyphicon-tower { &:before { content: "\e184"; } }
|
||||||
|
.glyphicon-stats { &:before { content: "\e185"; } }
|
||||||
|
.glyphicon-sd-video { &:before { content: "\e186"; } }
|
||||||
|
.glyphicon-hd-video { &:before { content: "\e187"; } }
|
||||||
|
.glyphicon-subtitles { &:before { content: "\e188"; } }
|
||||||
|
.glyphicon-sound-stereo { &:before { content: "\e189"; } }
|
||||||
|
.glyphicon-sound-dolby { &:before { content: "\e190"; } }
|
||||||
|
.glyphicon-sound-5-1 { &:before { content: "\e191"; } }
|
||||||
|
.glyphicon-sound-6-1 { &:before { content: "\e192"; } }
|
||||||
|
.glyphicon-sound-7-1 { &:before { content: "\e193"; } }
|
||||||
|
.glyphicon-copyright-mark { &:before { content: "\e194"; } }
|
||||||
|
.glyphicon-registration-mark { &:before { content: "\e195"; } }
|
||||||
|
.glyphicon-cloud-download { &:before { content: "\e197"; } }
|
||||||
|
.glyphicon-cloud-upload { &:before { content: "\e198"; } }
|
||||||
|
.glyphicon-tree-conifer { &:before { content: "\e199"; } }
|
||||||
|
.glyphicon-tree-deciduous { &:before { content: "\e200"; } }
|
@ -3,19 +3,82 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Fixed (940px)
|
// Container widths
|
||||||
#grid > .core(@gridColumnWidth, @gridGutterWidth);
|
//
|
||||||
|
// Set the container width, and override it for fixed navbars in media queries.
|
||||||
|
|
||||||
// Fluid (940px)
|
.container {
|
||||||
#grid > .fluid(@fluidGridColumnWidth, @fluidGridGutterWidth);
|
.container-fixed();
|
||||||
|
|
||||||
// Reset utility classes due to specificity
|
@media (min-width: @screen-sm-min) {
|
||||||
[class*="span"].hide,
|
width: @container-sm;
|
||||||
.row-fluid [class*="span"].hide {
|
}
|
||||||
display: none;
|
@media (min-width: @screen-md-min) {
|
||||||
|
width: @container-md;
|
||||||
|
}
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
width: @container-lg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="span"].pull-right,
|
|
||||||
.row-fluid [class*="span"].pull-right {
|
// Fluid container
|
||||||
float: right;
|
//
|
||||||
|
// Utilizes the mixin meant for fixed width containers, but without any defined
|
||||||
|
// width for fluid, full width layouts.
|
||||||
|
|
||||||
|
.container-fluid {
|
||||||
|
.container-fixed();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Row
|
||||||
|
//
|
||||||
|
// Rows contain and clear the floats of your columns.
|
||||||
|
|
||||||
|
.row {
|
||||||
|
.make-row();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Columns
|
||||||
|
//
|
||||||
|
// Common styles for small and large grid columns
|
||||||
|
|
||||||
|
.make-grid-columns();
|
||||||
|
|
||||||
|
|
||||||
|
// Extra small grid
|
||||||
|
//
|
||||||
|
// Columns, offsets, pushes, and pulls for extra small devices like
|
||||||
|
// smartphones.
|
||||||
|
|
||||||
|
.make-grid(xs);
|
||||||
|
|
||||||
|
|
||||||
|
// Small grid
|
||||||
|
//
|
||||||
|
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
||||||
|
// to tablets.
|
||||||
|
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
.make-grid(sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Medium grid
|
||||||
|
//
|
||||||
|
// Columns, offsets, pushes, and pulls for the desktop device range.
|
||||||
|
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
.make-grid(md);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Large grid
|
||||||
|
//
|
||||||
|
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
||||||
|
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
.make-grid(lg);
|
||||||
}
|
}
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
//
|
|
||||||
// Hero unit
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
.hero-unit {
|
|
||||||
padding: 60px;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: 200;
|
|
||||||
line-height: @baseLineHeight * 1.5;
|
|
||||||
color: @heroUnitLeadColor;
|
|
||||||
background-color: @heroUnitBackground;
|
|
||||||
.border-radius(6px);
|
|
||||||
h1 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-size: 60px;
|
|
||||||
line-height: 1;
|
|
||||||
color: @heroUnitHeadingColor;
|
|
||||||
letter-spacing: -1px;
|
|
||||||
}
|
|
||||||
li {
|
|
||||||
line-height: @baseLineHeight * 1.5; // Reset since we specify in type.less
|
|
||||||
}
|
|
||||||
}
|
|
162
src/UI/Content/Bootstrap/input-groups.less
Normal file
162
src/UI/Content/Bootstrap/input-groups.less
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
//
|
||||||
|
// Input groups
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// Base styles
|
||||||
|
// -------------------------
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-control {
|
||||||
|
// Ensure that the input is always above the *appended* addon button for
|
||||||
|
// proper border colors.
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
|
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
||||||
|
// select elements in input groups. To fix it, we float the input. Details:
|
||||||
|
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sizing options
|
||||||
|
//
|
||||||
|
// Remix the default form control sizing classes into new ones for easier
|
||||||
|
// manipulation.
|
||||||
|
|
||||||
|
.input-group-lg > .form-control,
|
||||||
|
.input-group-lg > .input-group-addon,
|
||||||
|
.input-group-lg > .input-group-btn > .btn { .input-lg(); }
|
||||||
|
.input-group-sm > .form-control,
|
||||||
|
.input-group-sm > .input-group-addon,
|
||||||
|
.input-group-sm > .input-group-btn > .btn { .input-sm(); }
|
||||||
|
|
||||||
|
|
||||||
|
// Display as table-cell
|
||||||
|
// -------------------------
|
||||||
|
.input-group-addon,
|
||||||
|
.input-group-btn,
|
||||||
|
.input-group .form-control {
|
||||||
|
display: table-cell;
|
||||||
|
|
||||||
|
&:not(:first-child):not(:last-child) {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Addon and addon wrapper for buttons
|
||||||
|
.input-group-addon,
|
||||||
|
.input-group-btn {
|
||||||
|
width: 1%;
|
||||||
|
white-space: nowrap;
|
||||||
|
vertical-align: middle; // Match the inputs
|
||||||
|
}
|
||||||
|
|
||||||
|
// Text input groups
|
||||||
|
// -------------------------
|
||||||
|
.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
|
||||||
|
&.input-sm {
|
||||||
|
padding: @padding-small-vertical @padding-small-horizontal;
|
||||||
|
font-size: @font-size-small;
|
||||||
|
border-radius: @border-radius-small;
|
||||||
|
}
|
||||||
|
&.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
|
||||||
|
.input-group .form-control:first-child,
|
||||||
|
.input-group-addon:first-child,
|
||||||
|
.input-group-btn:first-child > .btn,
|
||||||
|
.input-group-btn:first-child > .btn-group > .btn,
|
||||||
|
.input-group-btn:first-child > .dropdown-toggle,
|
||||||
|
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
||||||
|
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
||||||
|
.border-right-radius(0);
|
||||||
|
}
|
||||||
|
.input-group-addon:first-child {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
.input-group .form-control:last-child,
|
||||||
|
.input-group-addon:last-child,
|
||||||
|
.input-group-btn:last-child > .btn,
|
||||||
|
.input-group-btn:last-child > .btn-group > .btn,
|
||||||
|
.input-group-btn:last-child > .dropdown-toggle,
|
||||||
|
.input-group-btn:first-child > .btn:not(:first-child),
|
||||||
|
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
||||||
|
.border-left-radius(0);
|
||||||
|
}
|
||||||
|
.input-group-addon:last-child {
|
||||||
|
border-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Button input groups
|
||||||
|
// -------------------------
|
||||||
|
.input-group-btn {
|
||||||
|
position: relative;
|
||||||
|
// Jankily prevent input button groups from wrapping with `white-space` and
|
||||||
|
// `font-size` in combination with `inline-block` on buttons.
|
||||||
|
font-size: 0;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
// Negative margin for spacing, position for bringing hovered/focused/actived
|
||||||
|
// element above the siblings.
|
||||||
|
> .btn {
|
||||||
|
position: relative;
|
||||||
|
+ .btn {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
// Bring the "active" button to the front
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Negative margin to only have a 1px border between the two
|
||||||
|
&:first-child {
|
||||||
|
> .btn,
|
||||||
|
> .btn-group {
|
||||||
|
margin-right: -1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
> .btn,
|
||||||
|
> .btn-group {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
44
src/UI/Content/Bootstrap/jumbotron.less
Normal file
44
src/UI/Content/Bootstrap/jumbotron.less
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
//
|
||||||
|
// Jumbotron
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
.jumbotron {
|
||||||
|
padding: @jumbotron-padding;
|
||||||
|
margin-bottom: @jumbotron-padding;
|
||||||
|
color: @jumbotron-color;
|
||||||
|
background-color: @jumbotron-bg;
|
||||||
|
|
||||||
|
h1,
|
||||||
|
.h1 {
|
||||||
|
color: @jumbotron-heading-color;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
margin-bottom: (@jumbotron-padding / 2);
|
||||||
|
font-size: @jumbotron-font-size;
|
||||||
|
font-weight: 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container & {
|
||||||
|
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-sm-min) {
|
||||||
|
padding-top: (@jumbotron-padding * 1.6);
|
||||||
|
padding-bottom: (@jumbotron-padding * 1.6);
|
||||||
|
|
||||||
|
.container & {
|
||||||
|
padding-left: (@jumbotron-padding * 2);
|
||||||
|
padding-right: (@jumbotron-padding * 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
.h1 {
|
||||||
|
font-size: (@font-size-base * 4.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,84 +0,0 @@
|
|||||||
//
|
|
||||||
// Labels and badges
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Base classes
|
|
||||||
.label,
|
|
||||||
.badge {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 2px 4px;
|
|
||||||
font-size: @baseFontSize * .846;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 14px; // ensure proper line-height if floated
|
|
||||||
color: @white;
|
|
||||||
vertical-align: baseline;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
|
||||||
background-color: @grayLight;
|
|
||||||
}
|
|
||||||
// Set unique padding and border-radii
|
|
||||||
.label {
|
|
||||||
.border-radius(3px);
|
|
||||||
}
|
|
||||||
.badge {
|
|
||||||
padding-left: 9px;
|
|
||||||
padding-right: 9px;
|
|
||||||
.border-radius(9px);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Empty labels/badges collapse
|
|
||||||
.label,
|
|
||||||
.badge {
|
|
||||||
&:empty {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Hover/focus state, but only for links
|
|
||||||
a {
|
|
||||||
&.label:hover,
|
|
||||||
&.label:focus,
|
|
||||||
&.badge:hover,
|
|
||||||
&.badge:focus {
|
|
||||||
color: @white;
|
|
||||||
text-decoration: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Colors
|
|
||||||
// Only give background-color difference to links (and to simplify, we don't qualifty with `a` but [href] attribute)
|
|
||||||
.label,
|
|
||||||
.badge {
|
|
||||||
// Important (red)
|
|
||||||
&-important { background-color: @errorText; }
|
|
||||||
&-important[href] { background-color: darken(@errorText, 10%); }
|
|
||||||
// Warnings (orange)
|
|
||||||
&-warning { background-color: @orange; }
|
|
||||||
&-warning[href] { background-color: darken(@orange, 10%); }
|
|
||||||
// Success (green)
|
|
||||||
&-success { background-color: @successText; }
|
|
||||||
&-success[href] { background-color: darken(@successText, 10%); }
|
|
||||||
// Info (turquoise)
|
|
||||||
&-info { background-color: @infoText; }
|
|
||||||
&-info[href] { background-color: darken(@infoText, 10%); }
|
|
||||||
// Inverse (black)
|
|
||||||
&-inverse { background-color: @grayDark; }
|
|
||||||
&-inverse[href] { background-color: darken(@grayDark, 10%); }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Quick fix for labels/badges in buttons
|
|
||||||
.btn {
|
|
||||||
.label,
|
|
||||||
.badge {
|
|
||||||
position: relative;
|
|
||||||
top: -1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.btn-mini {
|
|
||||||
.label,
|
|
||||||
.badge {
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
}
|
|
64
src/UI/Content/Bootstrap/labels.less
Normal file
64
src/UI/Content/Bootstrap/labels.less
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
//
|
||||||
|
// Labels
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.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
|
||||||
|
.btn & {
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Colors
|
||||||
|
// Contextual variations (linked labels get darker on :hover)
|
||||||
|
|
||||||
|
.label-default {
|
||||||
|
.label-variant(@label-default-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-primary {
|
||||||
|
.label-variant(@label-primary-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-success {
|
||||||
|
.label-variant(@label-success-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-info {
|
||||||
|
.label-variant(@label-info-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-warning {
|
||||||
|
.label-variant(@label-warning-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-danger {
|
||||||
|
.label-variant(@label-danger-bg);
|
||||||
|
}
|
@ -1,16 +0,0 @@
|
|||||||
//
|
|
||||||
// Layouts
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Container (centered, fixed-width layouts)
|
|
||||||
.container {
|
|
||||||
.container-fixed();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fluid layouts (left aligned, with sidebar, min- & max-width content)
|
|
||||||
.container-fluid {
|
|
||||||
padding-right: @gridGutterWidth;
|
|
||||||
padding-left: @gridGutterWidth;
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
110
src/UI/Content/Bootstrap/list-group.less
Normal file
110
src/UI/Content/Bootstrap/list-group.less
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
//
|
||||||
|
// List groups
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base class
|
||||||
|
//
|
||||||
|
// Easily usable on <ul>, <ol>, or <div>.
|
||||||
|
|
||||||
|
.list-group {
|
||||||
|
// No need to set list-style: none; since .list-group-item is block level
|
||||||
|
margin-bottom: 20px;
|
||||||
|
padding-left: 0; // reset padding because ul and ol
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Individual list items
|
||||||
|
//
|
||||||
|
// Use on `li`s or `div`s within the `.list-group` parent.
|
||||||
|
|
||||||
|
.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 {
|
||||||
|
.border-top-radius(@list-group-border-radius);
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
.border-bottom-radius(@list-group-border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Align badges within list items
|
||||||
|
> .badge {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
> .badge + .badge {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Linked list items
|
||||||
|
//
|
||||||
|
// Use anchor elements instead of `li`s or `div`s to create linked list items.
|
||||||
|
// Includes an extra `.active` modifier class for showing selected items.
|
||||||
|
|
||||||
|
a.list-group-item {
|
||||||
|
color: @list-group-link-color;
|
||||||
|
|
||||||
|
.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
|
||||||
|
&.active,
|
||||||
|
&.active:hover,
|
||||||
|
&.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
|
||||||
|
.list-group-item-heading {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
.list-group-item-text {
|
||||||
|
color: @list-group-active-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Contextual variants
|
||||||
|
//
|
||||||
|
// Add modifier classes to change text and background color on individual items.
|
||||||
|
// Organizationally, this must come after the `:hover` states.
|
||||||
|
|
||||||
|
.list-group-item-variant(success; @state-success-bg; @state-success-text);
|
||||||
|
.list-group-item-variant(info; @state-info-bg; @state-info-text);
|
||||||
|
.list-group-item-variant(warning; @state-warning-bg; @state-warning-text);
|
||||||
|
.list-group-item-variant(danger; @state-danger-bg; @state-danger-text);
|
||||||
|
|
||||||
|
|
||||||
|
// Custom content options
|
||||||
|
//
|
||||||
|
// Extra classes for creating well-formatted content within `.list-group-item`s.
|
||||||
|
|
||||||
|
.list-group-item-heading {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.list-group-item-text {
|
||||||
|
margin-bottom: 0;
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
@ -10,7 +10,6 @@
|
|||||||
.media,
|
.media,
|
||||||
.media-body {
|
.media-body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
*overflow: visible;
|
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,11 +36,13 @@
|
|||||||
// Media image alignment
|
// Media image alignment
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.media > .pull-left {
|
.media {
|
||||||
margin-right: 10px;
|
> .pull-left {
|
||||||
}
|
margin-right: 10px;
|
||||||
.media > .pull-right {
|
}
|
||||||
margin-left: 10px;
|
> .pull-right {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -50,6 +51,6 @@
|
|||||||
|
|
||||||
// Undo default ul/ol styles
|
// Undo default ul/ol styles
|
||||||
.media-list {
|
.media-list {
|
||||||
margin-left: 0;
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,82 +2,107 @@
|
|||||||
// Modals
|
// Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Background
|
// .modal-open - body class for killing the scroll
|
||||||
|
// .modal - container to scroll within
|
||||||
|
// .modal-dialog - positioning shell for the actual modal
|
||||||
|
// .modal-content - actual modal w/ bg and corners and shit
|
||||||
|
|
||||||
|
// Kill the scroll on the body
|
||||||
|
.modal-open {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Container that the modal scrolls within
|
||||||
|
.modal {
|
||||||
|
display: none;
|
||||||
|
overflow: auto;
|
||||||
|
overflow-y: scroll;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: @zindex-modal;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
|
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
||||||
|
// https://github.com/twbs/bootstrap/pull/10951.
|
||||||
|
outline: 0;
|
||||||
|
|
||||||
|
// When fading in the modal, animate it to slide down
|
||||||
|
&.fade .modal-dialog {
|
||||||
|
.translate(0, -25%);
|
||||||
|
.transition-transform(~"0.3s ease-out");
|
||||||
|
}
|
||||||
|
&.in .modal-dialog { .translate(0, 0)}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Shell div to position the modal with bottom padding
|
||||||
|
.modal-dialog {
|
||||||
|
position: relative;
|
||||||
|
width: auto;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Actual modal
|
||||||
|
.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;
|
||||||
|
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
||||||
|
background-clip: padding-box;
|
||||||
|
// Remove focus outline from opened modal
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Modal background
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: @zindexModalBackdrop;
|
z-index: @zindex-modal-background;
|
||||||
background-color: @black;
|
background-color: @modal-backdrop-bg;
|
||||||
// Fade for backdrop
|
// Fade for backdrop
|
||||||
&.fade { opacity: 0; }
|
&.fade { .opacity(0); }
|
||||||
|
&.in { .opacity(@modal-backdrop-opacity); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-backdrop,
|
// Modal header
|
||||||
.modal-backdrop.fade.in {
|
// Top section of the modal w/ title and dismiss
|
||||||
.opacity(80);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Base modal
|
|
||||||
.modal {
|
|
||||||
position: fixed;
|
|
||||||
top: 10%;
|
|
||||||
left: 50%;
|
|
||||||
z-index: @zindexModal;
|
|
||||||
width: 1000px;
|
|
||||||
margin-left: -500px;
|
|
||||||
background-color: @white;
|
|
||||||
border: 1px solid #999;
|
|
||||||
border: 1px solid rgba(0,0,0,.3);
|
|
||||||
*border: 1px solid #999; /* IE6-7 */
|
|
||||||
.border-radius(6px);
|
|
||||||
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
|
||||||
.background-clip(padding-box);
|
|
||||||
// Remove focus outline from opened modal
|
|
||||||
outline: none;
|
|
||||||
|
|
||||||
&.fade {
|
|
||||||
.transition(e('opacity .3s linear, top .3s ease-out'));
|
|
||||||
top: -25%;
|
|
||||||
}
|
|
||||||
&.fade.in { top: 10%; }
|
|
||||||
}
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
padding: 9px 15px;
|
padding: @modal-title-padding;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid @modal-header-border-color;
|
||||||
// Close icon
|
min-height: (@modal-title-padding + @modal-title-line-height);
|
||||||
.close { margin-top: 2px; }
|
}
|
||||||
// Heading
|
// Close icon
|
||||||
h3 {
|
.modal-header .close {
|
||||||
margin: 0;
|
margin-top: -2px;
|
||||||
line-height: 30px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Body (where all modal content resides)
|
// Title text within header
|
||||||
|
.modal-title {
|
||||||
|
margin: 0;
|
||||||
|
line-height: @modal-title-line-height;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Modal body
|
||||||
|
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
||||||
.modal-body {
|
.modal-body {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow-y: auto;
|
padding: @modal-inner-padding;
|
||||||
max-height: 400px;
|
|
||||||
padding: 15px;
|
|
||||||
}
|
|
||||||
// Remove bottom margin if need be
|
|
||||||
.modal-form {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Footer (for actions)
|
// Footer (for actions)
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
padding: 14px 15px 15px;
|
margin-top: 15px;
|
||||||
margin-bottom: 0;
|
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
|
||||||
text-align: right; // right align buttons
|
text-align: right; // right align buttons
|
||||||
background-color: #f5f5f5;
|
border-top: 1px solid @modal-footer-border-color;
|
||||||
border-top: 1px solid #ddd;
|
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
||||||
.border-radius(0 0 6px 6px);
|
|
||||||
.box-shadow(inset 0 1px 0 @white);
|
|
||||||
.clearfix(); // clear it in case folks use .pull-* classes on buttons
|
|
||||||
|
|
||||||
// Properly space out buttons
|
// Properly space out buttons
|
||||||
.btn + .btn {
|
.btn + .btn {
|
||||||
@ -93,3 +118,22 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Scale up the modal
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
// Automatically set modal's width for larger viewports
|
||||||
|
.modal-dialog {
|
||||||
|
width: @modal-md;
|
||||||
|
margin: 30px auto;
|
||||||
|
}
|
||||||
|
.modal-content {
|
||||||
|
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Modal sizes
|
||||||
|
.modal-sm { width: @modal-sm; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
.modal-lg { width: @modal-lg; }
|
||||||
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -3,407 +3,240 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// BASE CLASS
|
// Base class
|
||||||
// ----------
|
// --------------------------------------------------
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
margin-left: 0;
|
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Make links block level
|
|
||||||
.nav > li > a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.nav > li > a:hover,
|
|
||||||
.nav > li > a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: @grayLighter;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prevent IE8 from misplacing imgs
|
|
||||||
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
|
||||||
.nav > li > a > img {
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Redeclare pull classes because of specifity
|
|
||||||
.nav > .pull-right {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Nav headers (for dropdowns and lists)
|
|
||||||
.nav-header {
|
|
||||||
display: block;
|
|
||||||
padding: 3px 15px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: @baseLineHeight;
|
|
||||||
color: @grayLight;
|
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
// Space them out when they follow another list item (link)
|
|
||||||
.nav li + .nav-header {
|
|
||||||
margin-top: 9px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// NAV LIST
|
|
||||||
// --------
|
|
||||||
|
|
||||||
.nav-list {
|
|
||||||
padding-left: 15px;
|
|
||||||
padding-right: 15px;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
padding-left: 0; // Override default ul/ol
|
||||||
.nav-list > li > a,
|
list-style: none;
|
||||||
.nav-list .nav-header {
|
&:extend(.clearfix all);
|
||||||
margin-left: -15px;
|
|
||||||
margin-right: -15px;
|
> li {
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,.5);
|
position: relative;
|
||||||
}
|
display: block;
|
||||||
.nav-list > li > a {
|
|
||||||
padding: 3px 15px;
|
> a {
|
||||||
}
|
position: relative;
|
||||||
.nav-list > .active > a,
|
display: block;
|
||||||
.nav-list > .active > a:hover,
|
padding: @nav-link-padding;
|
||||||
.nav-list > .active > a:focus {
|
&:hover,
|
||||||
color: @white;
|
&:focus {
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
text-decoration: none;
|
||||||
background-color: @linkColor;
|
background-color: @nav-link-hover-bg;
|
||||||
}
|
}
|
||||||
.nav-list [class^="icon-"],
|
}
|
||||||
.nav-list [class*=" icon-"] {
|
|
||||||
margin-right: 2px;
|
// Disabled state sets text to gray and nukes hover/tab effects
|
||||||
}
|
&.disabled > a {
|
||||||
// Dividers (basically an hr) within the dropdown
|
color: @nav-disabled-link-color;
|
||||||
.nav-list .divider {
|
|
||||||
.nav-divider();
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @nav-disabled-link-hover-color;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Open dropdowns
|
||||||
|
.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 `.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.
|
||||||
|
.nav-divider {
|
||||||
|
.nav-divider();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Prevent IE8 from misplacing imgs
|
||||||
|
//
|
||||||
|
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
||||||
|
> li > a > img {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Tabs
|
||||||
// TABS AND PILLS
|
// -------------------------
|
||||||
// -------------
|
|
||||||
|
|
||||||
// Common styles
|
|
||||||
.nav-tabs,
|
|
||||||
.nav-pills {
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
||||||
.nav-tabs > li,
|
|
||||||
.nav-pills > li {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.nav-tabs > li > a,
|
|
||||||
.nav-pills > li > a {
|
|
||||||
padding-right: 12px;
|
|
||||||
padding-left: 12px;
|
|
||||||
margin-right: 2px;
|
|
||||||
line-height: 14px; // keeps the overall height an even number
|
|
||||||
}
|
|
||||||
|
|
||||||
// TABS
|
|
||||||
// ----
|
|
||||||
|
|
||||||
// Give the tabs something to sit on
|
// Give the tabs something to sit on
|
||||||
.nav-tabs {
|
.nav-tabs {
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid @nav-tabs-border-color;
|
||||||
}
|
> li {
|
||||||
// Make the list-items overlay the bottom border
|
float: left;
|
||||||
.nav-tabs > li {
|
// Make the list-items overlay the bottom border
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
}
|
|
||||||
// Actual tabs (as links)
|
// Actual tabs (as links)
|
||||||
.nav-tabs > li > a {
|
> a {
|
||||||
padding-top: 8px;
|
margin-right: 2px;
|
||||||
padding-bottom: 8px;
|
line-height: @line-height-base;
|
||||||
line-height: @baseLineHeight;
|
border: 1px solid transparent;
|
||||||
border: 1px solid transparent;
|
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||||
.border-radius(4px 4px 0 0);
|
&:hover {
|
||||||
&:hover,
|
border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
|
||||||
&:focus {
|
}
|
||||||
border-color: @grayLighter @grayLighter #ddd;
|
}
|
||||||
|
|
||||||
|
// Active state, and its :hover to override normal :hover
|
||||||
|
&.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
|
||||||
|
&.nav-justified {
|
||||||
|
.nav-justified();
|
||||||
|
.nav-tabs-justified();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Active state, and it's :hover/:focus to override normal :hover/:focus
|
|
||||||
.nav-tabs > .active > a,
|
|
||||||
.nav-tabs > .active > a:hover,
|
|
||||||
.nav-tabs > .active > a:focus {
|
|
||||||
color: @gray;
|
|
||||||
background-color: @bodyBackground;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-bottom-color: transparent;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// PILLS
|
|
||||||
// -----
|
|
||||||
|
|
||||||
// Links rendered as pills
|
|
||||||
.nav-pills > li > a {
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
margin-top: 2px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
.border-radius(5px);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Active state
|
|
||||||
.nav-pills > .active > a,
|
|
||||||
.nav-pills > .active > a:hover,
|
|
||||||
.nav-pills > .active > a:focus {
|
|
||||||
color: @white;
|
|
||||||
background-color: @linkColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// STACKED NAV
|
|
||||||
// -----------
|
|
||||||
|
|
||||||
// Stacked tabs and pills
|
|
||||||
.nav-stacked > li {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.nav-stacked > li > a {
|
|
||||||
margin-right: 0; // no need for the gap between nav items
|
|
||||||
}
|
|
||||||
|
|
||||||
// Tabs
|
|
||||||
.nav-tabs.nav-stacked {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
.nav-tabs.nav-stacked > li > a {
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
.border-radius(0);
|
|
||||||
}
|
|
||||||
.nav-tabs.nav-stacked > li:first-child > a {
|
|
||||||
.border-top-radius(4px);
|
|
||||||
}
|
|
||||||
.nav-tabs.nav-stacked > li:last-child > a {
|
|
||||||
.border-bottom-radius(4px);
|
|
||||||
}
|
|
||||||
.nav-tabs.nav-stacked > li > a:hover,
|
|
||||||
.nav-tabs.nav-stacked > li > a:focus {
|
|
||||||
border-color: #ddd;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Pills
|
// Pills
|
||||||
.nav-pills.nav-stacked > li > a {
|
|
||||||
margin-bottom: 3px;
|
|
||||||
}
|
|
||||||
.nav-pills.nav-stacked > li:last-child > a {
|
|
||||||
margin-bottom: 1px; // decrease margin to match sizing of stacked tabs
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// DROPDOWNS
|
|
||||||
// ---------
|
|
||||||
|
|
||||||
.nav-tabs .dropdown-menu {
|
|
||||||
.border-radius(0 0 6px 6px); // remove the top rounded corners here since there is a hard edge above the menu
|
|
||||||
}
|
|
||||||
.nav-pills .dropdown-menu {
|
|
||||||
.border-radius(6px); // make rounded corners match the pills
|
|
||||||
}
|
|
||||||
|
|
||||||
// Default dropdown links
|
|
||||||
// -------------------------
|
// -------------------------
|
||||||
// Make carets use linkColor to start
|
.nav-pills {
|
||||||
.nav .dropdown-toggle .caret {
|
> li {
|
||||||
border-top-color: @linkColor;
|
float: left;
|
||||||
border-bottom-color: @linkColor;
|
|
||||||
margin-top: 6px;
|
|
||||||
}
|
|
||||||
.nav .dropdown-toggle:hover .caret,
|
|
||||||
.nav .dropdown-toggle:focus .caret {
|
|
||||||
border-top-color: @linkColorHover;
|
|
||||||
border-bottom-color: @linkColorHover;
|
|
||||||
}
|
|
||||||
/* move down carets for tabs */
|
|
||||||
.nav-tabs .dropdown-toggle .caret {
|
|
||||||
margin-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Active dropdown links
|
// Links rendered as pills
|
||||||
// -------------------------
|
> a {
|
||||||
.nav .active .dropdown-toggle .caret {
|
border-radius: @nav-pills-border-radius;
|
||||||
border-top-color: #fff;
|
}
|
||||||
border-bottom-color: #fff;
|
+ li {
|
||||||
}
|
margin-left: 2px;
|
||||||
.nav-tabs .active .dropdown-toggle .caret {
|
}
|
||||||
border-top-color: @gray;
|
|
||||||
border-bottom-color: @gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Active:hover/:focus dropdown links
|
// Active state
|
||||||
// -------------------------
|
&.active > a {
|
||||||
.nav > .dropdown.active > a:hover,
|
&,
|
||||||
.nav > .dropdown.active > a:focus {
|
&:hover,
|
||||||
cursor: pointer;
|
&:focus {
|
||||||
}
|
color: @nav-pills-active-link-hover-color;
|
||||||
|
background-color: @nav-pills-active-link-hover-bg;
|
||||||
// Open dropdowns
|
}
|
||||||
// -------------------------
|
}
|
||||||
.nav-tabs .open .dropdown-toggle,
|
|
||||||
.nav-pills .open .dropdown-toggle,
|
|
||||||
.nav > li.dropdown.open.active > a:hover,
|
|
||||||
.nav > li.dropdown.open.active > a:focus {
|
|
||||||
color: @white;
|
|
||||||
background-color: @grayLight;
|
|
||||||
border-color: @grayLight;
|
|
||||||
}
|
|
||||||
.nav li.dropdown.open .caret,
|
|
||||||
.nav li.dropdown.open.active .caret,
|
|
||||||
.nav li.dropdown.open a:hover .caret,
|
|
||||||
.nav li.dropdown.open a:focus .caret {
|
|
||||||
border-top-color: @white;
|
|
||||||
border-bottom-color: @white;
|
|
||||||
.opacity(100);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dropdowns in stacked tabs
|
|
||||||
.tabs-stacked .open > a:hover,
|
|
||||||
.tabs-stacked .open > a:focus {
|
|
||||||
border-color: @grayLight;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// TABBABLE
|
|
||||||
// --------
|
|
||||||
|
|
||||||
|
|
||||||
// COMMON STYLES
|
|
||||||
// -------------
|
|
||||||
|
|
||||||
// Clear any floats
|
|
||||||
.tabbable {
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
||||||
.tab-content {
|
|
||||||
overflow: auto; // prevent content from running below tabs
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove border on bottom, left, right
|
|
||||||
.tabs-below > .nav-tabs,
|
|
||||||
.tabs-right > .nav-tabs,
|
|
||||||
.tabs-left > .nav-tabs {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show/hide tabbable areas
|
|
||||||
.tab-content > .tab-pane,
|
|
||||||
.pill-content > .pill-pane {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.tab-content > .active,
|
|
||||||
.pill-content > .active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// BOTTOM
|
|
||||||
// ------
|
|
||||||
|
|
||||||
.tabs-below > .nav-tabs {
|
|
||||||
border-top: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
.tabs-below > .nav-tabs > li {
|
|
||||||
margin-top: -1px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.tabs-below > .nav-tabs > li > a {
|
|
||||||
.border-radius(0 0 4px 4px);
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
border-bottom-color: transparent;
|
|
||||||
border-top-color: #ddd;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tabs-below > .nav-tabs > .active > a,
|
|
||||||
.tabs-below > .nav-tabs > .active > a:hover,
|
|
||||||
.tabs-below > .nav-tabs > .active > a:focus {
|
|
||||||
border-color: transparent #ddd #ddd #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
// LEFT & RIGHT
|
|
||||||
// ------------
|
|
||||||
|
|
||||||
// Common styles
|
// Stacked pills
|
||||||
.tabs-left > .nav-tabs > li,
|
.nav-stacked {
|
||||||
.tabs-right > .nav-tabs > li {
|
> li {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
+ li {
|
||||||
.tabs-left > .nav-tabs > li > a,
|
margin-top: 2px;
|
||||||
.tabs-right > .nav-tabs > li > a {
|
margin-left: 0; // no need for this gap between nav items
|
||||||
min-width: 74px;
|
}
|
||||||
margin-right: 0;
|
}
|
||||||
margin-bottom: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Tabs on the left
|
|
||||||
.tabs-left > .nav-tabs {
|
|
||||||
float: left;
|
|
||||||
margin-right: 19px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
.tabs-left > .nav-tabs > li > a {
|
|
||||||
margin-right: -1px;
|
|
||||||
.border-radius(4px 0 0 4px);
|
|
||||||
}
|
|
||||||
.tabs-left > .nav-tabs > li > a:hover,
|
|
||||||
.tabs-left > .nav-tabs > li > a:focus {
|
|
||||||
border-color: @grayLighter #ddd @grayLighter @grayLighter;
|
|
||||||
}
|
|
||||||
.tabs-left > .nav-tabs .active > a,
|
|
||||||
.tabs-left > .nav-tabs .active > a:hover,
|
|
||||||
.tabs-left > .nav-tabs .active > a:focus {
|
|
||||||
border-color: #ddd transparent #ddd #ddd;
|
|
||||||
*border-right-color: @white;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Tabs on the right
|
|
||||||
.tabs-right > .nav-tabs {
|
|
||||||
float: right;
|
|
||||||
margin-left: 19px;
|
|
||||||
border-left: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
.tabs-right > .nav-tabs > li > a {
|
|
||||||
margin-left: -1px;
|
|
||||||
.border-radius(0 4px 4px 0);
|
|
||||||
}
|
|
||||||
.tabs-right > .nav-tabs > li > a:hover,
|
|
||||||
.tabs-right > .nav-tabs > li > a:focus {
|
|
||||||
border-color: @grayLighter @grayLighter @grayLighter #ddd;
|
|
||||||
}
|
|
||||||
.tabs-right > .nav-tabs .active > a,
|
|
||||||
.tabs-right > .nav-tabs .active > a:hover,
|
|
||||||
.tabs-right > .nav-tabs .active > a:focus {
|
|
||||||
border-color: #ddd #ddd #ddd transparent;
|
|
||||||
*border-left-color: @white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Nav variations
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
// DISABLED STATES
|
// Justified nav links
|
||||||
// ---------------
|
// -------------------------
|
||||||
|
|
||||||
// Gray out text
|
.nav-justified {
|
||||||
.nav > .disabled > a {
|
width: 100%;
|
||||||
color: @grayLight;
|
|
||||||
|
> li {
|
||||||
|
float: none;
|
||||||
|
> a {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .dropdown .dropdown-menu {
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
> li {
|
||||||
|
display: table-cell;
|
||||||
|
width: 1%;
|
||||||
|
> a {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Nuke hover/focus effects
|
|
||||||
.nav > .disabled > a:hover,
|
// Move borders to anchors instead of bottom of list
|
||||||
.nav > .disabled > a:focus {
|
//
|
||||||
text-decoration: none;
|
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
||||||
background-color: transparent;
|
.nav-tabs-justified {
|
||||||
cursor: default;
|
border-bottom: 0;
|
||||||
|
|
||||||
|
> li > a {
|
||||||
|
// Override margin from .nav-tabs
|
||||||
|
margin-right: 0;
|
||||||
|
border-radius: @border-radius-base;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .active > a,
|
||||||
|
> .active > a:hover,
|
||||||
|
> .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;
|
||||||
|
}
|
||||||
|
> .active > a,
|
||||||
|
> .active > a:hover,
|
||||||
|
> .active > a:focus {
|
||||||
|
border-bottom-color: @nav-tabs-justified-active-link-border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Tabbable tabs
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Hide tabbable panes to start, show them when `.active`
|
||||||
|
.tab-content {
|
||||||
|
> .tab-pane {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
> .active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Dropdowns
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Specific dropdowns
|
||||||
|
.nav-tabs .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
|
||||||
|
.border-top-radius(0);
|
||||||
}
|
}
|
||||||
|
423
src/UI/Content/Bootstrap/normalize.less
vendored
Normal file
423
src/UI/Content/Bootstrap/normalize.less
vendored
Normal file
@ -0,0 +1,423 @@
|
|||||||
|
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 1. Correct `inline-block` display not defined in IE 8/9.
|
||||||
|
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||||
|
//
|
||||||
|
|
||||||
|
audio,
|
||||||
|
canvas,
|
||||||
|
progress,
|
||||||
|
video {
|
||||||
|
display: inline-block; // 1
|
||||||
|
vertical-align: baseline; // 2
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Links
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Remove the gray background color from active links in IE 10.
|
||||||
|
//
|
||||||
|
|
||||||
|
a {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Improve readability when focused and also mouse hovered in all browsers.
|
||||||
|
//
|
||||||
|
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Text-level semantics
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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 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.
|
||||||
|
//
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background: #ff0;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Grouping content
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address margin not present in IE 8/9 and Safari 5.
|
||||||
|
//
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 1em 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address differences between Firefox and other browsers.
|
||||||
|
//
|
||||||
|
|
||||||
|
hr {
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Contain overflow in all browsers.
|
||||||
|
//
|
||||||
|
|
||||||
|
pre {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address odd `em`-unit font size rendering in all browsers.
|
||||||
|
//
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
pre,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Forms
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||||
|
// styling of `select`, unless a `border` property is set.
|
||||||
|
//
|
||||||
|
|
||||||
|
//
|
||||||
|
// 1. Correct color not being inherited.
|
||||||
|
// Known issue: affects color of disabled elements.
|
||||||
|
// 2. Correct font properties not being inherited.
|
||||||
|
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
||||||
|
//
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
color: inherit; // 1
|
||||||
|
font: inherit; // 2
|
||||||
|
margin: 0; // 3
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address `overflow` set to `hidden` in IE 8/9/10.
|
||||||
|
//
|
||||||
|
|
||||||
|
button {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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 Firefox, IE 8+, and Opera
|
||||||
|
// Correct `select` style inheritance in Firefox.
|
||||||
|
//
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Remove inner padding and border in Firefox 4+.
|
||||||
|
//
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
input::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||||
|
// the UA stylesheet.
|
||||||
|
//
|
||||||
|
|
||||||
|
input {
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// It's recommended that you don't attempt to style these elements.
|
||||||
|
// Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||||
|
//
|
||||||
|
// 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
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||||
|
// `font-size` values of the `input`, it causes the cursor style of the
|
||||||
|
// decrement button to change from `default` to `text`.
|
||||||
|
//
|
||||||
|
|
||||||
|
input[type="number"]::-webkit-inner-spin-button,
|
||||||
|
input[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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 and Chrome on OS X.
|
||||||
|
// Safari (but not Chrome) clips the cancel button when the search input has
|
||||||
|
// padding (and `textfield` appearance).
|
||||||
|
//
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-cancel-button,
|
||||||
|
input[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Remove default vertical scrollbar in IE 8/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Don't inherit the `font-weight` (applied by a rule above).
|
||||||
|
// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||||
|
//
|
||||||
|
|
||||||
|
optgroup {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Tables
|
||||||
|
// ==========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Remove most spacing between table cells.
|
||||||
|
//
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
padding: 0;
|
||||||
|
}
|
@ -4,40 +4,52 @@
|
|||||||
|
|
||||||
|
|
||||||
.pager {
|
.pager {
|
||||||
margin: @baseLineHeight 0;
|
padding-left: 0;
|
||||||
|
margin: @line-height-computed 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.clearfix();
|
&:extend(.clearfix all);
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 5px 14px;
|
||||||
|
background-color: @pager-bg;
|
||||||
|
border: 1px solid @pager-border;
|
||||||
|
border-radius: @pager-border-radius;
|
||||||
|
}
|
||||||
|
|
||||||
|
> a:hover,
|
||||||
|
> a:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: @pager-hover-bg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.next {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.previous {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.disabled {
|
||||||
|
> a,
|
||||||
|
> a:hover,
|
||||||
|
> a:focus,
|
||||||
|
> span {
|
||||||
|
color: @pager-disabled-color;
|
||||||
|
background-color: @pager-bg;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.pager li {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
.pager li > a,
|
|
||||||
.pager li > span {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 5px 14px;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
.border-radius(15px);
|
|
||||||
}
|
|
||||||
.pager li > a:hover,
|
|
||||||
.pager li > a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
.pager .next > a,
|
|
||||||
.pager .next > span {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.pager .previous > a,
|
|
||||||
.pager .previous > span {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.pager .disabled > a,
|
|
||||||
.pager .disabled > a:hover,
|
|
||||||
.pager .disabled > a:focus,
|
|
||||||
.pager .disabled > span {
|
|
||||||
color: @grayLight;
|
|
||||||
background-color: #fff;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
@ -1,123 +1,88 @@
|
|||||||
//
|
//
|
||||||
// Pagination (multiple pages)
|
// Pagination (multiple pages)
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Space out pagination from surrounding content
|
|
||||||
.pagination {
|
.pagination {
|
||||||
margin: @baseLineHeight 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagination ul {
|
|
||||||
// Allow for text-based alignment
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
padding-left: 0;
|
||||||
// Reset default ul styles
|
margin: @line-height-computed 0;
|
||||||
margin-left: 0;
|
border-radius: @border-radius-base;
|
||||||
margin-bottom: 0;
|
|
||||||
// Visuals
|
|
||||||
.border-radius(@baseBorderRadius);
|
|
||||||
.box-shadow(0 1px 2px rgba(0,0,0,.05));
|
|
||||||
}
|
|
||||||
.pagination ul > li {
|
|
||||||
display: inline; // Remove list-style and block-level defaults
|
|
||||||
}
|
|
||||||
.pagination ul > li > a,
|
|
||||||
.pagination ul > li > span {
|
|
||||||
float: left; // Collapse white-space
|
|
||||||
padding: 4px 12px;
|
|
||||||
line-height: @baseLineHeight;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: @paginationBackground;
|
|
||||||
border: 1px solid @paginationBorder;
|
|
||||||
border-left-width: 0;
|
|
||||||
}
|
|
||||||
.pagination ul > li > a:hover,
|
|
||||||
.pagination ul > li > a:focus,
|
|
||||||
.pagination ul > .active > a,
|
|
||||||
.pagination ul > .active > span {
|
|
||||||
background-color: @paginationActiveBackground;
|
|
||||||
}
|
|
||||||
.pagination ul > .active > a,
|
|
||||||
.pagination ul > .active > span {
|
|
||||||
color: @grayLight;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.pagination ul > .disabled > span,
|
|
||||||
.pagination ul > .disabled > a,
|
|
||||||
.pagination ul > .disabled > a:hover,
|
|
||||||
.pagination ul > .disabled > a:focus {
|
|
||||||
color: @grayLight;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.pagination ul > li:first-child > a,
|
|
||||||
.pagination ul > li:first-child > span {
|
|
||||||
border-left-width: 1px;
|
|
||||||
.border-left-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
.pagination ul > li:last-child > a,
|
|
||||||
.pagination ul > li:last-child > span {
|
|
||||||
.border-right-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
> 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;
|
||||||
|
color: @pagination-color;
|
||||||
|
background-color: @pagination-bg;
|
||||||
|
border: 1px solid @pagination-border;
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
&:first-child {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
margin-left: 0;
|
||||||
|
.border-left-radius(@border-radius-base);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
.border-right-radius(@border-radius-base);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Alignment
|
> li > a,
|
||||||
// --------------------------------------------------
|
> li > span {
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @pagination-hover-color;
|
||||||
|
background-color: @pagination-hover-bg;
|
||||||
|
border-color: @pagination-hover-border;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.pagination-centered {
|
> .active > a,
|
||||||
text-align: center;
|
> .active > span {
|
||||||
|
&,
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
z-index: 2;
|
||||||
|
color: @pagination-active-color;
|
||||||
|
background-color: @pagination-active-bg;
|
||||||
|
border-color: @pagination-active-border;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .disabled {
|
||||||
|
> span,
|
||||||
|
> span:hover,
|
||||||
|
> span:focus,
|
||||||
|
> a,
|
||||||
|
> a:hover,
|
||||||
|
> a:focus {
|
||||||
|
color: @pagination-disabled-color;
|
||||||
|
background-color: @pagination-disabled-bg;
|
||||||
|
border-color: @pagination-disabled-border;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.pagination-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Sizing
|
// Sizing
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Large
|
// Large
|
||||||
.pagination-large {
|
.pagination-lg {
|
||||||
ul > li > a,
|
.pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
|
||||||
ul > li > span {
|
|
||||||
padding: @paddingLarge;
|
|
||||||
font-size: @fontSizeLarge;
|
|
||||||
}
|
|
||||||
ul > li:first-child > a,
|
|
||||||
ul > li:first-child > span {
|
|
||||||
.border-left-radius(@borderRadiusLarge);
|
|
||||||
}
|
|
||||||
ul > li:last-child > a,
|
|
||||||
ul > li:last-child > span {
|
|
||||||
.border-right-radius(@borderRadiusLarge);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Small and mini
|
|
||||||
.pagination-mini,
|
|
||||||
.pagination-small {
|
|
||||||
ul > li:first-child > a,
|
|
||||||
ul > li:first-child > span {
|
|
||||||
.border-left-radius(@borderRadiusSmall);
|
|
||||||
}
|
|
||||||
ul > li:last-child > a,
|
|
||||||
ul > li:last-child > span {
|
|
||||||
.border-right-radius(@borderRadiusSmall);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Small
|
// Small
|
||||||
.pagination-small {
|
.pagination-sm {
|
||||||
ul > li > a,
|
.pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
|
||||||
ul > li > span {
|
|
||||||
padding: @paddingSmall;
|
|
||||||
font-size: @fontSizeSmall;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Mini
|
|
||||||
.pagination-mini {
|
|
||||||
ul > li > a,
|
|
||||||
ul > li > span {
|
|
||||||
padding: @paddingMini;
|
|
||||||
font-size: @fontSizeMini;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
241
src/UI/Content/Bootstrap/panels.less
Normal file
241
src/UI/Content/Bootstrap/panels.less
Normal file
@ -0,0 +1,241 @@
|
|||||||
|
//
|
||||||
|
// Panels
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base class
|
||||||
|
.panel {
|
||||||
|
margin-bottom: @line-height-computed;
|
||||||
|
background-color: @panel-bg;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: @panel-border-radius;
|
||||||
|
.box-shadow(0 1px 1px rgba(0,0,0,.05));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Panel contents
|
||||||
|
.panel-body {
|
||||||
|
padding: @panel-body-padding;
|
||||||
|
&:extend(.clearfix all);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Optional heading
|
||||||
|
.panel-heading {
|
||||||
|
padding: 10px 15px;
|
||||||
|
border-bottom: 1px solid transparent;
|
||||||
|
.border-top-radius((@panel-border-radius - 1));
|
||||||
|
|
||||||
|
> .dropdown .dropdown-toggle {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Within heading, strip any `h*` tag of its default margins for spacing.
|
||||||
|
.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)
|
||||||
|
.panel-footer {
|
||||||
|
padding: 10px 15px;
|
||||||
|
background-color: @panel-footer-bg;
|
||||||
|
border-top: 1px solid @panel-inner-border;
|
||||||
|
.border-bottom-radius((@panel-border-radius - 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
|
||||||
|
.panel {
|
||||||
|
> .list-group {
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
.list-group-item {
|
||||||
|
border-width: 1px 0;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add border top radius for first one
|
||||||
|
&:first-child {
|
||||||
|
.list-group-item:first-child {
|
||||||
|
border-top: 0;
|
||||||
|
.border-top-radius((@panel-border-radius - 1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Add border bottom radius for last one
|
||||||
|
&:last-child {
|
||||||
|
.list-group-item:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
.border-bottom-radius((@panel-border-radius - 1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Collapse space between when there's no additional content.
|
||||||
|
.panel-heading + .list-group {
|
||||||
|
.list-group-item:first-child {
|
||||||
|
border-top-width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Tables in panels
|
||||||
|
//
|
||||||
|
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
|
||||||
|
// watch it go full width.
|
||||||
|
|
||||||
|
.panel {
|
||||||
|
> .table,
|
||||||
|
> .table-responsive > .table {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
// Add border top radius for first one
|
||||||
|
> .table:first-child,
|
||||||
|
> .table-responsive:first-child > .table:first-child {
|
||||||
|
.border-top-radius((@panel-border-radius - 1));
|
||||||
|
|
||||||
|
> thead:first-child,
|
||||||
|
> tbody:first-child {
|
||||||
|
> tr:first-child {
|
||||||
|
td:first-child,
|
||||||
|
th:first-child {
|
||||||
|
border-top-left-radius: (@panel-border-radius - 1);
|
||||||
|
}
|
||||||
|
td:last-child,
|
||||||
|
th:last-child {
|
||||||
|
border-top-right-radius: (@panel-border-radius - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Add border bottom radius for last one
|
||||||
|
> .table:last-child,
|
||||||
|
> .table-responsive:last-child > .table:last-child {
|
||||||
|
.border-bottom-radius((@panel-border-radius - 1));
|
||||||
|
|
||||||
|
> tbody:last-child,
|
||||||
|
> tfoot:last-child {
|
||||||
|
> tr:last-child {
|
||||||
|
td:first-child,
|
||||||
|
th:first-child {
|
||||||
|
border-bottom-left-radius: (@panel-border-radius - 1);
|
||||||
|
}
|
||||||
|
td:last-child,
|
||||||
|
th:last-child {
|
||||||
|
border-bottom-right-radius: (@panel-border-radius - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
> .panel-body + .table,
|
||||||
|
> .panel-body + .table-responsive {
|
||||||
|
border-top: 1px solid @table-border-color;
|
||||||
|
}
|
||||||
|
> .table > tbody:first-child > tr:first-child th,
|
||||||
|
> .table > tbody:first-child > tr:first-child td {
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
> .table-bordered,
|
||||||
|
> .table-responsive > .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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
> thead,
|
||||||
|
> tbody {
|
||||||
|
> tr:first-child {
|
||||||
|
> td,
|
||||||
|
> th {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
> tbody,
|
||||||
|
> tfoot {
|
||||||
|
> tr:last-child {
|
||||||
|
> td,
|
||||||
|
> th {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
> .table-responsive {
|
||||||
|
border: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Collapsable panels (aka, accordion)
|
||||||
|
//
|
||||||
|
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
|
||||||
|
// the help of our collapse JavaScript plugin.
|
||||||
|
|
||||||
|
.panel-group {
|
||||||
|
margin-bottom: @line-height-computed;
|
||||||
|
|
||||||
|
// Tighten up margin so it's only between panels
|
||||||
|
.panel {
|
||||||
|
margin-bottom: 0;
|
||||||
|
border-radius: @panel-border-radius;
|
||||||
|
overflow: hidden; // crop contents when collapsed
|
||||||
|
+ .panel {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-heading {
|
||||||
|
border-bottom: 0;
|
||||||
|
+ .panel-collapse .panel-body {
|
||||||
|
border-top: 1px solid @panel-inner-border;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.panel-footer {
|
||||||
|
border-top: 0;
|
||||||
|
+ .panel-collapse .panel-body {
|
||||||
|
border-bottom: 1px solid @panel-inner-border;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Contextual variations
|
||||||
|
.panel-default {
|
||||||
|
.panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
|
||||||
|
}
|
||||||
|
.panel-primary {
|
||||||
|
.panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
|
||||||
|
}
|
||||||
|
.panel-success {
|
||||||
|
.panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
|
||||||
|
}
|
||||||
|
.panel-info {
|
||||||
|
.panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
|
||||||
|
}
|
||||||
|
.panel-warning {
|
||||||
|
.panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
|
||||||
|
}
|
||||||
|
.panel-danger {
|
||||||
|
.panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
|
||||||
|
}
|
@ -7,43 +7,37 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: @zindexPopover;
|
z-index: @zindex-popover;
|
||||||
display: none;
|
display: none;
|
||||||
max-width: 276px;
|
max-width: @popover-max-width;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
text-align: left; // Reset given new insertion method
|
text-align: left; // Reset given new insertion method
|
||||||
background-color: @popoverBackground;
|
background-color: @popover-bg;
|
||||||
-webkit-background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
-moz-background-clip: padding;
|
border: 1px solid @popover-fallback-border-color;
|
||||||
background-clip: padding-box;
|
border: 1px solid @popover-border-color;
|
||||||
border: 1px solid #ccc;
|
border-radius: @border-radius-large;
|
||||||
border: 1px solid rgba(0,0,0,.2);
|
|
||||||
.border-radius(6px);
|
|
||||||
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
||||||
|
|
||||||
// Overrides for proper insertion
|
// Overrides for proper insertion
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
|
||||||
// Offset the popover to account for the popover arrow
|
// Offset the popover to account for the popover arrow
|
||||||
&.top { margin-top: -10px; }
|
&.top { margin-top: -@popover-arrow-width; }
|
||||||
&.right { margin-left: 10px; }
|
&.right { margin-left: @popover-arrow-width; }
|
||||||
&.bottom { margin-top: 10px; }
|
&.bottom { margin-top: @popover-arrow-width; }
|
||||||
&.left { margin-left: -10px; }
|
&.left { margin-left: -@popover-arrow-width; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover-title {
|
.popover-title {
|
||||||
margin: 0; // reset heading margin
|
margin: 0; // reset heading margin
|
||||||
padding: 8px 14px;
|
padding: 8px 14px;
|
||||||
font-size: 14px;
|
font-size: @font-size-base;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
background-color: @popoverTitleBackground;
|
background-color: @popover-title-bg;
|
||||||
border-bottom: 1px solid darken(@popoverTitleBackground, 5%);
|
border-bottom: 1px solid darken(@popover-title-bg, 5%);
|
||||||
.border-radius(5px 5px 0 0);
|
border-radius: 5px 5px 0 0;
|
||||||
|
|
||||||
&:empty {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover-content {
|
.popover-content {
|
||||||
@ -54,79 +48,85 @@
|
|||||||
//
|
//
|
||||||
// .arrow is outer, .arrow:after is inner
|
// .arrow is outer, .arrow:after is inner
|
||||||
|
|
||||||
.popover .arrow,
|
.popover > .arrow {
|
||||||
.popover .arrow:after {
|
&,
|
||||||
position: absolute;
|
&:after {
|
||||||
display: block;
|
position: absolute;
|
||||||
width: 0;
|
display: block;
|
||||||
height: 0;
|
width: 0;
|
||||||
border-color: transparent;
|
height: 0;
|
||||||
border-style: solid;
|
border-color: transparent;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.popover .arrow {
|
.popover > .arrow {
|
||||||
border-width: @popoverArrowOuterWidth;
|
border-width: @popover-arrow-outer-width;
|
||||||
}
|
}
|
||||||
.popover .arrow:after {
|
.popover > .arrow:after {
|
||||||
border-width: @popoverArrowWidth;
|
border-width: @popover-arrow-width;
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover {
|
.popover {
|
||||||
&.top .arrow {
|
&.top > .arrow {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@popoverArrowOuterWidth;
|
margin-left: -@popover-arrow-outer-width;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
border-top-color: #999; // IE8 fallback
|
border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
||||||
border-top-color: @popoverArrowOuterColor;
|
border-top-color: @popover-arrow-outer-color;
|
||||||
bottom: -@popoverArrowOuterWidth;
|
bottom: -@popover-arrow-outer-width;
|
||||||
&:after {
|
&:after {
|
||||||
|
content: " ";
|
||||||
bottom: 1px;
|
bottom: 1px;
|
||||||
margin-left: -@popoverArrowWidth;
|
margin-left: -@popover-arrow-width;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
border-top-color: @popoverArrowColor;
|
border-top-color: @popover-arrow-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.right .arrow {
|
&.right > .arrow {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: -@popoverArrowOuterWidth;
|
left: -@popover-arrow-outer-width;
|
||||||
margin-top: -@popoverArrowOuterWidth;
|
margin-top: -@popover-arrow-outer-width;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-color: #999; // IE8 fallback
|
border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
||||||
border-right-color: @popoverArrowOuterColor;
|
border-right-color: @popover-arrow-outer-color;
|
||||||
&:after {
|
&:after {
|
||||||
|
content: " ";
|
||||||
left: 1px;
|
left: 1px;
|
||||||
bottom: -@popoverArrowWidth;
|
bottom: -@popover-arrow-width;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
border-right-color: @popoverArrowColor;
|
border-right-color: @popover-arrow-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.bottom .arrow {
|
&.bottom > .arrow {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@popoverArrowOuterWidth;
|
margin-left: -@popover-arrow-outer-width;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: #999; // IE8 fallback
|
border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
||||||
border-bottom-color: @popoverArrowOuterColor;
|
border-bottom-color: @popover-arrow-outer-color;
|
||||||
top: -@popoverArrowOuterWidth;
|
top: -@popover-arrow-outer-width;
|
||||||
&:after {
|
&:after {
|
||||||
|
content: " ";
|
||||||
top: 1px;
|
top: 1px;
|
||||||
margin-left: -@popoverArrowWidth;
|
margin-left: -@popover-arrow-width;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-color: @popoverArrowColor;
|
border-bottom-color: @popover-arrow-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left .arrow {
|
&.left > .arrow {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: -@popoverArrowOuterWidth;
|
right: -@popover-arrow-outer-width;
|
||||||
margin-top: -@popoverArrowOuterWidth;
|
margin-top: -@popover-arrow-outer-width;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-color: #999; // IE8 fallback
|
border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
||||||
border-left-color: @popoverArrowOuterColor;
|
border-left-color: @popover-arrow-outer-color;
|
||||||
&:after {
|
&:after {
|
||||||
|
content: " ";
|
||||||
right: 1px;
|
right: 1px;
|
||||||
border-right-width: 0;
|
border-right-width: 0;
|
||||||
border-left-color: @popoverArrowColor;
|
border-left-color: @popover-arrow-color;
|
||||||
bottom: -@popoverArrowWidth;
|
bottom: -@popover-arrow-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
101
src/UI/Content/Bootstrap/print.less
Normal file
101
src/UI/Content/Bootstrap/print.less
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
//
|
||||||
|
// Basic print styles
|
||||||
|
// --------------------------------------------------
|
||||||
|
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
* {
|
||||||
|
text-shadow: none !important;
|
||||||
|
color: #000 !important; // Black prints faster: h5bp.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.com/t
|
||||||
|
}
|
||||||
|
|
||||||
|
tr,
|
||||||
|
img {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
orphans: 3;
|
||||||
|
widows: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
page-break-after: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
|
||||||
|
// Once fixed, we can just straight up remove this.
|
||||||
|
select {
|
||||||
|
background: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Bootstrap components
|
||||||
|
.navbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.table {
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
background-color: #fff !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn,
|
||||||
|
.dropup > .btn {
|
||||||
|
> .caret {
|
||||||
|
border-top-color: #000 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.label {
|
||||||
|
border: 1px solid #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table {
|
||||||
|
border-collapse: collapse !important;
|
||||||
|
}
|
||||||
|
.table-bordered {
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
border: 1px solid #ddd !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -3,34 +3,16 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// ANIMATIONS
|
// Bar animations
|
||||||
// ----------
|
// -------------------------
|
||||||
|
|
||||||
// Webkit
|
// WebKit
|
||||||
@-webkit-keyframes progress-bar-stripes {
|
@-webkit-keyframes progress-bar-stripes {
|
||||||
from { background-position: 40px 0; }
|
from { background-position: 40px 0; }
|
||||||
to { background-position: 0 0; }
|
to { background-position: 0 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Firefox
|
// Spec and IE10+
|
||||||
@-moz-keyframes progress-bar-stripes {
|
|
||||||
from { background-position: 40px 0; }
|
|
||||||
to { background-position: 0 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// IE9
|
|
||||||
@-ms-keyframes progress-bar-stripes {
|
|
||||||
from { background-position: 40px 0; }
|
|
||||||
to { background-position: 0 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Opera
|
|
||||||
@-o-keyframes progress-bar-stripes {
|
|
||||||
from { background-position: 0 0; }
|
|
||||||
to { background-position: 40px 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Spec
|
|
||||||
@keyframes progress-bar-stripes {
|
@keyframes progress-bar-stripes {
|
||||||
from { background-position: 40px 0; }
|
from { background-position: 40px 0; }
|
||||||
to { background-position: 0 0; }
|
to { background-position: 0 0; }
|
||||||
@ -38,85 +20,61 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// THE BARS
|
// Bar itself
|
||||||
// --------
|
// -------------------------
|
||||||
|
|
||||||
// Outer container
|
// Outer container
|
||||||
.progress {
|
.progress {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: @baseLineHeight;
|
height: @line-height-computed;
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
#gradient > .vertical(#f5f5f5, #f9f9f9);
|
background-color: @progress-bg;
|
||||||
|
border-radius: @border-radius-base;
|
||||||
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
.box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
|
||||||
.border-radius(@baseBorderRadius);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bar of progress
|
// Bar of progress
|
||||||
.progress .bar {
|
.progress-bar {
|
||||||
|
float: left;
|
||||||
width: 0%;
|
width: 0%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: @white;
|
font-size: @font-size-small;
|
||||||
float: left;
|
line-height: @line-height-computed;
|
||||||
font-size: 12px;
|
color: @progress-bar-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
background-color: @progress-bar-bg;
|
||||||
#gradient > .vertical(#149bdf, #0480be);
|
|
||||||
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
|
||||||
.box-sizing(border-box);
|
|
||||||
.transition(width .6s ease);
|
.transition(width .6s ease);
|
||||||
}
|
}
|
||||||
.progress .bar + .bar {
|
|
||||||
.box-shadow(~"inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15)");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Striped bars
|
// Striped bars
|
||||||
.progress-striped .bar {
|
.progress-striped .progress-bar {
|
||||||
#gradient > .striped(#149bdf);
|
#gradient > .striped();
|
||||||
.background-size(40px 40px);
|
background-size: 40px 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call animation for the active one
|
// Call animation for the active one
|
||||||
.progress.active .bar {
|
.progress.active .progress-bar {
|
||||||
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
.animation(progress-bar-stripes 2s linear infinite);
|
||||||
-moz-animation: progress-bar-stripes 2s linear infinite;
|
|
||||||
-ms-animation: progress-bar-stripes 2s linear infinite;
|
|
||||||
-o-animation: progress-bar-stripes 2s linear infinite;
|
|
||||||
animation: progress-bar-stripes 2s linear infinite;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// COLORS
|
// Variations
|
||||||
// ------
|
// -------------------------
|
||||||
|
|
||||||
// Danger (red)
|
.progress-bar-success {
|
||||||
.progress-danger .bar, .progress .bar-danger {
|
.progress-bar-variant(@progress-bar-success-bg);
|
||||||
#gradient > .vertical(#ee5f5b, #c43c35);
|
|
||||||
}
|
|
||||||
.progress-danger.progress-striped .bar, .progress-striped .bar-danger {
|
|
||||||
#gradient > .striped(#ee5f5b);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Success (green)
|
.progress-bar-info {
|
||||||
.progress-success .bar, .progress .bar-success {
|
.progress-bar-variant(@progress-bar-info-bg);
|
||||||
#gradient > .vertical(#62c462, #57a957);
|
|
||||||
}
|
|
||||||
.progress-success.progress-striped .bar, .progress-striped .bar-success {
|
|
||||||
#gradient > .striped(#62c462);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Info (teal)
|
.progress-bar-warning {
|
||||||
.progress-info .bar, .progress .bar-info {
|
.progress-bar-variant(@progress-bar-warning-bg);
|
||||||
#gradient > .vertical(#5bc0de, #339bb9);
|
|
||||||
}
|
|
||||||
.progress-info.progress-striped .bar, .progress-striped .bar-info {
|
|
||||||
#gradient > .striped(#5bc0de);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Warning (orange)
|
.progress-bar-danger {
|
||||||
.progress-warning .bar, .progress .bar-warning {
|
.progress-bar-variant(@progress-bar-danger-bg);
|
||||||
#gradient > .vertical(lighten(@orange, 15%), @orange);
|
|
||||||
}
|
|
||||||
.progress-warning.progress-striped .bar, .progress-striped .bar-warning {
|
|
||||||
#gradient > .striped(lighten(@orange, 15%));
|
|
||||||
}
|
}
|
||||||
|
@ -1,216 +0,0 @@
|
|||||||
//
|
|
||||||
// Reset CSS
|
|
||||||
// Adapted from http://github.com/necolas/normalize.css
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Display in IE6-9 and FF3
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
article,
|
|
||||||
aside,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
nav,
|
|
||||||
section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Display block in IE6-9 and FF3
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
audio,
|
|
||||||
canvas,
|
|
||||||
video {
|
|
||||||
display: inline-block;
|
|
||||||
*display: inline;
|
|
||||||
*zoom: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prevents modern browsers from displaying 'audio' without controls
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
audio:not([controls]) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Base settings
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-size: 100%;
|
|
||||||
-webkit-text-size-adjust: 100%;
|
|
||||||
-ms-text-size-adjust: 100%;
|
|
||||||
}
|
|
||||||
// Focus states
|
|
||||||
a:focus {
|
|
||||||
.tab-focus();
|
|
||||||
}
|
|
||||||
// Hover & Active
|
|
||||||
a:hover,
|
|
||||||
a:active {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prevents sub and sup affecting line-height in all browsers
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
sub,
|
|
||||||
sup {
|
|
||||||
position: relative;
|
|
||||||
font-size: 75%;
|
|
||||||
line-height: 0;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
sup {
|
|
||||||
top: -0.5em;
|
|
||||||
}
|
|
||||||
sub {
|
|
||||||
bottom: -0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Img border in a's and image quality
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
img {
|
|
||||||
/* Responsive images (ensure images don't scale beyond their parents) */
|
|
||||||
max-width: 100%; /* Part 1: Set a maxium relative to the parent */
|
|
||||||
width: auto\9; /* IE7-8 need help adjusting responsive images */
|
|
||||||
height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
|
|
||||||
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
-ms-interpolation-mode: bicubic;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prevent max-width from affecting Google Maps
|
|
||||||
#map_canvas img,
|
|
||||||
.google-maps img {
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Forms
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
// Font size in all browsers, margin changes, misc consistency
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 100%;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
button,
|
|
||||||
input {
|
|
||||||
*overflow: visible; // Inner spacing ie IE6/7
|
|
||||||
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
|
||||||
}
|
|
||||||
button::-moz-focus-inner,
|
|
||||||
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
button,
|
|
||||||
html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"] {
|
|
||||||
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
|
|
||||||
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
|
||||||
}
|
|
||||||
label,
|
|
||||||
select,
|
|
||||||
button,
|
|
||||||
input[type="button"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"],
|
|
||||||
input[type="radio"],
|
|
||||||
input[type="checkbox"] {
|
|
||||||
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
|
||||||
}
|
|
||||||
input[type="search"] { // Appearance in Safari/Chrome
|
|
||||||
.box-sizing(content-box);
|
|
||||||
-webkit-appearance: textfield;
|
|
||||||
}
|
|
||||||
input[type="search"]::-webkit-search-decoration,
|
|
||||||
input[type="search"]::-webkit-search-cancel-button {
|
|
||||||
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
|
|
||||||
}
|
|
||||||
textarea {
|
|
||||||
overflow: auto; // Remove vertical scrollbar in IE6-9
|
|
||||||
vertical-align: top; // Readability and alignment cross-browser
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Printing
|
|
||||||
// -------------------------
|
|
||||||
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
|
|
||||||
* {
|
|
||||||
text-shadow: none !important;
|
|
||||||
color: #000 !important; // Black prints faster: h5bp.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
|
|
||||||
.ir a:after,
|
|
||||||
a[href^="javascript:"]:after,
|
|
||||||
a[href^="#"]:after {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
thead {
|
|
||||||
display: table-header-group; // h5bp.com/t
|
|
||||||
}
|
|
||||||
|
|
||||||
tr,
|
|
||||||
img {
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
|
||||||
margin: 0.5cm;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
page-break-after: avoid;
|
|
||||||
}
|
|
||||||
}
|
|
92
src/UI/Content/Bootstrap/responsive-utilities.less
Normal file
92
src/UI/Content/Bootstrap/responsive-utilities.less
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
//
|
||||||
|
// 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.com/twbs/bootstrap/issues/10497
|
||||||
|
// Docs: http://getbootstrap.com/getting-started/#browsers
|
||||||
|
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
||||||
|
|
||||||
|
@-ms-viewport {
|
||||||
|
width: device-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Visibility utilities
|
||||||
|
.visible-xs,
|
||||||
|
.visible-sm,
|
||||||
|
.visible-md,
|
||||||
|
.visible-lg {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
|
||||||
|
.visible-xs {
|
||||||
|
@media (max-width: @screen-xs-max) {
|
||||||
|
.responsive-visibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.visible-sm {
|
||||||
|
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
||||||
|
.responsive-visibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.visible-md {
|
||||||
|
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
||||||
|
.responsive-visibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.visible-lg {
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
.responsive-visibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden-xs {
|
||||||
|
@media (max-width: @screen-xs-max) {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.hidden-sm {
|
||||||
|
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.hidden-md {
|
||||||
|
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.hidden-lg {
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Print utilities
|
||||||
|
//
|
||||||
|
// Media queries are placed on the inside to be mixin-friendly.
|
||||||
|
|
||||||
|
.visible-print {
|
||||||
|
.responsive-invisibility();
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
.responsive-visibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden-print {
|
||||||
|
@media print {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
@ -3,51 +3,132 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Reset the box-sizing
|
||||||
|
//
|
||||||
|
// Heads up! This reset may cause conflicts with some third-party widgets.
|
||||||
|
// For recommendations on resolving such conflicts, see
|
||||||
|
// http://getbootstrap.com/getting-started/#third-box-sizing
|
||||||
|
* {
|
||||||
|
.box-sizing(border-box);
|
||||||
|
}
|
||||||
|
*:before,
|
||||||
|
*:after {
|
||||||
|
.box-sizing(border-box);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Body reset
|
// Body reset
|
||||||
// -------------------------
|
|
||||||
|
html {
|
||||||
|
font-size: 62.5%;
|
||||||
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
font-family: @font-family-base;
|
||||||
font-family: @baseFontFamily;
|
font-size: @font-size-base;
|
||||||
font-size: @baseFontSize;
|
line-height: @line-height-base;
|
||||||
line-height: @baseLineHeight;
|
color: @text-color;
|
||||||
color: @textColor;
|
background-color: @body-bg;
|
||||||
background-color: @bodyBackground;
|
}
|
||||||
|
|
||||||
|
// Reset fonts for relevant elements
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Links
|
// Links
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: @linkColor;
|
color: @link-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: @link-hover-color;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
.tab-focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
a:hover,
|
|
||||||
a:focus {
|
|
||||||
color: @linkColorHover;
|
// Figures
|
||||||
text-decoration: underline;
|
//
|
||||||
|
// We reset this here because previously Normalize had no `figure` margins. This
|
||||||
|
// ensures we don't break anyone's use of the element.
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
// -------------------------
|
|
||||||
|
img {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Responsive images (ensure images don't scale beyond their parents)
|
||||||
|
.img-responsive {
|
||||||
|
.img-responsive();
|
||||||
|
}
|
||||||
|
|
||||||
// Rounded corners
|
// Rounded corners
|
||||||
.img-rounded {
|
.img-rounded {
|
||||||
.border-radius(6px);
|
border-radius: @border-radius-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add polaroid-esque trim
|
// Image thumbnails
|
||||||
.img-polaroid {
|
//
|
||||||
padding: 4px;
|
// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
|
||||||
background-color: #fff;
|
.img-thumbnail {
|
||||||
border: 1px solid #ccc;
|
padding: @thumbnail-padding;
|
||||||
border: 1px solid rgba(0,0,0,.2);
|
line-height: @line-height-base;
|
||||||
.box-shadow(0 1px 3px rgba(0,0,0,.1));
|
background-color: @thumbnail-bg;
|
||||||
|
border: 1px solid @thumbnail-border;
|
||||||
|
border-radius: @thumbnail-border-radius;
|
||||||
|
.transition(all .2s ease-in-out);
|
||||||
|
|
||||||
|
// Keep them at most 100% wide
|
||||||
|
.img-responsive(inline-block);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perfect circle
|
// Perfect circle
|
||||||
.img-circle {
|
.img-circle {
|
||||||
.border-radius(500px); // crank the border-radius so it works with most reasonably sized images
|
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.com/posts/how-to-hide-content/
|
||||||
|
|
||||||
|
.sr-only {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
margin: -1px;
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
@ -1,197 +0,0 @@
|
|||||||
//
|
|
||||||
// Sprites
|
|
||||||
// --------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// ICONS
|
|
||||||
// -----
|
|
||||||
|
|
||||||
// All icons receive the styles of the <i> tag with a base class
|
|
||||||
// of .i and are then given a unique class to add width, height,
|
|
||||||
// and background-position. Your resulting HTML will look like
|
|
||||||
// <i class="icon-inbox"></i>.
|
|
||||||
|
|
||||||
// For the white version of the icons, just add the .icon-white class:
|
|
||||||
// <i class="icon-inbox icon-white"></i>
|
|
||||||
|
|
||||||
[class^="icon-"],
|
|
||||||
[class*=" icon-"] {
|
|
||||||
display: inline-block;
|
|
||||||
width: 14px;
|
|
||||||
height: 14px;
|
|
||||||
.ie7-restore-right-whitespace();
|
|
||||||
line-height: 14px;
|
|
||||||
vertical-align: text-top;
|
|
||||||
background-image: url("@{iconSpritePath}");
|
|
||||||
background-position: 14px 14px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
margin-top: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* White icons with optional class, or on hover/focus/active states of certain elements */
|
|
||||||
.icon-white,
|
|
||||||
.nav-pills > .active > a > [class^="icon-"],
|
|
||||||
.nav-pills > .active > a > [class*=" icon-"],
|
|
||||||
.nav-list > .active > a > [class^="icon-"],
|
|
||||||
.nav-list > .active > a > [class*=" icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class^="icon-"],
|
|
||||||
.dropdown-menu > li > a:focus > [class^="icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
|
||||||
.dropdown-menu > li > a:focus > [class*=" icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class^="icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class*=" icon-"],
|
|
||||||
.dropdown-submenu:hover > a > [class^="icon-"],
|
|
||||||
.dropdown-submenu:focus > a > [class^="icon-"],
|
|
||||||
.dropdown-submenu:hover > a > [class*=" icon-"],
|
|
||||||
.dropdown-submenu:focus > a > [class*=" icon-"] {
|
|
||||||
background-image: url("@{iconWhiteSpritePath}");
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-glass { background-position: 0 0; }
|
|
||||||
.icon-music { background-position: -24px 0; }
|
|
||||||
.icon-search { background-position: -48px 0; }
|
|
||||||
.icon-envelope { background-position: -72px 0; }
|
|
||||||
.icon-heart { background-position: -96px 0; }
|
|
||||||
.icon-star { background-position: -120px 0; }
|
|
||||||
.icon-star-empty { background-position: -144px 0; }
|
|
||||||
.icon-user { background-position: -168px 0; }
|
|
||||||
.icon-film { background-position: -192px 0; }
|
|
||||||
.icon-th-large { background-position: -216px 0; }
|
|
||||||
.icon-th { background-position: -240px 0; }
|
|
||||||
.icon-th-list { background-position: -264px 0; }
|
|
||||||
.icon-ok { background-position: -288px 0; }
|
|
||||||
.icon-remove { background-position: -312px 0; }
|
|
||||||
.icon-zoom-in { background-position: -336px 0; }
|
|
||||||
.icon-zoom-out { background-position: -360px 0; }
|
|
||||||
.icon-off { background-position: -384px 0; }
|
|
||||||
.icon-signal { background-position: -408px 0; }
|
|
||||||
.icon-cog { background-position: -432px 0; }
|
|
||||||
.icon-trash { background-position: -456px 0; }
|
|
||||||
|
|
||||||
.icon-home { background-position: 0 -24px; }
|
|
||||||
.icon-file { background-position: -24px -24px; }
|
|
||||||
.icon-time { background-position: -48px -24px; }
|
|
||||||
.icon-road { background-position: -72px -24px; }
|
|
||||||
.icon-download-alt { background-position: -96px -24px; }
|
|
||||||
.icon-download { background-position: -120px -24px; }
|
|
||||||
.icon-upload { background-position: -144px -24px; }
|
|
||||||
.icon-inbox { background-position: -168px -24px; }
|
|
||||||
.icon-play-circle { background-position: -192px -24px; }
|
|
||||||
.icon-repeat { background-position: -216px -24px; }
|
|
||||||
.icon-refresh { background-position: -240px -24px; }
|
|
||||||
.icon-list-alt { background-position: -264px -24px; }
|
|
||||||
.icon-lock { background-position: -287px -24px; } // 1px off
|
|
||||||
.icon-flag { background-position: -312px -24px; }
|
|
||||||
.icon-headphones { background-position: -336px -24px; }
|
|
||||||
.icon-volume-off { background-position: -360px -24px; }
|
|
||||||
.icon-volume-down { background-position: -384px -24px; }
|
|
||||||
.icon-volume-up { background-position: -408px -24px; }
|
|
||||||
.icon-qrcode { background-position: -432px -24px; }
|
|
||||||
.icon-barcode { background-position: -456px -24px; }
|
|
||||||
|
|
||||||
.icon-tag { background-position: 0 -48px; }
|
|
||||||
.icon-tags { background-position: -25px -48px; } // 1px off
|
|
||||||
.icon-book { background-position: -48px -48px; }
|
|
||||||
.icon-bookmark { background-position: -72px -48px; }
|
|
||||||
.icon-print { background-position: -96px -48px; }
|
|
||||||
.icon-camera { background-position: -120px -48px; }
|
|
||||||
.icon-font { background-position: -144px -48px; }
|
|
||||||
.icon-bold { background-position: -167px -48px; } // 1px off
|
|
||||||
.icon-italic { background-position: -192px -48px; }
|
|
||||||
.icon-text-height { background-position: -216px -48px; }
|
|
||||||
.icon-text-width { background-position: -240px -48px; }
|
|
||||||
.icon-align-left { background-position: -264px -48px; }
|
|
||||||
.icon-align-center { background-position: -288px -48px; }
|
|
||||||
.icon-align-right { background-position: -312px -48px; }
|
|
||||||
.icon-align-justify { background-position: -336px -48px; }
|
|
||||||
.icon-list { background-position: -360px -48px; }
|
|
||||||
.icon-indent-left { background-position: -384px -48px; }
|
|
||||||
.icon-indent-right { background-position: -408px -48px; }
|
|
||||||
.icon-facetime-video { background-position: -432px -48px; }
|
|
||||||
.icon-picture { background-position: -456px -48px; }
|
|
||||||
|
|
||||||
.icon-pencil { background-position: 0 -72px; }
|
|
||||||
.icon-map-marker { background-position: -24px -72px; }
|
|
||||||
.icon-adjust { background-position: -48px -72px; }
|
|
||||||
.icon-tint { background-position: -72px -72px; }
|
|
||||||
.icon-edit { background-position: -96px -72px; }
|
|
||||||
.icon-share { background-position: -120px -72px; }
|
|
||||||
.icon-check { background-position: -144px -72px; }
|
|
||||||
.icon-move { background-position: -168px -72px; }
|
|
||||||
.icon-step-backward { background-position: -192px -72px; }
|
|
||||||
.icon-fast-backward { background-position: -216px -72px; }
|
|
||||||
.icon-backward { background-position: -240px -72px; }
|
|
||||||
.icon-play { background-position: -264px -72px; }
|
|
||||||
.icon-pause { background-position: -288px -72px; }
|
|
||||||
.icon-stop { background-position: -312px -72px; }
|
|
||||||
.icon-forward { background-position: -336px -72px; }
|
|
||||||
.icon-fast-forward { background-position: -360px -72px; }
|
|
||||||
.icon-step-forward { background-position: -384px -72px; }
|
|
||||||
.icon-eject { background-position: -408px -72px; }
|
|
||||||
.icon-chevron-left { background-position: -432px -72px; }
|
|
||||||
.icon-chevron-right { background-position: -456px -72px; }
|
|
||||||
|
|
||||||
.icon-plus-sign { background-position: 0 -96px; }
|
|
||||||
.icon-minus-sign { background-position: -24px -96px; }
|
|
||||||
.icon-remove-sign { background-position: -48px -96px; }
|
|
||||||
.icon-ok-sign { background-position: -72px -96px; }
|
|
||||||
.icon-question-sign { background-position: -96px -96px; }
|
|
||||||
.icon-info-sign { background-position: -120px -96px; }
|
|
||||||
.icon-screenshot { background-position: -144px -96px; }
|
|
||||||
.icon-remove-circle { background-position: -168px -96px; }
|
|
||||||
.icon-ok-circle { background-position: -192px -96px; }
|
|
||||||
.icon-ban-circle { background-position: -216px -96px; }
|
|
||||||
.icon-arrow-left { background-position: -240px -96px; }
|
|
||||||
.icon-arrow-right { background-position: -264px -96px; }
|
|
||||||
.icon-arrow-up { background-position: -289px -96px; } // 1px off
|
|
||||||
.icon-arrow-down { background-position: -312px -96px; }
|
|
||||||
.icon-share-alt { background-position: -336px -96px; }
|
|
||||||
.icon-resize-full { background-position: -360px -96px; }
|
|
||||||
.icon-resize-small { background-position: -384px -96px; }
|
|
||||||
.icon-plus { background-position: -408px -96px; }
|
|
||||||
.icon-minus { background-position: -433px -96px; }
|
|
||||||
.icon-asterisk { background-position: -456px -96px; }
|
|
||||||
|
|
||||||
.icon-exclamation-sign { background-position: 0 -120px; }
|
|
||||||
.icon-gift { background-position: -24px -120px; }
|
|
||||||
.icon-leaf { background-position: -48px -120px; }
|
|
||||||
.icon-fire { background-position: -72px -120px; }
|
|
||||||
.icon-eye-open { background-position: -96px -120px; }
|
|
||||||
.icon-eye-close { background-position: -120px -120px; }
|
|
||||||
.icon-warning-sign { background-position: -144px -120px; }
|
|
||||||
.icon-plane { background-position: -168px -120px; }
|
|
||||||
.icon-calendar { background-position: -192px -120px; }
|
|
||||||
.icon-random { background-position: -216px -120px; width: 16px; }
|
|
||||||
.icon-comment { background-position: -240px -120px; }
|
|
||||||
.icon-magnet { background-position: -264px -120px; }
|
|
||||||
.icon-chevron-up { background-position: -288px -120px; }
|
|
||||||
.icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
|
|
||||||
.icon-retweet { background-position: -336px -120px; }
|
|
||||||
.icon-shopping-cart { background-position: -360px -120px; }
|
|
||||||
.icon-folder-close { background-position: -384px -120px; width: 16px; }
|
|
||||||
.icon-folder-open { background-position: -408px -120px; width: 16px; }
|
|
||||||
.icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
|
|
||||||
.icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
|
|
||||||
|
|
||||||
.icon-hdd { background-position: 0 -144px; }
|
|
||||||
.icon-bullhorn { background-position: -24px -144px; }
|
|
||||||
.icon-bell { background-position: -48px -144px; }
|
|
||||||
.icon-certificate { background-position: -72px -144px; }
|
|
||||||
.icon-thumbs-up { background-position: -96px -144px; }
|
|
||||||
.icon-thumbs-down { background-position: -120px -144px; }
|
|
||||||
.icon-hand-right { background-position: -144px -144px; }
|
|
||||||
.icon-hand-left { background-position: -168px -144px; }
|
|
||||||
.icon-hand-up { background-position: -192px -144px; }
|
|
||||||
.icon-hand-down { background-position: -216px -144px; }
|
|
||||||
.icon-circle-arrow-right { background-position: -240px -144px; }
|
|
||||||
.icon-circle-arrow-left { background-position: -264px -144px; }
|
|
||||||
.icon-circle-arrow-up { background-position: -288px -144px; }
|
|
||||||
.icon-circle-arrow-down { background-position: -312px -144px; }
|
|
||||||
.icon-globe { background-position: -336px -144px; }
|
|
||||||
.icon-wrench { background-position: -360px -144px; }
|
|
||||||
.icon-tasks { background-position: -384px -144px; }
|
|
||||||
.icon-filter { background-position: -408px -144px; }
|
|
||||||
.icon-briefcase { background-position: -432px -144px; }
|
|
||||||
.icon-fullscreen { background-position: -456px -144px; }
|
|
@ -3,242 +3,231 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// BASE TABLES
|
|
||||||
// -----------------
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
background-color: @tableBackground;
|
background-color: @table-bg;
|
||||||
border-collapse: collapse;
|
}
|
||||||
border-spacing: 0;
|
th {
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
// BASELINE STYLES
|
|
||||||
// ---------------
|
// Baseline styles
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
// Cells
|
// Cells
|
||||||
th,
|
> thead,
|
||||||
td {
|
> tbody,
|
||||||
padding: 8px;
|
> tfoot {
|
||||||
line-height: @baseLineHeight;
|
> tr {
|
||||||
text-align: left;
|
> th,
|
||||||
vertical-align: top;
|
> td {
|
||||||
border-top: 1px solid @tableBorder;
|
padding: @table-cell-padding;
|
||||||
}
|
line-height: @line-height-base;
|
||||||
th {
|
vertical-align: top;
|
||||||
font-weight: bold;
|
border-top: 1px solid @table-border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Bottom align for column headings
|
// Bottom align for column headings
|
||||||
thead th {
|
> thead > tr > th {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
border-bottom: 2px solid @table-border-color;
|
||||||
}
|
}
|
||||||
// Remove top border from thead by default
|
// Remove top border from thead by default
|
||||||
caption + thead tr:first-child th,
|
> caption + thead,
|
||||||
caption + thead tr:first-child td,
|
> colgroup + thead,
|
||||||
colgroup + thead tr:first-child th,
|
> thead:first-child {
|
||||||
colgroup + thead tr:first-child td,
|
> tr:first-child {
|
||||||
thead:first-child tr:first-child th,
|
> th,
|
||||||
thead:first-child tr:first-child td {
|
> td {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Account for multiple tbody instances
|
// Account for multiple tbody instances
|
||||||
tbody + tbody {
|
> tbody + tbody {
|
||||||
border-top: 2px solid @tableBorder;
|
border-top: 2px solid @table-border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nesting
|
// Nesting
|
||||||
.table {
|
.table {
|
||||||
background-color: @bodyBackground;
|
background-color: @body-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Condensed table w/ half padding
|
||||||
// CONDENSED TABLE W/ HALF PADDING
|
|
||||||
// -------------------------------
|
|
||||||
|
|
||||||
.table-condensed {
|
.table-condensed {
|
||||||
th,
|
> thead,
|
||||||
td {
|
> tbody,
|
||||||
padding: 4px 5px;
|
> tfoot {
|
||||||
|
> tr {
|
||||||
|
> th,
|
||||||
|
> td {
|
||||||
|
padding: @table-condensed-cell-padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// BORDERED VERSION
|
// Bordered version
|
||||||
// ----------------
|
//
|
||||||
|
// Add borders all around the table and between all the columns.
|
||||||
|
|
||||||
.table-bordered {
|
.table-bordered {
|
||||||
border: 1px solid @tableBorder;
|
border: 1px solid @table-border-color;
|
||||||
border-collapse: separate; // Done so we can round those corners!
|
> thead,
|
||||||
*border-collapse: collapse; // IE7 can't round corners anyway
|
> tbody,
|
||||||
border-left: 0;
|
> tfoot {
|
||||||
.border-radius(@baseBorderRadius);
|
> tr {
|
||||||
th,
|
> th,
|
||||||
td {
|
> td {
|
||||||
border-left: 1px solid @tableBorder;
|
border: 1px solid @table-border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Prevent a double border
|
> thead > tr {
|
||||||
caption + thead tr:first-child th,
|
> th,
|
||||||
caption + tbody tr:first-child th,
|
> td {
|
||||||
caption + tbody tr:first-child td,
|
border-bottom-width: 2px;
|
||||||
colgroup + thead tr:first-child th,
|
}
|
||||||
colgroup + tbody tr:first-child th,
|
|
||||||
colgroup + tbody tr:first-child td,
|
|
||||||
thead:first-child tr:first-child th,
|
|
||||||
tbody:first-child tr:first-child th,
|
|
||||||
tbody:first-child tr:first-child td {
|
|
||||||
border-top: 0;
|
|
||||||
}
|
}
|
||||||
// For first th/td in the first row in the first thead or tbody
|
|
||||||
thead:first-child tr:first-child > th:first-child,
|
|
||||||
tbody:first-child tr:first-child > td:first-child,
|
|
||||||
tbody:first-child tr:first-child > th:first-child {
|
|
||||||
.border-top-left-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
// For last th/td in the first row in the first thead or tbody
|
|
||||||
thead:first-child tr:first-child > th:last-child,
|
|
||||||
tbody:first-child tr:first-child > td:last-child,
|
|
||||||
tbody:first-child tr:first-child > th:last-child {
|
|
||||||
.border-top-right-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
// For first th/td (can be either) in the last row in the last thead, tbody, and tfoot
|
|
||||||
thead:last-child tr:last-child > th:first-child,
|
|
||||||
tbody:last-child tr:last-child > td:first-child,
|
|
||||||
tbody:last-child tr:last-child > th:first-child,
|
|
||||||
tfoot:last-child tr:last-child > td:first-child,
|
|
||||||
tfoot:last-child tr:last-child > th:first-child {
|
|
||||||
.border-bottom-left-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
// For last th/td (can be either) in the last row in the last thead, tbody, and tfoot
|
|
||||||
thead:last-child tr:last-child > th:last-child,
|
|
||||||
tbody:last-child tr:last-child > td:last-child,
|
|
||||||
tbody:last-child tr:last-child > th:last-child,
|
|
||||||
tfoot:last-child tr:last-child > td:last-child,
|
|
||||||
tfoot:last-child tr:last-child > th:last-child {
|
|
||||||
.border-bottom-right-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Clear border-radius for first and last td in the last row in the last tbody for table with tfoot
|
|
||||||
tfoot + tbody:last-child tr:last-child td:first-child {
|
|
||||||
.border-bottom-left-radius(0);
|
|
||||||
}
|
|
||||||
tfoot + tbody:last-child tr:last-child td:last-child {
|
|
||||||
.border-bottom-right-radius(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Special fixes to round the left border on the first td/th
|
|
||||||
caption + thead tr:first-child th:first-child,
|
|
||||||
caption + tbody tr:first-child td:first-child,
|
|
||||||
colgroup + thead tr:first-child th:first-child,
|
|
||||||
colgroup + tbody tr:first-child td:first-child {
|
|
||||||
.border-top-left-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
caption + thead tr:first-child th:last-child,
|
|
||||||
caption + tbody tr:first-child td:last-child,
|
|
||||||
colgroup + thead tr:first-child th:last-child,
|
|
||||||
colgroup + tbody tr:first-child td:last-child {
|
|
||||||
.border-top-right-radius(@baseBorderRadius);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Zebra-striping
|
||||||
|
//
|
||||||
// ZEBRA-STRIPING
|
|
||||||
// --------------
|
|
||||||
|
|
||||||
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
||||||
|
|
||||||
.table-striped {
|
.table-striped {
|
||||||
tbody {
|
> tbody > tr:nth-child(odd) {
|
||||||
> tr:nth-child(odd) > td,
|
> td,
|
||||||
> tr:nth-child(odd) > th {
|
> th {
|
||||||
background-color: @tableBackgroundAccent;
|
background-color: @table-bg-accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// HOVER EFFECT
|
// Hover effect
|
||||||
// ------------
|
//
|
||||||
// Placed here since it has to come after the potential zebra striping
|
// Placed here since it has to come after the potential zebra striping
|
||||||
|
|
||||||
.table-hover {
|
.table-hover {
|
||||||
tbody {
|
> tbody > tr:hover {
|
||||||
tr:hover > td,
|
> td,
|
||||||
tr:hover > th {
|
> th {
|
||||||
background-color: @tableBackgroundHover;
|
background-color: @table-bg-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TABLE CELL SIZING
|
// Table cell sizing
|
||||||
// -----------------
|
//
|
||||||
|
// Reset default table behavior
|
||||||
|
|
||||||
// Reset default grid behavior
|
table col[class*="col-"] {
|
||||||
table td[class*="span"],
|
position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
|
||||||
table th[class*="span"],
|
float: none;
|
||||||
.row-fluid table td[class*="span"],
|
display: table-column;
|
||||||
.row-fluid table th[class*="span"] {
|
|
||||||
display: table-cell;
|
|
||||||
float: none; // undo default grid column styles
|
|
||||||
margin-left: 0; // undo default grid column styles
|
|
||||||
}
|
}
|
||||||
|
table {
|
||||||
// Change the column widths to account for td/th padding
|
td,
|
||||||
.table td,
|
th {
|
||||||
.table th {
|
&[class*="col-"] {
|
||||||
&.span1 { .tableColumns(1); }
|
position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
|
||||||
&.span2 { .tableColumns(2); }
|
float: none;
|
||||||
&.span3 { .tableColumns(3); }
|
display: table-cell;
|
||||||
&.span4 { .tableColumns(4); }
|
}
|
||||||
&.span5 { .tableColumns(5); }
|
}
|
||||||
&.span6 { .tableColumns(6); }
|
|
||||||
&.span7 { .tableColumns(7); }
|
|
||||||
&.span8 { .tableColumns(8); }
|
|
||||||
&.span9 { .tableColumns(9); }
|
|
||||||
&.span10 { .tableColumns(10); }
|
|
||||||
&.span11 { .tableColumns(11); }
|
|
||||||
&.span12 { .tableColumns(12); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Table backgrounds
|
||||||
|
//
|
||||||
|
// Exact selectors below required to override `.table-striped` and prevent
|
||||||
|
// inheritance to nested tables.
|
||||||
|
|
||||||
// TABLE BACKGROUNDS
|
// Generate the contextual variants
|
||||||
// -----------------
|
.table-row-variant(active; @table-bg-active);
|
||||||
// Exact selectors below required to override .table-striped
|
.table-row-variant(success; @state-success-bg);
|
||||||
|
.table-row-variant(info; @state-info-bg);
|
||||||
|
.table-row-variant(warning; @state-warning-bg);
|
||||||
|
.table-row-variant(danger; @state-danger-bg);
|
||||||
|
|
||||||
.table tbody tr {
|
|
||||||
&.success > td {
|
// Responsive tables
|
||||||
background-color: @successBackground;
|
//
|
||||||
}
|
// Wrap your tables in `.table-responsive` and we'll make them mobile friendly
|
||||||
&.error > td {
|
// by enabling horizontal scrolling. Only applies <768px. Everything above that
|
||||||
background-color: @errorBackground;
|
// will display normally.
|
||||||
}
|
|
||||||
&.warning > td {
|
@media (max-width: @screen-xs-max) {
|
||||||
background-color: @warningBackground;
|
.table-responsive {
|
||||||
}
|
width: 100%;
|
||||||
&.info > td {
|
margin-bottom: (@line-height-computed * 0.75);
|
||||||
background-color: @infoBackground;
|
overflow-y: hidden;
|
||||||
}
|
overflow-x: scroll;
|
||||||
}
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||||
|
border: 1px solid @table-border-color;
|
||||||
// Hover states for .table-hover
|
-webkit-overflow-scrolling: touch;
|
||||||
.table-hover tbody tr {
|
|
||||||
&.success:hover > td {
|
// Tighten up spacing
|
||||||
background-color: darken(@successBackground, 5%);
|
> .table {
|
||||||
}
|
margin-bottom: 0;
|
||||||
&.error:hover > td {
|
|
||||||
background-color: darken(@errorBackground, 5%);
|
// Ensure the content doesn't wrap
|
||||||
}
|
> thead,
|
||||||
&.warning:hover > td {
|
> tbody,
|
||||||
background-color: darken(@warningBackground, 5%);
|
> tfoot {
|
||||||
}
|
> tr {
|
||||||
&.info:hover > td {
|
> th,
|
||||||
background-color: darken(@infoBackground, 5%);
|
> td {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Special overrides for the bordered tables
|
||||||
|
> .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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
247
src/UI/Content/Bootstrap/theme.less
Normal file
247
src/UI/Content/Bootstrap/theme.less
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
|
||||||
|
//
|
||||||
|
// Load core variables and mixins
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
@import "variables.less";
|
||||||
|
@import "mixins.less";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Buttons
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// Common styles
|
||||||
|
.btn-default,
|
||||||
|
.btn-primary,
|
||||||
|
.btn-success,
|
||||||
|
.btn-info,
|
||||||
|
.btn-warning,
|
||||||
|
.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);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
|
||||||
|
// Reset the shadow
|
||||||
|
&:active,
|
||||||
|
&.active {
|
||||||
|
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mixin for generating new styles
|
||||||
|
.btn-styles(@btn-color: #555) {
|
||||||
|
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
||||||
|
.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,
|
||||||
|
&.active {
|
||||||
|
background-color: darken(@btn-color, 12%);
|
||||||
|
border-color: darken(@btn-color, 14%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Common styles
|
||||||
|
.btn {
|
||||||
|
// Remove the gradient for the pressed/active state
|
||||||
|
&:active,
|
||||||
|
&.active {
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply the mixin to the buttons
|
||||||
|
.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
|
||||||
|
.btn-primary { .btn-styles(@btn-primary-bg); }
|
||||||
|
.btn-success { .btn-styles(@btn-success-bg); }
|
||||||
|
.btn-info { .btn-styles(@btn-info-bg); }
|
||||||
|
.btn-warning { .btn-styles(@btn-warning-bg); }
|
||||||
|
.btn-danger { .btn-styles(@btn-danger-bg); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Images
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.thumbnail,
|
||||||
|
.img-thumbnail {
|
||||||
|
.box-shadow(0 1px 2px rgba(0,0,0,.075));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Dropdowns
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.dropdown-menu > li > a:hover,
|
||||||
|
.dropdown-menu > li > a:focus {
|
||||||
|
#gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
|
||||||
|
background-color: darken(@dropdown-link-hover-bg, 5%);
|
||||||
|
}
|
||||||
|
.dropdown-menu > .active > a,
|
||||||
|
.dropdown-menu > .active > a:hover,
|
||||||
|
.dropdown-menu > .active > a:focus {
|
||||||
|
#gradient > .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
|
||||||
|
.navbar-default {
|
||||||
|
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
|
||||||
|
.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);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
|
||||||
|
.navbar-nav > .active > a {
|
||||||
|
#gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));
|
||||||
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.navbar-brand,
|
||||||
|
.navbar-nav > li > a {
|
||||||
|
text-shadow: 0 1px 0 rgba(255,255,255,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Inverted navbar
|
||||||
|
.navbar-inverse {
|
||||||
|
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
||||||
|
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
||||||
|
|
||||||
|
.navbar-nav > .active > a {
|
||||||
|
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));
|
||||||
|
.box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand,
|
||||||
|
.navbar-nav > li > a {
|
||||||
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Undo rounded corners in static and fixed navbars
|
||||||
|
.navbar-static-top,
|
||||||
|
.navbar-fixed-top,
|
||||||
|
.navbar-fixed-bottom {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Alerts
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// Common styles
|
||||||
|
.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);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mixin for generating new styles
|
||||||
|
.alert-styles(@color) {
|
||||||
|
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));
|
||||||
|
border-color: darken(@color, 15%);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply the mixin to the alerts
|
||||||
|
.alert-success { .alert-styles(@alert-success-bg); }
|
||||||
|
.alert-info { .alert-styles(@alert-info-bg); }
|
||||||
|
.alert-warning { .alert-styles(@alert-warning-bg); }
|
||||||
|
.alert-danger { .alert-styles(@alert-danger-bg); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Progress bars
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// Give the progress background some depth
|
||||||
|
.progress {
|
||||||
|
#gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mixin for generating new styles
|
||||||
|
.progress-bar-styles(@color) {
|
||||||
|
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply the mixin to the progress bars
|
||||||
|
.progress-bar { .progress-bar-styles(@progress-bar-bg); }
|
||||||
|
.progress-bar-success { .progress-bar-styles(@progress-bar-success-bg); }
|
||||||
|
.progress-bar-info { .progress-bar-styles(@progress-bar-info-bg); }
|
||||||
|
.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }
|
||||||
|
.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// List groups
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.list-group {
|
||||||
|
border-radius: @border-radius-base;
|
||||||
|
.box-shadow(0 1px 2px rgba(0,0,0,.075));
|
||||||
|
}
|
||||||
|
.list-group-item.active,
|
||||||
|
.list-group-item.active:hover,
|
||||||
|
.list-group-item.active:focus {
|
||||||
|
text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);
|
||||||
|
#gradient > .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
|
||||||
|
.panel {
|
||||||
|
.box-shadow(0 1px 2px rgba(0,0,0,.05));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mixin for generating new styles
|
||||||
|
.panel-heading-styles(@color) {
|
||||||
|
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Apply the mixin to the panel headings only
|
||||||
|
.panel-default > .panel-heading { .panel-heading-styles(@panel-default-heading-bg); }
|
||||||
|
.panel-primary > .panel-heading { .panel-heading-styles(@panel-primary-heading-bg); }
|
||||||
|
.panel-success > .panel-heading { .panel-heading-styles(@panel-success-heading-bg); }
|
||||||
|
.panel-info > .panel-heading { .panel-heading-styles(@panel-info-heading-bg); }
|
||||||
|
.panel-warning > .panel-heading { .panel-heading-styles(@panel-warning-heading-bg); }
|
||||||
|
.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Wells
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.well {
|
||||||
|
#gradient > .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);
|
||||||
|
.box-shadow(@shadow);
|
||||||
|
}
|
@ -3,51 +3,34 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
// Mixin and adjust the regular image class
|
||||||
|
|
||||||
// Make wrapper ul behave like the grid
|
|
||||||
.thumbnails {
|
|
||||||
margin-left: -@gridGutterWidth;
|
|
||||||
list-style: none;
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
||||||
// Fluid rows have no left margin
|
|
||||||
.row-fluid .thumbnails {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Float li to make thumbnails appear in a row
|
|
||||||
.thumbnails > li {
|
|
||||||
float: left; // Explicity set the float since we don't require .span* classes
|
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
margin-left: @gridGutterWidth;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The actual thumbnail (can be `a` or `div`)
|
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 4px;
|
padding: @thumbnail-padding;
|
||||||
line-height: @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
border: 1px solid #ddd;
|
line-height: @line-height-base;
|
||||||
.border-radius(@baseBorderRadius);
|
background-color: @thumbnail-bg;
|
||||||
.box-shadow(0 1px 3px rgba(0,0,0,.055));
|
border: 1px solid @thumbnail-border;
|
||||||
|
border-radius: @thumbnail-border-radius;
|
||||||
.transition(all .2s ease-in-out);
|
.transition(all .2s ease-in-out);
|
||||||
}
|
|
||||||
// Add a hover/focus state for linked versions only
|
|
||||||
a.thumbnail:hover,
|
|
||||||
a.thumbnail:focus {
|
|
||||||
border-color: @linkColor;
|
|
||||||
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Images and captions
|
> img,
|
||||||
.thumbnail > img {
|
a > img {
|
||||||
display: block;
|
&:extend(.img-responsive);
|
||||||
max-width: 100%;
|
margin-left: auto;
|
||||||
margin-left: auto;
|
margin-right: auto;
|
||||||
margin-right: auto;
|
}
|
||||||
}
|
|
||||||
.thumbnail .caption {
|
// Add a hover state for linked versions only
|
||||||
padding: 9px;
|
a&:hover,
|
||||||
color: @gray;
|
a&:focus,
|
||||||
|
a&.active {
|
||||||
|
border-color: @link-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Image captions
|
||||||
|
.caption {
|
||||||
|
padding: @thumbnail-caption-padding;
|
||||||
|
color: @thumbnail-caption-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,28 +6,29 @@
|
|||||||
// Base class
|
// Base class
|
||||||
.tooltip {
|
.tooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: @zindexTooltip;
|
z-index: @zindex-tooltip;
|
||||||
display: block;
|
display: block;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
font-size: 11px;
|
font-size: @font-size-small;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
.opacity(0);
|
.opacity(0);
|
||||||
&.in { .opacity(80); }
|
|
||||||
&.top { margin-top: -3px; padding: 5px 0; }
|
&.in { .opacity(@tooltip-opacity); }
|
||||||
&.right { margin-left: 3px; padding: 0 5px; }
|
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
|
||||||
&.bottom { margin-top: 3px; padding: 5px 0; }
|
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
|
||||||
&.left { margin-left: -3px; padding: 0 5px; }
|
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
|
||||||
|
&.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wrapper for the tooltip content
|
// Wrapper for the tooltip content
|
||||||
.tooltip-inner {
|
.tooltip-inner {
|
||||||
max-width: 200px;
|
max-width: @tooltip-max-width;
|
||||||
padding: 8px;
|
padding: 3px 8px;
|
||||||
color: @tooltipColor;
|
color: @tooltip-color;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: @tooltipBackground;
|
background-color: @tooltip-bg;
|
||||||
.border-radius(@baseBorderRadius);
|
border-radius: @border-radius-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Arrows
|
// Arrows
|
||||||
@ -42,29 +43,53 @@
|
|||||||
&.top .tooltip-arrow {
|
&.top .tooltip-arrow {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@tooltipArrowWidth;
|
margin-left: -@tooltip-arrow-width;
|
||||||
border-width: @tooltipArrowWidth @tooltipArrowWidth 0;
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
||||||
border-top-color: @tooltipArrowColor;
|
border-top-color: @tooltip-arrow-color;
|
||||||
|
}
|
||||||
|
&.top-left .tooltip-arrow {
|
||||||
|
bottom: 0;
|
||||||
|
left: @tooltip-arrow-width;
|
||||||
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
||||||
|
border-top-color: @tooltip-arrow-color;
|
||||||
|
}
|
||||||
|
&.top-right .tooltip-arrow {
|
||||||
|
bottom: 0;
|
||||||
|
right: @tooltip-arrow-width;
|
||||||
|
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
||||||
|
border-top-color: @tooltip-arrow-color;
|
||||||
}
|
}
|
||||||
&.right .tooltip-arrow {
|
&.right .tooltip-arrow {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-top: -@tooltipArrowWidth;
|
margin-top: -@tooltip-arrow-width;
|
||||||
border-width: @tooltipArrowWidth @tooltipArrowWidth @tooltipArrowWidth 0;
|
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
|
||||||
border-right-color: @tooltipArrowColor;
|
border-right-color: @tooltip-arrow-color;
|
||||||
}
|
}
|
||||||
&.left .tooltip-arrow {
|
&.left .tooltip-arrow {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin-top: -@tooltipArrowWidth;
|
margin-top: -@tooltip-arrow-width;
|
||||||
border-width: @tooltipArrowWidth 0 @tooltipArrowWidth @tooltipArrowWidth;
|
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
|
||||||
border-left-color: @tooltipArrowColor;
|
border-left-color: @tooltip-arrow-color;
|
||||||
}
|
}
|
||||||
&.bottom .tooltip-arrow {
|
&.bottom .tooltip-arrow {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -@tooltipArrowWidth;
|
margin-left: -@tooltip-arrow-width;
|
||||||
border-width: 0 @tooltipArrowWidth @tooltipArrowWidth;
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
||||||
border-bottom-color: @tooltipArrowColor;
|
border-bottom-color: @tooltip-arrow-color;
|
||||||
|
}
|
||||||
|
&.bottom-left .tooltip-arrow {
|
||||||
|
top: 0;
|
||||||
|
left: @tooltip-arrow-width;
|
||||||
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
||||||
|
border-bottom-color: @tooltip-arrow-color;
|
||||||
|
}
|
||||||
|
&.bottom-right .tooltip-arrow {
|
||||||
|
top: 0;
|
||||||
|
right: @tooltip-arrow-width;
|
||||||
|
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
||||||
|
border-bottom-color: @tooltip-arrow-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,17 +3,71 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Headings
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6,
|
||||||
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
||||||
|
font-family: @headings-font-family;
|
||||||
|
font-weight: @headings-font-weight;
|
||||||
|
line-height: @headings-line-height;
|
||||||
|
color: @headings-color;
|
||||||
|
|
||||||
|
small,
|
||||||
|
.small {
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1;
|
||||||
|
color: @headings-small-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, .h1,
|
||||||
|
h2, .h2,
|
||||||
|
h3, .h3 {
|
||||||
|
margin-top: @line-height-computed;
|
||||||
|
margin-bottom: (@line-height-computed / 2);
|
||||||
|
|
||||||
|
small,
|
||||||
|
.small {
|
||||||
|
font-size: 65%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
h4, .h4,
|
||||||
|
h5, .h5,
|
||||||
|
h6, .h6 {
|
||||||
|
margin-top: (@line-height-computed / 2);
|
||||||
|
margin-bottom: (@line-height-computed / 2);
|
||||||
|
|
||||||
|
small,
|
||||||
|
.small {
|
||||||
|
font-size: 75%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, .h1 { font-size: @font-size-h1; }
|
||||||
|
h2, .h2 { font-size: @font-size-h2; }
|
||||||
|
h3, .h3 { font-size: @font-size-h3; }
|
||||||
|
h4, .h4 { font-size: @font-size-h4; }
|
||||||
|
h5, .h5 { font-size: @font-size-h5; }
|
||||||
|
h6, .h6 { font-size: @font-size-h6; }
|
||||||
|
|
||||||
|
|
||||||
// Body text
|
// Body text
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 @baseLineHeight / 2;
|
margin: 0 0 (@line-height-computed / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.lead {
|
.lead {
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @line-height-computed;
|
||||||
font-size: @baseFontSize * 1.5;
|
font-size: floor((@font-size-base * 1.15));
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: @baseLineHeight * 1.5;
|
line-height: 1.4;
|
||||||
|
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
font-size: (@font-size-base * 1.5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -21,116 +75,100 @@ p {
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
// Ex: 14px base font * 85% = about 12px
|
// Ex: 14px base font * 85% = about 12px
|
||||||
small { font-size: 85%; }
|
small,
|
||||||
|
.small { font-size: 85%; }
|
||||||
|
|
||||||
strong { font-weight: bold; }
|
// Undo browser default styling
|
||||||
em { font-style: italic; }
|
|
||||||
cite { font-style: normal; }
|
cite { font-style: normal; }
|
||||||
|
|
||||||
// Utility classes
|
// Alignment
|
||||||
.muted { color: @grayLight; }
|
|
||||||
a.muted:hover,
|
|
||||||
a.muted:focus { color: darken(@grayLight, 10%); }
|
|
||||||
|
|
||||||
.text-warning { color: @warningText; }
|
|
||||||
a.text-warning:hover,
|
|
||||||
a.text-warning:focus { color: darken(@warningText, 10%); }
|
|
||||||
|
|
||||||
.text-error { color: @errorText; }
|
|
||||||
a.text-error:hover,
|
|
||||||
a.text-error:focus { color: darken(@errorText, 10%); }
|
|
||||||
|
|
||||||
.text-info { color: @infoText; }
|
|
||||||
a.text-info:hover,
|
|
||||||
a.text-info:focus { color: darken(@infoText, 10%); }
|
|
||||||
|
|
||||||
.text-success { color: @successText; }
|
|
||||||
a.text-success:hover,
|
|
||||||
a.text-success:focus { color: darken(@successText, 10%); }
|
|
||||||
|
|
||||||
.text-left { text-align: left; }
|
.text-left { text-align: left; }
|
||||||
.text-right { text-align: right; }
|
.text-right { text-align: right; }
|
||||||
.text-center { text-align: center; }
|
.text-center { text-align: center; }
|
||||||
|
.text-justify { text-align: justify; }
|
||||||
|
|
||||||
|
// Contextual colors
|
||||||
// Headings
|
.text-muted {
|
||||||
// -------------------------
|
color: @text-muted;
|
||||||
|
}
|
||||||
h1, h2, h3, h4, h5, h6 {
|
.text-primary {
|
||||||
margin: (@baseLineHeight / 2) 0;
|
.text-emphasis-variant(@brand-primary);
|
||||||
font-family: @headingsFontFamily;
|
}
|
||||||
font-weight: @headingsFontWeight;
|
.text-success {
|
||||||
line-height: @baseLineHeight;
|
.text-emphasis-variant(@state-success-text);
|
||||||
color: @headingsColor;
|
}
|
||||||
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
.text-info {
|
||||||
small {
|
.text-emphasis-variant(@state-info-text);
|
||||||
font-weight: normal;
|
}
|
||||||
line-height: 1;
|
.text-warning {
|
||||||
color: @grayLight;
|
.text-emphasis-variant(@state-warning-text);
|
||||||
}
|
}
|
||||||
|
.text-danger {
|
||||||
|
.text-emphasis-variant(@state-danger-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
// Contextual backgrounds
|
||||||
h2,
|
// For now we'll leave these alongside the text classes until v4 when we can
|
||||||
h3 { line-height: @baseLineHeight * 2; }
|
// safely shift things around (per SemVer rules).
|
||||||
|
.bg-primary {
|
||||||
h1 { font-size: @baseFontSize * 2.75; } // ~38px
|
// Given the contrast here, this is the only class to have its color inverted
|
||||||
h2 { font-size: @baseFontSize * 2.25; } // ~32px
|
// automatically.
|
||||||
h3 { font-size: @baseFontSize * 1.75; } // ~24px
|
color: #fff;
|
||||||
h4 { font-size: @baseFontSize * 1.25; } // ~18px
|
.bg-variant(@brand-primary);
|
||||||
h5 { font-size: @baseFontSize; }
|
}
|
||||||
h6 { font-size: @baseFontSize * 0.85; } // ~12px
|
.bg-success {
|
||||||
|
.bg-variant(@state-success-bg);
|
||||||
h1 small { font-size: @baseFontSize * 1.75; } // ~24px
|
}
|
||||||
h2 small { font-size: @baseFontSize * 1.25; } // ~18px
|
.bg-info {
|
||||||
h3 small { font-size: @baseFontSize; }
|
.bg-variant(@state-info-bg);
|
||||||
h4 small { font-size: @baseFontSize; }
|
}
|
||||||
|
.bg-warning {
|
||||||
|
.bg-variant(@state-warning-bg);
|
||||||
|
}
|
||||||
|
.bg-danger {
|
||||||
|
.bg-variant(@state-danger-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Page header
|
// Page header
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
padding-bottom: (@baseLineHeight / 2) - 1;
|
padding-bottom: ((@line-height-computed / 2) - 1);
|
||||||
margin: @baseLineHeight 0 (@baseLineHeight * 1.5);
|
margin: (@line-height-computed * 2) 0 @line-height-computed;
|
||||||
border-bottom: 1px solid @grayLighter;
|
border-bottom: 1px solid @page-header-border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Lists
|
// Lists
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Unordered and Ordered lists
|
// Unordered and Ordered lists
|
||||||
ul, ol {
|
ul,
|
||||||
padding: 0;
|
ol {
|
||||||
margin: 0 0 @baseLineHeight / 2 25px;
|
margin-top: 0;
|
||||||
}
|
margin-bottom: (@line-height-computed / 2);
|
||||||
ul ul,
|
ul,
|
||||||
ul ol,
|
ol {
|
||||||
ol ol,
|
margin-bottom: 0;
|
||||||
ol ul {
|
}
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
li {
|
|
||||||
line-height: @baseLineHeight;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove default list styles
|
// List options
|
||||||
ul.unstyled,
|
|
||||||
ol.unstyled {
|
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
||||||
margin-left: 0;
|
.list-unstyled {
|
||||||
|
padding-left: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Single-line list items
|
// Inline turns list items into inline-block
|
||||||
ul.inline,
|
.list-inline {
|
||||||
ol.inline {
|
.list-unstyled();
|
||||||
margin-left: 0;
|
margin-left: -5px;
|
||||||
list-style: none;
|
|
||||||
> li {
|
> li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
@ -138,101 +176,110 @@ ol.inline {
|
|||||||
|
|
||||||
// Description Lists
|
// Description Lists
|
||||||
dl {
|
dl {
|
||||||
margin-bottom: @baseLineHeight;
|
margin-top: 0; // Remove browser default
|
||||||
|
margin-bottom: @line-height-computed;
|
||||||
}
|
}
|
||||||
dt,
|
dt,
|
||||||
dd {
|
dd {
|
||||||
line-height: @baseLineHeight;
|
line-height: @line-height-base;
|
||||||
}
|
}
|
||||||
dt {
|
dt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
dd {
|
dd {
|
||||||
margin-left: @baseLineHeight / 2;
|
margin-left: 0; // Undo browser default
|
||||||
}
|
}
|
||||||
// Horizontal layout (like forms)
|
|
||||||
.dl-horizontal {
|
// Horizontal description lists
|
||||||
.clearfix(); // Ensure dl clears floats if empty dd elements present
|
//
|
||||||
dt {
|
// Defaults to being stacked without any of the below styles applied, until the
|
||||||
float: left;
|
// grid breakpoint is reached (default of ~768px).
|
||||||
width: @horizontalComponentOffset - 20;
|
|
||||||
clear: left;
|
@media (min-width: @grid-float-breakpoint) {
|
||||||
text-align: right;
|
.dl-horizontal {
|
||||||
.text-overflow();
|
dt {
|
||||||
}
|
float: left;
|
||||||
dd {
|
width: (@component-offset-horizontal - 20);
|
||||||
margin-left: @horizontalComponentOffset;
|
clear: left;
|
||||||
|
text-align: right;
|
||||||
|
.text-overflow();
|
||||||
|
}
|
||||||
|
dd {
|
||||||
|
margin-left: @component-offset-horizontal;
|
||||||
|
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MISC
|
// MISC
|
||||||
// ----
|
// ----
|
||||||
|
|
||||||
// Horizontal rules
|
|
||||||
hr {
|
|
||||||
margin: @baseLineHeight 0;
|
|
||||||
border: 0;
|
|
||||||
border-top: 1px solid @hrBorder;
|
|
||||||
border-bottom: 1px solid @white;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Abbreviations and acronyms
|
// Abbreviations and acronyms
|
||||||
abbr[title],
|
abbr[title],
|
||||||
// Added data-* attribute to help out our tooltip plugin, per https://github.com/twitter/bootstrap/issues/5257
|
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
||||||
abbr[data-original-title] {
|
abbr[data-original-title] {
|
||||||
cursor: help;
|
cursor: help;
|
||||||
border-bottom: 1px dotted @grayLight;
|
border-bottom: 1px dotted @abbr-border-color;
|
||||||
}
|
}
|
||||||
abbr.initialism {
|
.initialism {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blockquotes
|
// Blockquotes
|
||||||
blockquote {
|
blockquote {
|
||||||
padding: 0 0 0 15px;
|
padding: (@line-height-computed / 2) @line-height-computed;
|
||||||
margin: 0 0 @baseLineHeight;
|
margin: 0 0 @line-height-computed;
|
||||||
border-left: 5px solid @grayLighter;
|
font-size: @blockquote-font-size;
|
||||||
p {
|
border-left: 5px solid @blockquote-border-color;
|
||||||
margin-bottom: 0;
|
|
||||||
font-size: @baseFontSize * 1.25;
|
p,
|
||||||
font-weight: 300;
|
ul,
|
||||||
line-height: 1.25;
|
ol {
|
||||||
}
|
&:last-child {
|
||||||
small {
|
margin-bottom: 0;
|
||||||
display: block;
|
|
||||||
line-height: @baseLineHeight;
|
|
||||||
color: @grayLight;
|
|
||||||
&:before {
|
|
||||||
content: '\2014 \00A0';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Float right with text-align: right
|
// Note: Deprecated small and .small as of v3.1.0
|
||||||
&.pull-right {
|
// Context: https://github.com/twbs/bootstrap/issues/11660
|
||||||
float: right;
|
footer,
|
||||||
padding-right: 15px;
|
small,
|
||||||
padding-left: 0;
|
.small {
|
||||||
border-right: 5px solid @grayLighter;
|
display: block;
|
||||||
border-left: 0;
|
font-size: 80%; // back to default font-size
|
||||||
p,
|
line-height: @line-height-base;
|
||||||
small {
|
color: @blockquote-small-color;
|
||||||
text-align: right;
|
|
||||||
|
&:before {
|
||||||
|
content: '\2014 \00A0'; // em dash, nbsp
|
||||||
}
|
}
|
||||||
small {
|
}
|
||||||
&:before {
|
}
|
||||||
content: '';
|
|
||||||
}
|
// Opposite alignment of blockquote
|
||||||
&:after {
|
//
|
||||||
content: '\00A0 \2014';
|
// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
|
||||||
}
|
.blockquote-reverse,
|
||||||
|
blockquote.pull-right {
|
||||||
|
padding-right: 15px;
|
||||||
|
padding-left: 0;
|
||||||
|
border-right: 5px solid @blockquote-border-color;
|
||||||
|
border-left: 0;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
|
// Account for citation
|
||||||
|
footer,
|
||||||
|
small,
|
||||||
|
.small {
|
||||||
|
&:before { content: ''; }
|
||||||
|
&:after {
|
||||||
|
content: '\00A0 \2014'; // nbsp, em dash
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Quotes
|
// Quotes
|
||||||
q:before,
|
|
||||||
q:after,
|
|
||||||
blockquote:before,
|
blockquote:before,
|
||||||
blockquote:after {
|
blockquote:after {
|
||||||
content: "";
|
content: "";
|
||||||
@ -240,8 +287,7 @@ blockquote:after {
|
|||||||
|
|
||||||
// Addresses
|
// Addresses
|
||||||
address {
|
address {
|
||||||
display: block;
|
margin-bottom: @line-height-computed;
|
||||||
margin-bottom: @baseLineHeight;
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: @baseLineHeight;
|
line-height: @line-height-base;
|
||||||
}
|
}
|
||||||
|
@ -3,28 +3,54 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Quick floats
|
// Floats
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.clearfix {
|
||||||
|
.clearfix();
|
||||||
|
}
|
||||||
|
.center-block {
|
||||||
|
.center-block();
|
||||||
|
}
|
||||||
.pull-right {
|
.pull-right {
|
||||||
float: right;
|
float: right !important;
|
||||||
}
|
}
|
||||||
.pull-left {
|
.pull-left {
|
||||||
float: left;
|
float: left !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Toggling content
|
// Toggling content
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
||||||
.hide {
|
.hide {
|
||||||
display: none;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.show {
|
.show {
|
||||||
display: block;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Visibility
|
|
||||||
.invisible {
|
.invisible {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
.text-hide {
|
||||||
|
.text-hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Hide from screenreaders and browsers
|
||||||
|
//
|
||||||
|
// Credit: HTML5 Boilerplate
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// For Affix plugin
|
// For Affix plugin
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
.affix {
|
.affix {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -8,9 +8,9 @@
|
|||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
padding: 19px;
|
padding: 19px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
background-color: @wellBackground;
|
background-color: @well-bg;
|
||||||
border: 1px solid darken(@wellBackground, 7%);
|
border: 1px solid @well-border;
|
||||||
.border-radius(@baseBorderRadius);
|
border-radius: @border-radius-base;
|
||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
||||||
blockquote {
|
blockquote {
|
||||||
border-color: #ddd;
|
border-color: #ddd;
|
||||||
@ -19,11 +19,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sizes
|
// Sizes
|
||||||
.well-large {
|
.well-lg {
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
.border-radius(@borderRadiusLarge);
|
border-radius: @border-radius-large;
|
||||||
}
|
}
|
||||||
.well-small {
|
.well-sm {
|
||||||
padding: 9px;
|
padding: 9px;
|
||||||
.border-radius(@borderRadiusSmall);
|
border-radius: @border-radius-small;
|
||||||
}
|
}
|
||||||
|
4
src/UI/Content/FontAwesome/bootstrap.less
vendored
4
src/UI/Content/FontAwesome/bootstrap.less
vendored
@ -57,7 +57,7 @@
|
|||||||
&.icon-spin.icon-large { line-height: .8em; }
|
&.icon-spin.icon-large { line-height: .8em; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn.btn-small {
|
.btn.btn-sm {
|
||||||
[class^="icon-"],
|
[class^="icon-"],
|
||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
&.pull-left, &.pull-right {
|
&.pull-left, &.pull-right {
|
||||||
@ -65,7 +65,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn.btn-large {
|
.btn.btn-lg {
|
||||||
[class^="icon-"],
|
[class^="icon-"],
|
||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
margin-top: 0; // overrides bootstrap default
|
margin-top: 0; // overrides bootstrap default
|
||||||
|
23
src/UI/Content/Overrides/bootstrap.less
vendored
23
src/UI/Content/Overrides/bootstrap.less
vendored
@ -4,8 +4,8 @@
|
|||||||
cursor : default;
|
cursor : default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-append {
|
.input-group {
|
||||||
.add-on {
|
.input-group-addon {
|
||||||
margin-left : 0;
|
margin-left : 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -18,13 +18,28 @@
|
|||||||
|
|
||||||
text-transform : capitalize;
|
text-transform : capitalize;
|
||||||
min-width : 80px;
|
min-width : 80px;
|
||||||
|
padding : 4px 12px;
|
||||||
|
|
||||||
&.btn-mini {
|
&.btn-xs {
|
||||||
min-width : 0px;
|
min-width : 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-icon-only {
|
&.btn-icon-only {
|
||||||
min-width : 15px;
|
min-width : 41px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.btn-icon-only-xs {
|
||||||
|
@media (max-width: @screen-xs-max) {
|
||||||
|
min-width : 41px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
.responsive-invisibility();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
label, input {
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,22 +3,23 @@
|
|||||||
|
|
||||||
.toggle {
|
.toggle {
|
||||||
.slide-button {
|
.slide-button {
|
||||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
.button-variant(@btn-danger-color, @btn-danger-bg, @btn-danger-border);
|
||||||
|
|
||||||
&.btn-danger, &.btn-warning {
|
&.btn-danger, &.btn-warning {
|
||||||
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
//.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
||||||
|
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input:first-of-type:checked ~ .slide-button {
|
input:first-of-type:checked ~ .slide-button {
|
||||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
.button-variant(@btn-primary-color, @btn-primary-bg, @btn-primary-border);
|
||||||
|
|
||||||
&.btn-danger {
|
&.btn-danger {
|
||||||
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
.button-variant(@btn-danger-color, @btn-danger-bg, @btn-danger-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.btn-warning {
|
&.btn-warning {
|
||||||
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
|
.button-variant(@btn-warning-color, @btn-warning-bg, @btn-warning-border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
.buttonBackground(@btnBackground, @btnBackgroundHighlight);
|
.button-variant(@btn-default-color, @btn-default-bg, @btn-default-border);
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
input:first-of-type:checked ~ .btn-primary {
|
input:first-of-type:checked ~ .btn-primary {
|
||||||
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
.button-variant(@btn-primary-color, @btn-primary-bg, @btn-primary-border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@import "../Shared/Styles/clickable.less";
|
@import "../Shared/Styles/clickable.less";
|
||||||
|
|
||||||
.control-group {
|
.form-group {
|
||||||
.controls {
|
.controls {
|
||||||
i {
|
i {
|
||||||
font-size : 16px;
|
font-size : 16px;
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
.icon-nd-warning:before {
|
.icon-nd-warning:before {
|
||||||
.icon(@warning-sign);
|
.icon(@warning-sign);
|
||||||
color : @orange;
|
color : orange;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-edit:before {
|
.icon-nd-edit:before {
|
||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
.icon-nd-delete:before {
|
.icon-nd-delete:before {
|
||||||
.icon(@remove);
|
.icon(@remove);
|
||||||
color : @errorText;
|
color : @brand-danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-spinner:before {
|
.icon-nd-spinner:before {
|
||||||
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
.icon-nd-form-warning:before {
|
.icon-nd-form-warning:before {
|
||||||
.icon(@warning-sign);
|
.icon(@warning-sign);
|
||||||
color: @orange;
|
color: orange;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-form-danger:before {
|
.icon-nd-form-danger:before {
|
||||||
@ -165,12 +165,12 @@
|
|||||||
|
|
||||||
.icon-nd-download-failed:before {
|
.icon-nd-download-failed:before {
|
||||||
.icon(@cloud-download);
|
.icon(@cloud-download);
|
||||||
color: @errorText;
|
color: @brand-danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-shutdown:before {
|
.icon-nd-shutdown:before {
|
||||||
.icon(@off);
|
.icon(@off);
|
||||||
color: @errorText;
|
color: @brand-danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-restart:before {
|
.icon-nd-restart:before {
|
||||||
@ -179,10 +179,10 @@
|
|||||||
|
|
||||||
.icon-nd-health-warning:before {
|
.icon-nd-health-warning:before {
|
||||||
.icon(@exclamation-sign);
|
.icon(@exclamation-sign);
|
||||||
color : @orange
|
color : orange
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-health-error:before {
|
.icon-nd-health-error:before {
|
||||||
.icon(@exclamation-sign);
|
.icon(@exclamation-sign);
|
||||||
color : @errorText
|
color : @brand-danger;
|
||||||
}
|
}
|
@ -1,5 +1,7 @@
|
|||||||
@import "prefixer";
|
@import "prefixer";
|
||||||
|
|
||||||
|
@grid-float-breakpoint: @screen-xs-min;
|
||||||
|
|
||||||
#main-menu-region {
|
#main-menu-region {
|
||||||
text-align : center;
|
text-align : center;
|
||||||
margin-bottom : 10px;
|
margin-bottom : 10px;
|
||||||
@ -11,12 +13,49 @@
|
|||||||
i {
|
i {
|
||||||
width : 40px;
|
width : 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-nav, .navbar-nav>li {
|
||||||
|
float : none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand {
|
||||||
|
padding : 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin-top : 25px;
|
margin-top : 25px;
|
||||||
vertical-align : middle;
|
vertical-align : middle;
|
||||||
height : 70px;
|
height : 70px;
|
||||||
width : 70px;
|
width : 70px;
|
||||||
|
|
||||||
|
color: #ff0000;
|
||||||
|
&:after {
|
||||||
|
content: "unknown";
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-xs-min) {
|
||||||
|
&:after {
|
||||||
|
content: "xs";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
&:after {
|
||||||
|
content: "sm";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
&:after {
|
||||||
|
content: "md";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
&:after {
|
||||||
|
content: "lg";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@ -31,11 +70,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
display : block;
|
display : block;
|
||||||
border-radius : 6px;
|
|
||||||
padding : 15px 10px 5px;
|
@media (max-width: @screen-xs-max) {
|
||||||
min-height : 56px;
|
border-radius : 6px;
|
||||||
min-width : 64px;
|
padding : 15px 10px 5px;
|
||||||
margin : 20px 10px 5px;
|
min-height : 38px;
|
||||||
|
min-width : 42px;
|
||||||
|
margin : 20px 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
|
||||||
|
border-radius : 6px;
|
||||||
|
padding : 15px 10px 5px;
|
||||||
|
min-height : 76px;
|
||||||
|
min-width : 84px;
|
||||||
|
margin : 20px 0px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
border-radius : 6px;
|
||||||
|
padding : 15px 10px 5px;
|
||||||
|
min-height : 76px;
|
||||||
|
min-width : 84px;
|
||||||
|
margin : 20px 10px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
color : #b9b9b9;
|
color : #b9b9b9;
|
||||||
font-weight : 100;
|
font-weight : 100;
|
||||||
}
|
}
|
||||||
@ -60,7 +119,7 @@
|
|||||||
margin-bottom : 80px;
|
margin-bottom : 80px;
|
||||||
height : 150px;
|
height : 150px;
|
||||||
|
|
||||||
.span12 {
|
.col-md-12 {
|
||||||
margin-left : 0px;
|
margin-left : 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +140,7 @@
|
|||||||
.search {
|
.search {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
input, .add-on {
|
input, .input-group-addon {
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
border-color: #333333;
|
border-color: #333333;
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
|
@ -3,10 +3,13 @@
|
|||||||
@import "variables";
|
@import "variables";
|
||||||
|
|
||||||
.progress.episode-progress {
|
.progress.episode-progress {
|
||||||
width : 125px;
|
|
||||||
position : relative;
|
position : relative;
|
||||||
margin-bottom : 2px;
|
margin-bottom : 2px;
|
||||||
|
|
||||||
|
&, .progressbar-back-text, .progressbar-front-text {
|
||||||
|
width : 125px;
|
||||||
|
}
|
||||||
|
|
||||||
.progressbar-back-text, .progressbar-front-text {
|
.progressbar-back-text, .progressbar-front-text {
|
||||||
font-size : 11.844px;
|
font-size : 11.844px;
|
||||||
font-weight : bold;
|
font-weight : bold;
|
||||||
@ -16,13 +19,12 @@
|
|||||||
|
|
||||||
.progressbar-back-text {
|
.progressbar-back-text {
|
||||||
position : absolute;
|
position : absolute;
|
||||||
width : 100%;
|
|
||||||
height : 100%;
|
height : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.progressbar-front-text {
|
.progressbar-front-text {
|
||||||
display : block;
|
display : block;
|
||||||
width : 125px;
|
height : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bar {
|
.bar {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@import "prefixer";
|
@import "prefixer";
|
||||||
@import "Bootstrap/variables";
|
@import "Bootstrap/variables";
|
||||||
|
|
||||||
@colorDark : @grayDark;
|
@colorDark : @gray-dark;
|
||||||
@colorLight : @grayLighter;
|
@colorLight : @gray-lighter;
|
||||||
|
|
||||||
#followingBalls {
|
#followingBalls {
|
||||||
position : relative;
|
position : relative;
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
th {
|
th {
|
||||||
&.sortable {
|
&.sortable {
|
||||||
&:hover {
|
&:hover {
|
||||||
background : @tableBackgroundHover;
|
background : @table-bg-hover;
|
||||||
}
|
}
|
||||||
.clickable();
|
.clickable();
|
||||||
|
|
||||||
@ -146,8 +146,9 @@ body {
|
|||||||
|
|
||||||
.started #page {
|
.started #page {
|
||||||
.card(#aaaaaa);
|
.card(#aaaaaa);
|
||||||
width : 1210px;
|
/* width : 1210px;
|
||||||
min-width : 1210px;
|
min-width : 1210px; */
|
||||||
|
max-width : 1210px;
|
||||||
margin : auto;
|
margin : auto;
|
||||||
margin-top : -70px;
|
margin-top : -70px;
|
||||||
padding : 20px 0px;
|
padding : 20px 0px;
|
||||||
@ -170,19 +171,19 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.status-primary {
|
.status-primary {
|
||||||
color : @linkColor;
|
color : @link-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-success {
|
.status-success {
|
||||||
color : @successText;
|
color : @state-success-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-warning {
|
.status-warning {
|
||||||
color : @warningText;
|
color : @state-warning-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-danger {
|
.status-danger {
|
||||||
color : @errorText;
|
color : @state-danger-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-inline {
|
.form-inline {
|
||||||
@ -192,7 +193,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
.formFieldState(@errorText, @errorText, @errorBackground);
|
background: #FF0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#errors{
|
#errors{
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
@nzbdroneRed: #c4273c;
|
@nzbdroneRed: #c4273c;
|
||||||
|
@purple: #7a43b6;
|
||||||
@nzbdronePurple: #7932ea;
|
@nzbdronePurple: #7932ea;
|
||||||
@droneTeal: #35c5f4;
|
@droneTeal: #35c5f4;
|
@ -1,4 +1,4 @@
|
|||||||
<div class="search-buttons">
|
<div class="search-buttons">
|
||||||
<button class="btn btn-large btn-block x-search-auto"><i class="icon-rocket"/> Automatic Search</button>
|
<button class="btn btn-lg btn-block x-search-auto"><i class="icon-rocket"/> Automatic Search</button>
|
||||||
<button class="btn btn-large btn-block btn-primary x-search-manual"><i class="icon-user"/> Manual Search</button>
|
<button class="btn btn-lg btn-block btn-primary x-search-manual"><i class="icon-user"/> Manual Search</button>
|
||||||
</div>
|
</div>
|
@ -1,4 +1,4 @@
|
|||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">{{label}}</label>
|
<label class="control-label">{{label}}</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">{{label}}</label>
|
<label class="control-label">{{label}}</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">{{label}}</label>
|
<label class="control-label">{{label}}</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">{{label}}</label>
|
<label class="control-label">{{label}}</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">{{label}}</label>
|
<label class="control-label">{{label}}</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<div id="x-toolbar"/>
|
<div id="x-toolbar"/>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-blacklist"/>
|
<div id="x-blacklist"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-pager"/>
|
<div id="x-pager"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-queue"/>
|
<div id="x-queue"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-queue-pager"/>
|
<div id="x-queue-pager"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -1,11 +1,11 @@
|
|||||||
<div id="x-history-toolbar"/>
|
<div id="x-history-toolbar"/>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-history"/>
|
<div id="x-history"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-history-pager"/>
|
<div id="x-history-pager"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
3099
src/UI/JsLibraries/bootstrap.js
vendored
3099
src/UI/JsLibraries/bootstrap.js
vendored
File diff suppressed because it is too large
Load Diff
1716
src/UI/JsLibraries/typeahead.js
Normal file
1716
src/UI/JsLibraries/typeahead.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,9 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
define(
|
||||||
define(['jquery'],function ($) {
|
[
|
||||||
|
'jquery',
|
||||||
|
'typeahead'
|
||||||
|
], function ($) {
|
||||||
|
|
||||||
$.fn.autoComplete = function (resource) {
|
$.fn.autoComplete = function (resource) {
|
||||||
$(this).typeahead({
|
$(this).typeahead({
|
||||||
|
@ -1,74 +1,81 @@
|
|||||||
<div class="container">
|
<div class="navbar navbar-nzbdrone" role="navigation">
|
||||||
<div class="row">
|
<div class="container-fluid">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<ul id="main-menu-region">
|
<div id="main-menu-region">
|
||||||
<div class="pull-left logo">
|
<div class="navbar-header logo">
|
||||||
<a href="{{UrlBase}}/">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse" />
|
||||||
|
<a class="navbar-brand" href="{{UrlBase}} /">
|
||||||
<img src="{{UrlBase}}/Content/Images/logo.png?v=2" alt="NzbDrone">
|
<img src="{{UrlBase}}/Content/Images/logo.png?v=2" alt="NzbDrone">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<li>
|
<div class="collapse navbar-collapse">
|
||||||
<a href="{{UrlBase}}/">
|
<ul class="nav navbar-nav">
|
||||||
<i class="icon-play"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/">
|
||||||
Series
|
<i class="icon-play"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
Series
|
||||||
<li>
|
</a>
|
||||||
<a href="{{UrlBase}}/calendar">
|
</li>
|
||||||
<i class="icon-calendar"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/calendar">
|
||||||
Calendar
|
<i class="icon-calendar"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
Calendar
|
||||||
<li>
|
</a>
|
||||||
<a href="{{UrlBase}}/history">
|
</li>
|
||||||
<i class="icon-time"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/history">
|
||||||
History
|
<i class="icon-time"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
History
|
||||||
<li>
|
</a>
|
||||||
<a href="{{UrlBase}}/wanted">
|
</li>
|
||||||
<i class="icon-warning-sign"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/wanted">
|
||||||
Wanted
|
<i class="icon-warning-sign"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
Wanted
|
||||||
<li>
|
</a>
|
||||||
<a href="{{UrlBase}}/settings">
|
</li>
|
||||||
<i class="icon-cogs"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/settings">
|
||||||
Settings
|
<i class="icon-cogs"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
Settings
|
||||||
<li>
|
</a>
|
||||||
<a href="{{UrlBase}}/system">
|
</li>
|
||||||
<i class="icon-laptop"></i>
|
<li>
|
||||||
<br>
|
<a href="{{UrlBase}}/system">
|
||||||
System
|
<i class="icon-laptop"></i>
|
||||||
<span id="x-health"></span>
|
<br>
|
||||||
</a>
|
System
|
||||||
</li>
|
<span id="x-health"></span>
|
||||||
<li>
|
</a>
|
||||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HGGGM7JT5YVSS" target="_blank">
|
</li>
|
||||||
<i class="icon-nd-donate"></i>
|
<li>
|
||||||
<br>
|
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HGGGM7JT5YVSS" target="_blank">
|
||||||
Donate
|
<i class="icon-nd-donate"></i>
|
||||||
</a>
|
<br>
|
||||||
</li>
|
Donate
|
||||||
</ul>
|
</a>
|
||||||
</div>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="span12">
|
|
||||||
<div class="search">
|
|
||||||
<div class="input-prepend">
|
|
||||||
<span class="add-on"><i class="icon-search"></i></span>
|
|
||||||
<input class="span4 x-series-search" id="prependedInput" type="text">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="searchbar">
|
||||||
|
<!--
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="search">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon"><i class="icon-search"></i></span>
|
||||||
|
<input class="col-md-4 x-series-search" id="prependedInput" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>-->
|
||||||
|
</div>
|
||||||
|
@ -3,7 +3,8 @@ define(
|
|||||||
[
|
[
|
||||||
'backbone',
|
'backbone',
|
||||||
'jquery',
|
'jquery',
|
||||||
'Series/SeriesCollection'
|
'Series/SeriesCollection',
|
||||||
|
'typeahead'
|
||||||
], function (Backbone, $, SeriesCollection) {
|
], function (Backbone, $, SeriesCollection) {
|
||||||
$(document).on('keydown', function (e) {
|
$(document).on('keydown', function (e) {
|
||||||
if ($(e.target).is('input') || $(e.target).is('textarea')) {
|
if ($(e.target).is('input') || $(e.target).is('textarea')) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<select class="span2 x-quality-profile">
|
<select class="col-md-2 x-quality-profile">
|
||||||
{{#each this}}
|
{{#each this}}
|
||||||
<option value="{{id}}">{{name}}</option>
|
<option value="{{id}}">{{name}}</option>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div id="x-toolbar"/>
|
<div id="x-toolbar"/>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-grid"/>
|
<div id="x-grid"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
<div class="col-md-9">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span9 file-path"><i class="icon-nd-existing" title="Existing path" /> {{existingPath}}</div>
|
<div class="col-md-9 file-path"><i class="icon-nd-existing" title="Existing path" /> {{existingPath}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span9 file-path"><i class="icon-nd-suggested" title="Suggested path" /> {{newPath}}</div>
|
<div class="col-md-9 file-path"><i class="icon-nd-suggested" title="Suggested path" /> {{newPath}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
|
|
||||||
.icon-nd-existing:before {
|
.icon-nd-existing:before {
|
||||||
.icon(@minus);
|
.icon(@minus);
|
||||||
color : @errorText;
|
color : @brand-danger;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-nd-suggested:before {
|
.icon-nd-suggested:before {
|
||||||
.icon(@plus);
|
.icon(@plus);
|
||||||
color : @successText;
|
color : @brand-success;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rename-checkbox {
|
.rename-checkbox {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-info">Season Pass allows you to quickly change the monitored status of seasons for all your series in one place</div>
|
<div class="alert alert-info">Season Pass allows you to quickly change the monitored status of seasons for all your series in one place</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-series"></div>
|
<div id="x-series"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -1,15 +1,15 @@
|
|||||||
<div class="seasonpass-series">
|
<div class="seasonpass-series">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<i class="icon-chevron-right x-expander expander pull-left"/>
|
<i class="icon-chevron-right x-expander expander pull-left"/>
|
||||||
<i class="x-series-monitored series-monitor-toggle pull-left" title="Toggle monitored state for entire series"/>
|
<i class="x-series-monitored series-monitor-toggle pull-left" title="Toggle monitored state for entire series"/>
|
||||||
<span class="title span5">
|
<span class="title col-md-5">
|
||||||
<a href="{{route}}">
|
<a href="{{route}}">
|
||||||
{{title}}
|
{{title}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="span3">
|
<span class="col-md-3">
|
||||||
<select class="x-season-select season-select">
|
<select class="x-season-select season-select">
|
||||||
<option value="-1">Select season...</option>
|
<option value="-1">Select season...</option>
|
||||||
{{#each seasons}}
|
{{#each seasons}}
|
||||||
@ -37,7 +37,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span11">
|
<div class="col-md-11">
|
||||||
<div class="x-season-grid season-grid">
|
<div class="x-season-grid season-grid">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
<div class="modal-body delete-series-modal">
|
<div class="modal-body delete-series-modal">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
||||||
</div>
|
</div>
|
||||||
<div class="span7">
|
<div class="col-md-7">
|
||||||
<div class="form-horizontal">
|
<div class="form-horizontal">
|
||||||
<h3 class="path">{{path}}</h3>
|
<h3 class="path">{{path}}</h3>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">Delete all files</label>
|
<label class="control-label">Delete all files</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="row series-page-header">
|
<div class="row series-page-header">
|
||||||
<div class="span11">
|
<div class="col-md-11">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h1>
|
<h1>
|
||||||
<i class="x-monitored" title="Toggle monitored state for entire series"/>
|
<i class="x-monitored" title="Toggle monitored state for entire series"/>
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body edit-series-modal">
|
<div class="modal-body edit-series-modal">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<img class="series-poster" src="{{poster}}"
|
<img class="series-poster" src="{{poster}}"
|
||||||
{{defaultImg}}>
|
{{defaultImg}}>
|
||||||
</div>
|
</div>
|
||||||
<div class="span7">
|
<div class="col-md-7">
|
||||||
<div class="form-horizontal">
|
<div class="form-horizontal">
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">Monitored</label>
|
<label class="control-label">Monitored</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label">Use Season Folder</label>
|
<label class="control-label">Use Season Folder</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
@ -51,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="inputQualityProfile">Quality Profile</label>
|
<label class="control-label" for="inputQualityProfile">Quality Profile</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
@ -67,7 +67,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="inputPath">Path</label>
|
<label class="control-label" for="inputPath">Path</label>
|
||||||
|
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
<div class="series-editor-footer">
|
<div class="series-editor-footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">Monitored</div>
|
<div class="col-md-2">Monitored</div>
|
||||||
<div class="span2">Quality Profile</div>
|
<div class="col-md-2">Quality Profile</div>
|
||||||
<div class="span2">Season Folder</div>
|
<div class="col-md-2">Season Folder</div>
|
||||||
<div class="span4">Root Folder</div>
|
<div class="col-md-4">Root Folder</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<select class="span2 x-monitored">
|
<select class="col-md-2 x-monitored">
|
||||||
<option value="noChange">No change</option>
|
<option value="noChange">No change</option>
|
||||||
<option value="true">Monitored</option>
|
<option value="true">Monitored</option>
|
||||||
<option value="false">Unmonitored</option>
|
<option value="false">Unmonitored</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<select class="span2 x-quality-profiles">
|
<select class="col-md-2 x-quality-profiles">
|
||||||
<option value="noChange">No change</option>
|
<option value="noChange">No change</option>
|
||||||
{{#each qualityProfiles.models}}
|
{{#each qualityProfiles.models}}
|
||||||
<option value="{{id}}">{{attributes.name}}</option>
|
<option value="{{id}}">{{attributes.name}}</option>
|
||||||
@ -24,16 +24,16 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span2">
|
<div class="col-md-2">
|
||||||
<select class="span2 x-season-folder">
|
<select class="col-md-2 x-season-folder">
|
||||||
<option value="noChange">No change</option>
|
<option value="noChange">No change</option>
|
||||||
<option value="true">Yes</option>
|
<option value="true">Yes</option>
|
||||||
<option value="false">No</option>
|
<option value="false">No</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span3">
|
<div class="col-md-3">
|
||||||
<select class="span3 x-root-folder" validation-name="RootFolderPath">
|
<select class="col-md-3 x-root-folder" validation-name="RootFolderPath">
|
||||||
<option value="noChange">No change</option>
|
<option value="noChange">No change</option>
|
||||||
{{#each rootFolders}}
|
{{#each rootFolders}}
|
||||||
<option value="{{id}}">{{path}}</option>
|
<option value="{{id}}">{{path}}</option>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<div id="x-toolbar"></div>
|
<div id="x-toolbar"></div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="col-md-12">
|
||||||
<div id="x-series-editor" class="series-"></div>
|
<div id="x-series-editor" class="series-"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -1,11 +1,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="well span11">
|
<div class="well col-md-11">
|
||||||
<i class="icon-comment"/>
|
<i class="icon-comment"/>
|
||||||
You must be new around here, You should add some series.
|
You must be new around here, You should add some series.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row span3 offset4">
|
<div class="row col-md-3 offset4">
|
||||||
<a href="/addseries" class='btn btn-large btn-block btn-success x-add-series'>
|
<a href="/addseries" class='btn btn-lg btn-block btn-success x-add-series'>
|
||||||
<i class='icon-nd-add'></i>
|
<i class='icon-nd-add'></i>
|
||||||
Add Series
|
Add Series
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,42 +1,45 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="series-legend legend span3">
|
<div class="series-legend legend col-xs-6 col-sm-4">
|
||||||
<ul class='legend-labels'>
|
<ul class='legend-labels'>
|
||||||
<li><span class="progress-primary"></span>Continuing (All Episodes downloaded)</li>
|
<li><span class="progress-primary"></span>Continuing (All Episodes downloaded)</li>
|
||||||
<li><span class="progress-success"></span>Ended (All Episodes downloaded)</li>
|
<li><span class="progress-success"></span>Ended (All Episodes downloaded)</li>
|
||||||
<li><span class="progress-danger"></span>Missing Episodes</li>
|
<li><span class="progress-danger"></span>Missing Episodes</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-xs-5 col-sm-7">
|
||||||
|
<div class="row">
|
||||||
|
<div class="series-stats col-sm-4">
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
<dt>Series</dt>
|
||||||
|
<dd>{{series}}</dd>
|
||||||
|
|
||||||
<div class="series-stats span2">
|
<dt>Ended</dt>
|
||||||
<dl class="dl-horizontal">
|
<dd>{{ended}}</dd>
|
||||||
<dt>Series</dt>
|
|
||||||
<dd>{{series}}</dd>
|
|
||||||
|
|
||||||
<dt>Ended</dt>
|
<dt>Continuing</dt>
|
||||||
<dd>{{ended}}</dd>
|
<dd>{{continuing}}</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
<dt>Continuing</dt>
|
<div class="series-stats col-sm-4">
|
||||||
<dd>{{continuing}}</dd>
|
<dl class="dl-horizontal">
|
||||||
</dl>
|
<dt>Monitored</dt>
|
||||||
</div>
|
<dd>{{monitored}}</dd>
|
||||||
|
|
||||||
<div class="series-stats span2">
|
<dt>Unmonitored</dt>
|
||||||
<dl class="dl-horizontal">
|
<dd>{{unmonitored}}</dd>
|
||||||
<dt>Monitored</dt>
|
</dl>
|
||||||
<dd>{{monitored}}</dd>
|
</div>
|
||||||
|
|
||||||
<dt>Unmonitored</dt>
|
<div class="series-stats col-sm-4">
|
||||||
<dd>{{unmonitored}}</dd>
|
<dl class="dl-horizontal">
|
||||||
</dl>
|
<dt>Episodes</dt>
|
||||||
</div>
|
<dd>{{episodes}}</dd>
|
||||||
|
|
||||||
<div class="series-stats span2">
|
<dt>Files</dt>
|
||||||
<dl class="dl-horizontal">
|
<dd>{{episodeFiles}}</dd>
|
||||||
<dt>Episodes</dt>
|
</dl>
|
||||||
<dd>{{episodes}}</dd>
|
</div>
|
||||||
|
</div>
|
||||||
<dt>Files</dt>
|
|
||||||
<dd>{{episodeFiles}}</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1 @@
|
|||||||
<div class="row">
|
<div id="x-series-list"/>
|
||||||
<div class="span12">
|
|
||||||
<div id="x-series-list"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<div class="series-item">
|
<div class="series-item">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span2">
|
<div class="col-xs-2">
|
||||||
<a href="{{route}}">
|
<a href="{{route}}">
|
||||||
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="span10">
|
<div class="col-xs-10">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span9">
|
<div class="col-xs-10">
|
||||||
<a href="{{route}}" target="_blank">
|
<a href="{{route}}" target="_blank">
|
||||||
<h2>{{title}}</h2>
|
<h2>{{title}}</h2>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="span1">
|
<div class="col-xs-2">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<i class="icon-cog x-edit" title="Edit Series"/>
|
<i class="icon-cog x-edit" title="Edit Series"/>
|
||||||
<i class="icon-remove x-remove" title="Delete Series"/>
|
<i class="icon-remove x-remove" title="Delete Series"/>
|
||||||
@ -20,15 +20,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<a href="{{route}}">
|
<div class="col-xs-12">
|
||||||
<div class="span10">
|
<a href="{{route}}">
|
||||||
{{overview}}
|
<div>
|
||||||
</div>
|
{{overview}}
|
||||||
</a>
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row"> </div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span8">
|
<div class="col-xs-12">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-10">
|
||||||
{{#if_eq status compare="continuing"}}
|
{{#if_eq status compare="continuing"}}
|
||||||
{{#if nextAiring}}
|
{{#if nextAiring}}
|
||||||
<span class="label">{{NextAiring nextAiring}}</span>
|
<span class="label">{{NextAiring nextAiring}}</span>
|
||||||
@ -41,7 +47,7 @@
|
|||||||
|
|
||||||
{{qualityProfile qualityProfileId}}
|
{{qualityProfile qualityProfileId}}
|
||||||
</div>
|
</div>
|
||||||
<div class="span2">
|
<div class="col-xs-2">
|
||||||
{{> EpisodeProgressPartial }}
|
{{> EpisodeProgressPartial }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1 @@
|
|||||||
<div class="row">
|
<ul id="x-series-posters" class="series-posters"></ul>
|
||||||
<div class="span12">
|
|
||||||
<ul id="x-series-posters" class="series-posters"></ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,32 +1,28 @@
|
|||||||
<div class="series-posters-item">
|
<div class="series-posters-item">
|
||||||
<div class="row">
|
<div class="center">
|
||||||
<div class="span2">
|
<div class="series-poster-container x-series-poster">
|
||||||
<div class="center">
|
<div class="series-controls">
|
||||||
<div class="series-poster-container x-series-poster">
|
<i class="icon-cog x-edit" title="Edit Series"/>
|
||||||
<div class="series-controls">
|
<i class="icon-remove x-remove" title="Delete Series"/>
|
||||||
<i class="icon-cog x-edit" title="Edit Series"/>
|
|
||||||
<i class="icon-remove x-remove" title="Delete Series"/>
|
|
||||||
</div>
|
|
||||||
{{#unless_eq status compare="continuing"}}
|
|
||||||
<div class="ended-banner">Ended</div>
|
|
||||||
{{/unless_eq}}
|
|
||||||
<a href="{{route}}">
|
|
||||||
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
|
||||||
<div class="center title">{{title}}</div>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
{{#unless_eq status compare="continuing"}}
|
||||||
|
<div class="ended-banner">Ended</div>
|
||||||
|
{{/unless_eq}}
|
||||||
|
<a href="{{route}}">
|
||||||
|
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
|
||||||
|
<div class="center title">{{title}}</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<div class="labels">
|
<div class="labels">
|
||||||
{{#if_eq status compare="continuing"}}
|
{{#if_eq status compare="continuing"}}
|
||||||
{{#if nextAiring}}
|
{{#if nextAiring}}
|
||||||
<span class="label label-inverse">{{NextAiring nextAiring}}</span>
|
<span class="label label-inverse">{{NextAiring nextAiring}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if_eq}}
|
{{/if_eq}}
|
||||||
{{> EpisodeProgressPartial }}
|
{{> EpisodeProgressPartial }}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user