code
stringlengths 3
1.05M
| repo_name
stringlengths 4
116
| path
stringlengths 3
942
| language
stringclasses 30
values | license
stringclasses 15
values | size
int32 3
1.05M
|
---|---|---|---|---|---|
#pragma checksum "C:\xampp\htdocs\C#\ArcherSysOS\ArcherSysOS.ArcherVM.Windows\ArcherSysOS.ArcherVM.Windows\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "12EBDECC509622D8E8230921F1160309"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ArcherSysOS.ArcherVM.Windows
{
partial class MainPage : global::Windows.UI.Xaml.Controls.Page
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
private global::Windows.UI.Xaml.Controls.Page MainPage1;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
private global::Windows.UI.Xaml.Controls.GridView gridView;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
private global::Windows.UI.Xaml.Controls.Button button;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
private global::Windows.UI.Xaml.Controls.Button button1;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
private bool _contentLoaded;
/// <summary>
/// InitializeComponent()
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 14.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent()
{
if (_contentLoaded)
return;
_contentLoaded = true;
global::System.Uri resourceLocator = new global::System.Uri("ms-appx:///MainPage.xaml");
global::Windows.UI.Xaml.Application.LoadComponent(this, resourceLocator, global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
}
}
}
|
ArcherSys/ArcherSys
|
C#/ArcherSysOS/ArcherSysOS.ArcherVM.Windows/ArcherSysOS.ArcherVM.Windows/obj/x86/Release/MainPage.g.i.cs
|
C#
|
mit
| 2,270 |
// Author: Daniele Giardini - http://www.demigiant.com
// Created: 2014/06/30 19:20
// License Copyright (c) Daniele Giardini.
// This work is subject to the terms at http://dotween.demigiant.com/license.php
#pragma warning disable 1591
namespace DG.Tweening
{
public enum Ease
{
Unset, // Used to let TweenParams know that the ease was not set and apply it differently if used on Tweeners or Sequences
Linear,
InSine,
OutSine,
InOutSine,
InQuad,
OutQuad,
InOutQuad,
InCubic,
OutCubic,
InOutCubic,
InQuart,
OutQuart,
InOutQuart,
InQuint,
OutQuint,
InOutQuint,
InExpo,
OutExpo,
InOutExpo,
InCirc,
OutCirc,
InOutCirc,
InElastic,
OutElastic,
InOutElastic,
InBack,
OutBack,
InOutBack,
InBounce,
OutBounce,
InOutBounce,
// Extra custom eases
Flash, InFlash, OutFlash, InOutFlash,
/// <summary>
/// Don't assign this! It's assigned automatically when creating 0 duration tweens
/// </summary>
INTERNAL_Zero,
/// <summary>
/// Don't assign this! It's assigned automatically when setting the ease to an AnimationCurve or to a custom ease function
/// </summary>
INTERNAL_Custom
}
}
|
winddyhe/knight
|
knight-client/Packages/Knight-Lib/Knight.Framework.Tweening/Runtime/DOTween/Ease.cs
|
C#
|
mit
| 1,425 |
// csatr_friendship.t.cpp -*-C++-*-
#include "csatr_friendship.t.hpp"
#include <bdes_ident.h>
// ----------------------------------------------------------------------------
// Copyright (C) 2014 Bloomberg Finance L.P.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
// ----------------------------- END-OF-FILE ----------------------------------
|
seanlth/bde_verify
|
checks/csatr/local-friendship-only/csatr_friendship.t.cpp
|
C++
|
mit
| 1,421 |
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
a {
background-color: transparent;
}
a:active,
a:hover {
outline: 0;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
mark {
background: #ff0;
color: #000;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 1em 40px;
}
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
pre {
overflow: auto;
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input {
line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
}
optgroup {
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
select {
background: #fff !important;
}
.navbar {
display: none;
}
.btn > .caret,
.dropup > .btn > .caret {
border-top-color: #000 !important;
}
.label {
border: 1px solid #000;
}
.table {
border-collapse: collapse !important;
}
.table td,
.table th {
background-color: #fff !important;
}
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd !important;
}
}
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.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;
}
.glyphicon-asterisk:before {
content: "\2a";
}
.glyphicon-plus:before {
content: "\2b";
}
.glyphicon-euro:before,
.glyphicon-eur: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";
}
.glyphicon-cd:before {
content: "\e201";
}
.glyphicon-save-file:before {
content: "\e202";
}
.glyphicon-open-file:before {
content: "\e203";
}
.glyphicon-level-up:before {
content: "\e204";
}
.glyphicon-copy:before {
content: "\e205";
}
.glyphicon-paste:before {
content: "\e206";
}
.glyphicon-alert:before {
content: "\e209";
}
.glyphicon-equalizer:before {
content: "\e210";
}
.glyphicon-king:before {
content: "\e211";
}
.glyphicon-queen:before {
content: "\e212";
}
.glyphicon-pawn:before {
content: "\e213";
}
.glyphicon-bishop:before {
content: "\e214";
}
.glyphicon-knight:before {
content: "\e215";
}
.glyphicon-baby-formula:before {
content: "\e216";
}
.glyphicon-tent:before {
content: "\26fa";
}
.glyphicon-blackboard:before {
content: "\e218";
}
.glyphicon-bed:before {
content: "\e219";
}
.glyphicon-apple:before {
content: "\f8ff";
}
.glyphicon-erase:before {
content: "\e221";
}
.glyphicon-hourglass:before {
content: "\231b";
}
.glyphicon-lamp:before {
content: "\e223";
}
.glyphicon-duplicate:before {
content: "\e224";
}
.glyphicon-piggy-bank:before {
content: "\e225";
}
.glyphicon-scissors:before {
content: "\e226";
}
.glyphicon-bitcoin:before {
content: "\e227";
}
.glyphicon-btc:before {
content: "\e227";
}
.glyphicon-xbt:before {
content: "\e227";
}
.glyphicon-yen:before {
content: "\00a5";
}
.glyphicon-jpy:before {
content: "\00a5";
}
.glyphicon-ruble:before {
content: "\20bd";
}
.glyphicon-rub:before {
content: "\20bd";
}
.glyphicon-scale:before {
content: "\e230";
}
.glyphicon-ice-lolly:before {
content: "\e231";
}
.glyphicon-ice-lolly-tasted:before {
content: "\e232";
}
.glyphicon-education:before {
content: "\e233";
}
.glyphicon-option-horizontal:before {
content: "\e234";
}
.glyphicon-option-vertical:before {
content: "\e235";
}
.glyphicon-menu-hamburger:before {
content: "\e236";
}
.glyphicon-modal-window:before {
content: "\e237";
}
.glyphicon-oil:before {
content: "\e238";
}
.glyphicon-grain:before {
content: "\e239";
}
.glyphicon-sunglasses:before {
content: "\e240";
}
.glyphicon-text-size:before {
content: "\e241";
}
.glyphicon-text-color:before {
content: "\e242";
}
.glyphicon-text-background:before {
content: "\e243";
}
.glyphicon-object-align-top:before {
content: "\e244";
}
.glyphicon-object-align-bottom:before {
content: "\e245";
}
.glyphicon-object-align-horizontal:before {
content: "\e246";
}
.glyphicon-object-align-left:before {
content: "\e247";
}
.glyphicon-object-align-vertical:before {
content: "\e248";
}
.glyphicon-object-align-right:before {
content: "\e249";
}
.glyphicon-triangle-right:before {
content: "\e250";
}
.glyphicon-triangle-left:before {
content: "\e251";
}
.glyphicon-triangle-bottom:before {
content: "\e252";
}
.glyphicon-triangle-top:before {
content: "\e253";
}
.glyphicon-console:before {
content: "\e254";
}
.glyphicon-superscript:before {
content: "\e255";
}
.glyphicon-subscript:before {
content: "\e256";
}
.glyphicon-menu-left:before {
content: "\e257";
}
.glyphicon-menu-right:before {
content: "\e258";
}
.glyphicon-menu-down:before {
content: "\e259";
}
.glyphicon-menu-up:before {
content: "\e260";
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
background-color: #ffffff;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
a {
color: #337ab7;
text-decoration: none;
}
a:hover,
a:focus {
color: #23527c;
text-decoration: underline;
}
a:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
figure {
margin: 0;
}
img {
vertical-align: middle;
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
}
.img-rounded {
border-radius: 6px;
}
.img-thumbnail {
padding: 4px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
.img-circle {
border-radius: 50%;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
[role="button"] {
cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
font-weight: normal;
line-height: 1;
color: #777777;
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
margin-top: 20px;
margin-bottom: 10px;
}
h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
font-size: 65%;
}
h4,
.h4,
h5,
.h5,
h6,
.h6 {
margin-top: 10px;
margin-bottom: 10px;
}
h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
font-size: 75%;
}
h1,
.h1 {
font-size: 36px;
}
h2,
.h2 {
font-size: 30px;
}
h3,
.h3 {
font-size: 24px;
}
h4,
.h4 {
font-size: 18px;
}
h5,
.h5 {
font-size: 14px;
}
h6,
.h6 {
font-size: 12px;
}
p {
margin: 0 0 10px;
}
.lead {
margin-bottom: 20px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
}
@media (min-width: 768px) {
.lead {
font-size: 21px;
}
}
small,
.small {
font-size: 85%;
}
mark,
.mark {
background-color: #fcf8e3;
padding: .2em;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
.text-justify {
text-align: justify;
}
.text-nowrap {
white-space: nowrap;
}
.text-lowercase {
text-transform: lowercase;
}
.text-uppercase {
text-transform: uppercase;
}
.text-capitalize {
text-transform: capitalize;
}
.text-muted {
color: #777777;
}
.text-primary {
color: #337ab7;
}
a.text-primary:hover {
color: #286090;
}
.text-success {
color: #3c763d;
}
a.text-success:hover {
color: #2b542c;
}
.text-info {
color: #31708f;
}
a.text-info:hover {
color: #245269;
}
.text-warning {
color: #8a6d3b;
}
a.text-warning:hover {
color: #66512c;
}
.text-danger {
color: #a94442;
}
a.text-danger:hover {
color: #843534;
}
.bg-primary {
color: #fff;
background-color: #337ab7;
}
a.bg-primary:hover {
background-color: #286090;
}
.bg-success {
background-color: #dff0d8;
}
a.bg-success:hover {
background-color: #c1e2b3;
}
.bg-info {
background-color: #d9edf7;
}
a.bg-info:hover {
background-color: #afd9ee;
}
.bg-warning {
background-color: #fcf8e3;
}
a.bg-warning:hover {
background-color: #f7ecb5;
}
.bg-danger {
background-color: #f2dede;
}
a.bg-danger:hover {
background-color: #e4b9b9;
}
.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eeeeee;
}
ul,
ol {
margin-top: 0;
margin-bottom: 10px;
}
ul ul,
ol ul,
ul ol,
ol ol {
margin-bottom: 0;
}
.list-unstyled {
padding-left: 0;
list-style: none;
}
.list-inline {
padding-left: 0;
list-style: none;
margin-left: -5px;
}
.list-inline > li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
dl {
margin-top: 0;
margin-bottom: 20px;
}
dt,
dd {
line-height: 1.42857143;
}
dt {
font-weight: bold;
}
dd {
margin-left: 0;
}
@media (min-width: 768px) {
.dl-horizontal dt {
float: left;
width: 160px;
clear: left;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dl-horizontal dd {
margin-left: 180px;
}
}
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #777777;
}
.initialism {
font-size: 90%;
text-transform: uppercase;
}
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eeeeee;
}
blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
margin-bottom: 0;
}
blockquote footer,
blockquote small,
blockquote .small {
display: block;
font-size: 80%;
line-height: 1.42857143;
color: #777777;
}
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0';
}
.blockquote-reverse,
blockquote.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #eeeeee;
border-left: 0;
text-align: right;
}
.blockquote-reverse footer:before,
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before {
content: '';
}
.blockquote-reverse footer:after,
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014';
}
address {
margin-bottom: 20px;
font-style: normal;
line-height: 1.42857143;
}
code,
kbd,
pre,
samp {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
kbd {
padding: 2px 4px;
font-size: 90%;
color: #ffffff;
background-color: #333333;
border-radius: 3px;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
kbd kbd {
padding: 0;
font-size: 100%;
font-weight: bold;
box-shadow: none;
}
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
word-break: break-all;
word-wrap: break-word;
color: #333333;
background-color: #f5f5f5;
border: 1px solid #cccccc;
border-radius: 4px;
}
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
}
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
.container-fluid {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
.row {
margin-left: -15px;
margin-right: -15px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
float: left;
}
.col-xs-12 {
width: 100%;
}
.col-xs-11 {
width: 91.66666667%;
}
.col-xs-10 {
width: 83.33333333%;
}
.col-xs-9 {
width: 75%;
}
.col-xs-8 {
width: 66.66666667%;
}
.col-xs-7 {
width: 58.33333333%;
}
.col-xs-6 {
width: 50%;
}
.col-xs-5 {
width: 41.66666667%;
}
.col-xs-4 {
width: 33.33333333%;
}
.col-xs-3 {
width: 25%;
}
.col-xs-2 {
width: 16.66666667%;
}
.col-xs-1 {
width: 8.33333333%;
}
.col-xs-pull-12 {
right: 100%;
}
.col-xs-pull-11 {
right: 91.66666667%;
}
.col-xs-pull-10 {
right: 83.33333333%;
}
.col-xs-pull-9 {
right: 75%;
}
.col-xs-pull-8 {
right: 66.66666667%;
}
.col-xs-pull-7 {
right: 58.33333333%;
}
.col-xs-pull-6 {
right: 50%;
}
.col-xs-pull-5 {
right: 41.66666667%;
}
.col-xs-pull-4 {
right: 33.33333333%;
}
.col-xs-pull-3 {
right: 25%;
}
.col-xs-pull-2 {
right: 16.66666667%;
}
.col-xs-pull-1 {
right: 8.33333333%;
}
.col-xs-pull-0 {
right: auto;
}
.col-xs-push-12 {
left: 100%;
}
.col-xs-push-11 {
left: 91.66666667%;
}
.col-xs-push-10 {
left: 83.33333333%;
}
.col-xs-push-9 {
left: 75%;
}
.col-xs-push-8 {
left: 66.66666667%;
}
.col-xs-push-7 {
left: 58.33333333%;
}
.col-xs-push-6 {
left: 50%;
}
.col-xs-push-5 {
left: 41.66666667%;
}
.col-xs-push-4 {
left: 33.33333333%;
}
.col-xs-push-3 {
left: 25%;
}
.col-xs-push-2 {
left: 16.66666667%;
}
.col-xs-push-1 {
left: 8.33333333%;
}
.col-xs-push-0 {
left: auto;
}
.col-xs-offset-12 {
margin-left: 100%;
}
.col-xs-offset-11 {
margin-left: 91.66666667%;
}
.col-xs-offset-10 {
margin-left: 83.33333333%;
}
.col-xs-offset-9 {
margin-left: 75%;
}
.col-xs-offset-8 {
margin-left: 66.66666667%;
}
.col-xs-offset-7 {
margin-left: 58.33333333%;
}
.col-xs-offset-6 {
margin-left: 50%;
}
.col-xs-offset-5 {
margin-left: 41.66666667%;
}
.col-xs-offset-4 {
margin-left: 33.33333333%;
}
.col-xs-offset-3 {
margin-left: 25%;
}
.col-xs-offset-2 {
margin-left: 16.66666667%;
}
.col-xs-offset-1 {
margin-left: 8.33333333%;
}
.col-xs-offset-0 {
margin-left: 0%;
}
@media (min-width: 768px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
.col-sm-12 {
width: 100%;
}
.col-sm-11 {
width: 91.66666667%;
}
.col-sm-10 {
width: 83.33333333%;
}
.col-sm-9 {
width: 75%;
}
.col-sm-8 {
width: 66.66666667%;
}
.col-sm-7 {
width: 58.33333333%;
}
.col-sm-6 {
width: 50%;
}
.col-sm-5 {
width: 41.66666667%;
}
.col-sm-4 {
width: 33.33333333%;
}
.col-sm-3 {
width: 25%;
}
.col-sm-2 {
width: 16.66666667%;
}
.col-sm-1 {
width: 8.33333333%;
}
.col-sm-pull-12 {
right: 100%;
}
.col-sm-pull-11 {
right: 91.66666667%;
}
.col-sm-pull-10 {
right: 83.33333333%;
}
.col-sm-pull-9 {
right: 75%;
}
.col-sm-pull-8 {
right: 66.66666667%;
}
.col-sm-pull-7 {
right: 58.33333333%;
}
.col-sm-pull-6 {
right: 50%;
}
.col-sm-pull-5 {
right: 41.66666667%;
}
.col-sm-pull-4 {
right: 33.33333333%;
}
.col-sm-pull-3 {
right: 25%;
}
.col-sm-pull-2 {
right: 16.66666667%;
}
.col-sm-pull-1 {
right: 8.33333333%;
}
.col-sm-pull-0 {
right: auto;
}
.col-sm-push-12 {
left: 100%;
}
.col-sm-push-11 {
left: 91.66666667%;
}
.col-sm-push-10 {
left: 83.33333333%;
}
.col-sm-push-9 {
left: 75%;
}
.col-sm-push-8 {
left: 66.66666667%;
}
.col-sm-push-7 {
left: 58.33333333%;
}
.col-sm-push-6 {
left: 50%;
}
.col-sm-push-5 {
left: 41.66666667%;
}
.col-sm-push-4 {
left: 33.33333333%;
}
.col-sm-push-3 {
left: 25%;
}
.col-sm-push-2 {
left: 16.66666667%;
}
.col-sm-push-1 {
left: 8.33333333%;
}
.col-sm-push-0 {
left: auto;
}
.col-sm-offset-12 {
margin-left: 100%;
}
.col-sm-offset-11 {
margin-left: 91.66666667%;
}
.col-sm-offset-10 {
margin-left: 83.33333333%;
}
.col-sm-offset-9 {
margin-left: 75%;
}
.col-sm-offset-8 {
margin-left: 66.66666667%;
}
.col-sm-offset-7 {
margin-left: 58.33333333%;
}
.col-sm-offset-6 {
margin-left: 50%;
}
.col-sm-offset-5 {
margin-left: 41.66666667%;
}
.col-sm-offset-4 {
margin-left: 33.33333333%;
}
.col-sm-offset-3 {
margin-left: 25%;
}
.col-sm-offset-2 {
margin-left: 16.66666667%;
}
.col-sm-offset-1 {
margin-left: 8.33333333%;
}
.col-sm-offset-0 {
margin-left: 0%;
}
}
@media (min-width: 992px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left;
}
.col-md-12 {
width: 100%;
}
.col-md-11 {
width: 91.66666667%;
}
.col-md-10 {
width: 83.33333333%;
}
.col-md-9 {
width: 75%;
}
.col-md-8 {
width: 66.66666667%;
}
.col-md-7 {
width: 58.33333333%;
}
.col-md-6 {
width: 50%;
}
.col-md-5 {
width: 41.66666667%;
}
.col-md-4 {
width: 33.33333333%;
}
.col-md-3 {
width: 25%;
}
.col-md-2 {
width: 16.66666667%;
}
.col-md-1 {
width: 8.33333333%;
}
.col-md-pull-12 {
right: 100%;
}
.col-md-pull-11 {
right: 91.66666667%;
}
.col-md-pull-10 {
right: 83.33333333%;
}
.col-md-pull-9 {
right: 75%;
}
.col-md-pull-8 {
right: 66.66666667%;
}
.col-md-pull-7 {
right: 58.33333333%;
}
.col-md-pull-6 {
right: 50%;
}
.col-md-pull-5 {
right: 41.66666667%;
}
.col-md-pull-4 {
right: 33.33333333%;
}
.col-md-pull-3 {
right: 25%;
}
.col-md-pull-2 {
right: 16.66666667%;
}
.col-md-pull-1 {
right: 8.33333333%;
}
.col-md-pull-0 {
right: auto;
}
.col-md-push-12 {
left: 100%;
}
.col-md-push-11 {
left: 91.66666667%;
}
.col-md-push-10 {
left: 83.33333333%;
}
.col-md-push-9 {
left: 75%;
}
.col-md-push-8 {
left: 66.66666667%;
}
.col-md-push-7 {
left: 58.33333333%;
}
.col-md-push-6 {
left: 50%;
}
.col-md-push-5 {
left: 41.66666667%;
}
.col-md-push-4 {
left: 33.33333333%;
}
.col-md-push-3 {
left: 25%;
}
.col-md-push-2 {
left: 16.66666667%;
}
.col-md-push-1 {
left: 8.33333333%;
}
.col-md-push-0 {
left: auto;
}
.col-md-offset-12 {
margin-left: 100%;
}
.col-md-offset-11 {
margin-left: 91.66666667%;
}
.col-md-offset-10 {
margin-left: 83.33333333%;
}
.col-md-offset-9 {
margin-left: 75%;
}
.col-md-offset-8 {
margin-left: 66.66666667%;
}
.col-md-offset-7 {
margin-left: 58.33333333%;
}
.col-md-offset-6 {
margin-left: 50%;
}
.col-md-offset-5 {
margin-left: 41.66666667%;
}
.col-md-offset-4 {
margin-left: 33.33333333%;
}
.col-md-offset-3 {
margin-left: 25%;
}
.col-md-offset-2 {
margin-left: 16.66666667%;
}
.col-md-offset-1 {
margin-left: 8.33333333%;
}
.col-md-offset-0 {
margin-left: 0%;
}
}
@media (min-width: 1200px) {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
}
.col-lg-12 {
width: 100%;
}
.col-lg-11 {
width: 91.66666667%;
}
.col-lg-10 {
width: 83.33333333%;
}
.col-lg-9 {
width: 75%;
}
.col-lg-8 {
width: 66.66666667%;
}
.col-lg-7 {
width: 58.33333333%;
}
.col-lg-6 {
width: 50%;
}
.col-lg-5 {
width: 41.66666667%;
}
.col-lg-4 {
width: 33.33333333%;
}
.col-lg-3 {
width: 25%;
}
.col-lg-2 {
width: 16.66666667%;
}
.col-lg-1 {
width: 8.33333333%;
}
.col-lg-pull-12 {
right: 100%;
}
.col-lg-pull-11 {
right: 91.66666667%;
}
.col-lg-pull-10 {
right: 83.33333333%;
}
.col-lg-pull-9 {
right: 75%;
}
.col-lg-pull-8 {
right: 66.66666667%;
}
.col-lg-pull-7 {
right: 58.33333333%;
}
.col-lg-pull-6 {
right: 50%;
}
.col-lg-pull-5 {
right: 41.66666667%;
}
.col-lg-pull-4 {
right: 33.33333333%;
}
.col-lg-pull-3 {
right: 25%;
}
.col-lg-pull-2 {
right: 16.66666667%;
}
.col-lg-pull-1 {
right: 8.33333333%;
}
.col-lg-pull-0 {
right: auto;
}
.col-lg-push-12 {
left: 100%;
}
.col-lg-push-11 {
left: 91.66666667%;
}
.col-lg-push-10 {
left: 83.33333333%;
}
.col-lg-push-9 {
left: 75%;
}
.col-lg-push-8 {
left: 66.66666667%;
}
.col-lg-push-7 {
left: 58.33333333%;
}
.col-lg-push-6 {
left: 50%;
}
.col-lg-push-5 {
left: 41.66666667%;
}
.col-lg-push-4 {
left: 33.33333333%;
}
.col-lg-push-3 {
left: 25%;
}
.col-lg-push-2 {
left: 16.66666667%;
}
.col-lg-push-1 {
left: 8.33333333%;
}
.col-lg-push-0 {
left: auto;
}
.col-lg-offset-12 {
margin-left: 100%;
}
.col-lg-offset-11 {
margin-left: 91.66666667%;
}
.col-lg-offset-10 {
margin-left: 83.33333333%;
}
.col-lg-offset-9 {
margin-left: 75%;
}
.col-lg-offset-8 {
margin-left: 66.66666667%;
}
.col-lg-offset-7 {
margin-left: 58.33333333%;
}
.col-lg-offset-6 {
margin-left: 50%;
}
.col-lg-offset-5 {
margin-left: 41.66666667%;
}
.col-lg-offset-4 {
margin-left: 33.33333333%;
}
.col-lg-offset-3 {
margin-left: 25%;
}
.col-lg-offset-2 {
margin-left: 16.66666667%;
}
.col-lg-offset-1 {
margin-left: 8.33333333%;
}
.col-lg-offset-0 {
margin-left: 0%;
}
}
table {
background-color: transparent;
}
caption {
padding-top: 8px;
padding-bottom: 8px;
color: #777777;
text-align: left;
}
th {
text-align: left;
}
.table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
padding: 8px;
line-height: 1.42857143;
vertical-align: top;
border-top: 1px solid #dddddd;
}
.table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #dddddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
border-top: 0;
}
.table > tbody + tbody {
border-top: 2px solid #dddddd;
}
.table .table {
background-color: #ffffff;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
padding: 5px;
}
.table-bordered {
border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
background-color: #f5f5f5;
}
table col[class*="col-"] {
position: static;
float: none;
display: table-column;
}
table td[class*="col-"],
table th[class*="col-"] {
position: static;
float: none;
display: table-cell;
}
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
background-color: #f5f5f5;
}
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
background-color: #e8e8e8;
}
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
background-color: #dff0d8;
}
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
background-color: #d0e9c6;
}
.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
background-color: #d9edf7;
}
.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
background-color: #c4e3f3;
}
.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
background-color: #fcf8e3;
}
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
background-color: #faf2cc;
}
.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
background-color: #f2dede;
}
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
}
.table-responsive {
overflow-x: auto;
min-height: 0.01%;
}
@media screen and (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-y: hidden;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #dddddd;
}
.table-responsive > .table {
margin-bottom: 0;
}
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-responsive > .table-bordered {
border: 0;
}
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
color: #333333;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input[type="radio"],
input[type="checkbox"] {
margin: 4px 0 0;
margin-top: 1px \9;
line-height: normal;
}
input[type="file"] {
display: block;
}
input[type="range"] {
display: block;
width: 100%;
}
select[multiple],
select[size] {
height: auto;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
output {
display: block;
padding-top: 7px;
font-size: 14px;
line-height: 1.42857143;
color: #555555;
}
.form-control {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
color: #555555;
background-color: #ffffff;
background-image: none;
border: 1px solid #cccccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-control::-moz-placeholder {
color: #999999;
opacity: 1;
}
.form-control:-ms-input-placeholder {
color: #999999;
}
.form-control::-webkit-input-placeholder {
color: #999999;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
background-color: #eeeeee;
opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
cursor: not-allowed;
}
textarea.form-control {
height: auto;
}
input[type="search"] {
-webkit-appearance: none;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: 34px;
}
input[type="date"].input-sm,
input[type="time"].input-sm,
input[type="datetime-local"].input-sm,
input[type="month"].input-sm,
.input-group-sm input[type="date"],
.input-group-sm input[type="time"],
.input-group-sm input[type="datetime-local"],
.input-group-sm input[type="month"] {
line-height: 30px;
}
input[type="date"].input-lg,
input[type="time"].input-lg,
input[type="datetime-local"].input-lg,
input[type="month"].input-lg,
.input-group-lg input[type="date"],
.input-group-lg input[type="time"],
.input-group-lg input[type="datetime-local"],
.input-group-lg input[type="month"] {
line-height: 46px;
}
}
.form-group {
margin-bottom: 15px;
}
.radio,
.checkbox {
position: relative;
display: block;
margin-top: 10px;
margin-bottom: 10px;
}
.radio label,
.checkbox label {
min-height: 20px;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
position: absolute;
margin-left: -20px;
margin-top: 4px \9;
}
.radio + .radio,
.checkbox + .checkbox {
margin-top: -5px;
}
.radio-inline,
.checkbox-inline {
position: relative;
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
vertical-align: middle;
font-weight: normal;
cursor: pointer;
}
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
margin-top: 0;
margin-left: 10px;
}
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
cursor: not-allowed;
}
.radio-inline.disabled,
.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox-inline {
cursor: not-allowed;
}
.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
cursor: not-allowed;
}
.form-control-static {
padding-top: 7px;
padding-bottom: 7px;
margin-bottom: 0;
min-height: 34px;
}
.form-control-static.input-lg,
.form-control-static.input-sm {
padding-left: 0;
padding-right: 0;
}
.input-sm {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
select.input-sm {
height: 30px;
line-height: 30px;
}
textarea.input-sm,
select[multiple].input-sm {
height: auto;
}
.form-group-sm .form-control {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
select.form-group-sm .form-control {
height: 30px;
line-height: 30px;
}
textarea.form-group-sm .form-control,
select[multiple].form-group-sm .form-control {
height: auto;
}
.form-group-sm .form-control-static {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
min-height: 32px;
}
.input-lg {
height: 46px;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
select.input-lg {
height: 46px;
line-height: 46px;
}
textarea.input-lg,
select[multiple].input-lg {
height: auto;
}
.form-group-lg .form-control {
height: 46px;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
select.form-group-lg .form-control {
height: 46px;
line-height: 46px;
}
textarea.form-group-lg .form-control,
select[multiple].form-group-lg .form-control {
height: auto;
}
.form-group-lg .form-control-static {
height: 46px;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
min-height: 38px;
}
.has-feedback {
position: relative;
}
.has-feedback .form-control {
padding-right: 42.5px;
}
.form-control-feedback {
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
pointer-events: none;
}
.input-lg + .form-control-feedback {
width: 46px;
height: 46px;
line-height: 46px;
}
.input-sm + .form-control-feedback {
width: 30px;
height: 30px;
line-height: 30px;
}
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
color: #3c763d;
}
.has-success .form-control {
border-color: #3c763d;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus {
border-color: #2b542c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.has-success .input-group-addon {
color: #3c763d;
border-color: #3c763d;
background-color: #dff0d8;
}
.has-success .form-control-feedback {
color: #3c763d;
}
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
color: #8a6d3b;
}
.has-warning .form-control {
border-color: #8a6d3b;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-warning .form-control:focus {
border-color: #66512c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
.has-warning .input-group-addon {
color: #8a6d3b;
border-color: #8a6d3b;
background-color: #fcf8e3;
}
.has-warning .form-control-feedback {
color: #8a6d3b;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
color: #a94442;
}
.has-error .form-control {
border-color: #a94442;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus {
border-color: #843534;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-error .input-group-addon {
color: #a94442;
border-color: #a94442;
background-color: #f2dede;
}
.has-error .form-control-feedback {
color: #a94442;
}
.has-feedback label ~ .form-control-feedback {
top: 25px;
}
.has-feedback label.sr-only ~ .form-control-feedback {
top: 0;
}
.help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #737373;
}
@media (min-width: 768px) {
.form-inline .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
.form-inline .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
.form-inline .form-control-static {
display: inline-block;
}
.form-inline .input-group {
display: inline-table;
vertical-align: middle;
}
.form-inline .input-group .input-group-addon,
.form-inline .input-group .input-group-btn,
.form-inline .input-group .form-control {
width: auto;
}
.form-inline .input-group > .form-control {
width: 100%;
}
.form-inline .control-label {
margin-bottom: 0;
vertical-align: middle;
}
.form-inline .radio,
.form-inline .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
.form-inline .radio label,
.form-inline .checkbox label {
padding-left: 0;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
position: relative;
margin-left: 0;
}
.form-inline .has-feedback .form-control-feedback {
top: 0;
}
}
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
margin-top: 0;
margin-bottom: 0;
padding-top: 7px;
}
.form-horizontal .radio,
.form-horizontal .checkbox {
min-height: 27px;
}
.form-horizontal .form-group {
margin-left: -15px;
margin-right: -15px;
}
@media (min-width: 768px) {
.form-horizontal .control-label {
text-align: right;
margin-bottom: 0;
padding-top: 7px;
}
}
.form-horizontal .has-feedback .form-control-feedback {
right: 15px;
}
@media (min-width: 768px) {
.form-horizontal .form-group-lg .control-label {
padding-top: 14.333333px;
}
}
@media (min-width: 768px) {
.form-horizontal .form-group-sm .control-label {
padding-top: 6px;
}
}
.btn {
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
color: #333333;
text-decoration: none;
}
.btn:active,
.btn.active {
outline: 0;
background-image: none;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
cursor: not-allowed;
pointer-events: none;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-default {
color: #333333;
background-color: #ffffff;
border-color: #cccccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
color: #333333;
background-color: #e6e6e6;
border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #ffffff;
border-color: #cccccc;
}
.btn-default .badge {
color: #ffffff;
background-color: #333333;
}
.btn-primary {
color: #ffffff;
background-color: #337ab7;
border-color: #2e6da4;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
color: #ffffff;
background-color: #286090;
border-color: #204d74;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
background-color: #337ab7;
border-color: #2e6da4;
}
.btn-primary .badge {
color: #337ab7;
background-color: #ffffff;
}
.btn-success {
color: #ffffff;
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
color: #ffffff;
background-color: #449d44;
border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-success .badge {
color: #5cb85c;
background-color: #ffffff;
}
.btn-info {
color: #ffffff;
background-color: #5bc0de;
border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
color: #ffffff;
background-color: #31b0d5;
border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
background-color: #5bc0de;
border-color: #46b8da;
}
.btn-info .badge {
color: #5bc0de;
background-color: #ffffff;
}
.btn-warning {
color: #ffffff;
background-color: #f0ad4e;
border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
color: #ffffff;
background-color: #ec971f;
border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
background-color: #f0ad4e;
border-color: #eea236;
}
.btn-warning .badge {
color: #f0ad4e;
background-color: #ffffff;
}
.btn-danger {
color: #ffffff;
background-color: #d9534f;
border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
color: #ffffff;
background-color: #c9302c;
border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
background-color: #d9534f;
border-color: #d43f3a;
}
.btn-danger .badge {
color: #d9534f;
background-color: #ffffff;
}
.btn-link {
color: #337ab7;
font-weight: normal;
border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
color: #23527c;
text-decoration: underline;
background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
color: #777777;
text-decoration: none;
}
.btn-lg,
.btn-group-lg > .btn {
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
.btn-sm,
.btn-group-sm > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-xs,
.btn-group-xs > .btn {
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-block {
display: block;
width: 100%;
}
.btn-block + .btn-block {
margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
width: 100%;
}
.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
-o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
.fade.in {
opacity: 1;
}
.collapse {
display: none;
}
.collapse.in {
display: block;
}
tr.collapse.in {
display: table-row;
}
tbody.collapse.in {
display: table-row-group;
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition-property: height, visibility;
transition-property: height, visibility;
-webkit-transition-duration: 0.35s;
transition-duration: 0.35s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
}
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
.dropup,
.dropdown {
position: relative;
}
.dropdown-toggle:focus {
outline: 0;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background-color: #ffffff;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
background-clip: padding-box;
}
.dropdown-menu.pull-right {
right: 0;
left: auto;
}
.dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
text-decoration: none;
color: #262626;
background-color: #f5f5f5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
color: #ffffff;
text-decoration: none;
outline: 0;
background-color: #337ab7;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
color: #777777;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
text-decoration: none;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
cursor: not-allowed;
}
.open > .dropdown-menu {
display: block;
}
.open > a {
outline: 0;
}
.dropdown-menu-right {
left: auto;
right: 0;
}
.dropdown-menu-left {
left: 0;
right: auto;
}
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.42857143;
color: #777777;
white-space: nowrap;
}
.dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 990;
}
.pull-right > .dropdown-menu {
right: 0;
left: auto;
}
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
border-top: 0;
border-bottom: 4px solid;
content: "";
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 2px;
}
@media (min-width: 768px) {
.navbar-right .dropdown-menu {
left: auto;
right: 0;
}
.navbar-right .dropdown-menu-left {
left: 0;
right: auto;
}
}
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
position: relative;
float: left;
}
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
z-index: 2;
}
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
margin-left: -1px;
}
.btn-toolbar {
margin-left: -5px;
}
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
float: left;
}
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
margin-left: 5px;
}
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
border-radius: 0;
}
.btn-group > .btn:first-child {
margin-left: 0;
}
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.btn-group > .btn-group {
float: left;
}
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
outline: 0;
}
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
.btn-group > .btn-lg + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
.btn-group.open .dropdown-toggle {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-group.open .dropdown-toggle.btn-link {
-webkit-box-shadow: none;
box-shadow: none;
}
.btn .caret {
margin-left: 0;
}
.btn-lg .caret {
border-width: 5px 5px 0;
border-bottom-width: 0;
}
.dropup .btn-lg .caret {
border-width: 0 5px 5px;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,
.btn-group-vertical > .btn-group > .btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
.btn-group-vertical > .btn-group > .btn {
float: none;
}
.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
margin-top: -1px;
margin-left: 0;
}
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
border-radius: 0;
}
.btn-group-vertical > .btn:first-child:not(:last-child) {
border-top-right-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn:last-child:not(:first-child) {
border-bottom-left-radius: 4px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.btn-group-justified {
display: table;
width: 100%;
table-layout: fixed;
border-collapse: separate;
}
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
float: none;
display: table-cell;
width: 1%;
}
.btn-group-justified > .btn-group .btn {
width: 100%;
}
.btn-group-justified > .btn-group .dropdown-menu {
left: auto;
}
[data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
position: absolute;
clip: rect(0, 0, 0, 0);
pointer-events: none;
}
.input-group {
position: relative;
display: table;
border-collapse: separate;
}
.input-group[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
}
.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
height: 46px;
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
select.input-group-lg > .form-control,
select.input-group-lg > .input-group-addon,
select.input-group-lg > .input-group-btn > .btn {
height: 46px;
line-height: 46px;
}
textarea.input-group-lg > .form-control,
textarea.input-group-lg > .input-group-addon,
textarea.input-group-lg > .input-group-btn > .btn,
select[multiple].input-group-lg > .form-control,
select[multiple].input-group-lg > .input-group-addon,
select[multiple].input-group-lg > .input-group-btn > .btn {
height: auto;
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
select.input-group-sm > .input-group-btn > .btn {
height: 30px;
line-height: 30px;
}
textarea.input-group-sm > .form-control,
textarea.input-group-sm > .input-group-addon,
textarea.input-group-sm > .input-group-btn > .btn,
select[multiple].input-group-sm > .form-control,
select[multiple].input-group-sm > .input-group-addon,
select[multiple].input-group-sm > .input-group-btn > .btn {
height: auto;
}
.input-group-addon,
.input-group-btn,
.input-group .form-control {
display: table-cell;
}
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
border-radius: 0;
}
.input-group-addon,
.input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
.input-group-addon {
padding: 6px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1;
color: #555555;
text-align: center;
background-color: #eeeeee;
border: 1px solid #cccccc;
border-radius: 4px;
}
.input-group-addon.input-sm {
padding: 5px 10px;
font-size: 12px;
border-radius: 3px;
}
.input-group-addon.input-lg {
padding: 10px 16px;
font-size: 18px;
border-radius: 6px;
}
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
margin-top: 0;
}
.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-bottom-right-radius: 0;
border-top-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-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.input-group-addon:last-child {
border-left: 0;
}
.input-group-btn {
position: relative;
font-size: 0;
white-space: nowrap;
}
.input-group-btn > .btn {
position: relative;
}
.input-group-btn > .btn + .btn {
margin-left: -1px;
}
.input-group-btn > .btn:hover,
.input-group-btn > .btn:focus,
.input-group-btn > .btn:active {
z-index: 2;
}
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group {
margin-right: -1px;
}
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
margin-left: -1px;
}
.nav {
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
.nav > li {
position: relative;
display: block;
}
.nav > li > a {
position: relative;
display: block;
padding: 10px 15px;
}
.nav > li > a:hover,
.nav > li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
.nav > li.disabled > a {
color: #777777;
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
color: #777777;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: #eeeeee;
border-color: #337ab7;
}
.nav .nav-divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.nav > li > a > img {
max-width: none;
}
.nav-tabs {
border-bottom: 1px solid #dddddd;
}
.nav-tabs > li {
float: left;
margin-bottom: -1px;
}
.nav-tabs > li > a {
margin-right: 2px;
line-height: 1.42857143;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover {
border-color: #eeeeee #eeeeee #dddddd;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
color: #555555;
background-color: #ffffff;
border: 1px solid #dddddd;
border-bottom-color: transparent;
cursor: default;
}
.nav-tabs.nav-justified {
width: 100%;
border-bottom: 0;
}
.nav-tabs.nav-justified > li {
float: none;
}
.nav-tabs.nav-justified > li > a {
text-align: center;
margin-bottom: 5px;
}
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: 768px) {
.nav-tabs.nav-justified > li {
display: table-cell;
width: 1%;
}
.nav-tabs.nav-justified > li > a {
margin-bottom: 0;
}
}
.nav-tabs.nav-justified > li > a {
margin-right: 0;
border-radius: 4px;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
border: 1px solid #dddddd;
}
@media (min-width: 768px) {
.nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #dddddd;
border-radius: 4px 4px 0 0;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
border-bottom-color: #ffffff;
}
}
.nav-pills > li {
float: left;
}
.nav-pills > li > a {
border-radius: 4px;
}
.nav-pills > li + li {
margin-left: 2px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
color: #ffffff;
background-color: #337ab7;
}
.nav-stacked > li {
float: none;
}
.nav-stacked > li + li {
margin-top: 2px;
margin-left: 0;
}
.nav-justified {
width: 100%;
}
.nav-justified > li {
float: none;
}
.nav-justified > li > a {
text-align: center;
margin-bottom: 5px;
}
.nav-justified > .dropdown .dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: 768px) {
.nav-justified > li {
display: table-cell;
width: 1%;
}
.nav-justified > li > a {
margin-bottom: 0;
}
}
.nav-tabs-justified {
border-bottom: 0;
}
.nav-tabs-justified > li > a {
margin-right: 0;
border-radius: 4px;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
border: 1px solid #dddddd;
}
@media (min-width: 768px) {
.nav-tabs-justified > li > a {
border-bottom: 1px solid #dddddd;
border-radius: 4px 4px 0 0;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
border-bottom-color: #ffffff;
}
}
.tab-content > .tab-pane {
display: none;
}
.tab-content > .active {
display: block;
}
.nav-tabs .dropdown-menu {
margin-top: -1px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
@media (min-width: 768px) {
.navbar {
border-radius: 4px;
}
}
@media (min-width: 768px) {
.navbar-header {
float: left;
}
}
.navbar-collapse {
overflow-x: visible;
padding-right: 15px;
padding-left: 15px;
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-overflow-scrolling: touch;
}
.navbar-collapse.in {
overflow-y: auto;
}
@media (min-width: 768px) {
.navbar-collapse {
width: auto;
border-top: 0;
box-shadow: none;
}
.navbar-collapse.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0;
overflow: visible !important;
}
.navbar-collapse.in {
overflow-y: visible;
}
.navbar-fixed-top .navbar-collapse,
.navbar-static-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
padding-left: 0;
padding-right: 0;
}
}
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 340px;
}
@media (max-device-width: 480px) and (orientation: landscape) {
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 200px;
}
}
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
margin-right: -15px;
margin-left: -15px;
}
@media (min-width: 768px) {
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
}
.navbar-static-top {
z-index: 1000;
border-width: 0 0 1px;
}
@media (min-width: 768px) {
.navbar-static-top {
border-radius: 0;
}
}
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: 1030;
}
@media (min-width: 768px) {
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0;
border-width: 1px 0 0;
}
.navbar-brand {
float: left;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
height: 50px;
}
.navbar-brand:hover,
.navbar-brand:focus {
text-decoration: none;
}
.navbar-brand > img {
display: block;
}
@media (min-width: 768px) {
.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
margin-left: -15px;
}
}
.navbar-toggle {
position: relative;
float: right;
margin-right: 15px;
padding: 9px 10px;
margin-top: 8px;
margin-bottom: 8px;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
.navbar-toggle:focus {
outline: 0;
}
.navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px;
}
@media (min-width: 768px) {
.navbar-toggle {
display: none;
}
}
.navbar-nav {
margin: 7.5px -15px;
}
.navbar-nav > li > a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
}
@media (max-width: 767px) {
.navbar-nav .open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
box-shadow: none;
}
.navbar-nav .open .dropdown-menu > li > a,
.navbar-nav .open .dropdown-menu .dropdown-header {
padding: 5px 15px 5px 25px;
}
.navbar-nav .open .dropdown-menu > li > a {
line-height: 20px;
}
.navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-nav .open .dropdown-menu > li > a:focus {
background-image: none;
}
}
@media (min-width: 768px) {
.navbar-nav {
float: left;
margin: 0;
}
.navbar-nav > li {
float: left;
}
.navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}
}
.navbar-form {
margin-left: -15px;
margin-right: -15px;
padding: 10px 15px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
margin-top: 8px;
margin-bottom: 8px;
}
@media (min-width: 768px) {
.navbar-form .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
.navbar-form .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
.navbar-form .form-control-static {
display: inline-block;
}
.navbar-form .input-group {
display: inline-table;
vertical-align: middle;
}
.navbar-form .input-group .input-group-addon,
.navbar-form .input-group .input-group-btn,
.navbar-form .input-group .form-control {
width: auto;
}
.navbar-form .input-group > .form-control {
width: 100%;
}
.navbar-form .control-label {
margin-bottom: 0;
vertical-align: middle;
}
.navbar-form .radio,
.navbar-form .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
.navbar-form .radio label,
.navbar-form .checkbox label {
padding-left: 0;
}
.navbar-form .radio input[type="radio"],
.navbar-form .checkbox input[type="checkbox"] {
position: relative;
margin-left: 0;
}
.navbar-form .has-feedback .form-control-feedback {
top: 0;
}
}
@media (max-width: 767px) {
.navbar-form .form-group {
margin-bottom: 5px;
}
.navbar-form .form-group:last-child {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.navbar-form {
width: auto;
border: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
}
.navbar-nav > li > .dropdown-menu {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
margin-bottom: 0;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.navbar-btn {
margin-top: 8px;
margin-bottom: 8px;
}
.navbar-btn.btn-sm {
margin-top: 10px;
margin-bottom: 10px;
}
.navbar-btn.btn-xs {
margin-top: 14px;
margin-bottom: 14px;
}
.navbar-text {
margin-top: 15px;
margin-bottom: 15px;
}
@media (min-width: 768px) {
.navbar-text {
float: left;
margin-left: 15px;
margin-right: 15px;
}
}
@media (min-width: 768px) {
.navbar-left {
float: left !important;
}
.navbar-right {
float: right !important;
margin-right: -15px;
}
.navbar-right ~ .navbar-right {
margin-right: 0;
}
}
.navbar-default {
background-color: #f8f8f8;
border-color: #e7e7e7;
}
.navbar-default .navbar-brand {
color: #777777;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: #5e5e5e;
background-color: transparent;
}
.navbar-default .navbar-text {
color: #777777;
}
.navbar-default .navbar-nav > li > a {
color: #777777;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
color: #333333;
background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #555555;
background-color: #e7e7e7;
}
.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
color: #cccccc;
background-color: transparent;
}
.navbar-default .navbar-toggle {
border-color: #dddddd;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
background-color: #dddddd;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #888888;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #e7e7e7;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
background-color: #e7e7e7;
color: #555555;
}
@media (max-width: 767px) {
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #777777;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #333333;
background-color: transparent;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #555555;
background-color: #e7e7e7;
}
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #cccccc;
background-color: transparent;
}
}
.navbar-default .navbar-link {
color: #777777;
}
.navbar-default .navbar-link:hover {
color: #333333;
}
.navbar-default .btn-link {
color: #777777;
}
.navbar-default .btn-link:hover,
.navbar-default .btn-link:focus {
color: #333333;
}
.navbar-default .btn-link[disabled]:hover,
fieldset[disabled] .navbar-default .btn-link:hover,
.navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .navbar-default .btn-link:focus {
color: #cccccc;
}
.navbar-inverse {
background-color: #222222;
border-color: #080808;
}
.navbar-inverse .navbar-brand {
color: #9d9d9d;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
color: #ffffff;
background-color: transparent;
}
.navbar-inverse .navbar-text {
color: #9d9d9d;
}
.navbar-inverse .navbar-nav > li > a {
color: #9d9d9d;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #ffffff;
background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
color: #444444;
background-color: transparent;
}
.navbar-inverse .navbar-toggle {
border-color: #333333;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
background-color: #333333;
}
.navbar-inverse .navbar-toggle .icon-bar {
background-color: #ffffff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
background-color: #080808;
color: #ffffff;
}
@media (max-width: 767px) {
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
border-color: #080808;
}
.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
background-color: #080808;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
color: #9d9d9d;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
color: #ffffff;
background-color: transparent;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #ffffff;
background-color: #080808;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #444444;
background-color: transparent;
}
}
.navbar-inverse .navbar-link {
color: #9d9d9d;
}
.navbar-inverse .navbar-link:hover {
color: #ffffff;
}
.navbar-inverse .btn-link {
color: #9d9d9d;
}
.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
color: #ffffff;
}
.navbar-inverse .btn-link[disabled]:hover,
fieldset[disabled] .navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link[disabled]:focus,
fieldset[disabled] .navbar-inverse .btn-link:focus {
color: #444444;
}
.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: #f5f5f5;
border-radius: 4px;
}
.breadcrumb > li {
display: inline-block;
}
.breadcrumb > li + li:before {
content: "/\00a0";
padding: 0 5px;
color: #cccccc;
}
.breadcrumb > .active {
color: #777777;
}
.pagination {
display: inline-block;
padding-left: 0;
margin: 20px 0;
border-radius: 4px;
}
.pagination > li {
display: inline;
}
.pagination > li > a,
.pagination > li > span {
position: relative;
float: left;
padding: 6px 12px;
line-height: 1.42857143;
text-decoration: none;
color: #337ab7;
background-color: #ffffff;
border: 1px solid #dddddd;
margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
color: #23527c;
background-color: #eeeeee;
border-color: #dddddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
z-index: 2;
color: #ffffff;
background-color: #337ab7;
border-color: #337ab7;
cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
color: #777777;
background-color: #ffffff;
border-color: #dddddd;
cursor: not-allowed;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
padding: 10px 16px;
font-size: 18px;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
border-bottom-right-radius: 6px;
border-top-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
padding: 5px 10px;
font-size: 12px;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
}
.pager {
padding-left: 0;
margin: 20px 0;
list-style: none;
text-align: center;
}
.pager li {
display: inline;
}
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
.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: #777777;
background-color: #ffffff;
cursor: not-allowed;
}
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: bold;
line-height: 1;
color: #ffffff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
a.label:hover,
a.label:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
.label:empty {
display: none;
}
.btn .label {
position: relative;
top: -1px;
}
.label-default {
background-color: #777777;
}
.label-default[href]:hover,
.label-default[href]:focus {
background-color: #5e5e5e;
}
.label-primary {
background-color: #337ab7;
}
.label-primary[href]:hover,
.label-primary[href]:focus {
background-color: #286090;
}
.label-success {
background-color: #5cb85c;
}
.label-success[href]:hover,
.label-success[href]:focus {
background-color: #449d44;
}
.label-info {
background-color: #5bc0de;
}
.label-info[href]:hover,
.label-info[href]:focus {
background-color: #31b0d5;
}
.label-warning {
background-color: #f0ad4e;
}
.label-warning[href]:hover,
.label-warning[href]:focus {
background-color: #ec971f;
}
.label-danger {
background-color: #d9534f;
}
.label-danger[href]:hover,
.label-danger[href]:focus {
background-color: #c9302c;
}
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
font-weight: bold;
color: #ffffff;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: #777777;
border-radius: 10px;
}
.badge:empty {
display: none;
}
.btn .badge {
position: relative;
top: -1px;
}
.btn-xs .badge,
.btn-group-xs > .btn .badge {
top: 0;
padding: 1px 5px;
}
a.badge:hover,
a.badge:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
color: #337ab7;
background-color: #ffffff;
}
.list-group-item > .badge {
float: right;
}
.list-group-item > .badge + .badge {
margin-right: 5px;
}
.nav-pills > li > a > .badge {
margin-left: 3px;
}
.jumbotron {
padding: 30px 15px;
margin-bottom: 30px;
color: inherit;
background-color: #eeeeee;
}
.jumbotron h1,
.jumbotron .h1 {
color: inherit;
}
.jumbotron p {
margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
}
.jumbotron > hr {
border-top-color: #d5d5d5;
}
.container .jumbotron,
.container-fluid .jumbotron {
border-radius: 6px;
}
.jumbotron .container {
max-width: 100%;
}
@media screen and (min-width: 768px) {
.jumbotron {
padding: 48px 0;
}
.container .jumbotron,
.container-fluid .jumbotron {
padding-left: 60px;
padding-right: 60px;
}
.jumbotron h1,
.jumbotron .h1 {
font-size: 63px;
}
}
.thumbnail {
display: block;
padding: 4px;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 4px;
-webkit-transition: border 0.2s ease-in-out;
-o-transition: border 0.2s ease-in-out;
transition: border 0.2s ease-in-out;
}
.thumbnail > img,
.thumbnail a > img {
margin-left: auto;
margin-right: auto;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
border-color: #337ab7;
}
.thumbnail .caption {
padding: 9px;
color: #333333;
}
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert h4 {
margin-top: 0;
color: inherit;
}
.alert .alert-link {
font-weight: bold;
}
.alert > p,
.alert > ul {
margin-bottom: 0;
}
.alert > p + p {
margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
.alert-success {
background-color: #dff0d8;
border-color: #d6e9c6;
color: #3c763d;
}
.alert-success hr {
border-top-color: #c9e2b3;
}
.alert-success .alert-link {
color: #2b542c;
}
.alert-info {
background-color: #d9edf7;
border-color: #bce8f1;
color: #31708f;
}
.alert-info hr {
border-top-color: #a6e1ec;
}
.alert-info .alert-link {
color: #245269;
}
.alert-warning {
background-color: #fcf8e3;
border-color: #faebcc;
color: #8a6d3b;
}
.alert-warning hr {
border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
color: #66512c;
}
.alert-danger {
background-color: #f2dede;
border-color: #ebccd1;
color: #a94442;
}
.alert-danger hr {
border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
color: #843534;
}
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
.progress {
overflow: hidden;
height: 20px;
margin-bottom: 20px;
background-color: #f5f5f5;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.progress-bar {
float: left;
width: 0%;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #ffffff;
text-align: center;
background-color: #337ab7;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
-o-transition: width 0.6s ease;
transition: width 0.6s ease;
}
.progress-striped .progress-bar,
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
.progress.active .progress-bar,
.progress-bar.active {
-webkit-animation: progress-bar-stripes 2s linear infinite;
-o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite;
}
.progress-bar-success {
background-color: #5cb85c;
}
.progress-striped .progress-bar-success {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-info {
background-color: #5bc0de;
}
.progress-striped .progress-bar-info {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-warning {
background-color: #f0ad4e;
}
.progress-striped .progress-bar-warning {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-danger {
background-color: #d9534f;
}
.progress-striped .progress-bar-danger {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.media {
margin-top: 15px;
}
.media:first-child {
margin-top: 0;
}
.media,
.media-body {
zoom: 1;
overflow: hidden;
}
.media-body {
width: 10000px;
}
.media-object {
display: block;
}
.media-right,
.media > .pull-right {
padding-left: 10px;
}
.media-left,
.media > .pull-left {
padding-right: 10px;
}
.media-left,
.media-right,
.media-body {
display: table-cell;
vertical-align: top;
}
.media-middle {
vertical-align: middle;
}
.media-bottom {
vertical-align: bottom;
}
.media-heading {
margin-top: 0;
margin-bottom: 5px;
}
.media-list {
padding-left: 0;
list-style: none;
}
.list-group {
margin-bottom: 20px;
padding-left: 0;
}
.list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: #ffffff;
border: 1px solid #dddddd;
}
.list-group-item:first-child {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
.list-group-item:last-child {
margin-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
a.list-group-item {
color: #555555;
}
a.list-group-item .list-group-item-heading {
color: #333333;
}
a.list-group-item:hover,
a.list-group-item:focus {
text-decoration: none;
color: #555555;
background-color: #f5f5f5;
}
.list-group-item.disabled,
.list-group-item.disabled:hover,
.list-group-item.disabled:focus {
background-color: #eeeeee;
color: #777777;
cursor: not-allowed;
}
.list-group-item.disabled .list-group-item-heading,
.list-group-item.disabled:hover .list-group-item-heading,
.list-group-item.disabled:focus .list-group-item-heading {
color: inherit;
}
.list-group-item.disabled .list-group-item-text,
.list-group-item.disabled:hover .list-group-item-text,
.list-group-item.disabled:focus .list-group-item-text {
color: #777777;
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
z-index: 2;
color: #ffffff;
background-color: #337ab7;
border-color: #337ab7;
}
.list-group-item.active .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active .list-group-item-heading > .small,
.list-group-item.active:hover .list-group-item-heading > .small,
.list-group-item.active:focus .list-group-item-heading > .small {
color: inherit;
}
.list-group-item.active .list-group-item-text,
.list-group-item.active:hover .list-group-item-text,
.list-group-item.active:focus .list-group-item-text {
color: #c7ddef;
}
.list-group-item-success {
color: #3c763d;
background-color: #dff0d8;
}
a.list-group-item-success {
color: #3c763d;
}
a.list-group-item-success .list-group-item-heading {
color: inherit;
}
a.list-group-item-success:hover,
a.list-group-item-success:focus {
color: #3c763d;
background-color: #d0e9c6;
}
a.list-group-item-success.active,
a.list-group-item-success.active:hover,
a.list-group-item-success.active:focus {
color: #fff;
background-color: #3c763d;
border-color: #3c763d;
}
.list-group-item-info {
color: #31708f;
background-color: #d9edf7;
}
a.list-group-item-info {
color: #31708f;
}
a.list-group-item-info .list-group-item-heading {
color: inherit;
}
a.list-group-item-info:hover,
a.list-group-item-info:focus {
color: #31708f;
background-color: #c4e3f3;
}
a.list-group-item-info.active,
a.list-group-item-info.active:hover,
a.list-group-item-info.active:focus {
color: #fff;
background-color: #31708f;
border-color: #31708f;
}
.list-group-item-warning {
color: #8a6d3b;
background-color: #fcf8e3;
}
a.list-group-item-warning {
color: #8a6d3b;
}
a.list-group-item-warning .list-group-item-heading {
color: inherit;
}
a.list-group-item-warning:hover,
a.list-group-item-warning:focus {
color: #8a6d3b;
background-color: #faf2cc;
}
a.list-group-item-warning.active,
a.list-group-item-warning.active:hover,
a.list-group-item-warning.active:focus {
color: #fff;
background-color: #8a6d3b;
border-color: #8a6d3b;
}
.list-group-item-danger {
color: #a94442;
background-color: #f2dede;
}
a.list-group-item-danger {
color: #a94442;
}
a.list-group-item-danger .list-group-item-heading {
color: inherit;
}
a.list-group-item-danger:hover,
a.list-group-item-danger:focus {
color: #a94442;
background-color: #ebcccc;
}
a.list-group-item-danger.active,
a.list-group-item-danger.active:hover,
a.list-group-item-danger.active:focus {
color: #fff;
background-color: #a94442;
border-color: #a94442;
}
.list-group-item-heading {
margin-top: 0;
margin-bottom: 5px;
}
.list-group-item-text {
margin-bottom: 0;
line-height: 1.3;
}
.panel {
margin-bottom: 20px;
background-color: #ffffff;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-body {
padding: 15px;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
}
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
color: inherit;
}
.panel-footer {
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #dddddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .list-group,
.panel > .panel-collapse > .list-group {
margin-bottom: 0;
}
.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
border-width: 1px 0;
border-radius: 0;
}
.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
border-top: 0;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
border-bottom: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
}
.list-group + .panel-footer {
border-top-width: 0;
}
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
margin-bottom: 0;
}
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
padding-left: 15px;
padding-right: 15px;
}
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
border-top-left-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 3px;
}
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
border-bottom-right-radius: 3px;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
border-top: 1px solid #dddddd;
}
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
border-top: 0;
}
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
border: 0;
}
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
border-bottom: 0;
}
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
border-bottom: 0;
}
.panel > .table-responsive {
border: 0;
margin-bottom: 0;
}
.panel-group {
margin-bottom: 20px;
}
.panel-group .panel {
margin-bottom: 0;
border-radius: 4px;
}
.panel-group .panel + .panel {
margin-top: 5px;
}
.panel-group .panel-heading {
border-bottom: 0;
}
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
border-top: 1px solid #dddddd;
}
.panel-group .panel-footer {
border-top: 0;
}
.panel-group .panel-footer + .panel-collapse .panel-body {
border-bottom: 1px solid #dddddd;
}
.panel-default {
border-color: #dddddd;
}
.panel-default > .panel-heading {
color: #333333;
background-color: #f5f5f5;
border-color: #dddddd;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #dddddd;
}
.panel-default > .panel-heading .badge {
color: #f5f5f5;
background-color: #333333;
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #dddddd;
}
.panel-primary {
border-color: #337ab7;
}
.panel-primary > .panel-heading {
color: #ffffff;
background-color: #337ab7;
border-color: #337ab7;
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #337ab7;
}
.panel-primary > .panel-heading .badge {
color: #337ab7;
background-color: #ffffff;
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #337ab7;
}
.panel-success {
border-color: #d6e9c6;
}
.panel-success > .panel-heading {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.panel-success > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #d6e9c6;
}
.panel-success > .panel-heading .badge {
color: #dff0d8;
background-color: #3c763d;
}
.panel-success > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #d6e9c6;
}
.panel-info {
border-color: #bce8f1;
}
.panel-info > .panel-heading {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
.panel-info > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #bce8f1;
}
.panel-info > .panel-heading .badge {
color: #d9edf7;
background-color: #31708f;
}
.panel-info > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #bce8f1;
}
.panel-warning {
border-color: #faebcc;
}
.panel-warning > .panel-heading {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #faebcc;
}
.panel-warning > .panel-heading .badge {
color: #fcf8e3;
background-color: #8a6d3b;
}
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #faebcc;
}
.panel-danger {
border-color: #ebccd1;
}
.panel-danger > .panel-heading {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ebccd1;
}
.panel-danger > .panel-heading .badge {
color: #f2dede;
background-color: #a94442;
}
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ebccd1;
}
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
}
.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
padding-bottom: 75%;
}
.well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.well blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
.well-lg {
padding: 24px;
border-radius: 6px;
}
.well-sm {
padding: 9px;
border-radius: 3px;
}
.close {
float: right;
font-size: 21px;
font-weight: bold;
line-height: 1;
color: #000000;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
color: #000000;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
.modal-open {
overflow: hidden;
}
.modal {
display: none;
overflow: hidden;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
-webkit-overflow-scrolling: touch;
outline: 0;
}
.modal.fade .modal-dialog {
-webkit-transform: translate(0, -25%);
-ms-transform: translate(0, -25%);
-o-transform: translate(0, -25%);
transform: translate(0, -25%);
-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
.modal-dialog {
position: relative;
width: auto;
margin: 10px;
}
.modal-content {
position: relative;
background-color: #ffffff;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
background-clip: padding-box;
outline: 0;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000000;
}
.modal-backdrop.fade {
opacity: 0;
filter: alpha(opacity=0);
}
.modal-backdrop.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
min-height: 16.42857143px;
}
.modal-header .close {
margin-top: -2px;
}
.modal-title {
margin: 0;
line-height: 1.42857143;
}
.modal-body {
position: relative;
padding: 15px;
}
.modal-footer {
padding: 15px;
text-align: right;
border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
margin-left: 5px;
margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
margin-left: 0;
}
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
@media (min-width: 768px) {
.modal-dialog {
width: 600px;
margin: 30px auto;
}
.modal-content {
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.modal-sm {
width: 300px;
}
}
@media (min-width: 992px) {
.modal-lg {
width: 900px;
}
}
.tooltip {
position: absolute;
z-index: 1070;
display: block;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 1.4;
opacity: 0;
filter: alpha(opacity=0);
}
.tooltip.in {
opacity: 0.9;
filter: alpha(opacity=90);
}
.tooltip.top {
margin-top: -3px;
padding: 5px 0;
}
.tooltip.right {
margin-left: 3px;
padding: 0 5px;
}
.tooltip.bottom {
margin-top: 3px;
padding: 5px 0;
}
.tooltip.left {
margin-left: -3px;
padding: 0 5px;
}
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
color: #ffffff;
text-align: center;
text-decoration: none;
background-color: #000000;
border-radius: 4px;
}
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.tooltip.top .tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-width: 5px 5px 0;
border-top-color: #000000;
}
.tooltip.top-left .tooltip-arrow {
bottom: 0;
right: 5px;
margin-bottom: -5px;
border-width: 5px 5px 0;
border-top-color: #000000;
}
.tooltip.top-right .tooltip-arrow {
bottom: 0;
left: 5px;
margin-bottom: -5px;
border-width: 5px 5px 0;
border-top-color: #000000;
}
.tooltip.right .tooltip-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-width: 5px 5px 5px 0;
border-right-color: #000000;
}
.tooltip.left .tooltip-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-width: 5px 0 5px 5px;
border-left-color: #000000;
}
.tooltip.bottom .tooltip-arrow {
top: 0;
left: 50%;
margin-left: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000000;
}
.tooltip.bottom-left .tooltip-arrow {
top: 0;
right: 5px;
margin-top: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000000;
}
.tooltip.bottom-right .tooltip-arrow {
top: 0;
left: 5px;
margin-top: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000000;
}
.popover {
position: absolute;
top: 0;
left: 0;
z-index: 1060;
display: none;
max-width: 276px;
padding: 1px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: normal;
line-height: 1.42857143;
text-align: left;
background-color: #ffffff;
background-clip: padding-box;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
white-space: normal;
}
.popover.top {
margin-top: -10px;
}
.popover.right {
margin-left: 10px;
}
.popover.bottom {
margin-top: 10px;
}
.popover.left {
margin-left: -10px;
}
.popover-title {
margin: 0;
padding: 8px 14px;
font-size: 14px;
background-color: #f7f7f7;
border-bottom: 1px solid #ebebeb;
border-radius: 5px 5px 0 0;
}
.popover-content {
padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
.popover > .arrow {
border-width: 11px;
}
.popover > .arrow:after {
border-width: 10px;
content: "";
}
.popover.top > .arrow {
left: 50%;
margin-left: -11px;
border-bottom-width: 0;
border-top-color: #999999;
border-top-color: rgba(0, 0, 0, 0.25);
bottom: -11px;
}
.popover.top > .arrow:after {
content: " ";
bottom: 1px;
margin-left: -10px;
border-bottom-width: 0;
border-top-color: #ffffff;
}
.popover.right > .arrow {
top: 50%;
left: -11px;
margin-top: -11px;
border-left-width: 0;
border-right-color: #999999;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.right > .arrow:after {
content: " ";
left: 1px;
bottom: -10px;
border-left-width: 0;
border-right-color: #ffffff;
}
.popover.bottom > .arrow {
left: 50%;
margin-left: -11px;
border-top-width: 0;
border-bottom-color: #999999;
border-bottom-color: rgba(0, 0, 0, 0.25);
top: -11px;
}
.popover.bottom > .arrow:after {
content: " ";
top: 1px;
margin-left: -10px;
border-top-width: 0;
border-bottom-color: #ffffff;
}
.popover.left > .arrow {
top: 50%;
right: -11px;
margin-top: -11px;
border-right-width: 0;
border-left-color: #999999;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.left > .arrow:after {
content: " ";
right: 1px;
border-right-width: 0;
border-left-color: #ffffff;
bottom: -10px;
}
.carousel {
position: relative;
}
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
}
.carousel-inner > .item {
display: none;
position: relative;
-webkit-transition: 0.6s ease-in-out left;
-o-transition: 0.6s ease-in-out left;
transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
line-height: 1;
}
@media all and (transform-3d), (-webkit-transform-3d) {
.carousel-inner > .item {
-webkit-transition: -webkit-transform 0.6s ease-in-out;
-moz-transition: -moz-transform 0.6s ease-in-out;
-o-transition: -o-transform 0.6s ease-in-out;
transition: transform 0.6s ease-in-out;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-perspective: 1000;
-moz-perspective: 1000;
perspective: 1000;
}
.carousel-inner > .item.next,
.carousel-inner > .item.active.right {
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
left: 0;
}
.carousel-inner > .item.prev,
.carousel-inner > .item.active.left {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
left: 0;
}
.carousel-inner > .item.next.left,
.carousel-inner > .item.prev.right,
.carousel-inner > .item.active {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
left: 0;
}
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
display: block;
}
.carousel-inner > .active {
left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
position: absolute;
top: 0;
width: 100%;
}
.carousel-inner > .next {
left: 100%;
}
.carousel-inner > .prev {
left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
left: 0;
}
.carousel-inner > .active.left {
left: -100%;
}
.carousel-inner > .active.right {
left: 100%;
}
.carousel-control {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 15%;
opacity: 0.5;
filter: alpha(opacity=50);
font-size: 20px;
color: #ffffff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-control.left {
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
.carousel-control.right {
left: auto;
right: 0;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
.carousel-control:hover,
.carousel-control:focus {
outline: 0;
color: #ffffff;
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
position: absolute;
top: 50%;
z-index: 5;
display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
left: 50%;
margin-left: -10px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
right: 50%;
margin-right: -10px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 20px;
height: 20px;
margin-top: -10px;
line-height: 1;
font-family: serif;
}
.carousel-control .icon-prev:before {
content: '\2039';
}
.carousel-control .icon-next:before {
content: '\203a';
}
.carousel-indicators {
position: absolute;
bottom: 10px;
left: 50%;
z-index: 15;
width: 60%;
margin-left: -30%;
padding-left: 0;
list-style: none;
text-align: center;
}
.carousel-indicators li {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid #ffffff;
border-radius: 10px;
cursor: pointer;
background-color: #000 \9;
background-color: rgba(0, 0, 0, 0);
}
.carousel-indicators .active {
margin: 0;
width: 12px;
height: 12px;
background-color: #ffffff;
}
.carousel-caption {
position: absolute;
left: 15%;
right: 15%;
bottom: 20px;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: #ffffff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-caption .btn {
text-shadow: none;
}
@media screen and (min-width: 768px) {
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
font-size: 30px;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
margin-left: -15px;
}
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
margin-right: -15px;
}
.carousel-caption {
left: 20%;
right: 20%;
padding-bottom: 30px;
}
.carousel-indicators {
bottom: 20px;
}
}
.clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after,
.btn-toolbar:before,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:before,
.btn-group-vertical > .btn-group:after,
.nav:before,
.nav:after,
.navbar:before,
.navbar:after,
.navbar-header:before,
.navbar-header:after,
.navbar-collapse:before,
.navbar-collapse:after,
.pager:before,
.pager:after,
.panel-body:before,
.panel-body:after,
.modal-footer:before,
.modal-footer:after {
content: " ";
display: table;
}
.clearfix:after,
.dl-horizontal dd:after,
.container:after,
.container-fluid:after,
.row:after,
.form-horizontal .form-group:after,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:after,
.nav:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after,
.pager:after,
.panel-body:after,
.modal-footer:after {
clear: both;
}
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.hidden {
display: none !important;
}
.affix {
position: fixed;
}
@-ms-viewport {
width: device-width;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: 767px) {
.visible-xs {
display: block !important;
}
table.visible-xs {
display: table;
}
tr.visible-xs {
display: table-row !important;
}
th.visible-xs,
td.visible-xs {
display: table-cell !important;
}
}
@media (max-width: 767px) {
.visible-xs-block {
display: block !important;
}
}
@media (max-width: 767px) {
.visible-xs-inline {
display: inline !important;
}
}
@media (max-width: 767px) {
.visible-xs-inline-block {
display: inline-block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm {
display: block !important;
}
table.visible-sm {
display: table;
}
tr.visible-sm {
display: table-row !important;
}
th.visible-sm,
td.visible-sm {
display: table-cell !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-block {
display: block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline {
display: inline !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline-block {
display: inline-block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md {
display: block !important;
}
table.visible-md {
display: table;
}
tr.visible-md {
display: table-row !important;
}
th.visible-md,
td.visible-md {
display: table-cell !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-block {
display: block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline {
display: inline !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1200px) {
.visible-lg {
display: block !important;
}
table.visible-lg {
display: table;
}
tr.visible-lg {
display: table-row !important;
}
th.visible-lg,
td.visible-lg {
display: table-cell !important;
}
}
@media (min-width: 1200px) {
.visible-lg-block {
display: block !important;
}
}
@media (min-width: 1200px) {
.visible-lg-inline {
display: inline !important;
}
}
@media (min-width: 1200px) {
.visible-lg-inline-block {
display: inline-block !important;
}
}
@media (max-width: 767px) {
.hidden-xs {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.hidden-sm {
display: none !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.hidden-md {
display: none !important;
}
}
@media (min-width: 1200px) {
.hidden-lg {
display: none !important;
}
}
.visible-print {
display: none !important;
}
@media print {
.visible-print {
display: block !important;
}
table.visible-print {
display: table;
}
tr.visible-print {
display: table-row !important;
}
th.visible-print,
td.visible-print {
display: table-cell !important;
}
}
.visible-print-block {
display: none !important;
}
@media print {
.visible-print-block {
display: block !important;
}
}
.visible-print-inline {
display: none !important;
}
@media print {
.visible-print-inline {
display: inline !important;
}
}
.visible-print-inline-block {
display: none !important;
}
@media print {
.visible-print-inline-block {
display: inline-block !important;
}
}
@media print {
.hidden-print {
display: none !important;
}
}
/**
* Bootstrap-Markdown.less
*
* @author Taufan Aditya @taufanaditya
* @copyright 2013 Taufan Aditya
*/
.md-editor {
display: block;
border: 1px solid #dddddd;
}
.md-editor > .md-header,
.md-editor .md-footer {
display: block;
padding: 6px 4px;
background: #f5f5f5;
}
.md-editor > .md-header {
margin: 0;
}
.md-editor > .md-preview {
background: #ffffff;
border-top: 1px dashed #dddddd;
border-bottom: 1px dashed #dddddd;
min-height: 10px;
overflow: auto;
}
.md-editor > textarea {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 14px;
outline: 0;
outline: thin dotted \9;
/* IE6-9 */
margin: 0;
display: block;
padding: 0;
width: 100%;
border: 0;
border-top: 1px dashed #dddddd;
border-bottom: 1px dashed #dddddd;
border-radius: 0;
box-shadow: none;
background: #eeeeee;
}
.md-editor > textarea:focus {
box-shadow: none;
background: #ffffff;
}
.md-editor.active {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.md-editor .md-controls {
float: right;
padding: 3px;
}
.md-editor .md-controls .md-control {
right: 5px;
color: #bebebe;
padding: 3px 3px 3px 10px;
}
.md-editor .md-controls .md-control:hover {
color: #333;
}
.md-editor.md-fullscreen-mode {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 99999;
padding: 60px 30px 15px;
background: #fff !important;
border: 0 !important;
}
.md-editor.md-fullscreen-mode .md-footer {
display: none;
}
.md-editor.md-fullscreen-mode .md-input,
.md-editor.md-fullscreen-mode .md-preview {
margin: 0 auto !important;
height: 100% !important;
font-size: 20px !important;
padding: 20px !important;
color: #999;
line-height: 1.6em !important;
resize: none !important;
box-shadow: none !important;
background: #fff !important;
border: 0 !important;
}
.md-editor.md-fullscreen-mode .md-preview {
color: #333;
overflow: auto;
}
.md-editor.md-fullscreen-mode .md-input:hover,
.md-editor.md-fullscreen-mode .md-input:focus {
color: #333;
background: #fff !important;
}
.md-editor.md-fullscreen-mode .md-header {
background: none;
text-align: center;
position: fixed;
width: 100%;
top: 20px;
}
.md-editor.md-fullscreen-mode .btn-group {
float: none;
}
.md-editor.md-fullscreen-mode .btn {
border: 0;
background: none;
color: #b3b3b3;
}
.md-editor.md-fullscreen-mode .btn:hover,
.md-editor.md-fullscreen-mode .btn:focus,
.md-editor.md-fullscreen-mode .btn.active,
.md-editor.md-fullscreen-mode .btn:active {
box-shadow: none;
color: #333;
}
.md-editor.md-fullscreen-mode .md-fullscreen-controls {
position: absolute;
top: 20px;
right: 20px;
text-align: right;
z-index: 1002;
display: block;
}
.md-editor.md-fullscreen-mode .md-fullscreen-controls a {
color: #b3b3b3;
clear: right;
margin: 10px;
width: 30px;
height: 30px;
text-align: center;
}
.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover {
color: #333;
text-decoration: none;
}
.md-editor.md-fullscreen-mode .md-editor {
height: 100% !important;
position: relative;
}
.md-editor .md-fullscreen-controls {
display: none;
}
.md-nooverflow {
overflow: hidden;
position: fixed;
width: 100%;
}
body {
margin-top: 50px;
}
#wrapper {
padding-left: 0;
}
#page-wrapper {
width: 100%;
padding: 5px 15px;
}
/* Nav Messages */
.messages-dropdown .dropdown-menu .message-preview .avatar,
.messages-dropdown .dropdown-menu .message-preview .name,
.messages-dropdown .dropdown-menu .message-preview .message,
.messages-dropdown .dropdown-menu .message-preview .time {
display: block;
}
.messages-dropdown .dropdown-menu .message-preview .avatar {
float: left;
margin-right: 15px;
}
.messages-dropdown .dropdown-menu .message-preview .name {
font-weight: bold;
}
.messages-dropdown .dropdown-menu .message-preview .message {
font-size: 12px;
}
.messages-dropdown .dropdown-menu .message-preview .time {
font-size: 12px;
}
/* Nav Announcements */
.announcement-heading {
font-size: 50px;
margin: 0;
}
.announcement-text {
margin: 0;
}
/* Table Headers */
table.tablesorter thead {
cursor: pointer;
}
table.tablesorter thead tr th:hover {
background-color: #f5f5f5;
}
/* Flot Chart Containers */
.flot-chart {
display: block;
height: 400px;
}
.flot-chart-content {
width: 100%;
height: 100%;
}
/* Edit Below to Customize Widths > 768px */
@media (min-width: 768px) {
/* Wrappers */
#wrapper {
padding-left: 175px;
}
#page-wrapper {
padding: 15px 25px;
}
/* Side Nav */
.side-nav {
margin-left: -175px;
left: 175px;
width: 175px;
position: fixed;
top: 50px;
height: 100%;
border-radius: 0;
border: none;
background-color: #444;
overflow-y: auto;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAU0lEQVQIHQXBwRGDIBAAwO2/AMcCDHAcPjIRxjJ8Je1kl1uqUgphsWu6w0sIG6npLpcUBql4e/wsVRKabrkNTacIYbMrwsF06rqUhsnXVKVT+Hj+Ue4rPSONk4kAAAAASUVORK5CYII=);
}
/* Bootstrap Default Overrides - Customized Dropdowns for the Side Nav */
.side-nav > li.dropdown > ul.dropdown-menu {
position: relative;
min-width: 175px;
margin: 0;
padding: 0;
border: none;
border-radius: 0;
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.side-nav > li.dropdown > ul.dropdown-menu > li > a {
color: #999999;
padding: 15px 15px 15px 25px;
}
.side-nav > li.dropdown > ul.dropdown-menu > li > a:hover,
.side-nav > li.dropdown > ul.dropdown-menu > li > a.active,
.side-nav > li.dropdown > ul.dropdown-menu > li > a:focus {
color: #fff;
background-color: #080808;
}
.side-nav > li > a {
width: 175px;
}
.navbar-inverse {
background-color: #444;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAQAAABuBnYAAAAAU0lEQVQIHQXBwRGDIBAAwO2/AMcCDHAcPjIRxjJ8Je1kl1uqUgphsWu6w0sIG6npLpcUBql4e/wsVRKabrkNTacIYbMrwsF06rqUhsnXVKVT+Hj+Ue4rPSONk4kAAAAASUVORK5CYII=);
}
.navbar-inverse .navbar-nav > li.active > a,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
background-color: rgba(8, 8, 8, 0.7);
}
/* Nav Messages */
.messages-dropdown .dropdown-menu {
min-width: 300px;
}
.messages-dropdown .dropdown-menu li a {
white-space: normal;
}
}
/*custom admin*/
.navbar-user {
padding-right: 15px;
}
.panel-meta {
color: gray;
padding: 10px 10px 0 0;
margin: 0 0 -10px 0;
}
.panel-body p {
text-indent: 2em;
}
.breadcrumb {
background-color: #eaebeb;
}
@media (min-width: 768px) {
#page-wrapper {
padding: 30px 40px;
}
}
/*
tagsinput
*/
div.tagsinput {
border: 1px solid #CCC;
background: #FFF;
padding: 5px 5px 0;
width: 300px;
height: 100px;
overflow-y: auto;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
div.tagsinput span.tag {
border: 1px solid #a5d24a;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
display: block;
float: left;
padding: 5px;
text-decoration: none;
background: #cde69c;
color: #638421;
margin-right: 5px;
margin-bottom: 5px;
font-family: helvetica;
font-size: 13px;
}
div.tagsinput span.tag a {
font-weight: bold;
color: #82ad2b;
text-decoration: none;
font-size: 11px;
}
div.tagsinput input {
width: 80px;
margin: 0;
font-family: helvetica;
font-size: 13px;
border: 1px solid transparent;
padding: 5px;
background: transparent;
color: #000;
outline: 0;
margin-right: 5px;
margin-bottom: 5px;
}
div.tagsinput div {
display: block;
float: left;
}
.tags_clear {
clear: both;
width: 100%;
height: 0;
}
.not_valid {
background: #FBD8DB !important;
color: #90111A !important;
}
.md-editor > textarea {
background-color: #fff;
padding: 20px;
}
.md-editor > .md-preview {
padding: 20px;
}
.md-editor > .md-preview p {
text-indent: 2em;
}
/*# sourceMappingURL=mz-admin.css.map */
|
cole2295/MZBlog-LiteDB
|
MZBlog.Web/content/css/mz-admin.css
|
CSS
|
mit
| 148,767 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AppDiExtensionsTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AppDiExtensionsTest")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("41b3dda6-b997-46f4-9b11-c9042e644105")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
|
mxa0079/AppDI
|
AppDi/AppDi/AppDiExtensionsTest/AppDiExtensionsTest/Properties/AssemblyInfo.cs
|
C#
|
mit
| 1,414 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.netapp.v2019_10_01;
import com.microsoft.azure.arm.collection.SupportsCreating;
import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup;
import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion;
import com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup;
import rx.Observable;
import com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup;
import com.microsoft.azure.management.netapp.v2019_10_01.implementation.AccountsInner;
import com.microsoft.azure.arm.model.HasInner;
/**
* Type representing Accounts.
*/
public interface Accounts extends SupportsCreating<NetAppAccount.DefinitionStages.Blank>, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup<NetAppAccount>, SupportsListingByResourceGroup<NetAppAccount>, HasInner<AccountsInner> {
}
|
selvasingh/azure-sdk-for-java
|
sdk/netapp/mgmt-v2019_10_01/src/main/java/com/microsoft/azure/management/netapp/v2019_10_01/Accounts.java
|
Java
|
mit
| 1,144 |
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Provider;
namespace KatanaContrib.Security.LinkedIn.Provider
{
public class LinkedInReturnEndpointContext : ReturnEndpointContext
{
public LinkedInReturnEndpointContext(
IOwinContext context,
AuthenticationTicket ticket)
: base(context, ticket)
{
}
}
}
|
lpjanaka/KatanaContrib.Security.LinkedIn
|
src/Provider/LinkedInReturnEndpointContext.cs
|
C#
|
mit
| 409 |
// Type definitions for @ag-grid-community/core v25.0.1
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { Column } from "../entities/column";
import { RowNode } from "../entities/rowNode";
import { GridApi } from "../gridApi";
import { ColumnApi } from "../columnController/columnApi";
import { ColDef } from "../entities/colDef";
import { IPopupComponent } from "./iPopupComponent";
export interface ICellEditor {
/**
* Return the final value - called by the grid once after editing is complete
*/
getValue(): any;
/** Gets called once after initialised. If you return true, the editor will
* appear in a popup, so is not constrained to the boundaries of the cell.
* This is great if you want to, for example, provide you own custom dropdown list
* for selection. Default is false (ie if you don't provide the method).
*/
isPopup?(): boolean;
/** Gets called once, only if isPopup() returns true. Return "over" if the popup
* should cover the cell, or "under" if it should be positioned below leaving the
* cell value visible. If this method is not present, the default is "over".
*/
getPopupPosition?(): string;
/** Gets called once after initialised. If you return true, the editor will not be
* used and the grid will continue editing. Use this to make a decision on editing
* inside the init() function, eg maybe you want to only start editing if the user
* hits a numeric key, but not a letter, if the editor is for numbers.
*/
isCancelBeforeStart?(): boolean;
/** Gets called once after editing is complete. If your return true, then the new
* value will not be used. The editing will have no impact on the record. Use this
* if you do not want a new value from your gui, i.e. you want to cancel the editing.
*/
isCancelAfterEnd?(): boolean;
/**
* If doing full line edit, then gets called when focus should be put into the editor
*/
focusIn?(): void;
/**
* If doing full line edit, then gets called when focus is leaving the editor
*/
focusOut?(): void;
/** If using a framework this returns the underlying component instance, so you can call
* methods on it if you want.
*/
getFrameworkComponentInstance?(): any;
}
export interface ICellEditorParams {
value: any;
keyPress: number | null;
charPress: string | null;
column: Column;
colDef: ColDef;
node: RowNode;
data: any;
rowIndex: number;
api: GridApi | null | undefined;
columnApi: ColumnApi | null | undefined;
cellStartedEdit: boolean;
context: any;
$scope: any;
onKeyDown: (event: KeyboardEvent) => void;
stopEditing: (suppressNavigateAfterEdit?: boolean) => void;
eGridCell: HTMLElement;
parseValue: (value: any) => any;
formatValue: (value: any) => any;
}
export interface ICellEditorComp extends ICellEditor, IPopupComponent<ICellEditorParams> {
}
|
ceolter/angular-grid
|
community-modules/core/dist/es6/interfaces/iCellEditor.d.ts
|
TypeScript
|
mit
| 3,019 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using net.obliteracy.tetsuo.contract;
namespace net.obliteracy.tetsuo.core
{
public class PayrollService:IPayrollService
{
#region IPayrollService Members
public void PerformAnotherAction(string input)
{
throw new NotImplementedException();
}
#endregion
}
}
|
jgarverick/tetsuo
|
net.obliteracy.tetsuo.contract/PayrollService.cs
|
C#
|
mit
| 477 |
"""engine.SCons.Platform.aix
Platform-specific initialization for IBM AIX systems.
There normally shouldn't be any need to import this module directly. It
will usually be imported through the generic SCons.Platform.Platform()
selection method.
"""
#
# Copyright (c) 2001 - 2014 The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
__revision__ = "src/engine/SCons/Platform/aix.py 2014/08/24 12:12:31 garyo"
import os
import subprocess
import posix
import SCons.Util
import SCons.Action
def get_xlc(env, xlc=None, packages=[]):
# Use the AIX package installer tool lslpp to figure out where a
# given xl* compiler is installed and what version it is.
xlcPath = None
xlcVersion = None
if xlc is None:
xlc = env.get('CC', 'xlc')
if SCons.Util.is_List(xlc):
xlc = xlc[0]
for package in packages:
# find the installed filename, which may be a symlink as well
pipe = SCons.Action._subproc(env, ['lslpp', '-fc', package],
stdin = 'devnull',
stderr = 'devnull',
stdout = subprocess.PIPE)
# output of lslpp is something like this:
# #Path:Fileset:File
# /usr/lib/objrepos:vac.C 6.0.0.0:/usr/vac/exe/xlCcpp
# /usr/lib/objrepos:vac.C 6.0.0.0:/usr/vac/bin/xlc_r -> /usr/vac/bin/xlc
for line in pipe.stdout:
if xlcPath:
continue # read everything to let lslpp terminate
fileset, filename = line.split(':')[1:3]
filename = filename.split()[0]
if ('/' in xlc and filename == xlc) \
or ('/' not in xlc and filename.endswith('/' + xlc)):
xlcVersion = fileset.split()[1]
xlcPath, sep, xlc = filename.rpartition('/')
pass
pass
return (xlcPath, xlc, xlcVersion)
def generate(env):
posix.generate(env)
#Based on AIX 5.2: ARG_MAX=24576 - 3000 for environment expansion
env['MAXLINELENGTH'] = 21576
# Local Variables:
# tab-width:4
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=4 shiftwidth=4:
|
engineer0x47/SCONS
|
engine/SCons/Platform/aix.py
|
Python
|
mit
| 3,131 |
<div>
Id of record to chatter to (e.g. a group, or a custom object), leave blank to chatter to users wall.
</div>
|
sortiz-sfdc/JenkinsChatterPlugin
|
src/main/resources/com/pocketsoap/ChatterNotifier/help-recordId.html
|
HTML
|
mit
| 113 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['dsn'] The full DSN string describe a connection to the database.
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database driver. e.g.: mysqli.
| Currently supported:
| cubrid, ibase, mssql, mysql, mysqli, oci8,
| odbc, pdo, postgre, sqlite, sqlite3, sqlsrv
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Query Builder class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
| NOTE: For MySQL and MySQLi databases, this setting is only used
| as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
| (and in table creation queries made with DB Forge).
| There is an incompatibility in PHP with mysql_real_escape_string() which
| can make your site vulnerable to SQL injection if you are using a
| multi-byte character set and are running versions lower than these.
| Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
| ['swap_pre'] A default table prefix that should be swapped with the dbprefix
| ['encrypt'] Whether or not to use an encrypted connection.
|
| 'mysql' (deprecated), 'sqlsrv' and 'pdo/sqlsrv' drivers accept TRUE/FALSE
| 'mysqli' and 'pdo/mysql' drivers accept an array with the following options:
|
| 'ssl_key' - Path to the private key file
| 'ssl_cert' - Path to the public key certificate file
| 'ssl_ca' - Path to the certificate authority file
| 'ssl_capath' - Path to a directory containing trusted CA certificats in PEM format
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not ('mysqli' only)
|
| ['compress'] Whether or not to use client compression (MySQL only)
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections
| - good for ensuring strict SQL while developing
| ['ssl_options'] Used to set various SSL options that can be used when making SSL connections.
| ['failover'] array - A array with 0 or more data for connections if the main should fail.
| ['save_queries'] TRUE/FALSE - Whether to "save" all executed queries.
| NOTE: Disabling this will also effectively disable both
| $this->db->last_query() and profiling of DB queries.
| When you run a query, with this setting set to TRUE (default),
| CodeIgniter will store the SQL statement for debugging purposes.
| However, this may cause high memory usage, especially if you run
| a lot of SQL queries ... disable this to avoid that problem.
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the 'default' group).
|
| The $query_builder variables lets you determine whether or not to load
| the query builder class.
*/
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => 'dbpassword',
'database' => 'prevpiogge',
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
|
axeda81/AppMeteo
|
application/config/database.php
|
PHP
|
mit
| 4,539 |
package tenttiarkisto.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.data.jpa.domain.AbstractPersistable;
@Entity
public class Kieli extends AbstractPersistable<Long> {
@NotNull
@NotEmpty
@Column(unique = true)
private String nimi;
private String lyhenne;
public String getNimi() {
return nimi;
}
public void setNimi(String kieli) {
this.nimi = kieli;
}
public String getLyhenne() {
return lyhenne;
}
public void setLyhenne(String lyhenne) {
this.lyhenne = lyhenne;
}
@Override
public String toString() {
return nimi;
}
}
|
corvidian/tenttiarkisto
|
src/main/java/tenttiarkisto/domain/Kieli.java
|
Java
|
mit
| 791 |
module Warden::Mixins::Common
def request
@request ||= env['action_controller.rescue.request']
end
def reset_session!
raw_session.inspect # why do I have to inspect it to get it to clear?
raw_session.clear
end
def response
@response ||= env['action_controller.rescue.response']
end
end
class Warden::SessionSerializer
def serialize(record)
[record.class, record.id]
end
def deserialize(keys)
klass, id = keys
klass.find(:first, :conditions => { :id => id })
end
end
|
enzor/couch_talk
|
vendor/gems/devise-1.0.8/lib/devise/rails/warden_compat.rb
|
Ruby
|
mit
| 517 |
Contribuindo
============
1. Fork o projeto
2. Crie uma branch para a feature em que trabalhará: `git checkout -b my-new-feature`
3. Faça commit das suas alterações: `git commit -m 'Add some feature'`
4. Faça push desses commits para sua branch: `git push origin my-new-feature`
5. Envie um pull request para o nosso repositório
Criar um novo Post
------------------
Para criar um novo post, rode o comando:
make newpost NAME='NOME DO SEU POST'
Ele irá criar um novo arquivo `nome-do-seu-post.md` na pasta `content/blog` e abrirá seu editor favorito com um conteúdo pré-adicionado. Você só precisará adicionar o restante do conteúdo.
Após terminar o post, renderize-o com o comando:
make html
Se tudo deu certo, seu novo post já estará disponível na página.
Criar uma nova Página
---------------------
Para criar uma nova página, rode o comando:
make page NAME='NOME PAGINA'
Ele irá criar um novo arquivo `nome-pagina.md` na pasta `content/pages` e abrirá seu editor favorito com um conteúdo pré-adicionado. Você só precisará adicionar o restante do conteúdo.
Após terminar de editar a página, renderize-a com o comando:
make html
Se tudo deu certo, sua página já estará disponível em `/slug-pagina/`.
Atualizar Github Pages
----------------------
Após realizar todos os testes locais, para fazer o upload do novo conteúdo no github pages, rode o comando:
make github
Você poderá ir na página oficial e já observar suas alterações.
|
GaragemHacker/blog
|
CONTRIBUTING.md
|
Markdown
|
mit
| 1,503 |
#!/usr/bin/env python2
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Test -reindex with CheckBlockIndex
#
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
class ReindexTest(BitcoinTestFramework):
def setup_chain(self):
print("Initializing test directory "+self.options.tmpdir)
initialize_chain_clean(self.options.tmpdir, 1)
def setup_network(self):
self.nodes = []
self.is_network_split = False
self.nodes.append(start_node(0, self.options.tmpdir))
def run_test(self):
self.nodes[0].wallet.generate(3)
stop_node(self.nodes[0], 0)
wait_bitcoinds()
self.nodes[0]=start_node(0, self.options.tmpdir, ["-reindex", "-checkblockindex=1"])
assert_equal(self.nodes[0].getblockcount(), 3)
print "Success"
if __name__ == '__main__':
ReindexTest().main()
|
zander/bitcoinclassic
|
qa/rpc-tests/reindex.py
|
Python
|
mit
| 1,050 |
# ng-infinite-scroll-api-decorator
Makes it easier to connect paged API responses to ngInfiniteScroll
## Use
### Initialization
```js
$scope.list = new infiniteScroll( urlString, apiService );
```
- `urlString` - See url Property below
- `apiService` - See API Property below
```html
<tbody infinite-scroll="list.getNextPage()" infinite-scroll-distance="0"
infinite-scroll-disabled="list.busy || list.hasMore === false">
<tr data-ng-repeat="item in list.items">
...
</tr>
</tbody>
```
The attributes shown are attributes of ngInfiniteScroll, but the values `list.busy`, `list.hasMore`, `list.getNextPage()`, and `list.items` are derived from infiniteScrollDecorator.
### Properties
#### `url`
*String* | Default: set by argument during initialization
url to the paged route with the token `{page}` which will be replaced with a number as each page is loaded. For example: `/users?p={page}`.
* * *
#### `API`
*Service* | Default: set by argument during initialization
Angular service that at a minimum has a `$get` method that take a url parameter and returns a promise where the resolved value includes a `data` object with a `results` array. This is intended to be [vokal-ng-api](https://github.com/vokal/vokal-ng-api) but any compatible interface should work.
* * *
#### `scope.items`
*Array* | Default: []
Currently loaded results
* * *
#### `page`
*Number* | Default: 1
Current page index
* * *
#### `busy`
*Boolean* | Default: false
Whether there is currently a pending XHR
* * *
#### `hasMore`
*Boolean* | Default: true
Whether there are more results available. This will be changed to `false` when no more results can be loaded.
### Methods
#### `reload()`
Reinitialize paging. Empties item list and resets to first page.
* * *
#### `getNextPage()`
Loads the next page and appends items on callback.
## Prerequisites
- [ngInfiniteScroll](https://github.com/sroze/ngInfiniteScroll)
## Dependencies
- [toastr](https://github.com/CodeSeven/toastr) (may be removed in a future version), which has a dependency on jQuery
|
vokal/ng-infinite-scroll-api-decorator
|
README.md
|
Markdown
|
mit
| 2,087 |
#import <Foundation/Foundation.h>
#import "ASPObject.h"
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@protocol ASPHorizontalPageBreak
@end
@interface ASPHorizontalPageBreak : ASPObject
@property(nonatomic) NSNumber* row;
@property(nonatomic) NSNumber* endColumn;
@property(nonatomic) NSNumber* startColumn;
@end
|
asposecells/Aspose_Cells_Cloud
|
SDKs/Aspose.Cells-Cloud-SDK-for-Objective-C/Aspose.Cells_Cloud_SDK_For_Objective_C/Aspose.Cells_Cloud_SDK_For_Objective_C/ASPHorizontalPageBreak.h
|
C
|
mit
| 447 |
<ol class="breadcrumb">
<li class="active">List of Events</li>
</ol>
<div class="row">
<div class="col-md-12">
<h2>
Events
<a class="pull-right btn btn-success" href="#/add">add</a>
</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div ng-show="vm.events.length == 0">
There are no events
</div>
<table class="table table-striped" ng-show="vm.events.length > 0">
<thead>
<tr>
<th>
Name
</th>
<th>
Date
</th>
<th>
</th>
</tr>
</thead>
<tr ng-repeat="e in vm.events">
<td>{{ e.name }}</td>
<td>{{ e.date }}</td>
<td>
<a class="btn btn-default" ng-href="#/assignments/{{ e.id }}">assignments</a>
<a class="btn btn-default" ng-href="#/details/{{ e.id }}">view</a>
<button type="button" ng-click="vm.makeDefaultEvent(e)" class="btn btn-default">default</button>
</td>
</tr>
</table>
</div>
</div>
|
MeloYelo/ColemanEvents
|
published/app/event-list.html
|
HTML
|
mit
| 941 |
<?php
Balanced\Marketplace::mine()->owner_customer->bank_accounts->query()->first()->credits->create(array(
"amount" => "2000000",
"description" => "Credit from Balanced escrow",
));
?>
|
joelgarciajr84/balanced-php
|
snippets/credit-marketplace-escrow.php
|
PHP
|
mit
| 194 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Encore\Giml\Exception | API</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
</head>
</html>
|
encorephp/components
|
components/compiler/Encore/Giml/Exception/namespace-frame.html
|
HTML
|
mit
| 331 |
-- Urho2D physics Constraints sample.
-- This sample is designed to help understanding and chosing the right constraint.
-- This sample demonstrates:
-- - Creating physics constraints
-- - Creating Edge and Polygon Shapes from vertices
-- - Displaying physics debug geometry and constraints' joints
-- - Using SetOrderInLayer to alter the way sprites are drawn in relation to each other
-- - Using Text3D to display some text affected by zoom
-- - Setting the background color for the scene
require "LuaScripts/Utilities/Sample"
local camera = nil
local physicsWorld = nil
local pickedNode = nil
local dummyBody = nil
function Start()
SampleStart()
CreateScene()
input.mouseVisible = true -- Show mouse cursor
CreateInstructions()
SubscribeToEvents()
end
function CreateScene()
scene_ = Scene()
scene_:CreateComponent("Octree")
scene_:CreateComponent("DebugRenderer")
physicsWorld = scene_:CreateComponent("PhysicsWorld2D")
physicsWorld.drawJoint = true -- Display the joints (Note that DrawDebugGeometry() must be set to true to acually draw the joints)
drawDebug = true -- Set DrawDebugGeometry() to true
-- Create camera
cameraNode = scene_:CreateChild("Camera")
cameraNode.position = Vector3(0, 0, 0) -- Note that Z setting is discarded; use camera.zoom instead (see MoveCamera() below for example)
camera = cameraNode:CreateComponent("Camera")
camera.orthographic = true
camera.orthoSize = graphics.height * PIXEL_SIZE
camera.zoom = 1.2 * Min(graphics.width / 1280, graphics.height / 800) -- Set zoom according to user's resolution to ensure full visibility (initial zoom (1.2) is set for full visibility at 1280x800 resolution)
renderer:SetViewport(0, Viewport:new(scene_, camera))
renderer.defaultZone.fogColor = Color(0.1, 0.1, 0.1) -- Set background color for the scene
-- Create a 4x3 grid
for i=0, 4 do
local edgeNode = scene_:CreateChild("VerticalEdge")
local edgeBody = edgeNode:CreateComponent("RigidBody2D")
if dummyBody == nil then dummyBody = edgeBody end -- Mark first edge as dummy body (used by mouse pick)
local edgeShape = edgeNode:CreateComponent("CollisionEdge2D")
edgeShape:SetVertices(Vector2(i*2.5 -5, -3), Vector2(i*2.5 -5, 3))
edgeShape.friction = 0.5 -- Set friction
end
for j=0, 3 do
local edgeNode = scene_:CreateChild("HorizontalEdge")
local edgeBody = edgeNode:CreateComponent("RigidBody2D")
local edgeShape = edgeNode:CreateComponent("CollisionEdge2D")
edgeShape:SetVertices(Vector2(-5, j*2 -3), Vector2(5, j*2 -3))
edgeShape.friction = 0.5 -- Set friction
end
-- Create a box (will be cloned later)
local box = scene_:CreateChild("Box")
box.position = Vector3(0.8, -2, 0)
local staticSprite = box:CreateComponent("StaticSprite2D")
staticSprite.sprite = cache:GetResource("Sprite2D", "Urho2D/Box.png")
local body = box:CreateComponent("RigidBody2D")
body.bodyType = BT_DYNAMIC
body.linearDamping = 0
body.angularDamping = 0
local shape = box:CreateComponent("CollisionBox2D") -- Create box shape
shape.size = Vector2(0.32, 0.32) -- Set size
shape.density = 1 -- Set shape density (kilograms per meter squared)
shape.friction = 0.5 -- Set friction
shape.restitution = 0.1 -- Set restitution (slight bounce)
-- Create a ball (will be cloned later)
local ball = scene_:CreateChild("Ball")
ball.position = Vector3(1.8, -2, 0)
local staticSprite = ball:CreateComponent("StaticSprite2D")
staticSprite.sprite = cache:GetResource("Sprite2D", "Urho2D/Ball.png")
local body = ball:CreateComponent("RigidBody2D")
body.bodyType = BT_DYNAMIC
body.linearDamping = 0
body.angularDamping = 0
local shape = ball:CreateComponent("CollisionCircle2D") -- Create circle shape
shape.radius = 0.16 -- Set radius
shape.density = 1 -- Set shape density (kilograms per meter squared)
shape.friction = 0.5 -- Set friction
shape.restitution = 0.6 -- Set restitution: make it bounce
-- Create a polygon
local node = scene_:CreateChild("Polygon")
node.position = Vector3(1.6, -2, 0)
node:SetScale(0.7)
local staticSprite = node:CreateComponent("StaticSprite2D")
staticSprite.sprite = cache:GetResource("Sprite2D", "Urho2D/Aster.png")
local body = node:CreateComponent("RigidBody2D")
body.bodyType = BT_DYNAMIC
local shape = node:CreateComponent("CollisionPolygon2D")
shape:SetVertices{Vector2(-0.8, -0.3), Vector2(0.5, -0.8), Vector2(0.8, -0.3), Vector2(0.8, 0.5), Vector2(0.5, 0.9), Vector2(-0.5, 0.7)}
shape.density = 1 -- Set shape density (kilograms per meter squared)
shape.friction = 0.3 -- Set friction
shape.restitution = 0 -- Set restitution (no bounce)
-- Create a ConstraintDistance2D
CreateFlag("ConstraintDistance2D", -4.97, 3) -- Display Text3D flag
local boxNode = box:Clone()
local ballNode = ball:Clone()
local ballBody = ballNode:GetComponent("RigidBody2D")
boxNode.position = Vector3(-4.5, 2, 0)
ballNode.position = Vector3(-3, 2, 0)
local constraintDistance = boxNode:CreateComponent("ConstraintDistance2D") -- Apply ConstraintDistance2D to box
constraintDistance.otherBody = ballBody -- Constrain ball to box
constraintDistance.ownerBodyAnchor = boxNode.position2D
constraintDistance.otherBodyAnchor = ballNode.position2D
-- Make the constraint soft (comment to make it rigid, which is its basic behavior)
constraintDistance.frequencyHz = 4
constraintDistance.dampingRatio = 0.5
-- Create a ConstraintFriction2D ********** Not functional. From Box2d samples it seems that 2 anchors are required, Urho2D only provides 1, needs investigation ***********
CreateFlag("ConstraintFriction2D", 0.03, 1) -- Display Text3D flag
local boxNode = box:Clone()
local ballNode = ball:Clone()
boxNode.position = Vector3(0.5, 0, 0)
ballNode.position = Vector3(1.5, 0, 0)
local constraintFriction = boxNode:CreateComponent("ConstraintFriction2D") -- Apply ConstraintDistance2D to box
constraintFriction.otherBody = ballNode:GetComponent("RigidBody2D") -- Constraint ball to box
constraintFriction.ownerBodyAnchor = boxNode.position2D
--constraintFriction.otherBodyAnchor = ballNode.position2D
--constraintFriction.maxForce = 10 -- ballBody.mass * gravity
--constraintDistance.maxTorque = 10 -- ballBody.mass * radius * gravity
-- Create a ConstraintGear2D
CreateFlag("ConstraintGear2D", -4.97, -1) -- Display Text3D flag
local baseNode = box:Clone()
baseNode:GetComponent("RigidBody2D").bodyType = BT_STATIC
baseNode.position = Vector3(-3.7, -2.5, 0)
local ball1Node = ball:Clone()
ball1Node.position = Vector3(-4.5, -2, 0)
local ball1Body = ball1Node:GetComponent("RigidBody2D")
local ball2Node = ball:Clone()
ball2Node.position = Vector3(-3, -2, 0)
local ball2Body = ball2Node:GetComponent("RigidBody2D")
local gear1 = baseNode:CreateComponent("ConstraintRevolute2D") -- Apply constraint to baseBox
gear1.otherBody = ball1Body -- Constrain ball1 to baseBox
gear1.anchor = ball1Node.position2D
local gear2 = baseNode:CreateComponent("ConstraintRevolute2D") -- Apply constraint to baseBox
gear2.otherBody = ball2Body -- Constrain ball2 to baseBox
gear2.anchor = ball2Node.position2D
local constraintGear = ball1Node:CreateComponent("ConstraintGear2D") -- Apply constraint to ball1
constraintGear.otherBody = ball2Body -- Constrain ball2 to ball1
constraintGear.ownerConstraint = gear1
constraintGear.otherConstraint = gear2
constraintGear.ratio=1
ball1Body:ApplyAngularImpulse(0.015, true) -- Animate
-- Create a vehicle from a compound of 2 ConstraintWheel2Ds
CreateFlag("ConstraintWheel2Ds compound", -2.45, -1) -- Display Text3D flag
local car = box:Clone()
car.scale = Vector3(4, 1, 0)
car.position = Vector3(-1.2, -2.3, 0)
car:GetComponent("StaticSprite2D").orderInLayer = 0 -- Draw car on top of the wheels (set to -1 to draw below)
local ball1Node = ball:Clone()
ball1Node.position = Vector3(-1.6, -2.5, 0)
local ball2Node = ball:Clone()
ball2Node.position = Vector3(-0.8, -2.5, 0)
local wheel1 = car:CreateComponent("ConstraintWheel2D")
wheel1.otherBody = ball1Node:GetComponent("RigidBody2D")
wheel1.anchor = ball1Node.position2D
wheel1.axis = Vector2(0, 1)
wheel1.maxMotorTorque = 20
wheel1.frequencyHz = 4
wheel1.dampingRatio = 0.4
local wheel2 = car:CreateComponent("ConstraintWheel2D")
wheel2.otherBody = ball2Node:GetComponent("RigidBody2D")
wheel2.anchor = ball2Node.position2D
wheel2.axis = Vector2(0, 1)
wheel2.maxMotorTorque = 10
wheel2.frequencyHz = 4
wheel2.dampingRatio = 0.4
-- Create a ConstraintMotor2D
CreateFlag("ConstraintMotor2D", 2.53, -1) -- Display Text3D flag
local boxNode = box:Clone()
boxNode:GetComponent("RigidBody2D").bodyType = BT_STATIC
local ballNode = ball:Clone()
boxNode.position = Vector3(3.8, -2.1, 0)
ballNode.position = Vector3(3.8, -1.5, 0)
constraintMotor = boxNode:CreateComponent("ConstraintMotor2D")
constraintMotor.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintMotor.linearOffset = Vector2(0, 0.8) -- Set ballNode position relative to boxNode position = (0,0)
constraintMotor.angularOffset = 0.1
constraintMotor.maxForce = 5
constraintMotor.maxTorque = 10
constraintMotor.correctionFactor = 1
constraintMotor.collideConnected = true -- doesn't work
-- Create a ConstraintMouse2D is demonstrated in HandleMouseButtonDown() function. It is used to "grasp" the sprites with the mouse.
CreateFlag("ConstraintMouse2D", 0.03, -1) -- Display Text3D flag
-- Create a ConstraintPrismatic2D
CreateFlag("ConstraintPrismatic2D", 2.53, 3) -- Display Text3D flag
local boxNode = box:Clone()
boxNode:GetComponent("RigidBody2D").bodyType = BT_STATIC
local ballNode = ball:Clone()
boxNode.position = Vector3(3.3, 2.5, 0)
ballNode.position = Vector3(4.3, 2, 0)
local constraintPrismatic = boxNode:CreateComponent("ConstraintPrismatic2D")
constraintPrismatic.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintPrismatic.axis = Vector2(1, 1) -- Slide from [0,0] to [1,1]
constraintPrismatic.anchor = Vector2(4, 2)
constraintPrismatic.lowerTranslation = -1
constraintPrismatic.upperTranslation = 0.5
constraintPrismatic.enableLimit = true
constraintPrismatic.maxMotorForce = 1
constraintPrismatic.motorSpeed = 0
-- Create a ConstraintPulley2D
CreateFlag("ConstraintPulley2D", 0.03, 3) -- Display Text3D flag
local boxNode = box:Clone()
local ballNode = ball:Clone()
boxNode.position = Vector3(0.5, 2, 0)
ballNode.position = Vector3(2, 2, 0)
local constraintPulley = boxNode:CreateComponent("ConstraintPulley2D") -- Apply constraint to box
constraintPulley.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintPulley.ownerBodyAnchor = boxNode.position2D
constraintPulley.otherBodyAnchor = ballNode.position2D
constraintPulley.ownerBodyGroundAnchor = boxNode.position2D + Vector2(0, 1)
constraintPulley.otherBodyGroundAnchor = ballNode.position2D + Vector2(0, 1)
constraintPulley.ratio = 1 -- Weight ratio between ownerBody and otherBody
-- Create a ConstraintRevolute2D
CreateFlag("ConstraintRevolute2D", -2.45, 3) -- Display Text3D flag
local boxNode = box:Clone()
boxNode:GetComponent("RigidBody2D").bodyType = BT_STATIC
local ballNode = ball:Clone()
boxNode.position = Vector3(-2, 1.5, 0)
ballNode.position = Vector3(-1, 2, 0)
local constraintRevolute = boxNode:CreateComponent("ConstraintRevolute2D") -- Apply constraint to box
constraintRevolute.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintRevolute.anchor = Vector2(-1, 1.5)
constraintRevolute.lowerAngle = -1 -- In radians
constraintRevolute.upperAngle = 0.5 -- In radians
constraintRevolute.enableLimit = true
constraintRevolute.maxMotorTorque = 10
constraintRevolute.motorSpeed = 0
constraintRevolute.enableMotor = true
-- Create a ConstraintRope2D
CreateFlag("ConstraintRope2D", -4.97, 1) -- Display Text3D flag
local boxNode = box:Clone()
boxNode:GetComponent("RigidBody2D").bodyType = BT_STATIC
local ballNode = ball:Clone()
boxNode.position = Vector3(-3.7, 0.7, 0)
ballNode.position = Vector3(-4.5, 0, 0)
local constraintRope = boxNode:CreateComponent("ConstraintRope2D")
constraintRope.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintRope.ownerBodyAnchor = Vector2(0, -0.5) -- Offset from box (OwnerBody) : the rope is rigid from OwnerBody center to this ownerBodyAnchor
constraintRope.maxLength = 0.9 -- Rope length
constraintRope.collideConnected = true
-- Create a ConstraintWeld2D
CreateFlag("ConstraintWeld2D", -2.45, 1) -- Display Text3D flag
local boxNode = box:Clone()
local ballNode = ball:Clone()
boxNode.position = Vector3(-0.5, 0, 0)
ballNode.position = Vector3(-2, 0, 0)
local constraintWeld = boxNode:CreateComponent("ConstraintWeld2D")
constraintWeld.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintWeld.anchor = boxNode.position2D
constraintWeld.frequencyHz = 4
constraintWeld.dampingRatio = 0.5
-- ConstraintWheel2D
CreateFlag("ConstraintWheel2D", 2.53, 1) -- Display Text3D flag
local boxNode = box:Clone()
local ballNode = ball:Clone()
boxNode.position = Vector3(3.8, 0, 0)
ballNode.position = Vector3(3.8, 0.9, 0)
local constraintWheel = boxNode:CreateComponent("ConstraintWheel2D")
constraintWheel.otherBody = ballNode:GetComponent("RigidBody2D") -- Constrain ball to box
constraintWheel.anchor = ballNode.position2D
constraintWheel.axis = Vector2(0, 1)
constraintWheel.enableMotor = true
constraintWheel.maxMotorTorque = 1
constraintWheel.motorSpeed = 0
constraintWheel.frequencyHz = 4
constraintWheel.dampingRatio = 0.5
constraintWheel.collideConnected = true -- doesn't work
end
function CreateFlag(text, x, y) -- Used to create Tex3D flags
local flagNode = scene_:CreateChild("Flag")
flagNode.position = Vector3(x, y, 0)
local flag3D = flagNode:CreateComponent("Text3D") -- We use Text3D in order to make the text affected by zoom (so that it sticks to 2D)
flag3D.text = text
flag3D:SetFont(cache:GetResource("Font", "Fonts/Anonymous Pro.ttf"), 15)
end
function CreateInstructions()
-- Construct new Text object, set string to display and font to use
local instructionText = ui.root:CreateChild("Text")
instructionText:SetText("Use WASD keys and mouse to move, Use PageUp PageDown to zoom.\n Space to toggle debug geometry and joints - F5 to save the scene.")
instructionText:SetFont(cache:GetResource("Font", "Fonts/Anonymous Pro.ttf"), 15)
instructionText.textAlignment = HA_CENTER -- Center rows in relation to each other
-- Position the text relative to the screen center
instructionText.horizontalAlignment = HA_CENTER
instructionText.verticalAlignment = VA_CENTER
instructionText:SetPosition(0, ui.root.height / 4)
end
function MoveCamera(timeStep)
if ui.focusElement ~= nil then return end -- Do not move if the UI has a focused element (the console)
local MOVE_SPEED = 4 -- Movement speed as world units per second
-- Read WASD keys and move the camera scene node to the corresponding direction if they are pressed
if input:GetKeyDown(KEY_W) then cameraNode:Translate(Vector3(0, 1, 0) * MOVE_SPEED * timeStep) end
if input:GetKeyDown(KEY_S) then cameraNode:Translate(Vector3(0, -1, 0) * MOVE_SPEED * timeStep) end
if input:GetKeyDown(KEY_A) then cameraNode:Translate(Vector3(-1, 0, 0) * MOVE_SPEED * timeStep) end
if input:GetKeyDown(KEY_D) then cameraNode:Translate(Vector3(1, 0, 0) * MOVE_SPEED * timeStep) end
if input:GetKeyDown(KEY_PAGEUP) then camera.zoom = camera.zoom * 1.01 end -- Zoom In
if input:GetKeyDown(KEY_PAGEDOWN) then camera.zoom = camera.zoom * 0.99 end -- Zoom Out
end
function SubscribeToEvents()
SubscribeToEvent("Update", "HandleUpdate")
SubscribeToEvent("PostRenderUpdate", "HandlePostRenderUpdate")
SubscribeToEvent("MouseButtonDown", "HandleMouseButtonDown")
if touchEnabled then SubscribeToEvent("TouchBegin", "HandleTouchBegin3") end
-- Unsubscribe the SceneUpdate event from base class to prevent camera pitch and yaw in 2D sample
UnsubscribeFromEvent("SceneUpdate")
end
function HandleUpdate(eventType, eventData)
local timestep = eventData:GetFloat("TimeStep")
MoveCamera(timestep) -- Move the camera according to frame's time step
if input:GetKeyPress(KEY_SPACE) then drawDebug = not drawDebug end -- Toggle debug geometry with space
if input:GetKeyPress(KEY_F5) then scene_:SaveXML(fileSystem:GetProgramDir().."Data/Scenes/Constraints.xml") end -- Save scene
end
function HandlePostRenderUpdate(eventType, eventData)
if drawDebug then physicsWorld:DrawDebugGeometry() end
end
function HandleMouseButtonDown(eventType, eventData)
local rigidBody = physicsWorld:GetRigidBody(input.mousePosition.x, input.mousePosition.y) -- Raycast for RigidBody2Ds to pick
if rigidBody ~= nil then
pickedNode = rigidBody:GetNode()
local staticSprite = pickedNode:GetComponent("StaticSprite2D")
staticSprite.color = Color(1, 0, 0, 1) -- Temporary modify color of the picked sprite
-- ConstraintMouse2D - Temporary apply this constraint to the pickedNode to allow grasping and moving with the mouse
local constraintMouse = pickedNode:CreateComponent("ConstraintMouse2D")
constraintMouse.target = GetMousePositionXY()
constraintMouse.maxForce = 1000 * rigidBody.mass
constraintMouse.collideConnected = true
constraintMouse.otherBody = dummyBody -- Use dummy body instead of rigidBody. It's better to create a dummy body automatically in ConstraintMouse2D
constraintMouse.dampingRatio = 0
end
SubscribeToEvent("MouseMove", "HandleMouseMove")
SubscribeToEvent("MouseButtonUp", "HandleMouseButtonUp")
end
function HandleMouseButtonUp(eventType, eventData)
if pickedNode ~= nil then
local staticSprite = pickedNode:GetComponent("StaticSprite2D")
staticSprite.color = Color(1, 1, 1, 1) -- Restore picked sprite color
pickedNode:RemoveComponent("ConstraintMouse2D") -- Remove temporary constraint
pickedNode = nil
end
UnsubscribeFromEvent("MouseMove")
UnsubscribeFromEvent("MouseButtonUp")
end
function GetMousePositionXY()
local screenPoint = Vector3(input.mousePosition.x / graphics.width, input.mousePosition.y / graphics.height, 0)
local worldPoint = camera:ScreenToWorldPoint(screenPoint)
return Vector2(worldPoint.x, worldPoint.y)
end
function HandleMouseMove(eventType, eventData)
if pickedNode ~= nil then
local constraintMouse = pickedNode:GetComponent("ConstraintMouse2D")
constraintMouse.target = GetMousePositionXY()
end
end
function HandleTouchBegin3(eventType, eventData)
local rigidBody = physicsWorld:GetRigidBody(eventData:GetInt("X"), eventData:GetInt("Y")) -- Raycast for RigidBody2Ds to pick
if rigidBody ~= nil then
pickedNode = rigidBody:GetNode()
local staticSprite = pickedNode:GetComponent("StaticSprite2D")
staticSprite.color = Color(1, 0, 0, 1) -- Temporary modify color of the picked sprite
local rigidBody = pickedNode:GetComponent("RigidBody2D")
-- ConstraintMouse2D - Temporary apply this constraint to the pickedNode to allow grasping and moving with touch
local constraintMouse = pickedNode:CreateComponent("ConstraintMouse2D")
constraintMouse.target = camera:ScreenToWorldPoint(Vector3(eventData:GetInt("X") / graphics.width, eventData:GetInt("Y") / graphics.height, 0))
constraintMouse.maxForce = 1000 * rigidBody.mass
constraintMouse.collideConnected = true
constraintMouse.otherBody = dummyBody -- Use dummy body instead of rigidBody. It's better to create a dummy body automatically in ConstraintMouse2D
constraintMouse.dampingRatio = 0
end
SubscribeToEvent("TouchMove", "HandleTouchMove3")
SubscribeToEvent("TouchEnd", "HandleTouchEnd3")
end
function HandleTouchMove3(eventType, eventData)
if pickedNode ~= nil then
local constraintMouse = pickedNode:GetComponent("ConstraintMouse2D")
constraintMouse.target = camera:ScreenToWorldPoint(Vector3(eventData:GetInt("X") / graphics.width, eventData:GetInt("Y") / graphics.height, 0))
end
end
function HandleTouchEnd3(eventType, eventData)
if pickedNode ~= nil then
local staticSprite = pickedNode:GetComponent("StaticSprite2D")
staticSprite.color = Color(1, 1, 1, 1) -- Restore picked sprite color
pickedNode:RemoveComponent("ConstraintMouse2D") -- Remove temporary constraint
pickedNode = nil
end
UnsubscribeFromEvent("TouchMove")
UnsubscribeFromEvent("TouchEnd")
end
-- Create XML patch instructions for screen joystick layout specific to this sample app
function GetScreenJoystickPatchString()
return
"<patch>" ..
" <remove sel=\"/element/element[./attribute[@name='Name' and @value='Button0']]/attribute[@name='Is Visible']\" />" ..
" <replace sel=\"/element/element[./attribute[@name='Name' and @value='Button0']]/element[./attribute[@name='Name' and @value='Label']]/attribute[@name='Text']/@value\">Zoom In</replace>" ..
" <add sel=\"/element/element[./attribute[@name='Name' and @value='Button0']]\">" ..
" <element type=\"Text\">" ..
" <attribute name=\"Name\" value=\"KeyBinding\" />" ..
" <attribute name=\"Text\" value=\"PAGEUP\" />" ..
" </element>" ..
" </add>" ..
" <remove sel=\"/element/element[./attribute[@name='Name' and @value='Button1']]/attribute[@name='Is Visible']\" />" ..
" <replace sel=\"/element/element[./attribute[@name='Name' and @value='Button1']]/element[./attribute[@name='Name' and @value='Label']]/attribute[@name='Text']/@value\">Zoom Out</replace>" ..
" <add sel=\"/element/element[./attribute[@name='Name' and @value='Button1']]\">" ..
" <element type=\"Text\">" ..
" <attribute name=\"Name\" value=\"KeyBinding\" />" ..
" <attribute name=\"Text\" value=\"PAGEDOWN\" />" ..
" </element>" ..
" </add>" ..
"</patch>"
end
|
Enhex/Urho3D-CEF3
|
Bin_Release/Data/LuaScripts/32_Urho2DConstraints.lua
|
Lua
|
mit
| 22,988 |
<body>
<h1>MiniJava Compiler (<tt>mjc</tt>) JavaDoc Documentation</h1>
<p>JavaDoc documentation for the MiniJava Compiler (mjc).</p>
<p>See the GitHub project page at
<a href="http://estan.github.io/mjc/">http://estan.github.io/mjc/</a>
for more information.</p>
</body>
|
estan/mjc
|
src/main/java/overview.html
|
HTML
|
mit
| 274 |
<?php
namespace ZF2EntityAudit\Paginator;
use Zend\Paginator\Adapter\AdapterInterface;
use Doctrine\DBAL\Query\QueryBuilder;
class DbalAdapter implements AdapterInterface
{
protected $query;
protected $ItemCountPerPage = "10";
protected $currentPageNumber = "1";
public function __construct(QueryBuilder $query)
{
$this->query = $query;
}
public function getItems($offset, $itemCountPerPage )
{
$this->query->setFirstResult($offset)
->setMaxResults($itemCountPerPage);
return $this->query->execute()->fetchAll();
}
public function count()
{
return count($this->query->execute()->fetchAll());
}
}
|
51systems/ZF2EntityAudit
|
src/ZF2EntityAudit/Paginator/DbalAdapter.php
|
PHP
|
mit
| 700 |
var atam = angular.module('atam', []);
//The set of unique tiles to be used in the construct
atam.factory('tileSet', [function() {
var tileSet = {};
//Holds the set of unique tiles that are possible to use
tileSet.set = [];
//Insert
tileSet.insert = function(tile){
tileSet.set.push(tile);
}
//Create a new tile in the tile set
tileSet.newTile = function(label, n_glue, e_glue, s_glue, w_glue){
var new_tile = new Object();
new_tile.label = label;
new_tile.nglue = n_glue;
new_tile.eglue = e_glue;
new_tile.sglue = s_glue;
new_tile.wglue = w_glue;
tileSet.set.push(new_tile);
}
return tileSet;
}]);
//The current universe of active tiles
atam.factory('universe', ['tileSet', 'graphics', function(tileSet, graphics) {
//The universe object
var universe = new Object();
//The temperature of the universe
universe.temp = 2;
//An optional cycle counter
universe.cycleCount = null;
//Holds all the current active tiles
universe.grid = [];
//An array that contains all the currently sticky tiles
universe.sticky = [];
//Initialize the universe with a seed construct
universe.init = function(seed){
//Set the current universe's grid to the seed grid
universe.grid = seed;
};
//Assemble the construct
universe.assemble = function(){
//Loop breaker
var loopBreaker = 0;
//Optional cycle checker
var currentCycle = 0;
while(true){
//Dequeue the first item out of the unique tileset
var candidateTile = tileSet.set.shift();
if(candidateTile === undefined){
break;
}
//If a tile is matched this will be set to true
var match = false;
//Iterate through the occupied tiles and see if the tile will fit
for(var i=0; i<universe.sticky.length; i++){
//The current sum of the binding strength
var bindSum = 0;
//The x coordinate of the current sticky tile
var sticky_x = universe.sticky[i].x;
//The y coordinate of the current sticky tile
var sticky_y = universe.sticky[i].y;
//Check north of tile
if((universe.grid[sticky_y - 1] === undefined || universe.grid[sticky_y - 1][sticky_x] === undefined) && universe.sticky[i].nglue !== null && candidateTile.sglue !== null && candidateTile.sglue.label == universe.sticky[i].nglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.sglue.strength;
//If the bind sum is greater than or equal to the temp
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y - 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
//If the bind sum is not greater than or equal to the temp, check for cooperative binding
else{
//Check north of the cadidate tile
if((universe.grid[sticky_y - 2] !== undefined && universe.grid[sticky_y - 2][sticky_x] !== undefined) && candidateTile.nglue !== null && universe.grid[sticky_y - 2][sticky_x].sglue !== null && candidateTile.nglue.label == universe.grid[sticky_y - 2][sticky_x].sglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.nglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y - 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check east of the cadidate tile
if((universe.grid[sticky_y - 1] !== undefined && universe.grid[sticky_y - 1][sticky_x + 1] !== undefined) && candidateTile.eglue !== null && universe.grid[sticky_y - 1][sticky_x + 1].wglue !== null && candidateTile.eglue.label == universe.grid[sticky_y - 1][sticky_x + 1].wglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.eglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y - 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check west of the cadidate tile
if((universe.grid[sticky_y - 1] !== undefined && universe.grid[sticky_y - 1][sticky_x - 1] !== undefined) && candidateTile.wglue !== null && universe.grid[sticky_y - 1][sticky_x - 1].eglue !== null && candidateTile.wglue.label == universe.grid[sticky_y - 1][sticky_x - 1].eglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.wglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y - 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
}
}
//If the tile east of the sticky tile is not set and the glue matches
else if(universe.grid[sticky_y][sticky_x + 1] === undefined && universe.sticky[i].eglue !== null && candidateTile.wglue !== null && candidateTile.wglue.label == universe.sticky[i].eglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.wglue.strength;
//If the bind sum is greater than or equal to the temp
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x + 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
//If the bind sum is not greater than or equal to the temp, check for cooperative binding
else{
//Check north of the cadidate tile
if((universe.grid[sticky_y - 1] !== undefined && universe.grid[sticky_y - 1][sticky_x + 1] !== undefined) && candidateTile.nglue !== null && universe.grid[sticky_y - 1][sticky_x + 1].sglue !== null && candidateTile.nglue.label == universe.grid[sticky_y - 1][sticky_x + 1].sglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.nglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x + 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check east of the cadidate tile
if(universe.grid[sticky_y][sticky_x + 2] !== undefined && candidateTile.eglue !== null && universe.grid[sticky_y][sticky_x + 2].wglue !== null && candidateTile.eglue.label == universe.grid[sticky_y][sticky_x + 2].wglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.eglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x + 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
if((universe.grid[sticky_y + 1] !== undefined && universe.grid[sticky_y + 1][sticky_x + 1] !== undefined) && candidateTile.sglue !== null && candidateTile.sglue.label == universe.grid[sticky_y + 1][sticky_x + 1].nglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.sglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x + 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
}
console.log(bindSum);
}
//If the tile south of the sticky tile is not set and the glue matches
else if((universe.grid[sticky_y + 1] === undefined || universe.grid[sticky_y + 1][sticky_x] === undefined) && universe.sticky[i].sglue !== null && candidateTile.nglue !== null && candidateTile.nglue.label == universe.sticky[i].sglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.nglue.strength;
//If the bind sum is greater than or equal to the temp
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y + 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
//If the bind sum is not greater than or equal to the temp, check for cooperative binding
else{
//Check south of the cadidate tile
if((universe.grid[sticky_y + 2] !== undefined && universe.grid[sticky_y + 2][sticky_x] !== undefined) && candidateTile.sglue !== null && candidateTile.sglue.label == universe.grid[sticky_y + 2][sticky_x].nglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.sglue.strength;
console.log(bindSum);
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y + 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check east of the cadidate tile
if((universe.grid[sticky_y + 1] !== undefined && universe.grid[sticky_y + 1][sticky_x + 1] !== undefined) && candidateTile.eglue !== null && candidateTile.eglue.label == universe.grid[sticky_y + 1][sticky_x + 1].wglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.eglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y + 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check west of the cadidate tile
if((universe.grid[sticky_y + 1] !== undefined && universe.grid[sticky_y + 1][sticky_x - 1] !== undefined) && candidateTile.wglue !== null && candidateTile.wglue.label == universe.grid[sticky_y + 1][sticky_x - 1].eglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.wglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x, sticky_y + 1, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
}
}
//If the tile west of the sticky tile is not set and the glue matches
else if(universe.grid[sticky_y][sticky_x - 1] === undefined && universe.sticky[i].wglue !== null && candidateTile.eglue !== null && candidateTile.eglue.label == universe.sticky[i].wglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.eglue.strength;
//If the bind sum is greater than or equal to the temp
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x - 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
//If the bind sum is not greater than or equal to the temp, check for cooperative binding
else{
//Check north of the cadidate tile
if((universe.grid[sticky_y + 1] !== undefined && universe.grid[sticky_y + 1][sticky_x - 1] !== undefined) && candidateTile.nglue !== null && universe.grid[sticky_y + 1][sticky_x - 1].sglue !== null && candidateTile.nglue.label == universe.grid[sticky_y + 1][sticky_x - 1].sglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.nglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x - 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check west of the cadidate tile
if(universe.grid[sticky_y][sticky_x - 2] !== undefined && candidateTile.wglue !== null && universe.grid[sticky_y][sticky_x - 2].eglue !== null && candidateTile.wglue.label == universe.grid[sticky_y][sticky_x - 2].eglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.wglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x - 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
//Check south of the cadidate tile
if((universe.grid[sticky_y + 1] !== undefined && universe.grid[sticky_y + 1][sticky_x - 1] !== undefined) && candidateTile.sglue !== null && universe.grid[sticky_y + 1][sticky_x - 1].nglue !== null && candidateTile.sglue.label == universe.grid[sticky_y + 1][sticky_x - 1].nglue.label){
//Add the strength to the bind sum
bindSum = bindSum + candidateTile.sglue.strength;
if(bindSum >= universe.temp){
//Insert the candidate tile
universe.insert(sticky_x - 1, sticky_y, candidateTile);
//Tile match!
match = true;
loopBreaker = 0;
continue;
}
}
}
console.log(bindSum);
}
}
//If match set loopbreaker to 0
if(match){
loopBreaker = 0;
} else {
loopBreaker ++;
}
//If the loopbreaker is bigger than the tileset array, break out because nothing else can be assembled
if(loopBreaker > tileSet.set.length+1){
break;
}
//Push the candidate tile back onto the array
tileSet.set.push(candidateTile);
//If cycleCounter is set
if(universe.cycleCount !== null){
currentCycle ++;
if(currentCycle > universe.cycleCount){
break;
}
}
}
};
//Insert a tile into at a specific location
//Input: X coord, Y coord, a tile object
universe.insert = function insert(x, y, newTile){
//If the x value to insert is less than zero (outside left bound)
if(x < 0){
//Add an element on to the front of each array
for(var i=0; i<universe.grid.length; i++){
universe.grid[i].splice(null, 0, null);
x = 0;
}
// Readjust coordinates
for(var i=0; i<universe.sticky.length; i++){
universe.sticky[i].x ++;
}
}
//If the y value is less than zero (outside upper bound)
if(y < 0){
//Insert a new array at the beginning with a length of the other arrays
universe.grid.unshift(new Array());
y = 0;
// Readjust coordinates
for(var i=0; i<universe.sticky.length; i++){
universe.sticky[i].y ++;
}
}
//If there is not an array at the y value create one
if( universe.grid[y] === undefined ) {
universe.grid[y] = [];
}
//Insert the tile into the location
universe.grid[y][x] = newTile;
//console.log(x + ", " + y);
//Add the coordinates to the sticky array
var occ = new Object();
occ.x = x;
occ.y = y;
occ.nglue = newTile.nglue;
occ.eglue = newTile.eglue;
occ.sglue = newTile.sglue;
occ.wglue = newTile.wglue;
occ.label = newTile.label;
universe.sticky.push(occ);
};
return universe;
}]);
atam.controller('atamCtrl', ['$scope', '$http', 'universe', 'tileSet', 'graphics', '$timeout', function($scope, $http, universe, tileSet, graphics, $timeout) {
$scope.numberB = "100110101";
$scope.numberA = "110101100";
//Number of digits
var numDigits = $scope.numberA.length;
//Get the square root and floor it
var numSections = Math.sqrt(numDigits);
numSections = Math.floor(numSections);
console.log(numSections);
$scope.fastAdder = function(){
var glue1 = new Object();
glue1.label = "1";
glue1.strength = 1;
var glue0 = new Object();
glue0.label = "0";
glue0.strength = 1;
var glueNc = new Object();
glueNc.label = "NC";
glueNc.strength = 1;
var glueZ = new Object();
glueZ.label = "Z";
glueZ.strength = 1;
var glueF1 = new Object();
glueF1.label = "F1";
glueF1.strength = 1;
//Seed tiles
var z = new Object();
z.nglue = null;
z.eglue = null;
z.sglue = null;
z.wglue = glueZ;
z.label = " ";
var blank = new Object();
blank.nglue = null;
blank.eglue = null;
blank.sglue = null;
blank.wglue = null;
blank.label = " ";
var one = new Object();
one.nglue = glue1;
one.eglue = null;
one.sglue = null;
one.wglue = null;
one.label = "1";
var zero = new Object();
zero.nglue = glue0;
zero.eglue = null;
zero.sglue = null;
zero.wglue = null;
zero.label = "0";
var F1 = new Object();
F1.nglue = null;
F1.eglue = null;
F1.sglue = null;
F1.wglue = glueF1;
F1.label = " ";
var NC = new Object();
NC.nglue = null;
NC.eglue = null;
NC.sglue = null;
NC.wglue= glueNc;
NC.label = " ";
var Nc1 = new Object();
Nc1.nglue = glueNc;
Nc1.eglue = null;
Nc1.sglue = null;
Nc1.wglue = null;
Nc1.label = " ";
var sectionCounter = 0;
var intCounter = 1;
var y = 2;
//Insert seed tiles
universe.insert(1, 1, z);
//Create the blank top row
while(intCounter <= 2 * numSections){
universe.insert(intCounter, y, blank);
intCounter++;
}
intCounter = 1;
for(var i=0; i<numSections; i++)
{
universe.insert((2 * numSections) + 1, y, blank);
universe.insert((2 * numSections) + 1, ++y, blank);
universe.insert((2 * numSections) + 1, ++y, F1);
universe.insert((2 * numSections) + 1, ++y, NC);
while(intCounter <= 2 * numSections){
if(intCounter % 2 != 0){
if($scope.numberA[0] == "1"){
universe.insert(intCounter, y+1, one);
console.log($scope.numberA[0]);
$scope.numberA = $scope.numberA.substr(1);
console.log($scope.numberA);
} else {
universe.insert(intCounter, y+1, zero);
$scope.numberA = $scope.numberA.substr(1);
}
} else {
if($scope.numberB[0] == "1"){
universe.insert(intCounter, y+1, one);
$scope.numberB = $scope.numberB.substr(1);
} else {
universe.insert(intCounter, y+1, zero);
$scope.numberB = $scope.numberB.substr(1);
}
}
intCounter++;
}
intCounter = 1;
y++;
}
universe.insert(0, y, Nc1);
universe.insert((2 * numSections) + 1, y, blank);
console.log(universe);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "0";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "1";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "1";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "10";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "0";
eglue.strength = 1;
eglue.label = "0";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "1";
eglue.strength = 1;
eglue.label = "0";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "1";
eglue.strength = 1;
eglue.label = "1";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "0";
eglue.strength = 1;
eglue.label = "1";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "1";
eglue.strength = 1;
eglue.label = "10";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "0";
eglue.strength = 1;
eglue.label = "10";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "0_1";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile("1", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "1_0";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile("0", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "0_0";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile("0", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "1_1";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile("1", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "B";
wglue.strength = 1;
wglue.label = "C";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "0_1";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile("0", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "1_0";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile("1", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "0_0";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile("0", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "1_1";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile("1", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "B";
wglue.strength = 1;
wglue.label = "NC";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "Z";
sglue.strength = 1;
sglue.label = "C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile("1", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 0;
nglue.label = null;
eglue.strength = 1;
eglue.label = "Z";
sglue.strength = 1;
sglue.label = "NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile("0", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "NC_C1";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "NC_NC1";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "C_C1";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 1;
sglue.label = "C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "C_NC1";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 1;
sglue.label = "C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "NC_C";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "NC_C1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "NC_NC";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "NC_NC1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "C_C";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "C_C1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "C_C";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "C_NC1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "NC_C";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "NC_C1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "NC_NC";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "NC_NC1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "C_C";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "C_C1";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "C_NC";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "C_NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "2C";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 2;
sglue.label = "NC_C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "2NC";
eglue.strength = 1;
eglue.label = "NC";
sglue.strength = 2;
sglue.label = "NC_NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "2C";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 2;
sglue.label = "C_C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 2;
nglue.label = "2NC";
eglue.strength = 1;
eglue.label = "C";
sglue.strength = 2;
sglue.label = "C_NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "C";
eglue.strength = 0;
eglue.label = null;
sglue.strength = 2;
sglue.label = "2C";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "NC";
eglue.strength = 0;
eglue.label = null;
sglue.strength = 2;
sglue.label = "2NC";
wglue.strength = 0;
wglue.label = null;
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "1_0";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "0_1";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "F1";
sglue.strength = 1;
sglue.label = "B";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "1_1";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "1";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "0_0";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "0";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = 1;
nglue.label = "B";
eglue.strength = 1;
eglue.label = "F";
sglue.strength = 1;
sglue.label = "B";
wglue.strength = 1;
wglue.label = "F";
tileSet.newTile(" ", nglue, eglue, sglue, wglue);
universe.assemble();
console.log(universe.sticky);
delayDraw = function(){
$timeout(function(){
var tile = universe.sticky.shift();
if(tile !== undefined){
graphics.drawTile(tile.x, tile.y, tile.label);
delayDraw();
}
}, 50);
};
delayDraw();
};
$scope.readDataSet = function(){
$http({method: 'GET', url: 'js/tileset.json'}).success(function(data, status, headers, config) {
console.log(data);
var list = data;
for(var i=0; i<list.Tiles.length; i++)
{
console.log("loop");
var tile = new Object();
var nglue = new Object();
var eglue = new Object();
var sglue = new Object();
var wglue = new Object();
nglue.strength = list.Tiles[i].Nstrength;
nglue.label = "B";
eglue.strength = list.Tiles[i].Estrength;
eglue.label = "NC";
sglue.strength = list.Tiles[i].Sstrength;
sglue.label = "0";
wglue.strength = list.Tiles[i].Wstrength;
wglue.label = "0";
tile.nglue = nglue;
tile.eglue = eglue;
tile.sglue = sglue;
tile.wglue = wglue;
console.log(tile);
tileSet.insert(tile);
//Add the tile to the tile set
tileSet.newTile(list.Tiles[i].tileName, nglue, eglue, sglue, wglue);
}
console.log("HELLO");
console.log(tileSet);
});
};
$scope.readDataSet();
$scope.fastAdder();
$scope.createConstruct = function(){
//Test tile
//var l=new Object();
//var r=new Object();
/*
var glue1 = new Object();
var glue2 = new Object();
var glue3 = new Object();
var glue4 = new Object();
var glue5 = new Object();
var glue6 = new Object();
var glue7 = new Object();
var glue8 = new Object();
glue1.label = "1";
glue2.label = "2";
glue3.label = "3";
glue4.label = "4";
glue5.label = "5";
glue6.label = "6";
glue7.label = "7";
glue8.label = "8";
glue1.strength = 2;
glue2.strength = 2;
glue3.strength = 2;
glue4.strength = 2;
glue5.strength = 2;
glue6.strength = 2;
glue7.strength = 1;
glue8.strength = 1;
var glue1 = new Object();
gluen.label = "1";
gluen.strength = 1;
var glue0 = new Object();
glue0.label = "0";
glue0.strength = 1;
var gluec = new Object();
gluec.label = "c";
gluec.strength = 1;
var glue1 = new Object();
glue1.label = "1";
glue1.strength = 1;
l.nglue = glue0;
l.eglue = null;
l.sglue = null;
l.wglue = null;
l.label = "L";
r.nglue = null;
r.eglue = gluec;
r.sglue = null;
r.wglue = null;
r.label = "R";
universe.insert(1, 1, r);
universe.insert(1, 2, r);
universe.insert(1, 3, r);
universe.insert(1, 4, r);
universe.insert(1, 5, r);
universe.insert(1, 6, r);
universe.insert(1, 7, r);
universe.insert(1, 8, r);
universe.insert(1, 9, r);
universe.insert(1, 10, r);
universe.insert(2, 11, l);
universe.insert(3, 11, l);
universe.insert(4, 11, l);
universe.insert(5, 11, l);
universe.insert(6, 11, l);
universe.insert(7, 11, l);
universe.insert(8, 11, l);
universe.insert(9, 11, l);
universe.insert(10, 11, l);
tileSet.newTile("1", glue1, gluen, glue1, gluen);
tileSet.newTile("0", glue0, gluen, glue0, gluen);
tileSet.newTile("l", glue1, gluen, glue0, gluec);
tileSet.newTile("0", glue0, gluec, glue1, gluec);
//Add tiles to tileset
tileSet.newTile("new1", glue7, glue3, null, glue2 );
tileSet.newTile("new2", glue7, null, null, glue3 );
tileSet.newTile("new3", glue5, glue8, glue1, null );
tileSet.newTile("new4", null, glue8, glue5, null );
tileSet.newTile("new5", glue7, glue8, glue7, glue8 );
tileSet.newTile("B", glue7, glue3, null, glue1 );
tileSet.newTile("C", glue4, glue8, glue2, null );
tileSet.newTile("D", glue7, glue5, null, glue3 );
tileSet.newTile("E", glue6, glue8, glue4, null );
tileSet.newTile("F", glue7, null, null, glue5 );
tileSet.newTile("G", null, glue8, glue6, null );
tileSet.newTile("H", glue7, glue8, glue7, glue8 );
*/
universe.assemble();
delayDraw = function(){
$timeout(function(){
var tile = universe.sticky.shift();
if(tile !== undefined){
graphics.drawTile(tile.x, tile.y, tile.label);
delayDraw();
}
}, 50);
};
delayDraw();
console.log(universe.sticky);
console.log("testing");
};
//$scope.createConstruct();
}]);
atam.factory('graphics', ['tileSet', '$timeout', function(tileSet, $timeout) {
var graphics = new Object();
canvas = document.getElementById("theUniverse");
context = canvas.getContext("2d");
scale = 40;
offset = 200;
graphics.drawTile = function(x, y, state) {
context.rect(offset + (x*scale) + 1, offset + (y*scale) + 1, scale, scale);
context.lineWidth = 1;
context.strokeStyle = createRandomColor();
context.stroke();
context.font = "25px Garmond";
context.fillText(state, offset + (x*scale) + 12, offset + (y*scale) + 29);
}
function createRandomColor() {
var letters = '0123456789ABCDEF'.split('');
var color = '#';
for (var i = 0; i < 6; i++ ) {
color += letters[Math.round(Math.random() * 15)];
}
return color;
}
return graphics;
}]);
|
dcvz/aTAM-Addition-Simulator
|
js/atam.js
|
JavaScript
|
mit
| 40,004 |
#import <UIKit/UIKit.h>
#import <libsvm/svm.h>
|
thepropterhoc/CocoaSVM
|
Pod/Classes/libsvm.framework/Versions/A/Headers/libsvm.h
|
C
|
mit
| 46 |
package me.pntutorial.pnrtcblog.adt;
/**
* Created by GleasonK on 6/25/15.
*/
public class ChatMessage {
private String sender;
private String message;
public ChatMessage(String sender, String message){
this.sender = sender;
this.message = message;
}
public String getSender() {
return sender;
}
public String getMessage() {
return message;
}
@Override
public String toString() {
return this.sender + ": " + this.message;
}
@Override
public int hashCode() {
return (this.sender + this.message).hashCode();
}
}
|
GleasonK/android-webrtc-tutorial
|
app/src/main/java/me/pntutorial/pnrtcblog/adt/ChatMessage.java
|
Java
|
mit
| 622 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names
** of its contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
//! [main.cpp body]
#include <QtGui>
// Include header files for application components.
// ...
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
// Set up and show widgets.
// ...
return app.exec();
}
//! [main.cpp body]
|
stephaneAG/PengPod700
|
QtEsrc/qt-everywhere-opensource-src-4.8.5/doc/src/snippets/widgets-tutorial/template.cpp
|
C++
|
mit
| 2,257 |
namespace FunBookMobile.Cloud.WebApi.Controllers
{
using System;
using System.Web.Http;
using FunBookMobile.Cloud.Data;
public abstract class BaseApiController : ApiController
{
private IFunBookData data;
public BaseApiController()
{
this.data = new FunBookData();
}
protected IFunBookData Data
{
get { return this.data; }
}
}
}
|
dzhenko/FunBookMobile
|
FunBookMobile.Cloud/FunBookMobile.Cloud.WebApi/Controllers/BaseApiController.cs
|
C#
|
mit
| 439 |
<?php
namespace Oro\Bundle\IntegrationBundle\Tests\Unit\Provider\Rest\Exception;
use Oro\Bundle\IntegrationBundle\Provider\Rest\Exception\RestException;
class RestExceptionTest extends \PHPUnit_Framework_TestCase
{
/**
* @dataProvider exceptionDataProvider
*/
public function testCreateFromResponseWorks(
$expectedMessage,
$message,
$isClientError,
$isServerError,
$statusCode,
$reasonPhrase
) {
$previous = new \Exception();
$response = $this->createMock('Oro\\Bundle\\IntegrationBundle\\Provider\\Rest\\Client\\RestResponseInterface');
if ($isClientError) {
$response->expects($this->once())
->method('isClientError')
->will($this->returnValue(true));
}
if ($isServerError) {
$response->expects($this->once())
->method('isServerError')
->will($this->returnValue(true));
}
$response->expects($this->atLeastOnce())
->method('getStatusCode')
->will($this->returnValue($statusCode));
$response->expects($this->once())
->method('getReasonPhrase')
->will($this->returnValue($reasonPhrase));
$exception = RestException::createFromResponse($response, $message, $previous);
$this->assertInstanceOf('Oro\\Bundle\\IntegrationBundle\\Provider\\Rest\\Exception\\RestException', $exception);
$this->assertSame($previous, $exception->getPrevious());
$this->assertSame($response, $exception->getResponse());
$this->assertEquals($statusCode, $exception->getCode());
$this->assertEquals($expectedMessage, $exception->getMessage());
}
public function exceptionDataProvider()
{
return [
'client error' => [
'expectedMessage' => 'Client error response' . PHP_EOL . '[status code] 401' . PHP_EOL
. '[reason phrase] Unauthorized',
'message' => null,
'isClientError' => true,
'isServerError' => false,
'statusCode' => 401,
'reasonPhrase' => 'Unauthorized',
],
'server error' => [
'expectedMessage' => 'Server error response' . PHP_EOL . '[status code] 500' . PHP_EOL
. '[reason phrase] Internal Server Error',
'message' => null,
'isClientError' => false,
'isServerError' => true,
'statusCode' => 500,
'reasonPhrase' => 'Internal Server Error',
],
'other error' => [
'expectedMessage' => 'Unsuccessful response' . PHP_EOL . '[status code] 304' . PHP_EOL
. '[reason phrase] Not Modified',
'message' => null,
'isClientError' => false,
'isServerError' => false,
'statusCode' => 304,
'reasonPhrase' => 'Not Modified',
],
'custom message' => [
'expectedMessage' => 'Client error response: Can\'t create user' . PHP_EOL . '[status code] 400'
. PHP_EOL . '[reason phrase] Bad request',
'message' => 'Can\'t create user',
'isClientError' => true,
'isServerError' => false,
'statusCode' => 400,
'reasonPhrase' => 'Bad request',
],
];
}
}
|
Djamy/platform
|
src/Oro/Bundle/IntegrationBundle/Tests/Unit/Provider/Rest/Exception/RestExceptionTest.php
|
PHP
|
mit
| 3,527 |
module Spec::Matchers
# This class essential does the following:
# have_tag('form[id=?][onsubmit*=?]', form_id, onsubmit_text)
#
# Possible options are :id and :onsubmit
#
# Notes:
# - onsubmit is a partial text matcher using assert_selects [onsubmit*=sometext] matching capabilities
class HaveRemoteForm
def initialize(options={})
options.each_pair do |key,val|
instance_variable_set "@#{key}", val
end
end
def matches?(target)
matcher = Spec::Rails::Matchers::AssertSelect.new(:assert_select, @scope, *build_selector)
matcher.matches?(target)
end
def build_selector
selector = 'form'
args = []
if @id
selector << '[id=?]'
args << @id
end
if @onsubmit
selector << '[onsubmit*=?]'
args << @onsubmit
end
[selector, args].flatten
end
def failure_message
"Failed to find remote form for #{build_selector.join(', ')}"
end
alias_method :negative_failure_message, :failure_message
end
# Actual matcher that is exposed.
def have_remote_form(options)
HaveRemoteForm.new(options.merge(:scope => self))
end
end
|
mvanholstyn/strac
|
vendor/plugins/mhs_testing/lib/matchers/have_remote_form_matcher.rb
|
Ruby
|
mit
| 1,207 |
/*
eslint-disable
*/
import React from 'react';
import classNames from 'classnames';
export default class CellsTitle extends React.Component {
render() {
const {className, children, ...others} = this.props;
const cls = classNames({
'weui-cells__title': true,
[className]: className
});
return (
<div className={cls} {...others}>{children}</div>
);
}
};
|
ynu/res-track-wxe
|
src/components/Weui/cell/cells_title.js
|
JavaScript
|
mit
| 443 |
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
}
.container {
width: 662px;
height: 300px;
border-radius: 25px;
}
nav {
display: flex;
padding: 5px;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
}
nav {
background: #7d7e7d; /* Old browsers */
background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
}
input, button {
margin-top: 20px;
}
img {
margin: 10px;
margin-right: 15px;
}
h1 {
margin-top: 0px;
font-size: 30px;
color: #FFCE4E;
}
section {
padding: 20px;
background-color: #3D3D3D;
color: #A3A3A3;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
label {
margin-top: 20px;
margin-right: 20px;
font-size: 25px;
color: white;
}
button {
color: white;
background: url(https://github.com/dentia/TelerikAcademy/blob/master/Homeworks/CSS/CSS-Layout/WebPage/images/goBtn.png?raw=true) no-repeat;
border: 0;
width: 56px;
height: 28px;
}
input {
width: 130px;
margin-right: 20px;
}
|
Gyokay/Telerik-Homeworks
|
CSS_Homework/CSS_Layout/Problem-3-Members-Login/style.css
|
CSS
|
mit
| 1,427 |
// Copyright (c) 2010 Aalto University
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
// File created: 2010-08-09 14:34:08
package org.seqdoop.hadoop_bam;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.RecordReader;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import htsjdk.samtools.BAMRecordCodec;
import htsjdk.samtools.ValidationStringency;
import htsjdk.samtools.SAMRecord;
import htsjdk.samtools.util.BlockCompressedInputStream;
import org.seqdoop.hadoop_bam.util.MurmurHash3;
import org.seqdoop.hadoop_bam.util.SAMHeaderReader;
import org.seqdoop.hadoop_bam.util.WrapSeekable;
import hbparquet.hadoop.util.ContextUtil;
/** The key is the bitwise OR of the reference sequence ID in the upper 32 bits
* and the 0-based leftmost coordinate in the lower.
*/
public class BAMRecordReader
extends RecordReader<LongWritable,SAMRecordWritable>
{
private final LongWritable key = new LongWritable();
private final SAMRecordWritable record = new SAMRecordWritable();
private ValidationStringency stringency;
private BlockCompressedInputStream bci;
private BAMRecordCodec codec;
private long fileStart, virtualEnd;
private boolean isInitialized = false;
/** Note: this is the only getKey function that handles unmapped reads
* specially!
*/
public static long getKey(final SAMRecord rec) {
final int refIdx = rec.getReferenceIndex();
final int start = rec.getAlignmentStart();
if (!(rec.getReadUnmappedFlag() || refIdx < 0 || start < 0))
return getKey(refIdx, start);
// Put unmapped reads at the end, but don't give them all the exact same
// key so that they can be distributed to different reducers.
//
// A random number would probably be best, but to ensure that the same
// record always gets the same key we use a fast hash instead.
//
// We avoid using hashCode(), because it's not guaranteed to have the
// same value across different processes.
int hash = 0;
byte[] var;
if ((var = rec.getVariableBinaryRepresentation()) != null) {
// Undecoded BAM record: just hash its raw data.
hash = (int)MurmurHash3.murmurhash3(var, hash);
} else {
// Decoded BAM record or any SAM record: hash a few representative
// fields together.
hash = (int)MurmurHash3.murmurhash3(rec.getReadName(), hash);
hash = (int)MurmurHash3.murmurhash3(rec.getReadBases(), hash);
hash = (int)MurmurHash3.murmurhash3(rec.getBaseQualities(), hash);
hash = (int)MurmurHash3.murmurhash3(rec.getCigarString(), hash);
}
return getKey0(Integer.MAX_VALUE, hash);
}
/** @param alignmentStart 1-based leftmost coordinate. */
public static long getKey(int refIdx, int alignmentStart) {
return getKey0(refIdx, alignmentStart-1);
}
/** @param alignmentStart0 0-based leftmost coordinate. */
public static long getKey0(int refIdx, int alignmentStart0) {
return (long)refIdx << 32 | alignmentStart0;
}
@Override public void initialize(InputSplit spl, TaskAttemptContext ctx)
throws IOException
{
// This method should only be called once (see Hadoop API). However,
// there seems to be disagreement between implementations that call
// initialize() and Hadoop-BAM's own code that relies on
// {@link BAMInputFormat} to call initialize() when the reader is
// created. Therefore we add this check for the time being.
if(isInitialized)
close();
isInitialized = true;
final Configuration conf = ContextUtil.getConfiguration(ctx);
final FileVirtualSplit split = (FileVirtualSplit)spl;
final Path file = split.getPath();
final FileSystem fs = file.getFileSystem(conf);
this.stringency = SAMHeaderReader.getValidationStringency(conf);
final FSDataInputStream in = fs.open(file);
codec = new BAMRecordCodec(SAMHeaderReader.readSAMHeaderFrom(in, conf));
in.seek(0);
bci =
new BlockCompressedInputStream(
new WrapSeekable<FSDataInputStream>(
in, fs.getFileStatus(file).getLen(), file));
final long virtualStart = split.getStartVirtualOffset();
fileStart = virtualStart >>> 16;
virtualEnd = split.getEndVirtualOffset();
bci.seek(virtualStart);
codec.setInputStream(bci);
if(BAMInputFormat.DEBUG_BAM_SPLITTER) {
final long recordStart = virtualStart & 0xffff;
System.err.println("XXX inizialized BAMRecordReader byte offset: " +
fileStart + " record offset: " + recordStart);
}
}
@Override public void close() throws IOException { bci.close(); }
/** Unless the end has been reached, this only takes file position into
* account, not the position within the block.
*/
@Override public float getProgress() {
final long virtPos = bci.getFilePointer();
final long filePos = virtPos >>> 16;
if (virtPos >= virtualEnd)
return 1;
else {
final long fileEnd = virtualEnd >>> 16;
// Add 1 to the denominator to make sure it doesn't reach 1 here when
// filePos == fileEnd.
return (float)(filePos - fileStart) / (fileEnd - fileStart + 1);
}
}
@Override public LongWritable getCurrentKey () { return key; }
@Override public SAMRecordWritable getCurrentValue() { return record; }
@Override public boolean nextKeyValue() {
if (bci.getFilePointer() >= virtualEnd)
return false;
final SAMRecord r = codec.decode();
if (r == null)
return false;
// Since we're reading from a BAMRecordCodec directly we have to set the
// validation stringency ourselves.
if (this.stringency != null)
r.setValidationStringency(this.stringency);
key.set(getKey(r));
record.set(r);
return true;
}
}
|
tkrishp/Hadoop-BAM
|
src/main/java/org/seqdoop/hadoop_bam/BAMRecordReader.java
|
Java
|
mit
| 6,828 |
using System;
using Avalonia.Controls.Platform;
using Avalonia.Input;
using Avalonia.Layout;
using Avalonia.Platform;
using Avalonia.Styling;
using JetBrains.Annotations;
namespace Avalonia.Controls.Embedding
{
public class EmbeddableControlRoot : TopLevel, IStyleable, IFocusScope, INameScope, IDisposable
{
public EmbeddableControlRoot(IEmbeddableWindowImpl impl) : base(impl)
{
}
public EmbeddableControlRoot() : base(PlatformManager.CreateEmbeddableWindow())
{
}
[CanBeNull]
public new IEmbeddableWindowImpl PlatformImpl => (IEmbeddableWindowImpl) base.PlatformImpl;
protected bool EnforceClientSize { get; set; } = true;
public void Prepare()
{
EnsureInitialized();
ApplyTemplate();
LayoutManager.Instance.ExecuteInitialLayoutPass(this);
}
private void EnsureInitialized()
{
if (!this.IsInitialized)
{
var init = (ISupportInitialize)this;
init.BeginInit();
init.EndInit();
}
}
protected override Size MeasureOverride(Size availableSize)
{
if (EnforceClientSize)
availableSize = PlatformImpl?.ClientSize ?? default(Size);
return base.MeasureOverride(availableSize);
}
private readonly NameScope _nameScope = new NameScope();
public event EventHandler<NameScopeEventArgs> Registered
{
add { _nameScope.Registered += value; }
remove { _nameScope.Registered -= value; }
}
public event EventHandler<NameScopeEventArgs> Unregistered
{
add { _nameScope.Unregistered += value; }
remove { _nameScope.Unregistered -= value; }
}
public void Register(string name, object element) => _nameScope.Register(name, element);
public object Find(string name) => _nameScope.Find(name);
public void Unregister(string name) => _nameScope.Unregister(name);
Type IStyleable.StyleKey => typeof(EmbeddableControlRoot);
public void Dispose() => PlatformImpl?.Dispose();
}
}
|
jazzay/Perspex
|
src/Avalonia.Controls/Embedding/EmbeddableControlRoot.cs
|
C#
|
mit
| 2,248 |
<!DOCTYPE html>
<?php
session_start();
if (!isset($_SERVER['HTTPS']) || !$_SERVER['HTTPS']) { // if request is not secure, redirect to secure url
$url = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
header('Location: ' . $url);
}
if(isset($_SESSION["username"]) && isset($_SESSION["user_type"])) {
if($_SESSION["user_type"] != 1) {
echo "<h4>You must be admin to edit entries</h4>";
echo "<a href='inventory.php' class='btn btn-primary text'>Back</a>";
}
} else {
header("Location: index.php");
}
?>
<html>
<head>
<?php
include 'header.html';
?>
</head>
<body>
<?php
include 'nav.php';
?>
<div class="content" style="width: 100%">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-3"></div>
<div class="col-md-4 col-sm-4 col-xs-6">
<?php
require_once 'db.conf'; //db info
$link = new mysqli($dbhost, $dbuser, $dbpass, $dbname); //connect to db
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
if(isset($_POST['update'])) {
echo "<h2>Edit the condition of " . $_POST['Item_Name'] . "</h2>";
echo "<h4>Currently set as " . $_POST['Item_Condition'] . "</h4><br>";
echo '<form action="edit.php" method="POST" class="col-md-4 col-md-offset-4">';
echo '<div class="row"><div class="input-group">';
echo "<div class='form-group'><label class='inputdefault'>Update Condition</label><select name='Item Condition' style='color:black;'>";
$result = mysqli_query($link, "SELECT id, name FROM item_condition ORDER BY id;");
$i=0;
while ($row = mysqli_fetch_assoc($result)) {
foreach ($row as $column_value => $row_value) {
if ($i == 0) {
echo "<option value='$row_value' style='color:black;'>";
$i = 1;
} else {
echo "$row_value</option>";
$i = 0;
}
}
}
echo '</select></div>';
echo '<input type="hidden" name="Item_Name" value="'.$_POST['Item_Name'].'"/>';
echo '<input class=" btn btn-info" type="submit" name="submit" value="Go"/></div></div></form>';
echo "<a href='inventory.php' class='btn btn-primary text'>Back to Inventory</a>";
}
if(isset($_POST['submit'])) {
$sql = "UPDATE item SET item_condition_id='".$_POST['Item_Condition']."' WHERE name='".$_POST['Item_Name']."'";
if ($stmt = mysqli_prepare($link, $sql)) {
//mysqli_stmt_bind_param($stmt, "ss", $_POST['Item_Condition'], $_POST['Item_Name']) or die("bind param");
if(mysqli_stmt_execute($stmt)) {
echo "<h2>Successfully Updated Condition</h2>";
} else {
echo "<h2>Insert failed on execution</h2>";
}
} else {
echo "<h2>Insert failed on preparation</h2>";
}
echo "<a href='inventory.php' class='btn btn-primary text'>Back to Inventory</a>";
}
?>
</div>
</div>
</div>
</div>
</body>
</html>
<!--The MIT License (MIT)
Copyright (c) 2016 Hunter Ginther, Jakob Daugherty, Zach Dolan, Kevin Free, Michael McLaughlin, and Alyssa Nielsen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-->
|
jadppf/mucs3380spring2016
|
test2/edit.php
|
PHP
|
mit
| 4,062 |
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/wallet.h"
#include <set>
#include <stdint.h>
#include <utility>
#include <vector>
#include "test/test_pura.h"
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
// how many times to run all the tests to have a chance to catch errors that only show up with particular random shuffles
#define RUN_TESTS 100
// some tests fail 1% of the time due to bad luck.
// we repeat those tests this many times and only complain if all iterations of the test fail
#define RANDOM_REPEATS 5
using namespace std;
typedef set<pair<const CWalletTx*,unsigned int> > CoinSet;
BOOST_FIXTURE_TEST_SUITE(wallet_tests, TestingSetup)
static CWallet wallet;
static vector<COutput> vCoins;
static void add_coin(const CAmount& nValue, int nAge = 6*24, bool fIsFromMe = false, int nInput=0)
{
static int nextLockTime = 0;
CMutableTransaction tx;
tx.nLockTime = nextLockTime++; // so all transactions get different hashes
tx.vout.resize(nInput+1);
tx.vout[nInput].nValue = nValue;
if (fIsFromMe) {
// IsFromMe() returns (GetDebit() > 0), and GetDebit() is 0 if vin.empty(),
// so stop vin being empty, and cache a non-zero Debit to fake out IsFromMe()
tx.vin.resize(1);
}
CWalletTx* wtx = new CWalletTx(&wallet, tx);
if (fIsFromMe)
{
wtx->fDebitCached = true;
wtx->nDebitCached = 1;
}
COutput output(wtx, nInput, nAge, true);
vCoins.push_back(output);
}
static void empty_wallet(void)
{
BOOST_FOREACH(COutput output, vCoins)
delete output.tx;
vCoins.clear();
}
static bool equal_sets(CoinSet a, CoinSet b)
{
pair<CoinSet::iterator, CoinSet::iterator> ret = mismatch(a.begin(), a.end(), b.begin());
return ret.first == a.end() && ret.second == b.end();
}
BOOST_AUTO_TEST_CASE(coin_selection_tests)
{
CoinSet setCoinsRet, setCoinsRet2;
CAmount nValueRet;
LOCK(wallet.cs_wallet);
// test multiple times to allow for differences in the shuffle order
for (int i = 0; i < RUN_TESTS; i++)
{
empty_wallet();
// with an empty wallet we can't even pay one cent
BOOST_CHECK(!wallet.SelectCoinsMinConf( 1 * CENT, 1, 6, vCoins, setCoinsRet, nValueRet));
add_coin(1*CENT, 4); // add a new 1 cent coin
// with a new 1 cent coin, we still can't find a mature 1 cent
BOOST_CHECK(!wallet.SelectCoinsMinConf( 1 * CENT, 1, 6, vCoins, setCoinsRet, nValueRet));
// but we can find a new 1 cent
BOOST_CHECK( wallet.SelectCoinsMinConf( 1 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1 * CENT);
add_coin(2*CENT); // add a mature 2 cent coin
// we can't make 3 cents of mature coins
BOOST_CHECK(!wallet.SelectCoinsMinConf( 3 * CENT, 1, 6, vCoins, setCoinsRet, nValueRet));
// we can make 3 cents of new coins
BOOST_CHECK( wallet.SelectCoinsMinConf( 3 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 3 * CENT);
add_coin(5*CENT); // add a mature 5 cent coin,
add_coin(10*CENT, 3, true); // a new 10 cent coin sent from one of our own addresses
add_coin(20*CENT); // and a mature 20 cent coin
// now we have new: 1+10=11 (of which 10 was self-sent), and mature: 2+5+20=27. total = 38
// we can't make 38 cents only if we disallow new coins:
BOOST_CHECK(!wallet.SelectCoinsMinConf(38 * CENT, 1, 6, vCoins, setCoinsRet, nValueRet));
// we can't even make 37 cents if we don't allow new coins even if they're from us
BOOST_CHECK(!wallet.SelectCoinsMinConf(38 * CENT, 6, 6, vCoins, setCoinsRet, nValueRet));
// but we can make 37 cents if we accept new coins from ourself
BOOST_CHECK( wallet.SelectCoinsMinConf(37 * CENT, 1, 6, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 37 * CENT);
// and we can make 38 cents if we accept all new coins
BOOST_CHECK( wallet.SelectCoinsMinConf(38 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 38 * CENT);
// try making 34 cents from 1,2,5,10,20 - we can't do it exactly
BOOST_CHECK( wallet.SelectCoinsMinConf(34 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 35 * CENT); // but 35 cents is closest
BOOST_CHECK_EQUAL(setCoinsRet.size(), 3U); // the best should be 20+10+5. it's incredibly unlikely the 1 or 2 got included (but possible)
// when we try making 7 cents, the smaller coins (1,2,5) are enough. We should see just 2+5
BOOST_CHECK( wallet.SelectCoinsMinConf( 7 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 7 * CENT);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 2U);
// when we try making 8 cents, the smaller coins (1,2,5) are exactly enough.
BOOST_CHECK( wallet.SelectCoinsMinConf( 8 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK(nValueRet == 8 * CENT);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 3U);
// when we try making 9 cents, no subset of smaller coins is enough, and we get the next bigger coin (10)
BOOST_CHECK( wallet.SelectCoinsMinConf( 9 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 10 * CENT);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
// now clear out the wallet and start again to test choosing between subsets of smaller coins and the next biggest coin
empty_wallet();
add_coin( 6*CENT);
add_coin( 7*CENT);
add_coin( 8*CENT);
add_coin(20*CENT);
add_coin(30*CENT); // now we have 6+7+8+20+30 = 71 cents total
// check that we have 71 and not 72
BOOST_CHECK( wallet.SelectCoinsMinConf(71 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK(!wallet.SelectCoinsMinConf(72 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
// now try making 16 cents. the best smaller coins can do is 6+7+8 = 21; not as good at the next biggest coin, 20
BOOST_CHECK( wallet.SelectCoinsMinConf(16 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 20 * CENT); // we should get 20 in one coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
add_coin( 5*CENT); // now we have 5+6+7+8+20+30 = 75 cents total
// now if we try making 16 cents again, the smaller coins can make 5+6+7 = 18 cents, better than the next biggest coin, 20
BOOST_CHECK( wallet.SelectCoinsMinConf(16 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 18 * CENT); // we should get 18 in 3 coins
BOOST_CHECK_EQUAL(setCoinsRet.size(), 3U);
add_coin( 18*CENT); // now we have 5+6+7+8+18+20+30
// and now if we try making 16 cents again, the smaller coins can make 5+6+7 = 18 cents, the same as the next biggest coin, 18
BOOST_CHECK( wallet.SelectCoinsMinConf(16 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 18 * CENT); // we should get 18 in 1 coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U); // because in the event of a tie, the biggest coin wins
// now try making 11 cents. we should get 5+6
BOOST_CHECK( wallet.SelectCoinsMinConf(11 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 11 * CENT);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 2U);
// check that the smallest bigger coin is used
add_coin( 1*COIN);
add_coin( 2*COIN);
add_coin( 3*COIN);
add_coin( 4*COIN); // now we have 5+6+7+8+18+20+30+100+200+300+400 = 1094 cents
BOOST_CHECK( wallet.SelectCoinsMinConf(95 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1 * COIN); // we should get 1 BTC in 1 coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
BOOST_CHECK( wallet.SelectCoinsMinConf(195 * CENT, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 2 * COIN); // we should get 2 BTC in 1 coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
// empty the wallet and start again, now with fractions of a cent, to test small change avoidance
empty_wallet();
add_coin(0.1*MIN_CHANGE);
add_coin(0.2*MIN_CHANGE);
add_coin(0.3*MIN_CHANGE);
add_coin(0.4*MIN_CHANGE);
add_coin(0.5*MIN_CHANGE);
// try making 1 * MIN_CHANGE from the 1.5 * MIN_CHANGE
// we'll get change smaller than MIN_CHANGE whatever happens, so can expect MIN_CHANGE exactly
BOOST_CHECK( wallet.SelectCoinsMinConf(MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, MIN_CHANGE);
// but if we add a bigger coin, small change is avoided
add_coin(1111*MIN_CHANGE);
// try making 1 from 0.1 + 0.2 + 0.3 + 0.4 + 0.5 + 1111 = 1112.5
BOOST_CHECK( wallet.SelectCoinsMinConf(1 * MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1 * MIN_CHANGE); // we should get the exact amount
// if we add more small coins:
add_coin(0.6*MIN_CHANGE);
add_coin(0.7*MIN_CHANGE);
// and try again to make 1.0 * MIN_CHANGE
BOOST_CHECK( wallet.SelectCoinsMinConf(1 * MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1 * MIN_CHANGE); // we should get the exact amount
// run the 'mtgox' test (see http://blockexplorer.com/tx/29a3efd3ef04f9153d47a990bd7b048a4b2d213daaa5fb8ed670fb85f13bdbcf)
// they tried to consolidate 10 50k coins into one 500k coin, and ended up with 50k in change
empty_wallet();
for (int i = 0; i < 20; i++)
add_coin(50000 * COIN);
BOOST_CHECK( wallet.SelectCoinsMinConf(500000 * COIN, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 500000 * COIN); // we should get the exact amount
BOOST_CHECK_EQUAL(setCoinsRet.size(), 10U); // in ten coins
// if there's not enough in the smaller coins to make at least 1 * MIN_CHANGE change (0.5+0.6+0.7 < 1.0+1.0),
// we need to try finding an exact subset anyway
// sometimes it will fail, and so we use the next biggest coin:
empty_wallet();
add_coin(0.5 * MIN_CHANGE);
add_coin(0.6 * MIN_CHANGE);
add_coin(0.7 * MIN_CHANGE);
add_coin(1111 * MIN_CHANGE);
BOOST_CHECK( wallet.SelectCoinsMinConf(1 * MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1111 * MIN_CHANGE); // we get the bigger coin
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
// but sometimes it's possible, and we use an exact subset (0.4 + 0.6 = 1.0)
empty_wallet();
add_coin(0.4 * MIN_CHANGE);
add_coin(0.6 * MIN_CHANGE);
add_coin(0.8 * MIN_CHANGE);
add_coin(1111 * MIN_CHANGE);
BOOST_CHECK( wallet.SelectCoinsMinConf(MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, MIN_CHANGE); // we should get the exact amount
BOOST_CHECK_EQUAL(setCoinsRet.size(), 2U); // in two coins 0.4+0.6
// test avoiding small change
empty_wallet();
add_coin(0.05 * MIN_CHANGE);
add_coin(1 * MIN_CHANGE);
add_coin(100 * MIN_CHANGE);
// trying to make 100.01 from these three coins
BOOST_CHECK( wallet.SelectCoinsMinConf(100.01 * MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 101.05 * MIN_CHANGE); // we should get all coins
BOOST_CHECK_EQUAL(setCoinsRet.size(), 3U);
// but if we try to make 99.9, we should take the bigger of the two small coins to avoid small change
BOOST_CHECK( wallet.SelectCoinsMinConf(99.9 * MIN_CHANGE, 1, 1, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 101 * MIN_CHANGE);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 2U);
// test with many inputs
for (CAmount amt=1500; amt < COIN; amt*=10) {
empty_wallet();
// Create 676 inputs (= MAX_STANDARD_TX_SIZE / 148 bytes per input)
for (uint16_t j = 0; j < 676; j++)
add_coin(amt);
BOOST_CHECK(wallet.SelectCoinsMinConf(2000, 1, 1, vCoins, setCoinsRet, nValueRet));
if (amt - 2000 < MIN_CHANGE) {
// needs more than one input:
uint16_t returnSize = std::ceil((2000.0 + MIN_CHANGE)/amt);
CAmount returnValue = amt * returnSize;
BOOST_CHECK_EQUAL(nValueRet, returnValue);
BOOST_CHECK_EQUAL(setCoinsRet.size(), returnSize);
} else {
// one input is sufficient:
BOOST_CHECK_EQUAL(nValueRet, amt);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1U);
}
}
// test randomness
{
empty_wallet();
for (int i2 = 0; i2 < 100; i2++)
add_coin(COIN);
// picking 50 from 100 coins doesn't depend on the shuffle,
// but does depend on randomness in the stochastic approximation code
BOOST_CHECK(wallet.SelectCoinsMinConf(50 * COIN, 1, 6, vCoins, setCoinsRet , nValueRet));
BOOST_CHECK(wallet.SelectCoinsMinConf(50 * COIN, 1, 6, vCoins, setCoinsRet2, nValueRet));
BOOST_CHECK(!equal_sets(setCoinsRet, setCoinsRet2));
int fails = 0;
for (int i = 0; i < RANDOM_REPEATS; i++)
{
// selecting 1 from 100 identical coins depends on the shuffle; this test will fail 1% of the time
// run the test RANDOM_REPEATS times and only complain if all of them fail
BOOST_CHECK(wallet.SelectCoinsMinConf(COIN, 1, 6, vCoins, setCoinsRet , nValueRet));
BOOST_CHECK(wallet.SelectCoinsMinConf(COIN, 1, 6, vCoins, setCoinsRet2, nValueRet));
if (equal_sets(setCoinsRet, setCoinsRet2))
fails++;
}
BOOST_CHECK_NE(fails, RANDOM_REPEATS);
// add 75 cents in small change. not enough to make 90 cents,
// then try making 90 cents. there are multiple competing "smallest bigger" coins,
// one of which should be picked at random
add_coin( 5*CENT); add_coin(10*CENT); add_coin(15*CENT); add_coin(20*CENT); add_coin(25*CENT);
fails = 0;
for (int i = 0; i < RANDOM_REPEATS; i++)
{
// selecting 1 from 100 identical coins depends on the shuffle; this test will fail 1% of the time
// run the test RANDOM_REPEATS times and only complain if all of them fail
BOOST_CHECK(wallet.SelectCoinsMinConf(90*CENT, 1, 6, vCoins, setCoinsRet , nValueRet));
BOOST_CHECK(wallet.SelectCoinsMinConf(90*CENT, 1, 6, vCoins, setCoinsRet2, nValueRet));
if (equal_sets(setCoinsRet, setCoinsRet2))
fails++;
}
BOOST_CHECK_NE(fails, RANDOM_REPEATS);
}
}
empty_wallet();
}
BOOST_AUTO_TEST_CASE(ApproximateBestSubset)
{
CoinSet setCoinsRet;
CAmount nValueRet;
LOCK(wallet.cs_wallet);
empty_wallet();
// Test vValue sort order
for (int i = 0; i < 1000; i++)
add_coin(1000 * COIN);
add_coin(3 * COIN);
BOOST_CHECK(wallet.SelectCoinsMinConf(1003 * COIN, 1, 6, vCoins, setCoinsRet, nValueRet));
BOOST_CHECK_EQUAL(nValueRet, 1003 * COIN);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 2U);
empty_wallet();
// Test trimming
for (int i = 0; i < 100; i++)
add_coin(10 * COIN);
for (int i = 0; i < 100; i++)
add_coin(1000 * COIN);
BOOST_CHECK(wallet.SelectCoinsMinConf(100001 * COIN, 1, 6, vCoins, setCoinsRet, nValueRet));
// We need all 100 larger coins and exactly one small coin.
// Superfluous small coins must be trimmed from the set:
BOOST_CHECK_EQUAL(nValueRet, 100010 * COIN);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 101);
}
BOOST_AUTO_TEST_SUITE_END()
|
amiller87/puracore
|
src/wallet/test/wallet_tests.cpp
|
C++
|
mit
| 16,495 |
<?php
$has_nav_menu = [
"primary" => has_nav_menu("primary"),
];
?>
<!doctype html>
<html class="no-javascript" <?php language_attributes(); ?>>
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="page__container" id="page-container">
<a class="skip-links" href="#content">
<?php _e("Skip to content", "__gulp_init_namespace__"); ?>
</a>
<?php get_extended_template_part("layout", "alert"); ?>
<header class="header-block">
<div class="header__inner">
<div class="header__row row row--padded-tight row--align-center">
<div class="col-auto col--grow-0 col--shrink-0 __hidden-xs">
<button class="header__panel-toggle panel-toggle" data-toggle="mobile-menu"<?php if (! $has_nav_menu["primary"]): ?> style="pointer-events:none;visibility:hidden;"<?php endif; ?>>
<i class="panel-toggle__icon fal fa-fw fa-bars"></i>
<span class="__visuallyhidden"><?php _e("View Menu", "__gulp_init_namespace__"); ?></span>
</button>
</div>
<div class="col-0">
<a class="header__logo logo" href="<?php echo esc_url(get_bloginfo("url")); ?>">
<?php echo __gulp_init_namespace___img(get_theme_file_uri("assets/media/logo.svg"), ["alt" => get_bloginfo("name"), "class" => "logo__image", "height" => "69", "width" => "300"], false); ?>
</a>
</div>
<div class="col-auto col--grow-0 col--shrink-0 __hidden-xs">
<button class="header__panel-toggle panel-toggle" data-toggle="mobile-search">
<i class="panel-toggle__icon fas fa-fw fa-search"></i>
<span class="__visuallyhidden"><?php _e("View Search", "__gulp_init_namespace__"); ?></span>
</button>
<?php if (! is_search()): ?>
<div class="header__search-form__container search-form__container search-form__container--expandable __nomargin" id="mobile-search">
<?php
get_search_form([
"id" => "mobile-search",
]);
?>
</div>
<?php endif; ?>
</div><!--/.col-auto-->
<div class="col-xs-auto col--grow-0 col--shrink-0 __visible-xs">
<div class="header__search-form__container search-form__container __nomargin">
<?php
get_search_form([
"id" => "desktop-search",
]);
?>
</div>
</div>
</div><!--/.header__row-->
</div><!--/.header__inner-->
</header><!--/.header-block-->
<?php if ($has_nav_menu["primary"]): ?>
<div class="navigation-block __visible-xs __noprint">
<div class="navigation__inner">
<nav class="navigation__menu-list__container menu-list__container">
<?php
wp_nav_menu([
"container" => false,
"depth" => 3,
"items_wrap" => "<ul class='menu-list menu-list--navigation'>%3\$s</ul>",
"theme_location" => "primary",
"walker" => new __gulp_init_namespace___menu_walker([
"id_prefix" => "desktop-nav_",
"features" => [
"mega",
"hover",
"touch",
],
]),
]);
?>
</nav><!--/.navigation__menu-list__container-->
</div><!--/.navigation__inner-->
</div><!--/.navigation-block-->
<?php endif; ?>
<main id="content" tabindex="0">
|
revxx14/new-site
|
src/header.php
|
PHP
|
mit
| 4,715 |
{% extends "base.html" %}
{% block content %}
{{content}}
<div class="Posts Posts--index">
{% include "partials/nav_siblings.html" %}
</div>
{% endblock %}
|
vieron/wwwrite
|
test/fixtures/_wwwrite/views/post-index.html
|
HTML
|
mit
| 162 |
namespace TriviaMag.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.AspNetRoles",
c => new
{
Id = c.String(nullable: false, maxLength: 128),
Name = c.String(nullable: false, maxLength: 256),
})
.PrimaryKey(t => t.Id)
.Index(t => t.Name, unique: true, name: "RoleNameIndex");
CreateTable(
"dbo.AspNetUserRoles",
c => new
{
UserId = c.String(nullable: false, maxLength: 128),
RoleId = c.String(nullable: false, maxLength: 128),
})
.PrimaryKey(t => new { t.UserId, t.RoleId })
.ForeignKey("dbo.AspNetRoles", t => t.RoleId, cascadeDelete: true)
.ForeignKey("dbo.AspNetUsers", t => t.UserId, cascadeDelete: true)
.Index(t => t.UserId)
.Index(t => t.RoleId);
CreateTable(
"dbo.AspNetUsers",
c => new
{
Id = c.String(nullable: false, maxLength: 128),
Email = c.String(maxLength: 256),
EmailConfirmed = c.Boolean(nullable: false),
PasswordHash = c.String(),
SecurityStamp = c.String(),
PhoneNumber = c.String(),
PhoneNumberConfirmed = c.Boolean(nullable: false),
TwoFactorEnabled = c.Boolean(nullable: false),
LockoutEndDateUtc = c.DateTime(),
LockoutEnabled = c.Boolean(nullable: false),
AccessFailedCount = c.Int(nullable: false),
UserName = c.String(nullable: false, maxLength: 256),
})
.PrimaryKey(t => t.Id)
.Index(t => t.UserName, unique: true, name: "UserNameIndex");
CreateTable(
"dbo.AspNetUserClaims",
c => new
{
Id = c.Int(nullable: false, identity: true),
UserId = c.String(nullable: false, maxLength: 128),
ClaimType = c.String(),
ClaimValue = c.String(),
})
.PrimaryKey(t => t.Id)
.ForeignKey("dbo.AspNetUsers", t => t.UserId, cascadeDelete: true)
.Index(t => t.UserId);
CreateTable(
"dbo.AspNetUserLogins",
c => new
{
LoginProvider = c.String(nullable: false, maxLength: 128),
ProviderKey = c.String(nullable: false, maxLength: 128),
UserId = c.String(nullable: false, maxLength: 128),
})
.PrimaryKey(t => new { t.LoginProvider, t.ProviderKey, t.UserId })
.ForeignKey("dbo.AspNetUsers", t => t.UserId, cascadeDelete: true)
.Index(t => t.UserId);
}
public override void Down()
{
DropForeignKey("dbo.AspNetUserRoles", "UserId", "dbo.AspNetUsers");
DropForeignKey("dbo.AspNetUserLogins", "UserId", "dbo.AspNetUsers");
DropForeignKey("dbo.AspNetUserClaims", "UserId", "dbo.AspNetUsers");
DropForeignKey("dbo.AspNetUserRoles", "RoleId", "dbo.AspNetRoles");
DropIndex("dbo.AspNetUserLogins", new[] { "UserId" });
DropIndex("dbo.AspNetUserClaims", new[] { "UserId" });
DropIndex("dbo.AspNetUsers", "UserNameIndex");
DropIndex("dbo.AspNetUserRoles", new[] { "RoleId" });
DropIndex("dbo.AspNetUserRoles", new[] { "UserId" });
DropIndex("dbo.AspNetRoles", "RoleNameIndex");
DropTable("dbo.AspNetUserLogins");
DropTable("dbo.AspNetUserClaims");
DropTable("dbo.AspNetUsers");
DropTable("dbo.AspNetUserRoles");
DropTable("dbo.AspNetRoles");
}
}
}
|
MargarineTeam/TriviaMag
|
TriviaMag.Data/Migrations/201601222235149_InitialCreate.cs
|
C#
|
mit
| 4,398 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.html
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
* [Java is a trademark or registered trademark of Sun Microsystems, Inc.
* in the United States and other countries.]
*
* ---------------
* TimePeriod.java
* ---------------
* (C) Copyright 2003-2007, by Object Refinery Limited and Contributors.
*
* Original Author: David Gilbert (for Object Refinery Limited);
* Contributor(s): -;
*
* Changes
* -------
* 10-Jan-2003 : Version 1 (DG);
* 13-Mar-2003 : Moved to com.jrefinery.data.time package (DG);
* 27-Jan-2005 : Implemented Comparable (DG);
*
*/
package org.jfree.data.time;
import java.util.Date;
/**
* A period of time measured to millisecond precision using two instances of
* <code>java.util.Date</code>.
*/
public interface TimePeriod extends Comparable {
/**
* Returns the start date/time. This will always be on or before the
* end date.
*
* @return The start date/time (never <code>null</code>).
*/
public Date getStart();
/**
* Returns the end date/time. This will always be on or after the
* start date.
*
* @return The end date/time (never <code>null</code>).
*/
public Date getEnd();
}
|
ibestvina/multithread-centiscape
|
CentiScaPe2.1/src/main/java/org/jfree/data/time/TimePeriod.java
|
Java
|
mit
| 2,241 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.261
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MLifter.SettingsManager.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("MemoryLifter\\2.4\\Config")]
public string ConfigurationFolder {
get {
return ((string)(this["ConfigurationFolder"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Config")]
public string ConfigPath {
get {
return ((string)(this["ConfigPath"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("MemoryLifter\\2.4")]
public string AppDataFolder {
get {
return ((string)(this["AppDataFolder"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("SyncedLearningModules")]
public string SyncedLMFolder {
get {
return ((string)(this["SyncedLMFolder"]));
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Codecs\\Lame\\lame.exe")]
public string VBRFixApplication {
get {
return ((string)(this["VBRFixApplication"]));
}
set {
this["VBRFixApplication"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("-b 128 --cbr -a \"{0}\" \"{1}\"")]
public string VBRFixCommand {
get {
return ((string)(this["VBRFixCommand"]));
}
set {
this["VBRFixCommand"] = value;
}
}
}
}
|
hmehr/OSS
|
MemoryLifter/Main/MLifter.SettingsManager/Properties/Settings.Designer.cs
|
C#
|
mit
| 3,536 |
using System;
using JSONAPI.Core;
namespace JSONAPI.Documents
{
/// <summary>
/// Implementation of ILinkConventions that adheres to JSON API recommendations for URL formatting.
/// </summary>
public class DefaultLinkConventions : ILinkConventions
{
public ILink GetRelationshipLink<TResource>(TResource relationshipOwner, IResourceTypeRegistry resourceTypeRegistry, ResourceTypeRelationship property, string baseUrl)
{
var url = BuildRelationshipUrl(relationshipOwner, resourceTypeRegistry, property, baseUrl);
var metadata = GetMetadataForRelationshipLink(relationshipOwner, property);
return new Link(url, metadata);
}
public ILink GetRelatedResourceLink<TResource>(TResource relationshipOwner, IResourceTypeRegistry resourceTypeRegistry, ResourceTypeRelationship property, string baseUrl)
{
var url = BuildRelatedResourceUrl(relationshipOwner, resourceTypeRegistry, property, baseUrl);
var metadata = GetMetadataForRelatedResourceLink(relationshipOwner, property);
return new Link(url, metadata);
}
private string GetSanitizedBaseUrl(string baseUrl)
{
while (baseUrl[baseUrl.Length - 1] == '/')
baseUrl = baseUrl.Substring(0, baseUrl.Length - 1);
return baseUrl;
}
/// <summary>
/// Constructs a URL for the relationship belonging to the given resource
/// </summary>
/// <param name="relationshipOwner"></param>
/// <param name="resourceTypeRegistry"></param>
/// <param name="property"></param>
/// <param name="baseUrl"></param>
/// <returns></returns>
protected virtual string BuildRelationshipUrl(object relationshipOwner, IResourceTypeRegistry resourceTypeRegistry,
ResourceTypeRelationship property, string baseUrl)
{
var relationshipOwnerType = relationshipOwner.GetType();
var sanitizedBaseUrl = GetSanitizedBaseUrl(baseUrl);
var registration = resourceTypeRegistry.GetRegistrationForType(relationshipOwnerType);
var id = registration.GetIdForResource(relationshipOwner);
if (property.SelfLinkTemplate != null)
{
var replacedString = property.SelfLinkTemplate.Replace("{1}", id);
return String.Format("{0}/{1}", sanitizedBaseUrl, replacedString);
}
return String.Format("{0}/{1}/{2}/relationships/{3}", sanitizedBaseUrl, registration.ResourceTypeName, id, property.JsonKey);
}
/// <summary>
/// Gets a metadata object to serialize alongside the link URL for relationship links.
/// </summary>
/// <returns></returns>
protected virtual IMetadata GetMetadataForRelationshipLink<TResource>(TResource relationshipOwner, ResourceTypeRelationship property)
{
return null;
}
/// <summary>
/// Constructs a URL for the resource(s) on the other side of the given relationship, belonging to the given resource
/// </summary>
/// <param name="relationshipOwner"></param>
/// <param name="resourceTypeRegistry"></param>
/// <param name="property"></param>
/// <param name="baseUrl"></param>
/// <returns></returns>
protected virtual string BuildRelatedResourceUrl(object relationshipOwner, IResourceTypeRegistry resourceTypeRegistry,
ResourceTypeRelationship property, string baseUrl)
{
var relationshipOwnerType = relationshipOwner.GetType();
var sanitizedBaseUrl = GetSanitizedBaseUrl(baseUrl);
var registration = resourceTypeRegistry.GetRegistrationForType(relationshipOwnerType);
var id = registration.GetIdForResource(relationshipOwner);
if (property.RelatedResourceLinkTemplate != null)
{
var replacedString = property.RelatedResourceLinkTemplate.Replace("{1}", id);
return String.Format("{0}/{1}", sanitizedBaseUrl, replacedString);
}
return String.Format("{0}/{1}/{2}/{3}", sanitizedBaseUrl, registration.ResourceTypeName, id, property.JsonKey);
}
/// <summary>
/// Gets a metadata object to serialize alongside the link URL for related resource links.
/// </summary>
/// <returns></returns>
protected virtual IMetadata GetMetadataForRelatedResourceLink<TResource>(TResource relationshipOwner, ResourceTypeRelationship property)
{
return null;
}
}
}
|
danshapir/JSONAPI.NET
|
JSONAPI/Documents/DefaultLinkConventions.cs
|
C#
|
mit
| 4,667 |
/*
Original link: http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/10/17/tracking-page-splits-in-sql-server-denali-ctp1.aspx
Author: Jonathan Kehayias
*/
IF (SELECT 1 FROM sys.server_event_sessions WHERE name = 'MonitorPageSplits') IS NOT NULL
DROP EVENT SESSION MonitorPageSplits ON SERVER
GO
CREATE EVENT SESSION MonitorPageSplits ON SERVER
ADD EVENT sqlserver.page_split
(
ACTION (sqlserver.database_id, sqlserver.sql_text)
WHERE sqlserver.database_id = 2
)
ADD TARGET package0.ring_buffer
WITH (MAX_DISPATCH_LATENCY = 1 SECONDS)
GO
ALTER EVENT SESSION MonitorPageSplits ON SERVER STATE = start;
GO
/*
SELECT
event_time = XEvent.value('(@timestamp)[1]','datetime')
, orig_file_id = XEvent.value('(data[@name=''file_id'']/value)[1]','int')
, orig_page_id = XEvent.value('(data[@name=''page_id'']/value)[1]','int')
, database_id = XEvent.value('(data[@name=''database_id'']/value)[1]','int')
, OBJECT_ID = p.OBJECT_ID
, index_id = p.index_id
, OBJECT_NAME = OBJECT_NAME(p.OBJECT_ID)
, index_name = i.name
, rowset_id = XEvent.value('(data[@name=''rowset_id'']/value)[1]','bigint')
, splitOperation = XEvent.value('(data[@name=''splitOperation'']/text)[1]','varchar(255)')
, new_page_file_id = XEvent.value('(data[@name=''new_page_file_id'']/value)[1]','int')
, new_page_page_id = XEvent.value('(data[@name=''new_page_page_id'']/value)[1]','int')
, sql_text = XEvent.value('(action[@name=''sql_text'']/value)[1]','varchar(max)')
FROM
(
SELECT CAST(target_data AS XML) AS target_data
FROM sys.dm_xe_session_targets xst
JOIN sys.dm_xe_sessions xs ON xs.address = xst.event_session_address
WHERE xs.name = 'MonitorPageSplits'
) AS tab (target_data)
CROSS APPLY target_data.nodes('/RingBufferTarget/event') AS EventNodes(XEvent)
LEFT JOIN sys.allocation_units au
ON au.container_id = XEvent.value('(data[@name=''rowset_id'']/value)[1]','bigint')
LEFT JOIN sys.partitions p
ON p.partition_id = au.container_id
LEFT JOIN sys.indexes i
ON p.OBJECT_ID = i.OBJECT_ID
AND p.index_id = i.index_id
-- View the Page allocations
DBCC IND(tempdb, split_page, -1);
*/
|
AlexTitenko/sqlserver-kit
|
Extended_Events/MonitorPageSplits.sql
|
SQL
|
mit
| 2,256 |
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__),"../")))
require 'java'
require 'supervised_utils'
module Weka
module Filter
module Supervised
module Instance
java_import "weka.filters.supervised.instance.Resample"
class Resample
include Supervised_Util
end
end
end
end
end
|
arrigonialberto86/ruby-mining
|
lib/ruby_mining/weka/filters/supervised/instance/instance.rb
|
Ruby
|
mit
| 337 |
var fs = require('graceful-fs')
var path = require('path')
var mkdirp = require('mkdirp')
var osenv = require('osenv')
var rimraf = require('rimraf')
var test = require('tap').test
var common = require('../common-tap.js')
var npm = require('../../')
var pkg = path.resolve(__dirname, 'version-lifecycle')
var cache = path.resolve(pkg, 'cache')
test('npm version <semver> with failing preversion lifecycle script', function (t) {
setup()
fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({
author: 'Alex Wolfe',
name: 'version-lifecycle',
version: '0.0.0',
description: 'Test for npm version if preversion script fails',
scripts: {
preversion: './fail.sh'
}
}), 'utf8')
fs.writeFileSync(path.resolve(pkg, 'fail.sh'), 'exit 50', {mode: 448})
npm.load({cache: cache, registry: common.registry}, function () {
var version = require('../../lib/version')
version(['patch'], function (err) {
t.ok(err)
t.ok(err.message.match(/Exit status 50/))
t.end()
})
})
})
test('npm version <semver> with failing postversion lifecycle script', function (t) {
setup()
fs.writeFileSync(path.resolve(pkg, 'package.json'), JSON.stringify({
author: 'Alex Wolfe',
name: 'version-lifecycle',
version: '0.0.0',
description: 'Test for npm version if postversion script fails',
scripts: {
postversion: './fail.sh'
}
}), 'utf8')
fs.writeFileSync(path.resolve(pkg, 'fail.sh'), 'exit 50', {mode: 448})
npm.load({cache: cache, registry: common.registry}, function () {
var version = require('../../lib/version')
version(['patch'], function (err) {
t.ok(err)
t.ok(err.message.match(/Exit status 50/))
t.end()
})
})
})
test('cleanup', function (t) {
process.chdir(osenv.tmpdir())
rimraf.sync(pkg)
t.end()
})
function setup () {
mkdirp.sync(pkg)
mkdirp.sync(path.join(pkg, 'node_modules'))
mkdirp.sync(cache)
process.chdir(pkg)
}
|
patclittle/PatLittle
|
node_modules/npm/test/tap/version-lifecycle.js
|
JavaScript
|
mit
| 1,975 |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MiniDrawerComponent } from './mini-drawer.component';
describe('MiniDrawerComponent', () => {
let component: MiniDrawerComponent;
let fixture: ComponentFixture<MiniDrawerComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ MiniDrawerComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(MiniDrawerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|
A-l-y-l-e/Alyle-UI
|
src/app/docs/components/drawer-demo/mini-drawer/mini-drawer.component.spec.ts
|
TypeScript
|
mit
| 657 |
@charset "UTF-8";
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
body {
margin: 0;
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
audio:not([controls]) {
display: none;
height: 0;
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
[hidden],
template {
display: none;
}
/* line 87, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
a {
background: transparent;
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
a:active,
a:hover {
outline: 0;
}
/* line 107, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
abbr[title] {
border-bottom: 1px dotted;
}
/* line 115, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
b,
strong {
font-weight: bold;
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
dfn {
font-style: italic;
}
/* line 133, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* line 142, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
mark {
background: #ff0;
color: #000;
}
/* line 151, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
small {
font-size: 80%;
}
/* line 159, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
/* line 167, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
sup {
top: -0.5em;
}
/* line 171, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
sub {
bottom: -0.25em;
}
/* line 182, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
img {
border: 0;
}
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
svg:not(:root) {
overflow: hidden;
}
/* line 201, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
figure {
margin: 1em 40px;
}
/* line 209, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/* line 219, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
pre {
overflow: auto;
}
/* line 227, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* line 250, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
/* line 264, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button {
overflow: visible;
}
/* line 275, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button,
select {
text-transform: none;
}
/* line 288, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
/* line 300, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button[disabled],
html input[disabled] {
cursor: default;
}
/* line 309, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/* line 320, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
input {
line-height: normal;
}
/* line 332, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
/* line 344, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/* line 355, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
/* line 368, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/* line 377, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/* line 388, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
legend {
border: 0;
padding: 0;
}
/* line 397, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
textarea {
overflow: auto;
}
/* line 406, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
optgroup {
font-weight: bold;
}
/* line 417, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* line 422, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_normalize.scss */
td,
th {
padding: 0;
}
@media print {
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
* {
text-shadow: none !important;
color: #000 !important;
background: transparent !important;
box-shadow: none !important;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
a,
a:visited {
text-decoration: underline;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
a[href]:after {
content: " (" attr(href) ")";
}
/* line 24, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
abbr[title]:after {
content: " (" attr(title) ")";
}
/* line 29, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
/* line 34, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
thead {
display: table-header-group;
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
tr,
img {
page-break-inside: avoid;
}
/* line 49, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
img {
max-width: 100% !important;
}
/* line 53, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
h2,
h3 {
page-break-after: avoid;
}
/* line 67, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
select {
background: #fff !important;
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.navbar {
display: none;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.table td,
.table th {
background-color: #fff !important;
}
/* line 83, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.btn > .caret,
.dropup > .btn > .caret {
border-top-color: #000 !important;
}
/* line 87, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.label {
border: 1px solid #000;
}
/* line 91, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.table {
border-collapse: collapse !important;
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_print.scss */
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd !important;
}
}
@font-face {
font-family: 'Glyphicons Halflings';
src: url("../fonts/bootstrap/glyphicons-halflings-regular.eot");
src: url("../fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/bootstrap/glyphicons-halflings-regular.woff") format("woff"), url("../fonts/bootstrap/glyphicons-halflings-regular.ttf") format("truetype"), url("../fonts/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
}
/* line 25, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.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;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-asterisk:before {
content: "\2a";
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plus:before {
content: "\2b";
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-euro:before {
content: "\20ac";
}
/* line 41, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-minus:before {
content: "\2212";
}
/* line 42, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud:before {
content: "\2601";
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-envelope:before {
content: "\2709";
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pencil:before {
content: "\270f";
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-glass:before {
content: "\e001";
}
/* line 46, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-music:before {
content: "\e002";
}
/* line 47, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-search:before {
content: "\e003";
}
/* line 48, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-heart:before {
content: "\e005";
}
/* line 49, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-star:before {
content: "\e006";
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-star-empty:before {
content: "\e007";
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-user:before {
content: "\e008";
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-film:before {
content: "\e009";
}
/* line 53, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th-large:before {
content: "\e010";
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th:before {
content: "\e011";
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-th-list:before {
content: "\e012";
}
/* line 56, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok:before {
content: "\e013";
}
/* line 57, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove:before {
content: "\e014";
}
/* line 58, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-zoom-in:before {
content: "\e015";
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-zoom-out:before {
content: "\e016";
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-off:before {
content: "\e017";
}
/* line 61, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-signal:before {
content: "\e018";
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cog:before {
content: "\e019";
}
/* line 63, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-trash:before {
content: "\e020";
}
/* line 64, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-home:before {
content: "\e021";
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-file:before {
content: "\e022";
}
/* line 66, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-time:before {
content: "\e023";
}
/* line 67, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-road:before {
content: "\e024";
}
/* line 68, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-download-alt:before {
content: "\e025";
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-download:before {
content: "\e026";
}
/* line 70, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-upload:before {
content: "\e027";
}
/* line 71, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-inbox:before {
content: "\e028";
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-play-circle:before {
content: "\e029";
}
/* line 73, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-repeat:before {
content: "\e030";
}
/* line 74, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-refresh:before {
content: "\e031";
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-list-alt:before {
content: "\e032";
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-lock:before {
content: "\e033";
}
/* line 77, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-flag:before {
content: "\e034";
}
/* line 78, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-headphones:before {
content: "\e035";
}
/* line 79, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-off:before {
content: "\e036";
}
/* line 80, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-down:before {
content: "\e037";
}
/* line 81, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-volume-up:before {
content: "\e038";
}
/* line 82, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-qrcode:before {
content: "\e039";
}
/* line 83, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-barcode:before {
content: "\e040";
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tag:before {
content: "\e041";
}
/* line 85, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tags:before {
content: "\e042";
}
/* line 86, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-book:before {
content: "\e043";
}
/* line 87, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bookmark:before {
content: "\e044";
}
/* line 88, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-print:before {
content: "\e045";
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-camera:before {
content: "\e046";
}
/* line 90, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-font:before {
content: "\e047";
}
/* line 91, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bold:before {
content: "\e048";
}
/* line 92, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-italic:before {
content: "\e049";
}
/* line 93, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-height:before {
content: "\e050";
}
/* line 94, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-text-width:before {
content: "\e051";
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-left:before {
content: "\e052";
}
/* line 96, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-center:before {
content: "\e053";
}
/* line 97, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-right:before {
content: "\e054";
}
/* line 98, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-align-justify:before {
content: "\e055";
}
/* line 99, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-list:before {
content: "\e056";
}
/* line 100, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-indent-left:before {
content: "\e057";
}
/* line 101, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-indent-right:before {
content: "\e058";
}
/* line 102, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-facetime-video:before {
content: "\e059";
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-picture:before {
content: "\e060";
}
/* line 104, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-map-marker:before {
content: "\e062";
}
/* line 105, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-adjust:before {
content: "\e063";
}
/* line 106, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tint:before {
content: "\e064";
}
/* line 107, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-edit:before {
content: "\e065";
}
/* line 108, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-share:before {
content: "\e066";
}
/* line 109, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-check:before {
content: "\e067";
}
/* line 110, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-move:before {
content: "\e068";
}
/* line 111, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-step-backward:before {
content: "\e069";
}
/* line 112, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fast-backward:before {
content: "\e070";
}
/* line 113, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-backward:before {
content: "\e071";
}
/* line 114, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-play:before {
content: "\e072";
}
/* line 115, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pause:before {
content: "\e073";
}
/* line 116, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-stop:before {
content: "\e074";
}
/* line 117, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-forward:before {
content: "\e075";
}
/* line 118, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fast-forward:before {
content: "\e076";
}
/* line 119, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-step-forward:before {
content: "\e077";
}
/* line 120, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eject:before {
content: "\e078";
}
/* line 121, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-left:before {
content: "\e079";
}
/* line 122, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-right:before {
content: "\e080";
}
/* line 123, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plus-sign:before {
content: "\e081";
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-minus-sign:before {
content: "\e082";
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove-sign:before {
content: "\e083";
}
/* line 126, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok-sign:before {
content: "\e084";
}
/* line 127, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-question-sign:before {
content: "\e085";
}
/* line 128, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-info-sign:before {
content: "\e086";
}
/* line 129, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-screenshot:before {
content: "\e087";
}
/* line 130, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-remove-circle:before {
content: "\e088";
}
/* line 131, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ok-circle:before {
content: "\e089";
}
/* line 132, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-ban-circle:before {
content: "\e090";
}
/* line 133, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-left:before {
content: "\e091";
}
/* line 134, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-right:before {
content: "\e092";
}
/* line 135, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-up:before {
content: "\e093";
}
/* line 136, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-arrow-down:before {
content: "\e094";
}
/* line 137, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-share-alt:before {
content: "\e095";
}
/* line 138, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-full:before {
content: "\e096";
}
/* line 139, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-small:before {
content: "\e097";
}
/* line 140, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-exclamation-sign:before {
content: "\e101";
}
/* line 141, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-gift:before {
content: "\e102";
}
/* line 142, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-leaf:before {
content: "\e103";
}
/* line 143, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fire:before {
content: "\e104";
}
/* line 144, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eye-open:before {
content: "\e105";
}
/* line 145, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-eye-close:before {
content: "\e106";
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-warning-sign:before {
content: "\e107";
}
/* line 147, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-plane:before {
content: "\e108";
}
/* line 148, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-calendar:before {
content: "\e109";
}
/* line 149, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-random:before {
content: "\e110";
}
/* line 150, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-comment:before {
content: "\e111";
}
/* line 151, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-magnet:before {
content: "\e112";
}
/* line 152, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-up:before {
content: "\e113";
}
/* line 153, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-chevron-down:before {
content: "\e114";
}
/* line 154, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-retweet:before {
content: "\e115";
}
/* line 155, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-shopping-cart:before {
content: "\e116";
}
/* line 156, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-folder-close:before {
content: "\e117";
}
/* line 157, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-folder-open:before {
content: "\e118";
}
/* line 158, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-vertical:before {
content: "\e119";
}
/* line 159, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-resize-horizontal:before {
content: "\e120";
}
/* line 160, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hdd:before {
content: "\e121";
}
/* line 161, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bullhorn:before {
content: "\e122";
}
/* line 162, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-bell:before {
content: "\e123";
}
/* line 163, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-certificate:before {
content: "\e124";
}
/* line 164, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-thumbs-up:before {
content: "\e125";
}
/* line 165, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-thumbs-down:before {
content: "\e126";
}
/* line 166, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-right:before {
content: "\e127";
}
/* line 167, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-left:before {
content: "\e128";
}
/* line 168, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-up:before {
content: "\e129";
}
/* line 169, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hand-down:before {
content: "\e130";
}
/* line 170, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-right:before {
content: "\e131";
}
/* line 171, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-left:before {
content: "\e132";
}
/* line 172, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-up:before {
content: "\e133";
}
/* line 173, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-circle-arrow-down:before {
content: "\e134";
}
/* line 174, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-globe:before {
content: "\e135";
}
/* line 175, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-wrench:before {
content: "\e136";
}
/* line 176, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tasks:before {
content: "\e137";
}
/* line 177, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-filter:before {
content: "\e138";
}
/* line 178, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-briefcase:before {
content: "\e139";
}
/* line 179, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-fullscreen:before {
content: "\e140";
}
/* line 180, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-dashboard:before {
content: "\e141";
}
/* line 181, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-paperclip:before {
content: "\e142";
}
/* line 182, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-heart-empty:before {
content: "\e143";
}
/* line 183, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-link:before {
content: "\e144";
}
/* line 184, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-phone:before {
content: "\e145";
}
/* line 185, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-pushpin:before {
content: "\e146";
}
/* line 186, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-usd:before {
content: "\e148";
}
/* line 187, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-gbp:before {
content: "\e149";
}
/* line 188, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort:before {
content: "\e150";
}
/* line 189, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-alphabet:before {
content: "\e151";
}
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-alphabet-alt:before {
content: "\e152";
}
/* line 191, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-order:before {
content: "\e153";
}
/* line 192, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-order-alt:before {
content: "\e154";
}
/* line 193, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-attributes:before {
content: "\e155";
}
/* line 194, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sort-by-attributes-alt:before {
content: "\e156";
}
/* line 195, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-unchecked:before {
content: "\e157";
}
/* line 196, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-expand:before {
content: "\e158";
}
/* line 197, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-collapse-down:before {
content: "\e159";
}
/* line 198, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-collapse-up:before {
content: "\e160";
}
/* line 199, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-log-in:before {
content: "\e161";
}
/* line 200, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-flash:before {
content: "\e162";
}
/* line 201, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-log-out:before {
content: "\e163";
}
/* line 202, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-new-window:before {
content: "\e164";
}
/* line 203, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-record:before {
content: "\e165";
}
/* line 204, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-save:before {
content: "\e166";
}
/* line 205, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-open:before {
content: "\e167";
}
/* line 206, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-saved:before {
content: "\e168";
}
/* line 207, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-import:before {
content: "\e169";
}
/* line 208, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-export:before {
content: "\e170";
}
/* line 209, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-send:before {
content: "\e171";
}
/* line 210, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-disk:before {
content: "\e172";
}
/* line 211, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-saved:before {
content: "\e173";
}
/* line 212, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-remove:before {
content: "\e174";
}
/* line 213, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-save:before {
content: "\e175";
}
/* line 214, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-floppy-open:before {
content: "\e176";
}
/* line 215, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-credit-card:before {
content: "\e177";
}
/* line 216, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-transfer:before {
content: "\e178";
}
/* line 217, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cutlery:before {
content: "\e179";
}
/* line 218, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-header:before {
content: "\e180";
}
/* line 219, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-compressed:before {
content: "\e181";
}
/* line 220, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-earphone:before {
content: "\e182";
}
/* line 221, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-phone-alt:before {
content: "\e183";
}
/* line 222, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tower:before {
content: "\e184";
}
/* line 223, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-stats:before {
content: "\e185";
}
/* line 224, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sd-video:before {
content: "\e186";
}
/* line 225, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-hd-video:before {
content: "\e187";
}
/* line 226, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-subtitles:before {
content: "\e188";
}
/* line 227, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-stereo:before {
content: "\e189";
}
/* line 228, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-dolby:before {
content: "\e190";
}
/* line 229, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-5-1:before {
content: "\e191";
}
/* line 230, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-6-1:before {
content: "\e192";
}
/* line 231, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-sound-7-1:before {
content: "\e193";
}
/* line 232, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-copyright-mark:before {
content: "\e194";
}
/* line 233, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-registration-mark:before {
content: "\e195";
}
/* line 234, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud-download:before {
content: "\e197";
}
/* line 235, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-cloud-upload:before {
content: "\e198";
}
/* line 236, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tree-conifer:before {
content: "\e199";
}
/* line 237, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_glyphicons.scss */
.glyphicon-tree-deciduous:before {
content: "\e200";
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
html {
font-size: 10px;
-webkit-tap-highlight-color: transparent;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.428571429;
color: #333333;
background-color: #fff;
}
/* line 36, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
/* line 48, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
a {
color: #428bca;
text-decoration: none;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
a:hover, a:focus {
color: #2a6496;
text-decoration: underline;
}
/* line 58, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
a:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
figure {
margin: 0;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
img {
vertical-align: middle;
}
/* line 81, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-responsive {
display: block;
width: 100% \9;
max-width: 100%;
height: auto;
}
/* line 86, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-rounded {
border-radius: 6px;
}
/* line 93, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-thumbnail {
padding: 4px;
line-height: 1.428571429;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
width: 100% \9;
max-width: 100%;
height: auto;
}
/* line 106, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.img-circle {
border-radius: 50%;
}
/* line 113, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
/* line 141, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_scaffolding.scss */
.sr-only-focusable:active, .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h1 small,
h1 .small, h2 small,
h2 .small, h3 small,
h3 .small, h4 small,
h4 .small, h5 small,
h5 .small, h6 small,
h6 .small,
.h1 small,
.h1 .small, .h2 small,
.h2 .small, .h3 small,
.h3 .small, .h4 small,
.h4 .small, .h5 small,
.h5 .small, .h6 small,
.h6 .small {
font-weight: normal;
line-height: 1;
color: #777777;
}
/* line 24, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h1, .h1,
h2, .h2,
h3, .h3 {
margin-top: 20px;
margin-bottom: 10px;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h1 small,
h1 .small, .h1 small,
.h1 .small,
h2 small,
h2 .small, .h2 small,
.h2 .small,
h3 small,
h3 .small, .h3 small,
.h3 .small {
font-size: 65%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 10px;
margin-bottom: 10px;
}
/* line 41, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h4 small,
h4 .small, .h4 small,
.h4 .small,
h5 small,
h5 .small, .h5 small,
.h5 .small,
h6 small,
h6 .small, .h6 small,
.h6 .small {
font-size: 75%;
}
/* line 47, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h1, .h1 {
font-size: 36px;
}
/* line 48, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h2, .h2 {
font-size: 30px;
}
/* line 49, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h3, .h3 {
font-size: 24px;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h4, .h4 {
font-size: 18px;
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h5, .h5 {
font-size: 14px;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
h6, .h6 {
font-size: 12px;
}
/* line 58, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
p {
margin: 0 0 10px;
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.lead {
margin-bottom: 20px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
}
@media (min-width: 768px) {
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.lead {
font-size: 21px;
}
}
/* line 78, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
small,
.small {
font-size: 85%;
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
cite {
font-style: normal;
}
/* line 88, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
mark,
.mark {
background-color: #fcf8e3;
padding: .2em;
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-left {
text-align: left;
}
/* line 96, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-right {
text-align: right;
}
/* line 97, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-center {
text-align: center;
}
/* line 98, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-justify {
text-align: justify;
}
/* line 99, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-nowrap {
white-space: nowrap;
}
/* line 102, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-lowercase {
text-transform: lowercase;
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-uppercase {
text-transform: uppercase;
}
/* line 104, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-capitalize {
text-transform: capitalize;
}
/* line 107, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.text-muted {
color: #777777;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-primary {
color: #428bca;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-primary:hover {
color: #3071a9;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-success {
color: #3c763d;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-success:hover {
color: #2b542c;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-info {
color: #31708f;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-info:hover {
color: #245269;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-warning {
color: #8a6d3b;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-warning:hover {
color: #66512c;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
.text-danger {
color: #a94442;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss */
a.text-danger:hover {
color: #843534;
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.bg-primary {
color: #fff;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-primary {
background-color: #428bca;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-primary:hover {
background-color: #3071a9;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-success {
background-color: #dff0d8;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-success:hover {
background-color: #c1e2b3;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-info {
background-color: #d9edf7;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-info:hover {
background-color: #afd9ee;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-warning {
background-color: #fcf8e3;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-warning:hover {
background-color: #f7ecb5;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
.bg-danger {
background-color: #f2dede;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss */
a.bg-danger:hover {
background-color: #e4b9b9;
}
/* line 143, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eeeeee;
}
/* line 154, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
ul,
ol {
margin-top: 0;
margin-bottom: 10px;
}
/* line 158, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
ul ul,
ul ol,
ol ul,
ol ol {
margin-bottom: 0;
}
/* line 167, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.list-unstyled, .list-inline {
padding-left: 0;
list-style: none;
}
/* line 173, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.list-inline {
margin-left: -5px;
}
/* line 177, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.list-inline > li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
/* line 185, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
dl {
margin-top: 0;
margin-bottom: 20px;
}
/* line 189, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
dt,
dd {
line-height: 1.428571429;
}
/* line 193, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
dt {
font-weight: bold;
}
/* line 196, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
dd {
margin-left: 0;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.dl-horizontal dd:before, .dl-horizontal dd:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.dl-horizontal dd:after {
clear: both;
}
@media (min-width: 768px) {
/* line 211, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.dl-horizontal dt {
float: left;
width: 160px;
clear: left;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* line 218, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.dl-horizontal dd {
margin-left: 180px;
}
}
/* line 229, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #777777;
}
/* line 235, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.initialism {
font-size: 90%;
text-transform: uppercase;
}
/* line 241, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
border-left: 5px solid #eeeeee;
}
/* line 250, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
margin-bottom: 0;
}
/* line 257, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
blockquote footer,
blockquote small,
blockquote .small {
display: block;
font-size: 80%;
line-height: 1.428571429;
color: #777777;
}
/* line 265, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0';
}
/* line 274, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse,
blockquote.pull-right {
padding-right: 15px;
padding-left: 0;
border-right: 5px solid #eeeeee;
border-left: 0;
text-align: right;
}
/* line 286, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse footer:before,
.blockquote-reverse small:before,
.blockquote-reverse .small:before,
blockquote.pull-right footer:before,
blockquote.pull-right small:before,
blockquote.pull-right .small:before {
content: '';
}
/* line 287, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
.blockquote-reverse footer:after,
.blockquote-reverse small:after,
.blockquote-reverse .small:after,
blockquote.pull-right footer:after,
blockquote.pull-right small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014';
}
/* line 294, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
blockquote:before,
blockquote:after {
content: "";
}
/* line 300, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_type.scss */
address {
margin-bottom: 20px;
font-style: normal;
line-height: 1.428571429;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
code,
kbd,
pre,
samp {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
/* line 24, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
kbd {
padding: 2px 4px;
font-size: 90%;
color: #fff;
background-color: #333;
border-radius: 3px;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
kbd kbd {
padding: 0;
font-size: 100%;
box-shadow: none;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.428571429;
word-break: break-all;
word-wrap: break-word;
color: #333333;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_code.scss */
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container:before, .container:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container:after {
clear: both;
}
@media (min-width: 768px) {
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 750px;
}
}
@media (min-width: 992px) {
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.container {
width: 1170px;
}
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.container-fluid {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container-fluid:before, .container-fluid:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.container-fluid:after {
clear: both;
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_grid.scss */
.row {
margin-left: -15px;
margin-right: -15px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.row:before, .row:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.row:after {
clear: both;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
float: left;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-1 {
width: 8.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-2 {
width: 16.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-3 {
width: 25%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-4 {
width: 33.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-5 {
width: 41.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-6 {
width: 50%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-7 {
width: 58.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-8 {
width: 66.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-9 {
width: 75%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-10 {
width: 83.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-11 {
width: 91.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-12 {
width: 100%;
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-0 {
right: auto;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-1 {
right: 8.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-2 {
right: 16.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-3 {
right: 25%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-4 {
right: 33.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-5 {
right: 41.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-6 {
right: 50%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-7 {
right: 58.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-8 {
right: 66.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-9 {
right: 75%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-10 {
right: 83.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-11 {
right: 91.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-pull-12 {
right: 100%;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-0 {
left: auto;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-1 {
left: 8.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-2 {
left: 16.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-3 {
left: 25%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-4 {
left: 33.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-5 {
left: 41.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-6 {
left: 50%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-7 {
left: 58.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-8 {
left: 66.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-9 {
left: 75%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-10 {
left: 83.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-11 {
left: 91.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-push-12 {
left: 100%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-1 {
margin-left: 8.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-2 {
margin-left: 16.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-4 {
margin-left: 33.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-5 {
margin-left: 41.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-7 {
margin-left: 58.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-8 {
margin-left: 66.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-10 {
margin-left: 83.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-11 {
margin-left: 91.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-xs-offset-12 {
margin-left: 100%;
}
@media (min-width: 768px) {
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-1 {
width: 8.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-2 {
width: 16.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-3 {
width: 25%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-4 {
width: 33.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-5 {
width: 41.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-6 {
width: 50%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-7 {
width: 58.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-8 {
width: 66.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-9 {
width: 75%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-10 {
width: 83.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-11 {
width: 91.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-12 {
width: 100%;
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-0 {
right: auto;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-1 {
right: 8.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-2 {
right: 16.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-3 {
right: 25%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-4 {
right: 33.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-5 {
right: 41.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-6 {
right: 50%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-7 {
right: 58.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-8 {
right: 66.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-9 {
right: 75%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-10 {
right: 83.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-11 {
right: 91.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-pull-12 {
right: 100%;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-0 {
left: auto;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-1 {
left: 8.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-2 {
left: 16.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-3 {
left: 25%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-4 {
left: 33.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-5 {
left: 41.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-6 {
left: 50%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-7 {
left: 58.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-8 {
left: 66.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-9 {
left: 75%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-10 {
left: 83.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-11 {
left: 91.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-push-12 {
left: 100%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-1 {
margin-left: 8.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-2 {
margin-left: 16.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-4 {
margin-left: 33.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-5 {
margin-left: 41.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-7 {
margin-left: 58.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-8 {
margin-left: 66.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-10 {
margin-left: 83.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-11 {
margin-left: 91.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-sm-offset-12 {
margin-left: 100%;
}
}
@media (min-width: 992px) {
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
float: left;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-1 {
width: 8.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-2 {
width: 16.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-3 {
width: 25%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-4 {
width: 33.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-5 {
width: 41.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-6 {
width: 50%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-7 {
width: 58.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-8 {
width: 66.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-9 {
width: 75%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-10 {
width: 83.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-11 {
width: 91.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-12 {
width: 100%;
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-0 {
right: auto;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-1 {
right: 8.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-2 {
right: 16.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-3 {
right: 25%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-4 {
right: 33.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-5 {
right: 41.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-6 {
right: 50%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-7 {
right: 58.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-8 {
right: 66.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-9 {
right: 75%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-10 {
right: 83.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-11 {
right: 91.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-pull-12 {
right: 100%;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-0 {
left: auto;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-1 {
left: 8.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-2 {
left: 16.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-3 {
left: 25%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-4 {
left: 33.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-5 {
left: 41.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-6 {
left: 50%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-7 {
left: 58.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-8 {
left: 66.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-9 {
left: 75%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-10 {
left: 83.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-11 {
left: 91.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-push-12 {
left: 100%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-1 {
margin-left: 8.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-2 {
margin-left: 16.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-4 {
margin-left: 33.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-5 {
margin-left: 41.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-7 {
margin-left: 58.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-8 {
margin-left: 66.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-10 {
margin-left: 83.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-11 {
margin-left: 91.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-md-offset-12 {
margin-left: 100%;
}
}
@media (min-width: 1200px) {
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
float: left;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-1 {
width: 8.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-2 {
width: 16.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-3 {
width: 25%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-4 {
width: 33.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-5 {
width: 41.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-6 {
width: 50%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-7 {
width: 58.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-8 {
width: 66.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-9 {
width: 75%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-10 {
width: 83.3333333333%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-11 {
width: 91.6666666667%;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-12 {
width: 100%;
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-0 {
right: auto;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-1 {
right: 8.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-2 {
right: 16.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-3 {
right: 25%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-4 {
right: 33.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-5 {
right: 41.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-6 {
right: 50%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-7 {
right: 58.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-8 {
right: 66.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-9 {
right: 75%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-10 {
right: 83.3333333333%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-11 {
right: 91.6666666667%;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-pull-12 {
right: 100%;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-0 {
left: auto;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-1 {
left: 8.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-2 {
left: 16.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-3 {
left: 25%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-4 {
left: 33.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-5 {
left: 41.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-6 {
left: 50%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-7 {
left: 58.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-8 {
left: 66.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-9 {
left: 75%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-10 {
left: 83.3333333333%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-11 {
left: 91.6666666667%;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-push-12 {
left: 100%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-0 {
margin-left: 0%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-1 {
margin-left: 8.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-2 {
margin-left: 16.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-3 {
margin-left: 25%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-4 {
margin-left: 33.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-5 {
margin-left: 41.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-6 {
margin-left: 50%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-7 {
margin-left: 58.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-8 {
margin-left: 66.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-9 {
margin-left: 75%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-10 {
margin-left: 83.3333333333%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-11 {
margin-left: 91.6666666667%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_grid-framework.scss */
.col-lg-offset-12 {
margin-left: 100%;
}
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
table {
background-color: transparent;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
th {
text-align: left;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
/* line 25, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
padding: 8px;
line-height: 1.428571429;
vertical-align: top;
border-top: 1px solid #ddd;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid #ddd;
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table > caption + thead > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > th,
.table > thead:first-child > tr:first-child > td {
border-top: 0;
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table > tbody + tbody {
border-top: 2px solid #ddd;
}
/* line 56, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table .table {
background-color: #fff;
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-condensed > thead > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > tfoot > tr > td {
padding: 5px;
}
/* line 82, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered {
border: 1px solid #ddd;
}
/* line 88, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
border: 1px solid #ddd;
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
border-bottom-width: 2px;
}
/* line 109, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
background-color: #f9f9f9;
}
/* line 123, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
background-color: #f5f5f5;
}
/* line 135, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
table col[class*="col-"] {
position: static;
float: none;
display: table-column;
}
/* line 143, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
table td[class*="col-"],
table th[class*="col-"] {
position: static;
float: none;
display: table-cell;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.active,
.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th,
.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th {
background-color: #f5f5f5;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th {
background-color: #e8e8e8;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.success,
.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th,
.table > tbody > tr > td.success,
.table > tbody > tr > th.success,
.table > tbody > tr.success > td,
.table > tbody > tr.success > th,
.table > tfoot > tr > td.success,
.table > tfoot > tr > th.success,
.table > tfoot > tr.success > td,
.table > tfoot > tr.success > th {
background-color: #dff0d8;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th {
background-color: #d0e9c6;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.info,
.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th,
.table > tbody > tr > td.info,
.table > tbody > tr > th.info,
.table > tbody > tr.info > td,
.table > tbody > tr.info > th,
.table > tfoot > tr > td.info,
.table > tfoot > tr > th.info,
.table > tfoot > tr.info > td,
.table > tfoot > tr.info > th {
background-color: #d9edf7;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th {
background-color: #c4e3f3;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.warning,
.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th,
.table > tbody > tr > td.warning,
.table > tbody > tr > th.warning,
.table > tbody > tr.warning > td,
.table > tbody > tr.warning > th,
.table > tfoot > tr > td.warning,
.table > tfoot > tr > th.warning,
.table > tfoot > tr.warning > td,
.table > tfoot > tr.warning > th {
background-color: #fcf8e3;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th {
background-color: #faf2cc;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table > thead > tr > td.danger,
.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th,
.table > tbody > tr > td.danger,
.table > tbody > tr > th.danger,
.table > tbody > tr.danger > td,
.table > tbody > tr.danger > th,
.table > tfoot > tr > td.danger,
.table > tfoot > tr > th.danger,
.table > tfoot > tr.danger > td,
.table > tfoot > tr.danger > th {
background-color: #f2dede;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_table-row.scss */
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th {
background-color: #ebcccc;
}
@media screen and (max-width: 767px) {
/* line 171, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-y: hidden;
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #ddd;
-webkit-overflow-scrolling: touch;
}
/* line 182, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table {
margin-bottom: 0;
}
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
/* line 199, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered {
border: 0;
}
/* line 207, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > thead > tr > th:first-child,
.table-responsive > .table-bordered > thead > tr > td:first-child,
.table-responsive > .table-bordered > tbody > tr > th:first-child,
.table-responsive > .table-bordered > tbody > tr > td:first-child,
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
/* line 211, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > thead > tr > th:last-child,
.table-responsive > .table-bordered > thead > tr > td:last-child,
.table-responsive > .table-bordered > tbody > tr > th:last-child,
.table-responsive > .table-bordered > tbody > tr > td:last-child,
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
/* line 224, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tables.scss */
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
color: #333333;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
/* line 47, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="radio"],
input[type="checkbox"] {
margin: 4px 0 0;
margin-top: 1px \9;
line-height: normal;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="file"] {
display: block;
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="range"] {
display: block;
width: 100%;
}
/* line 71, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
select[multiple],
select[size] {
height: auto;
}
/* line 77, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
output {
display: block;
padding-top: 7px;
font-size: 14px;
line-height: 1.428571429;
color: #555555;
}
/* line 115, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-control {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #555555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
/* line 53, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.form-control:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
/* line 102, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control::-moz-placeholder {
color: #777777;
opacity: 1;
}
/* line 104, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control:-ms-input-placeholder {
color: #777777;
}
/* line 105, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss */
.form-control::-webkit-input-placeholder {
color: #777777;
}
/* line 141, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
cursor: not-allowed;
background-color: #eeeeee;
opacity: 1;
}
/* line 153, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
textarea.form-control {
height: auto;
}
/* line 165, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="search"] {
-webkit-appearance: none;
}
/* line 178, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: 34px;
line-height: 1.428571429 \0;
}
/* line 186, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"].input-sm, .form-horizontal .form-group-sm input[type="date"].form-control, .input-group-sm > input[type="date"].form-control,
.input-group-sm > input[type="date"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="date"].btn,
input[type="time"].input-sm,
.form-horizontal .form-group-sm input[type="time"].form-control,
.input-group-sm > input[type="time"].form-control,
.input-group-sm > input[type="time"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="time"].btn,
input[type="datetime-local"].input-sm,
.form-horizontal .form-group-sm input[type="datetime-local"].form-control,
.input-group-sm > input[type="datetime-local"].form-control,
.input-group-sm > input[type="datetime-local"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="datetime-local"].btn,
input[type="month"].input-sm,
.form-horizontal .form-group-sm input[type="month"].form-control,
.input-group-sm > input[type="month"].form-control,
.input-group-sm > input[type="month"].input-group-addon,
.input-group-sm > .input-group-btn > input[type="month"].btn {
line-height: 30px;
}
/* line 189, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="date"].input-lg, .form-horizontal .form-group-lg input[type="date"].form-control, .input-group-lg > input[type="date"].form-control,
.input-group-lg > input[type="date"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="date"].btn,
input[type="time"].input-lg,
.form-horizontal .form-group-lg input[type="time"].form-control,
.input-group-lg > input[type="time"].form-control,
.input-group-lg > input[type="time"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="time"].btn,
input[type="datetime-local"].input-lg,
.form-horizontal .form-group-lg input[type="datetime-local"].form-control,
.input-group-lg > input[type="datetime-local"].form-control,
.input-group-lg > input[type="datetime-local"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="datetime-local"].btn,
input[type="month"].input-lg,
.form-horizontal .form-group-lg input[type="month"].form-control,
.input-group-lg > input[type="month"].form-control,
.input-group-lg > input[type="month"].input-group-addon,
.input-group-lg > .input-group-btn > input[type="month"].btn {
line-height: 46px;
}
/* line 200, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-group {
margin-bottom: 15px;
}
/* line 209, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio,
.checkbox {
position: relative;
display: block;
min-height: 20px;
margin-top: 10px;
margin-bottom: 10px;
}
/* line 217, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio label,
.checkbox label {
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
/* line 224, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
position: absolute;
margin-left: -20px;
margin-top: 4px \9;
}
/* line 233, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio + .radio,
.checkbox + .checkbox {
margin-top: -5px;
}
/* line 239, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline,
.checkbox-inline {
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
vertical-align: middle;
font-weight: normal;
cursor: pointer;
}
/* line 248, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
margin-top: 0;
margin-left: 10px;
}
/* line 260, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
input[type="radio"][disabled], input[type="radio"].disabled, fieldset[disabled] input[type="radio"],
input[type="checkbox"][disabled],
input[type="checkbox"].disabled, fieldset[disabled]
input[type="checkbox"] {
cursor: not-allowed;
}
/* line 269, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio-inline.disabled, fieldset[disabled] .radio-inline,
.checkbox-inline.disabled, fieldset[disabled]
.checkbox-inline {
cursor: not-allowed;
}
/* line 279, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.radio.disabled label, fieldset[disabled] .radio label,
.checkbox.disabled label, fieldset[disabled]
.checkbox label {
cursor: not-allowed;
}
/* line 291, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-control-static {
padding-top: 7px;
padding-bottom: 7px;
margin-bottom: 0;
}
/* line 298, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-control-static.input-lg, .form-horizontal .form-group-lg .form-control-static.form-control, .input-group-lg > .form-control-static.form-control,
.input-group-lg > .form-control-static.input-group-addon,
.input-group-lg > .input-group-btn > .form-control-static.btn, .form-control-static.input-sm, .form-horizontal .form-group-sm .form-control-static.form-control, .input-group-sm > .form-control-static.form-control,
.input-group-sm > .form-control-static.input-group-addon,
.input-group-sm > .input-group-btn > .form-control-static.btn {
padding-left: 0;
padding-right: 0;
}
/* line 67, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.input-sm, .form-horizontal .form-group-sm .form-control, .input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
select.input-sm, .form-horizontal .form-group-sm select.form-control, .input-group-sm > select.form-control,
.input-group-sm > select.input-group-addon,
.input-group-sm > .input-group-btn > select.btn {
height: 30px;
line-height: 30px;
}
/* line 80, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
textarea.input-sm, .form-horizontal .form-group-sm textarea.form-control, .input-group-sm > textarea.form-control,
.input-group-sm > textarea.input-group-addon,
.input-group-sm > .input-group-btn > textarea.btn,
select[multiple].input-sm,
.form-horizontal .form-group-sm select[multiple].form-control,
.input-group-sm > select[multiple].form-control,
.input-group-sm > select[multiple].input-group-addon,
.input-group-sm > .input-group-btn > select[multiple].btn {
height: auto;
}
/* line 67, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.input-lg, .form-horizontal .form-group-lg .form-control, .input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
height: 46px;
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
select.input-lg, .form-horizontal .form-group-lg select.form-control, .input-group-lg > select.form-control,
.input-group-lg > select.input-group-addon,
.input-group-lg > .input-group-btn > select.btn {
height: 46px;
line-height: 46px;
}
/* line 80, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
textarea.input-lg, .form-horizontal .form-group-lg textarea.form-control, .input-group-lg > textarea.form-control,
.input-group-lg > textarea.input-group-addon,
.input-group-lg > .input-group-btn > textarea.btn,
select[multiple].input-lg,
.form-horizontal .form-group-lg select[multiple].form-control,
.input-group-lg > select[multiple].form-control,
.input-group-lg > select[multiple].input-group-addon,
.input-group-lg > .input-group-btn > select[multiple].btn {
height: auto;
}
/* line 320, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback {
position: relative;
}
/* line 325, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback .form-control {
padding-right: 42.5px;
}
/* line 330, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-control-feedback {
position: absolute;
top: 25px;
right: 0;
z-index: 2;
display: block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
}
/* line 341, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.input-lg + .form-control-feedback, .form-horizontal .form-group-lg .form-control + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback,
.input-group-lg > .input-group-addon + .form-control-feedback,
.input-group-lg > .input-group-btn > .btn + .form-control-feedback {
width: 46px;
height: 46px;
line-height: 46px;
}
/* line 346, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.input-sm + .form-control-feedback, .form-horizontal .form-group-sm .form-control + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback,
.input-group-sm > .input-group-addon + .form-control-feedback,
.input-group-sm > .input-group-btn > .btn + .form-control-feedback {
width: 30px;
height: 30px;
line-height: 30px;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline {
color: #3c763d;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control {
border-color: #3c763d;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control:focus {
border-color: #2b542c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .input-group-addon {
color: #3c763d;
border-color: #3c763d;
background-color: #dff0d8;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-success .form-control-feedback {
color: #3c763d;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline {
color: #8a6d3b;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control {
border-color: #8a6d3b;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control:focus {
border-color: #66512c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .input-group-addon {
color: #8a6d3b;
border-color: #8a6d3b;
background-color: #fcf8e3;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-warning .form-control-feedback {
color: #8a6d3b;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
color: #a94442;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control {
border-color: #a94442;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control:focus {
border-color: #843534;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .input-group-addon {
color: #a94442;
border-color: #a94442;
background-color: #f2dede;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_forms.scss */
.has-error .form-control-feedback {
color: #a94442;
}
/* line 365, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.has-feedback label.sr-only ~ .form-control-feedback {
top: 0;
}
/* line 375, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #737373;
}
@media (min-width: 768px) {
/* line 400, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .form-group, .navbar-form .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
/* line 407, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .form-control, .navbar-form .form-control {
display: inline-block;
width: auto;
vertical-align: middle;
}
/* line 413, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group, .navbar-form .input-group {
display: inline-table;
vertical-align: middle;
}
/* line 417, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group .input-group-addon, .navbar-form .input-group .input-group-addon,
.form-inline .input-group .input-group-btn,
.navbar-form .input-group .input-group-btn,
.form-inline .input-group .form-control,
.navbar-form .input-group .form-control {
width: auto;
}
/* line 425, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .input-group > .form-control, .navbar-form .input-group > .form-control {
width: 100%;
}
/* line 429, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .control-label, .navbar-form .control-label {
margin-bottom: 0;
vertical-align: middle;
}
/* line 437, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio, .navbar-form .radio,
.form-inline .checkbox,
.navbar-form .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
/* line 444, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio label, .navbar-form .radio label,
.form-inline .checkbox label,
.navbar-form .checkbox label {
padding-left: 0;
}
/* line 448, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .radio input[type="radio"], .navbar-form .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"],
.navbar-form .checkbox input[type="checkbox"] {
position: relative;
margin-left: 0;
}
/* line 458, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-inline .has-feedback .form-control-feedback, .navbar-form .has-feedback .form-control-feedback {
top: 0;
}
}
/* line 475, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
margin-top: 0;
margin-bottom: 0;
padding-top: 7px;
}
/* line 485, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .radio,
.form-horizontal .checkbox {
min-height: 27px;
}
/* line 491, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group {
margin-left: -15px;
margin-right: -15px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.form-horizontal .form-group:before, .form-horizontal .form-group:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.form-horizontal .form-group:after {
clear: both;
}
@media (min-width: 768px) {
/* line 498, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .control-label {
text-align: right;
margin-bottom: 0;
padding-top: 7px;
}
}
/* line 509, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .has-feedback .form-control-feedback {
top: 0;
right: 15px;
}
@media (min-width: 768px) {
/* line 520, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group-lg .control-label {
padding-top: 14.3px;
}
}
@media (min-width: 768px) {
/* line 530, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_forms.scss */
.form-horizontal .form-group-sm .control-label {
padding-top: 6px;
}
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn {
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* line 25, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn:focus, .btn:active:focus, .btn.active:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn:hover, .btn:focus {
color: #333;
text-decoration: none;
}
/* line 36, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn:active, .btn.active {
outline: 0;
background-image: none;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
cursor: not-allowed;
pointer-events: none;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 57, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
color: #333;
background-color: #e6e6e6;
border-color: #adadad;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active {
background-color: #fff;
border-color: #ccc;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-default .badge {
color: #fff;
background-color: #333;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-primary {
color: #fff;
background-color: #428bca;
border-color: #357ebd;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
color: #fff;
background-color: #3071a9;
border-color: #285e8e;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active {
background-color: #428bca;
border-color: #357ebd;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-primary .badge {
color: #428bca;
background-color: #fff;
}
/* line 64, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-success {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
color: #fff;
background-color: #449d44;
border-color: #398439;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active {
background-color: #5cb85c;
border-color: #4cae4c;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-success .badge {
color: #5cb85c;
background-color: #fff;
}
/* line 68, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-info {
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle {
color: #fff;
background-color: #31b0d5;
border-color: #269abc;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
background-color: #5bc0de;
border-color: #46b8da;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-info .badge {
color: #5bc0de;
background-color: #fff;
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-warning {
color: #fff;
background-color: #f0ad4e;
border-color: #eea236;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle {
color: #fff;
background-color: #ec971f;
border-color: #d58512;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active {
background-color: #f0ad4e;
border-color: #eea236;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-warning .badge {
color: #f0ad4e;
background-color: #fff;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-danger {
color: #fff;
background-color: #d9534f;
border-color: #d43f3a;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle {
color: #fff;
background-color: #c9302c;
border-color: #ac2925;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle {
background-image: none;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active {
background-color: #d9534f;
border-color: #d43f3a;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_buttons.scss */
.btn-danger .badge {
color: #d9534f;
background-color: #fff;
}
/* line 85, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link {
color: #428bca;
font-weight: normal;
cursor: pointer;
border-radius: 0;
}
/* line 91, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link {
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 98, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
border-color: transparent;
}
/* line 104, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link:hover, .btn-link:focus {
color: #2a6496;
text-decoration: underline;
background-color: transparent;
}
/* line 112, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus {
color: #777777;
text-decoration: none;
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-lg, .btn-group-lg > .btn {
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
/* line 128, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-sm, .btn-group-sm > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 132, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-xs, .btn-group-xs > .btn {
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
/* line 140, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-block {
display: block;
width: 100%;
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
.btn-block + .btn-block {
margin-top: 5px;
}
/* line 154, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_buttons.scss */
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
width: 100%;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
-o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
/* line 13, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
.fade.in {
opacity: 1;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
.collapse {
display: none;
}
/* line 21, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
.collapse.in {
display: block;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
tr.collapse.in {
display: table-row;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
tbody.collapse.in {
display: table-row-group;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_component-animations.scss */
.collapsing {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition: height 0.35s ease;
-o-transition: height 0.35s ease;
transition: height 0.35s ease;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px solid;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown {
position: relative;
}
/* line 24, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-toggle:focus {
outline: 0;
}
/* line 29, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
background-clip: padding-box;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu.pull-right {
right: 0;
left: auto;
}
/* line 58, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
/* line 63, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.428571429;
color: #333333;
white-space: nowrap;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
text-decoration: none;
color: #262626;
background-color: #f5f5f5;
}
/* line 86, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
color: #fff;
text-decoration: none;
outline: 0;
background-color: #428bca;
}
/* line 101, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
color: #777777;
}
/* line 109, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
text-decoration: none;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
cursor: not-allowed;
}
/* line 122, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.open > .dropdown-menu {
display: block;
}
/* line 127, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.open > a {
outline: 0;
}
/* line 136, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu-right {
left: auto;
right: 0;
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-menu-left {
left: 0;
right: auto;
}
/* line 152, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.428571429;
color: #777777;
white-space: nowrap;
}
/* line 162, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 990;
}
/* line 172, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.pull-right > .dropdown-menu {
right: 0;
left: auto;
}
/* line 185, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
border-top: 0;
border-bottom: 4px solid;
content: "";
}
/* line 191, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 1px;
}
@media (min-width: 768px) {
/* line 205, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.navbar-right .dropdown-menu {
right: 0;
left: auto;
}
/* line 210, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_dropdowns.scss */
.navbar-right .dropdown-menu-left {
left: 0;
right: auto;
}
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn,
.btn-group-vertical > .btn {
position: relative;
float: left;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
z-index: 2;
}
/* line 21, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus {
outline: 0;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
margin-left: -1px;
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar {
margin-left: -5px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-toolbar:before, .btn-toolbar:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-toolbar:after {
clear: both;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
float: left;
}
/* line 47, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
margin-left: 5px;
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
border-radius: 0;
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:first-child {
margin-left: 0;
}
/* line 61, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 66, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group {
float: left;
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
/* line 79, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:first-child > .btn:last-child,
.btn-group > .btn-group:first-child > .dropdown-toggle {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-group:last-child > .btn:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
outline: 0;
}
/* line 108, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
/* line 112, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
/* line 119, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group.open .dropdown-toggle {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* line 123, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group.open .dropdown-toggle.btn-link {
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 130, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn .caret {
margin-left: 0;
}
/* line 134, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-lg .caret, .btn-group-lg > .btn .caret {
border-width: 5px 5px 0;
border-bottom-width: 0;
}
/* line 139, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret {
border-width: 0 5px 5px;
}
/* line 148, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,
.btn-group-vertical > .btn-group > .btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.btn-group-vertical > .btn-group:after {
clear: both;
}
/* line 160, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group > .btn {
float: none;
}
/* line 165, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
margin-top: -1px;
margin-left: 0;
}
/* line 175, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
border-radius: 0;
}
/* line 178, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:first-child:not(:last-child) {
border-top-right-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 182, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn:last-child:not(:first-child) {
border-bottom-left-radius: 4px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 187, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
/* line 191, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 196, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 205, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified {
display: table;
width: 100%;
table-layout: fixed;
border-collapse: separate;
}
/* line 210, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
float: none;
display: table-cell;
width: 1%;
}
/* line 216, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn-group .btn {
width: 100%;
}
/* line 220, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
.btn-group-justified > .btn-group .dropdown-menu {
left: auto;
}
/* line 235, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_button-groups.scss */
[data-toggle="buttons"] > .btn > input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
position: absolute;
z-index: -1;
opacity: 0;
filter: alpha(opacity=0);
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group {
position: relative;
display: table;
border-collapse: separate;
}
/* line 13, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon,
.input-group-btn,
.input-group .form-control {
display: table-cell;
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
border-radius: 0;
}
/* line 64, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon,
.input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
/* line 73, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon {
padding: 6px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1;
color: #555555;
text-align: center;
background-color: #eeeeee;
border: 1px solid #ccc;
border-radius: 4px;
}
/* line 85, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon.input-sm, .form-horizontal .form-group-sm .input-group-addon.form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .input-group-addon.btn {
padding: 5px 10px;
font-size: 12px;
border-radius: 3px;
}
/* line 90, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon.input-lg, .form-horizontal .form-group-lg .input-group-addon.form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .input-group-addon.btn {
padding: 10px 16px;
font-size: 18px;
border-radius: 6px;
}
/* line 97, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
margin-top: 0;
}
/* line 104, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.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-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* line 113, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:first-child {
border-right: 0;
}
/* line 116, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.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-bottom-left-radius: 0;
border-top-left-radius: 0;
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-addon:last-child {
border-left: 0;
}
/* line 131, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn {
position: relative;
font-size: 0;
white-space: nowrap;
}
/* line 140, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn {
position: relative;
}
/* line 142, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn + .btn {
margin-left: -1px;
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
z-index: 2;
}
/* line 155, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group {
margin-right: -1px;
}
/* line 161, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_input-groups.scss */
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
margin-left: -1px;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav {
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.nav:before, .nav:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.nav:after {
clear: both;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li {
position: relative;
display: block;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a {
position: relative;
display: block;
padding: 10px 15px;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a:hover, .nav > li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li.disabled > a {
color: #777777;
}
/* line 34, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
color: #777777;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
/* line 46, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
background-color: #eeeeee;
border-color: #428bca;
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav .nav-divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
/* line 66, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav > li > a > img {
max-width: none;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs {
border-bottom: 1px solid #ddd;
}
/* line 78, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li {
float: left;
margin-bottom: -1px;
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li > a {
margin-right: 2px;
line-height: 1.428571429;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li > a:hover {
border-color: #eeeeee #eeeeee #ddd;
}
/* line 96, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
color: #555555;
background-color: #fff;
border: 1px solid #ddd;
border-bottom-color: transparent;
cursor: default;
}
/* line 118, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li {
float: left;
}
/* line 122, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li > a {
border-radius: 4px;
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li + li {
margin-left: 2px;
}
/* line 131, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
color: #fff;
background-color: #428bca;
}
/* line 144, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-stacked > li {
float: none;
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-stacked > li + li {
margin-top: 2px;
margin-left: 0;
}
/* line 160, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified, .nav-tabs.nav-justified {
width: 100%;
}
/* line 163, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li, .nav-tabs.nav-justified > li {
float: none;
}
/* line 165, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
text-align: center;
margin-bottom: 5px;
}
/* line 171, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > .dropdown .dropdown-menu {
top: auto;
left: auto;
}
@media (min-width: 768px) {
/* line 177, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li, .nav-tabs.nav-justified > li {
display: table-cell;
width: 1%;
}
/* line 180, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
margin-bottom: 0;
}
}
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified, .nav-tabs.nav-justified {
border-bottom: 0;
}
/* line 193, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
margin-right: 0;
border-radius: 4px;
}
/* line 199, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus,
.nav-tabs.nav-justified > .active > a:focus {
border: 1px solid #ddd;
}
@media (min-width: 768px) {
/* line 206, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a {
border-bottom: 1px solid #ddd;
border-radius: 4px 4px 0 0;
}
/* line 210, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus,
.nav-tabs.nav-justified > .active > a:focus {
border-bottom-color: #fff;
}
}
/* line 224, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.tab-content > .tab-pane {
display: none;
}
/* line 227, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.tab-content > .active {
display: block;
}
/* line 237, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navs.scss */
.nav-tabs .dropdown-menu {
margin-top: -1px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar:before, .navbar:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar:after {
clear: both;
}
@media (min-width: 768px) {
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar {
border-radius: 4px;
}
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-header:before, .navbar-header:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-header:after {
clear: both;
}
@media (min-width: 768px) {
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-header {
float: left;
}
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse {
overflow-x: visible;
padding-right: 15px;
padding-left: 15px;
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-overflow-scrolling: touch;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-collapse:before, .navbar-collapse:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.navbar-collapse:after {
clear: both;
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.in {
overflow-y: auto;
}
@media (min-width: 768px) {
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse {
width: auto;
border-top: 0;
box-shadow: none;
}
/* line 68, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0;
overflow: visible !important;
}
/* line 75, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-collapse.in {
overflow-y: visible;
}
/* line 81, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
padding-left: 0;
padding-right: 0;
}
}
/* line 92, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 340px;
}
@media (max-width: 480px) and (orientation: landscape) {
/* line 92, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 200px;
}
}
/* line 108, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.container > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-header,
.container-fluid > .navbar-collapse {
margin-right: -15px;
margin-left: -15px;
}
@media (min-width: 768px) {
/* line 108, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.container > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-header,
.container-fluid > .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
}
/* line 128, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-static-top {
z-index: 1000;
border-width: 0 0 1px;
}
@media (min-width: 768px) {
/* line 128, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-static-top {
border-radius: 0;
}
}
/* line 138, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: 1030;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
@media (min-width: 768px) {
/* line 138, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
}
/* line 151, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
/* line 155, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0;
border-width: 1px 0 0;
}
/* line 164, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-brand {
float: left;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
height: 50px;
}
/* line 171, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-brand:hover, .navbar-brand:focus {
text-decoration: none;
}
@media (min-width: 768px) {
/* line 177, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
margin-left: -15px;
}
}
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle {
position: relative;
float: right;
margin-right: 15px;
padding: 9px 10px;
margin-top: 8px;
margin-bottom: 8px;
background-color: transparent;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
/* line 203, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle:focus {
outline: 0;
}
/* line 208, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
/* line 214, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px;
}
@media (min-width: 768px) {
/* line 190, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-toggle {
display: none;
}
}
/* line 229, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav {
margin: 7.5px -15px;
}
/* line 232, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
}
@media (max-width: 767px) {
/* line 240, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
box-shadow: none;
}
/* line 248, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a,
.navbar-nav .open .dropdown-menu .dropdown-header {
padding: 5px 15px 5px 25px;
}
/* line 252, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a {
line-height: 20px;
}
/* line 254, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus {
background-image: none;
}
}
@media (min-width: 768px) {
/* line 229, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav {
float: left;
margin: 0;
}
/* line 267, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li {
float: left;
}
/* line 269, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}
/* line 275, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav.navbar-right:last-child {
margin-right: -15px;
}
}
@media (min-width: 768px) {
/* line 289, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-left {
float: left !important;
}
/* line 292, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-right {
float: right !important;
}
}
/* line 303, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form {
margin-left: -15px;
margin-right: -15px;
padding: 10px 15px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
margin-top: 8px;
margin-bottom: 8px;
}
@media (max-width: 767px) {
/* line 315, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form .form-group {
margin-bottom: 5px;
}
}
@media (min-width: 768px) {
/* line 303, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form {
width: auto;
border: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
/* line 335, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-form.navbar-right:last-child {
margin-right: -15px;
}
}
/* line 345, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-nav > li > .dropdown-menu {
margin-top: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
/* line 350, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
/* line 359, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn {
margin-top: 8px;
margin-bottom: 8px;
}
/* line 362, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn {
margin-top: 10px;
margin-bottom: 10px;
}
/* line 365, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn {
margin-top: 14px;
margin-bottom: 14px;
}
/* line 375, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-text {
margin-top: 15px;
margin-bottom: 15px;
}
@media (min-width: 768px) {
/* line 375, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-text {
float: left;
margin-left: 15px;
margin-right: 15px;
}
/* line 384, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-text.navbar-right:last-child {
margin-right: 0;
}
}
/* line 394, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default {
background-color: #f8f8f8;
border-color: #e7e7e7;
}
/* line 398, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-brand {
color: #777;
}
/* line 400, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #5e5e5e;
background-color: transparent;
}
/* line 407, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-text {
color: #777;
}
/* line 412, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > li > a {
color: #777;
}
/* line 415, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
color: #333;
background-color: transparent;
}
/* line 422, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: #555;
background-color: #e7e7e7;
}
/* line 430, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
/* line 439, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle {
border-color: #ddd;
}
/* line 441, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #ddd;
}
/* line 445, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-toggle .icon-bar {
background-color: #888;
}
/* line 450, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #e7e7e7;
}
/* line 459, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
background-color: #e7e7e7;
color: #555;
}
@media (max-width: 767px) {
/* line 470, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #777;
}
/* line 472, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #333;
background-color: transparent;
}
/* line 479, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #555;
background-color: #e7e7e7;
}
/* line 487, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #ccc;
background-color: transparent;
}
}
/* line 503, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-link {
color: #777;
}
/* line 505, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .navbar-link:hover {
color: #333;
}
/* line 510, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link {
color: #777;
}
/* line 512, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link:hover, .navbar-default .btn-link:focus {
color: #333;
}
/* line 518, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:hover, fieldset[disabled] .navbar-default .btn-link:focus {
color: #ccc;
}
/* line 528, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse {
background-color: #222;
border-color: #090909;
}
/* line 532, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-brand {
color: #777777;
}
/* line 534, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
color: #fff;
background-color: transparent;
}
/* line 541, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-text {
color: #777777;
}
/* line 546, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > li > a {
color: #777777;
}
/* line 549, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
color: #fff;
background-color: transparent;
}
/* line 556, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
color: #fff;
background-color: #090909;
}
/* line 564, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus {
color: #444;
background-color: transparent;
}
/* line 574, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle {
border-color: #333;
}
/* line 576, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
background-color: #333;
}
/* line 580, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-toggle .icon-bar {
background-color: #fff;
}
/* line 585, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
border-color: #101010;
}
/* line 593, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
background-color: #090909;
color: #fff;
}
@media (max-width: 767px) {
/* line 604, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
border-color: #090909;
}
/* line 607, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
background-color: #090909;
}
/* line 610, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
color: #777777;
}
/* line 612, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
color: #fff;
background-color: transparent;
}
/* line 619, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #fff;
background-color: #090909;
}
/* line 627, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #444;
background-color: transparent;
}
}
/* line 638, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-link {
color: #777777;
}
/* line 640, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .navbar-link:hover {
color: #fff;
}
/* line 645, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link {
color: #777777;
}
/* line 647, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus {
color: #fff;
}
/* line 653, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_navbar.scss */
.navbar-inverse .btn-link[disabled]:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:hover, fieldset[disabled] .navbar-inverse .btn-link:focus {
color: #444;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: #f5f5f5;
border-radius: 4px;
}
/* line 13, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > li {
display: inline-block;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > li + li:before {
content: "/ ";
padding: 0 5px;
color: #ccc;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_breadcrumbs.scss */
.breadcrumb > .active {
color: #777777;
}
/* line 4, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination {
display: inline-block;
padding-left: 0;
margin: 20px 0;
border-radius: 4px;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li {
display: inline;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li > a,
.pagination > li > span {
position: relative;
float: left;
padding: 6px 12px;
line-height: 1.428571429;
text-decoration: none;
color: #428bca;
background-color: #fff;
border: 1px solid #ddd;
margin-left: -1px;
}
/* line 25, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
/* line 41, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
color: #2a6496;
background-color: #eeeeee;
border-color: #ddd;
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
z-index: 2;
color: #fff;
background-color: #428bca;
border-color: #428bca;
cursor: default;
}
/* line 63, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pagination.scss */
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
color: #777777;
background-color: #fff;
border-color: #ddd;
cursor: not-allowed;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li > a,
.pagination-lg > li > span {
padding: 10px 16px;
font-size: 18px;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
border-bottom-right-radius: 6px;
border-top-right-radius: 6px;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li > a,
.pagination-sm > li > span {
padding: 5px 10px;
font-size: 12px;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_pagination.scss */
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager {
padding-left: 0;
margin: 20px 0;
list-style: none;
text-align: center;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.pager:before, .pager:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.pager:after {
clear: both;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager li {
display: inline;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 15px;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #eeeeee;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager .next > a,
.pager .next > span {
float: right;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager .previous > a,
.pager .previous > span {
float: left;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_pager.scss */
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: #777777;
background-color: #fff;
cursor: not-allowed;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: bold;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label:empty {
display: none;
}
/* line 25, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.btn .label {
position: relative;
top: -1px;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
a.label:hover, a.label:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-default {
background-color: #777777;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-default[href]:hover, .label-default[href]:focus {
background-color: #5e5e5e;
}
/* line 48, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-primary {
background-color: #428bca;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-primary[href]:hover, .label-primary[href]:focus {
background-color: #3071a9;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-success {
background-color: #5cb85c;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-success[href]:hover, .label-success[href]:focus {
background-color: #449d44;
}
/* line 56, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-info {
background-color: #5bc0de;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-info[href]:hover, .label-info[href]:focus {
background-color: #31b0d5;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-warning {
background-color: #f0ad4e;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-warning[href]:hover, .label-warning[href]:focus {
background-color: #ec971f;
}
/* line 64, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_labels.scss */
.label-danger {
background-color: #d9534f;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_labels.scss */
.label-danger[href]:hover, .label-danger[href]:focus {
background-color: #c9302c;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: #777777;
border-radius: 10px;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
.badge:empty {
display: none;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
.btn .badge {
position: relative;
top: -1px;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
.btn-xs .badge, .btn-group-xs > .btn .badge {
top: 0;
padding: 1px 5px;
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
a.list-group-item.active > .badge, .nav-pills > .active > a > .badge {
color: #428bca;
background-color: #fff;
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
.nav-pills > li > a > .badge {
margin-left: 3px;
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_badges.scss */
a.badge:hover, a.badge:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron {
padding: 30px;
margin-bottom: 30px;
color: inherit;
background-color: #eeeeee;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron h1,
.jumbotron .h1 {
color: inherit;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron p {
margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron > hr {
border-top-color: #d5d5d5;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.container .jumbotron {
border-radius: 6px;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron .container {
max-width: 100%;
}
@media screen and (min-width: 768px) {
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron {
padding-top: 48px;
padding-bottom: 48px;
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.container .jumbotron {
padding-left: 60px;
padding-right: 60px;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_jumbotron.scss */
.jumbotron h1,
.jumbotron .h1 {
font-size: 63px;
}
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail {
display: block;
padding: 4px;
margin-bottom: 20px;
line-height: 1.428571429;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail > img,
.thumbnail a > img {
display: block;
width: 100% \9;
max-width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_thumbnails.scss */
.thumbnail .caption {
padding: 9px;
color: #333333;
}
/* line 34, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_thumbnails.scss */
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
border-color: #428bca;
}
/* line 9, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert h4 {
margin-top: 0;
color: inherit;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert .alert-link {
font-weight: bold;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert > p,
.alert > ul {
margin-bottom: 0;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert > p + p {
margin-top: 5px;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-dismissable,
.alert-dismissible {
padding-right: 35px;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
/* line 57, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-success {
background-color: #dff0d8;
border-color: #d6e9c6;
color: #3c763d;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-success hr {
border-top-color: #c9e2b3;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-success .alert-link {
color: #2b542c;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-info {
background-color: #d9edf7;
border-color: #bce8f1;
color: #31708f;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-info hr {
border-top-color: #a6e1ec;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-info .alert-link {
color: #245269;
}
/* line 63, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-warning {
background-color: #fcf8e3;
border-color: #faebcc;
color: #8a6d3b;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-warning hr {
border-top-color: #f7e1b5;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-warning .alert-link {
color: #66512c;
}
/* line 66, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_alerts.scss */
.alert-danger {
background-color: #f2dede;
border-color: #ebccd1;
color: #a94442;
}
/* line 8, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-danger hr {
border-top-color: #e4b9c0;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_alerts.scss */
.alert-danger .alert-link {
color: #843534;
}
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress {
overflow: hidden;
height: 20px;
margin-bottom: 20px;
background-color: #f5f5f5;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* line 37, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar {
float: left;
width: 0%;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #fff;
text-align: center;
background-color: #428bca;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
-o-transition: width 0.6s ease;
transition: width 0.6s ease;
}
/* line 55, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-striped .progress-bar,
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress.active .progress-bar,
.progress-bar.active {
-webkit-animation: progress-bar-stripes 2s linear infinite;
-o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite;
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar[aria-valuenow="1"], .progress-bar[aria-valuenow="2"] {
min-width: 30px;
}
/* line 77, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar[aria-valuenow="0"] {
color: #777777;
min-width: 30px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
/* line 91, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-success {
background-color: #5cb85c;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-success {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 95, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-info {
background-color: #5bc0de;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-info {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 99, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-warning {
background-color: #f0ad4e;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-warning {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_progress-bars.scss */
.progress-bar-danger {
background-color: #d9534f;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_progress-bar.scss */
.progress-striped .progress-bar-danger {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media,
.media-body {
overflow: hidden;
zoom: 1;
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media,
.media .media {
margin-top: 15px;
}
/* line 21, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media:first-child {
margin-top: 0;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media-object {
display: block;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media-heading {
margin: 0 0 5px;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media > .pull-left {
margin-right: 10px;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media > .pull-right {
margin-left: 10px;
}
/* line 53, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_media.scss */
.media-list {
padding-left: 0;
list-style: none;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group {
margin-bottom: 20px;
padding-left: 0;
}
/* line 21, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: #fff;
border: 1px solid #ddd;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item:first-child {
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
/* line 34, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item:last-child {
margin-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 40, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item > .badge {
float: right;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item > .badge + .badge {
margin-right: 5px;
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item {
color: #555;
}
/* line 57, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item .list-group-item-heading {
color: #333;
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
a.list-group-item:hover, a.list-group-item:focus {
text-decoration: none;
color: #555;
background-color: #f5f5f5;
}
/* line 72, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus {
background-color: #eeeeee;
color: #777777;
cursor: not-allowed;
}
/* line 80, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading {
color: inherit;
}
/* line 83, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text {
color: #777777;
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
z-index: 2;
color: #fff;
background-color: #428bca;
border-color: #428bca;
}
/* line 98, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active .list-group-item-heading,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading > .small {
color: inherit;
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text {
color: #e1edf7;
}
/* line 4, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-success {
color: #3c763d;
background-color: #dff0d8;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success {
color: #3c763d;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success .list-group-item-heading {
color: inherit;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success:hover, a.list-group-item-success:focus {
color: #3c763d;
background-color: #d0e9c6;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus {
color: #fff;
background-color: #3c763d;
border-color: #3c763d;
}
/* line 4, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-info {
color: #31708f;
background-color: #d9edf7;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info {
color: #31708f;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info .list-group-item-heading {
color: inherit;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info:hover, a.list-group-item-info:focus {
color: #31708f;
background-color: #c4e3f3;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus {
color: #fff;
background-color: #31708f;
border-color: #31708f;
}
/* line 4, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-warning {
color: #8a6d3b;
background-color: #fcf8e3;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning {
color: #8a6d3b;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning .list-group-item-heading {
color: inherit;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning:hover, a.list-group-item-warning:focus {
color: #8a6d3b;
background-color: #faf2cc;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus {
color: #fff;
background-color: #8a6d3b;
border-color: #8a6d3b;
}
/* line 4, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
.list-group-item-danger {
color: #a94442;
background-color: #f2dede;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger {
color: #a94442;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger .list-group-item-heading {
color: inherit;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger:hover, a.list-group-item-danger:focus {
color: #a94442;
background-color: #ebcccc;
}
/* line 23, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_list-group.scss */
a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus {
color: #fff;
background-color: #a94442;
border-color: #a94442;
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item-heading {
margin-top: 0;
margin-bottom: 5px;
}
/* line 129, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_list-group.scss */
.list-group-item-text {
margin-bottom: 0;
line-height: 1.3;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel {
margin-bottom: 20px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-body {
padding: 15px;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.panel-body:before, .panel-body:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.panel-body:after {
clear: both;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading > .dropdown .dropdown-toggle {
color: inherit;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-title > a {
color: inherit;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-footer {
padding: 10px 15px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group {
margin-bottom: 0;
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group .list-group-item {
border-width: 1px 0;
border-radius: 0;
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group:first-child .list-group-item:first-child {
border-top: 0;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .list-group:last-child .list-group-item:last-child {
border-bottom: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
/* line 85, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-heading + .list-group .list-group-item:first-child {
border-top-width: 0;
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.list-group + .panel-footer {
border-top-width: 0;
}
/* line 99, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
margin-bottom: 0;
}
/* line 105, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
/* line 112, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
border-top-left-radius: 3px;
}
/* line 116, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
border-top-right-radius: 3px;
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
/* line 131, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
border-bottom-left-radius: 3px;
}
/* line 135, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
border-bottom-right-radius: 3px;
}
/* line 142, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive {
border-top: 1px solid #ddd;
}
/* line 146, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
border-top: 0;
}
/* line 150, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
border: 0;
}
/* line 157, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
/* line 161, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
/* line 170, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
border-bottom: 0;
}
/* line 179, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
border-bottom: 0;
}
/* line 186, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel > .table-responsive {
border: 0;
margin-bottom: 0;
}
/* line 198, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group {
margin-bottom: 20px;
}
/* line 202, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel {
margin-bottom: 0;
border-radius: 4px;
}
/* line 205, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel + .panel {
margin-top: 5px;
}
/* line 210, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-heading {
border-bottom: 0;
}
/* line 212, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-heading + .panel-collapse > .panel-body {
border-top: 1px solid #ddd;
}
/* line 216, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-footer {
border-top: 0;
}
/* line 218, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-group .panel-footer + .panel-collapse .panel-body {
border-bottom: 1px solid #ddd;
}
/* line 226, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-default {
border-color: #ddd;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading {
color: #333333;
background-color: #f5f5f5;
border-color: #ddd;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ddd;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-heading .badge {
color: #f5f5f5;
background-color: #333333;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-default > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ddd;
}
/* line 229, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-primary {
border-color: #428bca;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading {
color: #fff;
background-color: #428bca;
border-color: #428bca;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #428bca;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-heading .badge {
color: #428bca;
background-color: #fff;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #428bca;
}
/* line 232, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-success {
border-color: #d6e9c6;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #d6e9c6;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-heading .badge {
color: #dff0d8;
background-color: #3c763d;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-success > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #d6e9c6;
}
/* line 235, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-info {
border-color: #bce8f1;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #bce8f1;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-heading .badge {
color: #d9edf7;
background-color: #31708f;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-info > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #bce8f1;
}
/* line 238, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-warning {
border-color: #faebcc;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #faebcc;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-heading .badge {
color: #fcf8e3;
background-color: #8a6d3b;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #faebcc;
}
/* line 241, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_panels.scss */
.panel-danger {
border-color: #ebccd1;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
border-top-color: #ebccd1;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-heading .badge {
color: #f2dede;
background-color: #a94442;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_panels.scss */
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
border-bottom-color: #ebccd1;
}
/* line 5, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-embed.scss */
.embed-responsive.embed-responsive-4by3 {
padding-bottom: 75%;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_wells.scss */
.well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_wells.scss */
.well blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_wells.scss */
.well-lg {
padding: 24px;
border-radius: 6px;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_wells.scss */
.well-sm {
padding: 9px;
border-radius: 3px;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_close.scss */
.close {
float: right;
font-size: 21px;
font-weight: bold;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: 0.2;
filter: alpha(opacity=20);
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_close.scss */
.close:hover, .close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}
/* line 29, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_close.scss */
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-open {
overflow: hidden;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal {
display: none;
overflow: hidden;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
-webkit-overflow-scrolling: touch;
outline: 0;
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal.fade .modal-dialog {
-webkit-transform: translate3d(0, -25%, 0);
transform: translate3d(0, -25%, 0);
-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
/* line 36, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal.in .modal-dialog {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
/* line 38, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
/* line 44, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-dialog {
position: relative;
width: auto;
margin: 10px;
}
/* line 51, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-content {
position: relative;
background-color: #fff;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
background-clip: padding-box;
outline: 0;
}
/* line 64, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000;
}
/* line 73, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop.fade {
opacity: 0;
filter: alpha(opacity=0);
}
/* line 74, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-backdrop.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
/* line 79, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
min-height: 16.428571429px;
}
/* line 85, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-header .close {
margin-top: -2px;
}
/* line 90, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-title {
margin: 0;
line-height: 1.428571429;
}
/* line 97, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-body {
position: relative;
padding: 15px;
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer {
padding: 15px;
text-align: right;
border-top: 1px solid #e5e5e5;
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-footer:before, .modal-footer:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.modal-footer:after {
clear: both;
}
/* line 110, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn + .btn {
margin-left: 5px;
margin-bottom: 0;
}
/* line 115, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
/* line 119, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-footer .btn-block + .btn-block {
margin-left: 0;
}
/* line 125, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
@media (min-width: 768px) {
/* line 136, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-dialog {
width: 600px;
margin: 30px auto;
}
/* line 140, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-content {
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
/* line 145, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-sm {
width: 300px;
}
}
@media (min-width: 992px) {
/* line 149, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_modals.scss */
.modal-lg {
width: 900px;
}
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip {
position: absolute;
z-index: 1070;
display: block;
visibility: visible;
font-size: 12px;
line-height: 1.4;
opacity: 0;
filter: alpha(opacity=0);
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.in {
opacity: 0.9;
filter: alpha(opacity=90);
}
/* line 17, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top {
margin-top: -3px;
padding: 5px 0;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.right {
margin-left: 3px;
padding: 0 5px;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom {
margin-top: 3px;
padding: 5px 0;
}
/* line 20, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.left {
margin-left: -3px;
padding: 0 5px;
}
/* line 24, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
color: #fff;
text-align: center;
text-decoration: none;
background-color: #000;
border-radius: 4px;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top .tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 50, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top-left .tooltip-arrow {
bottom: 0;
left: 5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 56, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.top-right .tooltip-arrow {
bottom: 0;
right: 5px;
border-width: 5px 5px 0;
border-top-color: #000;
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.right .tooltip-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-width: 5px 5px 5px 0;
border-right-color: #000;
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.left .tooltip-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-width: 5px 0 5px 5px;
border-left-color: #000;
}
/* line 76, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom .tooltip-arrow {
top: 0;
left: 50%;
margin-left: -5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 83, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom-left .tooltip-arrow {
top: 0;
left: 5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 89, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_tooltip.scss */
.tooltip.bottom-right .tooltip-arrow {
top: 0;
right: 5px;
border-width: 0 5px 5px;
border-bottom-color: #000;
}
/* line 6, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover {
position: absolute;
top: 0;
left: 0;
z-index: 1060;
display: none;
max-width: 276px;
padding: 1px;
text-align: left;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
white-space: normal;
}
/* line 26, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top {
margin-top: -10px;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right {
margin-left: 10px;
}
/* line 28, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom {
margin-top: 10px;
}
/* line 29, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left {
margin-left: -10px;
}
/* line 32, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover-title {
margin: 0;
padding: 8px 14px;
font-size: 14px;
font-weight: normal;
line-height: 18px;
background-color: #f7f7f7;
border-bottom: 1px solid #ebebeb;
border-radius: 5px 5px 0 0;
}
/* line 43, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover-content {
padding: 9px 14px;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow, .popover > .arrow:after {
position: absolute;
display: block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
/* line 62, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow {
border-width: 11px;
}
/* line 65, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover > .arrow:after {
border-width: 10px;
content: "";
}
/* line 71, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top > .arrow {
left: 50%;
margin-left: -11px;
border-bottom-width: 0;
border-top-color: #999999;
border-top-color: rgba(0, 0, 0, 0.25);
bottom: -11px;
}
/* line 78, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.top > .arrow:after {
content: " ";
bottom: 1px;
margin-left: -10px;
border-bottom-width: 0;
border-top-color: #fff;
}
/* line 86, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right > .arrow {
top: 50%;
left: -11px;
margin-top: -11px;
border-left-width: 0;
border-right-color: #999999;
border-right-color: rgba(0, 0, 0, 0.25);
}
/* line 93, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.right > .arrow:after {
content: " ";
left: 1px;
bottom: -10px;
border-left-width: 0;
border-right-color: #fff;
}
/* line 101, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom > .arrow {
left: 50%;
margin-left: -11px;
border-top-width: 0;
border-bottom-color: #999999;
border-bottom-color: rgba(0, 0, 0, 0.25);
top: -11px;
}
/* line 108, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.bottom > .arrow:after {
content: " ";
top: 1px;
margin-left: -10px;
border-top-width: 0;
border-bottom-color: #fff;
}
/* line 117, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left > .arrow {
top: 50%;
right: -11px;
margin-top: -11px;
border-right-width: 0;
border-left-color: #999999;
border-left-color: rgba(0, 0, 0, 0.25);
}
/* line 124, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_popovers.scss */
.popover.left > .arrow:after {
content: " ";
right: 1px;
border-right-width: 0;
border-left-color: #fff;
bottom: -10px;
}
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel {
position: relative;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
}
/* line 16, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item {
display: none;
position: relative;
-webkit-transition: 0.6s ease-in-out left;
-o-transition: 0.6s ease-in-out left;
transition: 0.6s ease-in-out left;
}
/* line 22, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
width: 100% \9;
max-width: 100%;
height: auto;
line-height: 1;
}
/* line 29, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
display: block;
}
/* line 35, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active {
left: 0;
}
/* line 39, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next,
.carousel-inner > .prev {
position: absolute;
top: 0;
width: 100%;
}
/* line 46, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next {
left: 100%;
}
/* line 49, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .prev {
left: -100%;
}
/* line 52, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
left: 0;
}
/* line 57, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active.left {
left: -100%;
}
/* line 60, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-inner > .active.right {
left: 100%;
}
/* line 69, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 15%;
opacity: 0.5;
filter: alpha(opacity=50);
font-size: 20px;
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* line 84, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control.left {
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
/* line 87, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control.right {
left: auto;
right: 0;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
/* line 94, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control:hover, .carousel-control:focus {
outline: 0;
color: #fff;
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
}
/* line 103, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
position: absolute;
top: 50%;
z-index: 5;
display: inline-block;
}
/* line 112, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
left: 50%;
margin-left: -10px;
}
/* line 117, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
right: 50%;
margin-right: -10px;
}
/* line 122, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 20px;
height: 20px;
margin-top: -10px;
font-family: serif;
}
/* line 132, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-prev:before {
content: '\2039';
}
/* line 137, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .icon-next:before {
content: '\203a';
}
/* line 148, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators {
position: absolute;
bottom: 10px;
left: 50%;
z-index: 15;
width: 60%;
margin-left: -30%;
padding-left: 0;
list-style: none;
text-align: center;
}
/* line 159, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators li {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid #fff;
border-radius: 10px;
cursor: pointer;
background-color: #000 \9;
background-color: transparent;
}
/* line 180, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators .active {
margin: 0;
width: 12px;
height: 12px;
background-color: #fff;
}
/* line 191, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption {
position: absolute;
left: 15%;
right: 15%;
bottom: 20px;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* line 202, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption .btn {
text-shadow: none;
}
@media screen and (min-width: 768px) {
/* line 213, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
font-size: 30px;
}
/* line 222, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
margin-left: -15px;
}
/* line 226, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
margin-right: -15px;
}
/* line 233, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-caption {
left: 20%;
right: 20%;
padding-bottom: 30px;
}
/* line 240, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_carousel.scss */
.carousel-indicators {
bottom: 20px;
}
}
/* line 14, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.clearfix:before, .clearfix:after {
content: " ";
display: table;
}
/* line 19, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_clearfix.scss */
.clearfix:after {
clear: both;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.center-block {
display: block;
margin-left: auto;
margin-right: auto;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.pull-right {
float: right !important;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.pull-left {
float: left !important;
}
/* line 27, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.hide {
display: none !important;
}
/* line 30, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.show {
display: block !important;
}
/* line 33, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.invisible {
visibility: hidden;
}
/* line 36, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
/* line 45, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.hidden {
display: none !important;
visibility: hidden !important;
}
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_utilities.scss */
.affix {
position: fixed;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
@-ms-viewport {
width: device-width;
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-xs, .visible-sm, .visible-md, .visible-lg {
display: none !important;
}
/* line 31, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: 767px) {
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-xs {
display: block !important;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-xs {
display: table;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-xs {
display: table-row !important;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-xs,
td.visible-xs {
display: table-cell !important;
}
}
@media (max-width: 767px) {
/* line 49, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-block {
display: block !important;
}
}
@media (max-width: 767px) {
/* line 54, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-inline {
display: inline !important;
}
}
@media (max-width: 767px) {
/* line 59, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-xs-inline-block {
display: inline-block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-sm {
display: block !important;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-sm {
display: table;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-sm {
display: table-row !important;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-sm,
td.visible-sm {
display: table-cell !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 68, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-block {
display: block !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 73, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-inline {
display: inline !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 78, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-sm-inline-block {
display: inline-block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-md {
display: block !important;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-md {
display: table;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-md {
display: table-row !important;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-md,
td.visible-md {
display: table-cell !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 87, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-block {
display: block !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 92, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-inline {
display: inline !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 97, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-md-inline-block {
display: inline-block !important;
}
}
@media (min-width: 1200px) {
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-lg {
display: block !important;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-lg {
display: table;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-lg {
display: table-row !important;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-lg,
td.visible-lg {
display: table-cell !important;
}
}
@media (min-width: 1200px) {
/* line 106, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-block {
display: block !important;
}
}
@media (min-width: 1200px) {
/* line 111, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-inline {
display: inline !important;
}
}
@media (min-width: 1200px) {
/* line 116, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-lg-inline-block {
display: inline-block !important;
}
}
@media (max-width: 767px) {
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-xs {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-sm {
display: none !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-md {
display: none !important;
}
}
@media (min-width: 1200px) {
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-lg {
display: none !important;
}
}
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-print {
display: none !important;
}
@media print {
/* line 7, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.visible-print {
display: block !important;
}
/* line 10, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
table.visible-print {
display: table;
}
/* line 11, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
tr.visible-print {
display: table-row !important;
}
/* line 12, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
th.visible-print,
td.visible-print {
display: table-cell !important;
}
}
/* line 150, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-block {
display: none !important;
}
@media print {
/* line 150, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-block {
display: block !important;
}
}
/* line 157, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline {
display: none !important;
}
@media print {
/* line 157, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline {
display: inline !important;
}
}
/* line 164, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline-block {
display: none !important;
}
@media print {
/* line 164, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/_responsive-utilities.scss */
.visible-print-inline-block {
display: inline-block !important;
}
}
@media print {
/* line 18, ../../../../../../../.rvm/gems/ruby-2.1.2@sinatra/gems/bootstrap-sass-3.2.0.1/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss */
.hidden-print {
display: none !important;
}
}
|
apollo6996/ikrovoz
|
assets/css/bootstrap/bootstrap/bootstrap.css
|
CSS
|
mit
| 323,792 |
/*!
* jQuery UI Bootstrap (0.5)
* http://addyosmani.github.com/jquery-ui-bootstrap
*
* Copyright 2012 - 2013, Addy Osmani
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Portions copyright jQuery UI & Twitter Bootstrap
*/
/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible {
border: 0; clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
line-height: 1.3;
text-decoration: none;
font-size: 100%;
list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
content: "";
display: table;
}
.ui-helper-clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.ui-helper-clearfix {
/*display: inline-block; */
display:block;
min-height: 0; /* support: IE7 */
}
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix {
height:1%;
}
/* end clearfix */
.ui-helper-zfix {
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
opacity: 0;
filter:Alpha(Opacity=0);
}
.ui-front {
z-index: 100;
}
/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
display: block;
text-indent: -99999px;
overflow: hidden;
background-repeat: no-repeat;
}
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/*
* jQuery UI Resizable 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://api.jqueryui.com/resizable/
*/
.ui-resizable {
position: relative;
}
.ui-resizable-handle {
position: absolute;
font-size: 0.1px;
z-index: 99999;
display: block;
}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle {
display: none;
}
.ui-resizable-n {
cursor: n-resize;
height: 7px;
width: 100%;
top: -5px;
left: 0;
}
.ui-resizable-s {
cursor: s-resize;
height: 7px;
width: 100%;
bottom: -5px;
left: 0;
}
.ui-resizable-e {
cursor: e-resize;
width: 7px;
right: -5px;
top: 0;
height: 100%;
}
.ui-resizable-w {
cursor: w-resize;
width: 7px;
left: -5px;
top: 0;
height: 100%;
}
.ui-resizable-se {
cursor: se-resize;
width: 12px;
height: 12px;
right: 1px;
bottom: 1px;
}
.ui-resizable-sw {
cursor: sw-resize;
width: 9px;
height: 9px;
left: -5px;
bottom: -5px;
}
.ui-resizable-nw {
cursor: nw-resize;
width: 9px;
height: 9px;
left: -5px;
top: -5px;
}
.ui-resizable-ne {
cursor: ne-resize;
width: 9px;
height: 9px;
right: -5px;
top: -5px;
}
/*
* jQuery UI Selectable 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://jqueryui.com/selectable/
*/
.ui-selectable-helper {
position: absolute;
z-index: 100;
border:1px dotted black;
}
/*
* jQuery UI CSS Framework 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*
*
* To view and modify this theme, visit http://jqueryui.com/themeroller/
*/
/* Component containers
----------------------------------*/
/*.ui-widget { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:13px; }*/
.ui-widget .ui-widget { font-size: 1em; }
/*.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1em; }*/
/*.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-bg_glass_75_ffffff_1x400.png) 50% 50% repeat-x; color: #404040; }*/
.ui-widget-content { border: 1px solid #aaaaaa; background-color: #ffffff; color: #404040;}
.ui-widget-content a { color: #404040; }
.ui-widget-header {
font-weight:bold;
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border:1px solid #666;
}
.ui-widget-header a { color: #222222; }
/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
background-color: #e6e6e6;
background-repeat: no-repeat;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
color: #333;
font-size: 13px;
line-height: normal;
border: 1px solid #ccc;
border-bottom-color: #bbb;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-webkit-transition: 0.1s linear background-image;
-moz-transition: 0.1s linear background-image;
-ms-transition: 0.1s linear background-image;
-o-transition: 0.1s linear background-image;
transition: 0.1s linear background-image;
overflow: visible;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
background-position: 0 -15px;
color: #333;
text-decoration: none;
}
.ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited { color: #212121; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; font-weight: normal; color: #212121; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
.ui-widget :active { outline: none; }
/* Interaction Cues
----------------------------------*/
.ui-state-highlight p, .ui-state-error p, .ui-state-default p{
font-size: 13px;
font-weight: normal;
line-height: 18px;
margin:7px 15px;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
position: relative;
margin-bottom: 18px;
color: #404040;
background-color: #eedc94;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #eedc94 #eedc94 #e4c652;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
border-width: 1px;
border-style: solid;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
position: relative;
margin-bottom: 18px;
color: #ffffff;
border-width: 1px;
border-style: solid;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
background-color: #c43c35;
border-color: #c43c35 #c43c35 #882a25;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
.ui-state-disabled .ui-icon { filter:Alpha(Opacity=35); } /* For IE8 - See #6059 */
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_222222_256x240.png); }
.ui-widget-content .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_222222_256x240.png); }
.ui-state-default .ui-icon { background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_888888_256x240.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_454545_256x240.png); }
.ui-state-active .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_454545_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_2e83ff_256x240.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(../frappe/js/lib/jquery/bootstrap_theme/images/ui-icons_f6cf3b_256x240.png); }
/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-start { background-position: -80px -160px; }
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
-khtml-border-top-left-radius: 4px;
border-top-left-radius: 4px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
-khtml-border-top-right-radius: 4px;
border-top-right-radius: 4px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
-khtml-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
-khtml-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
/*
* jQuery UI Autocomplete 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://jqueryui.com/autocomplete/
*/
.ui-autocomplete {
position: absolute;
top: 0;
left: 0;
cursor: default;
}
/*
* jQuery UI Button 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Button#theming
*/
.ui-button {
cursor: pointer;
display: inline-block;
background-color: #e6e6e6;
padding: 5px 14px 6px;
margin: 0;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
color: #333;
font-size: 13px;
line-height: normal;
border: 1px solid #ccc;
border-bottom-color: #bbb;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-webkit-transition: 0.1s linear background-image;
-moz-transition: 0.1s linear background-image;
-ms-transition: 0.1s linear background-image;
-o-transition: 0.1s linear background-image;
transition: 0.1s linear background-image;
overflow: visible;
} /* the overflow property removes extra width in IE */
.ui-button-primary {
color: #ffffff;
background-color: #0064cd;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-button-success{
color:#ffffff;
background-color: #57a957;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #57a957 #57a957 #3d773d;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-button-error{
color:#ffffff;
background-color: #c43c35;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #c43c35 #c43c35 #882a25;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
button.ui-button-icon-only { } /* button elements seem to need a little more width */
.ui-button-icons-only { width: 3.4em; }
button.ui-button-icons-only { width: 3.7em; }
/*button text element */
.ui-button .ui-button-text { display: block; }
.ui-button-text-only .ui-button-text { }
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; /*tempfix*/ display:none;}
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
/* no icon support for input elements, provide padding by default */
/* input.ui-button { padding: .4em 1em; } */
/*button icon element(s) */
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { top: 50%; margin-top:-3px; margin-bottom:3px; }
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
/*button sets*/
.ui-buttonset { margin-right: 7px; }
.ui-buttonset .ui-state-active {
color: #ffffff;
background-color: #0064cd;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.4em; }
/* workarounds */
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
/*
* jQuery UI Menu 1.10.0
*
* Copyright 2013, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Menu#theming
*/
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; float:left; outline: none; }
.ui-menu .ui-menu { margin-top: -3px; position: absolute; }
.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1;float: left;clear: left; width: 100%; }
.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; }
.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; }
.ui-menu .ui-menu-item a.ui-state-focus,
.ui-menu .ui-menu-item a.ui-state-active {
font-weight: normal;
margin: 0;
color: #ffffff;
background: #0064cd;
background-color: #0064cd;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-menu .ui-menu-item a p { margin: 3px 0px; }
.ui-menu .ui-menu-item a .small { color: #555555; }
.ui-menu .ui-menu-item a.ui-state-focus .small,
.ui-menu .ui-menu-item a.ui-state-active .small { color: #ffffff; }
/* Fix problem with border in ui-state-active */
.ui-menu .ui-menu-item a.ui-state-active {
padding: 1px .4em;
}
.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; }
.ui-menu .ui-state-disabled a { cursor: default; }
/* icon support */
.ui-menu-icons { position: relative; }
.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
/* left-aligned */
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
/* right-aligned */
.ui-menu .ui-menu-icon { position: static; float: right; }
.ui-menu { width: 200px; margin-bottom: 2em; }
/*
* jQuery UI Slider 1.8.16
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Slider#theming
*/
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0;
color: #ffffff;
background-color: #0064cd;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }
/*
* jQuery UI Datepicker 1.9.0
*
* Copyright 2012-10-11, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://jqueryui.com/datepicker/
*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; border:0px; font-weight: bold; width: 100%; padding: 4px 0; background-color: #f5f5f5; color: #808080; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { /*top: 1px;*/ }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { /*left:1px;*/ }
.ui-datepicker .ui-datepicker-next-hover { /*right:1px;*/ }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}
.ui-datepicker th{
font-weight: bold;
color: gray;
}
.ui-datepicker-today a:hover{
background-color: #808080;
color: #ffffff;
}
.ui-datepicker-today a{
background-color: #BFBFBF;
cursor: pointer;
padding: 0 4px;
margin-bottom:0px;
}
.ui-datepicker td a{
margin-bottom:0px;
border:0px;
}
.ui-datepicker td:hover{
color: #ffffff;
}
.ui-datepicker td .ui-state-default {
border:0px;
background:none;
margin-bottom:0px;
padding:5px;
color:gray;
text-align: center;
filter:none;
}
.ui-datepicker td .ui-state-active{
background:#4B8DF8;
margin-bottom:0px;
font-size:normal;
text-shadow: 0px;
color: #ffffff;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.ui-datepicker td .ui-state-hover {
color: #ffffff;
background: #0064cd;
background-color: #BFBFBF;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
}
|
rohitwaghchaure/New_Theme_frappe
|
frappe/public/js/lib/jquery/bootstrap_theme/jquery-ui.selected.css
|
CSS
|
mit
| 34,043 |
import Component from '@glimmer/component';
import { htmlSafe } from '@ember/template';
import { filter, map } from 'rsvp';
import { restartableTask, timeout } from 'ember-concurrency';
import { tracked } from '@glimmer/tracking';
import { inject as service } from '@ember/service';
export default class VisualizerProgramYearCompetenciesComponent extends Component {
@service intl;
@tracked tooltipCourses;
@tracked tooltipSessions;
@tracked tooltipTitle;
@tracked programYearName;
@tracked data;
@restartableTask
*load(element, [programYear]) {
const cohort = yield programYear.cohort;
const year = yield programYear.getClassOfYear();
const classOfYear = this.intl.t('general.classOf', { year });
this.programYearName = cohort.title ?? classOfYear;
this.data = yield this.getData(programYear);
}
async getObjectiveObjects(programYear) {
const buildTreeLevel = async function (parent, childrenTree, sessionTitle, courseTitle) {
return {
name: parent.title,
children: childrenTree,
meta: {
courseTitle,
sessionTitle,
},
};
};
const buildTree = async function (programYearObjective) {
const courseObjectives = await programYearObjective.courseObjectives;
const courseObjectivesTree = await map(
courseObjectives.toArray(),
async (courseObjective) => {
const sessionObjectives = await courseObjective.sessionObjectives;
const sessionObjectivesTree = await map(
sessionObjectives.toArray(),
async (sessionObjective) => {
const session = await sessionObjective.session;
return buildTreeLevel(sessionObjective, [], session.title, null);
}
);
const course = await courseObjective.course;
return buildTreeLevel(courseObjective, sessionObjectivesTree, null, course.title);
}
);
return buildTreeLevel(programYearObjective, courseObjectivesTree, null, null);
};
const objectives = await programYear.programYearObjectives;
const objectivesWithCompetency = await filter(objectives.toArray(), async (objective) => {
const competency = await objective.competency;
return !!competency;
});
return await map(objectivesWithCompetency, async (objective) => {
const obj = await buildTree(objective);
const competency = await objective.competency;
obj.competencyId = competency.id;
return obj;
});
}
async getCompetencyObjects(programYear) {
const objectiveObjects = await this.getObjectiveObjects(programYear);
const competencies = await programYear.competencies;
return await map(competencies.toArray(), async (competency) => {
const domain = await competency.getDomain();
const domainId = domain.id;
const competencyId = competency.id;
const competencyTitle = competency.title;
return {
domainId,
name: competencyTitle,
children: objectiveObjects.filterBy('competencyId', competencyId),
};
});
}
async getDomainObjects(programYear) {
const competencies = await programYear.competencies;
const competencyObjects = await this.getCompetencyObjects(programYear);
const domains = await map(competencies.toArray(), async (competency) => competency.getDomain());
return domains.uniq().map((domain) => {
const id = domain.id;
const name = domain.title;
const domainCompetencyObjects = competencyObjects.filterBy('domainId', id);
const children = domainCompetencyObjects.reduce((arr, { domainId, name, children }) => {
if (id === domainId) {
arr.pushObjects(children);
} else {
arr.pushObject({ name, children });
}
return arr;
}, []);
return {
name,
children,
meta: {},
};
});
}
async getData(programYear) {
return {
name: this.programYearName,
children: await this.getDomainObjects(programYear),
meta: {},
};
}
@restartableTask
*nodeHover(obj) {
yield timeout(100);
const isIcon = this.isIcon;
if (isIcon || !obj || obj.empty) {
this.tooltipTitle = null;
this.tooltipCourses = null;
this.tooltipSessions = null;
return;
}
const { name, children, meta } = obj;
const getCourseTitles = (courseTitles, { children, meta }) => {
if (meta.courseTitle) {
courseTitles.pushObject(meta.courseTitle);
}
return children.reduce(getCourseTitles, courseTitles);
};
const allCourseTitles = children.reduce(getCourseTitles, meta.courseTitles || []);
const getSessionTitles = (sessionTitles, { children, meta }) => {
if (meta.sessionTitle) {
sessionTitles.pushObject(meta.sessionTitle);
}
return children.reduce(getSessionTitles, sessionTitles);
};
const allSessionTitles = children.reduce(getSessionTitles, meta.sessionTitles || []);
this.tooltipTitle = htmlSafe(name);
this.tooltipCourses = allCourseTitles.uniq();
this.tooltipSessions = allSessionTitles.uniq();
}
}
|
jrjohnson/frontend
|
app/components/visualizer-program-year-competencies.js
|
JavaScript
|
mit
| 5,173 |
namespace AnimalHierarchy
{
using System;
internal class Cat : Animal
{
public Cat(string name, sbyte age, Sex s)
: base(name, age, s)
{
}
public override void MakeSound()
{
Console.WriteLine("Meowww!");
}
}
}
|
EmilMitev/Telerik-Academy
|
CSarp - OOP/4. OOPPrinciplesOne/AnimalHierarchy/Cat.cs
|
C#
|
mit
| 303 |
// +build !integration
package system
import (
"runtime"
"testing"
"github.com/elastic/gosigar"
"github.com/stretchr/testify/assert"
)
func TestGetSystemLoad(t *testing.T) {
if runtime.GOOS == "windows" {
return //no load data on windows
}
load, err := GetSystemLoad()
assert.NotNil(t, load)
assert.Nil(t, err)
assert.True(t, (load.Load1 > 0))
assert.True(t, (load.Load5 > 0))
assert.True(t, (load.Load15 > 0))
}
func TestGetMemory(t *testing.T) {
mem, err := GetMemory()
assert.NotNil(t, mem)
assert.Nil(t, err)
assert.True(t, (mem.Total > 0))
assert.True(t, (mem.Used > 0))
assert.True(t, (mem.Free >= 0))
assert.True(t, (mem.ActualFree >= 0))
assert.True(t, (mem.ActualUsed > 0))
}
func TestGetSwap(t *testing.T) {
if runtime.GOOS == "windows" {
return //no load data on windows
}
swap, err := GetSwap()
assert.NotNil(t, swap)
assert.Nil(t, err)
assert.True(t, (swap.Total >= 0))
assert.True(t, (swap.Used >= 0))
assert.True(t, (swap.Free >= 0))
}
func TestMemPercentage(t *testing.T) {
m := MemStat{
Mem: gosigar.Mem{
Total: 7,
Used: 5,
Free: 2,
},
}
AddMemPercentage(&m)
assert.Equal(t, m.UsedPercent, 0.7143)
m = MemStat{
Mem: gosigar.Mem{Total: 0},
}
AddMemPercentage(&m)
assert.Equal(t, m.UsedPercent, 0.0)
}
func TestActualMemPercentage(t *testing.T) {
m := MemStat{
Mem: gosigar.Mem{
Total: 7,
ActualUsed: 5,
ActualFree: 2,
},
}
AddMemPercentage(&m)
assert.Equal(t, m.ActualUsedPercent, 0.7143)
m = MemStat{
Mem: gosigar.Mem{
Total: 0,
},
}
AddMemPercentage(&m)
assert.Equal(t, m.ActualUsedPercent, 0.0)
}
|
yapdns/yapdnsbeat
|
vendor/github.com/elastic/beats/topbeat/system/system_test.go
|
GO
|
mit
| 1,628 |
package com.sentenial.ws.client.ct;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <extension base="{urn:com:sentenial:origix:ws:credittransfer-ws}CreditTransferRecallResponse">
* <sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "RecallCreditTransferResponse")
public class RecallCreditTransferResponse
extends CreditTransferRecallResponse
{
}
|
whelanp/sentenial-ws-client
|
src/main/java/com/sentenial/ws/client/ct/RecallCreditTransferResponse.java
|
Java
|
mit
| 882 |
/*
GRADIENTS
*/
.gradient-blue {
background-image: linear-gradient(#4570B0, #0081C2);
}
.gradient-blue-reversed {
background-image: linear-gradient(#0081C2, #4570B0);
}
.gradient-light-blue {
background-image: linear-gradient(#76D3FE, #008AE0);
}
.gradient-light-blue-reversed {
background-image: linear-gradient(#008AE0, #76D3FE);
}
|
tachyons-css/tachyons-css.github.io
|
src/css/_gradients.css
|
CSS
|
mit
| 356 |
// Copyright (c) 2020 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System.Linq;
using IBusDotNet;
using NUnit.Framework;
using SIL.Keyboarding;
using SIL.Windows.Forms.Keyboarding.Linux;
using SIL.Windows.Forms.Keyboarding.Tests.TestHelper;
namespace SIL.Windows.Forms.Keyboarding.Tests
{
[TestFixture]
[Platform(Include="Linux", Reason="Linux specific tests")]
public class GnomeShellIbusKeyboardRetrievingAdaptorTests
{
[Test]
public void Initialize_ReturnsAllKeyboards()
{
// Setup
var adaptor =
new GnomeShellIbusKeyboardRetrievingAdaptorDouble(new[] {
"xkb;;us",
"ibus;;m17n:da:post",
"ibus;;/usr/share/kmfl/IPA14.kmn",
"xkb;;de+neo",
"ibus;;sunpinyin",
"ibus;;km:/home/foo/.local/share/keyman/khmer_angkor/khmer_angkor.kmx"
}, new[] {
new BusEngineDescDouble { LongName = "xkb:us::eng", Name = "English (US)", Language = "en", Layout = "us", LayoutVariant = "" },
new BusEngineDescDouble { LongName = "xkb:de:neo:ger", Name = "German (Neo 2)", Language = "de", Layout = "de", LayoutVariant = "neo" },
new BusEngineDescDouble { LongName = "m17n:da:post", Name = "post (m17n)", Language = "da", Layout = "us", LayoutVariant = "" },
new BusEngineDescDouble { LongName = "/usr/share/kmfl/IPA14.kmn", Name = "IPA Unicode 6.2 (ver 1.4) KMN", Language = "", Layout = "us", LayoutVariant = "" },
new BusEngineDescDouble { LongName = "sunpinyin", Name = "SunPinyin", Language = "zh_CN", Layout = "us", LayoutVariant = "" },
new BusEngineDescDouble { LongName = "km:/home/foo/.local/share/keyman/khmer_angkor/khmer_angkor.kmx", Name = "Khmer Angkor", Language = "km", Layout = "us", LayoutVariant = "" },
});
KeyboardController.Initialize(adaptor);
// Execute
var controllerAvailableKeyboards = Keyboard.Controller.AvailableKeyboards.ToList();
// Verify
Assert.That(controllerAvailableKeyboards, Is.EquivalentTo(new[] {
new KeyboardDescription("en_xkb:us::eng", "English (US)", "xkb:us::eng", "en", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("de_xkb:de:neo:ger", "German (Neo 2)", "xkb:de:neo:ger", "de", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("da_m17n:da:post", "Danish - post (m17n)", "m17n:da:post", "da", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("_/usr/share/kmfl/IPA14.kmn", "Other Language - IPA Unicode 6.2 (ver 1.4) KMN", "/usr/share/kmfl/IPA14.kmn", "", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("zh_CN_sunpinyin", "Chinese (China) - SunPinyin", "sunpinyin", "zh_CN", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("km_km:/home/foo/.local/share/keyman/khmer_angkor/khmer_angkor.kmx", "Khmer - Khmer Angkor", "km:/home/foo/.local/share/keyman/khmer_angkor/khmer_angkor.kmx", "km", true, adaptor.SwitchingAdaptor),
}));
}
[Test]
public void Initialize_DoesNotReturnDuplicates()
{
// Setup
var adaptor =
new GnomeShellIbusKeyboardRetrievingAdaptorDouble(new[] {
"xkb;;us",
"xkb;;de+neo",
}, new IBusEngineDesc[] {
new BusEngineDescDouble { LongName = "xkb:us::eng", Name = "English (US)", Language = "en", Layout = "us", LayoutVariant = "" },
new BusEngineDescDouble { LongName = "xkb:de:neo:ger", Name = "German (Neo 2)", Language = "de", Layout = "de", LayoutVariant = "neo" },
new XkbIbusEngineDesc { LongName = "xkb:de+neo", Name = "German (Neo 2)", Language = "de", Layout = "de", LayoutVariant = "neo"},
});
KeyboardController.Initialize(adaptor);
// Execute
var controllerAvailableKeyboards = Keyboard.Controller.AvailableKeyboards.ToList();
// Verify
Assert.That(controllerAvailableKeyboards, Is.EquivalentTo(new[] {
new KeyboardDescription("en_xkb:us::eng", "English (US)", "xkb:us::eng", "en", true, adaptor.SwitchingAdaptor),
new KeyboardDescription("de_xkb:de:neo:ger", "German (Neo 2)", "xkb:de:neo:ger", "de", true, adaptor.SwitchingAdaptor),
}));
}
}
}
|
sillsdev/libpalaso
|
SIL.Windows.Forms.Keyboarding.Tests/GnomeShellIbusKeyboardRetrievingAdaptorTests.cs
|
C#
|
mit
| 4,026 |
/**
* Multiple select box
*
* @author Tijs Verkoyen <[email protected]>
*/
(function($) {
$.fn.multipleSelectbox = function(options) {
var defaults = { splitChar: ',', emptyMessage: '', addLabel: 'add', removeLabel: 'delete', showIconOnly: false, afterBuild: null };
var options = $.extend(defaults, options);
return this.each(function() {
var id = $(this).attr('id');
var possibleOptions = $(this).find('option');
var elements = get();
var blockSubmit = false;
$(this.form).submit(function() { return !blockSubmit; });
if($('#elementList-' + id).length > 0) { $('#elementList-' + id).parent('.multipleSelectWrapper').remove(); }
var html = '<div class="multipleSelectWrapper">' +
' <div id="elementList-' + id + '" class="multipleSelectList">' + ' </div>' +
' <div class="input-append">' +
' <select id="addValue-' + id + '" name="addValue-' + id + '">';
for(var i = 0; i < possibleOptions.length; i++) {
html += ' <option value="' + $(possibleOptions[i]).attr('value') + '">' + $(possibleOptions[i]).html() + '</option>';
}
html += ' </select>' +
' <a href="#" id="addButton-' + id + '" class="btn">';
html += ' <i class="icon-plus"></i>';
if(options.showIconOnly) html += '<span>' + options.addLabel + '</span>';
else html += '<span class="hidden">' + options.addLabel + '</span>';
html += ' </a>' +
' </div>' +
'</div>';
$(this).css('visibility', 'hidden').css('position', 'absolute').css('top', '-9000px').css('left', '-9000px').attr('tabindex', '-1');
$(this).before(html);
build();
$('#addButton-' + id).bind('click', function(e) {
e.preventDefault();
e.stopPropagation();
add();
});
$('.deleteButton-' + id).live('click', function(e) {
e.preventDefault();
e.stopPropagation();
remove($(this).data('id'));
});
function add() {
blockSubmit = false;
var value = $('#addValue-' + id).val();
var inElements = false;
$('#addValue-' + id).focus();
if(value != null && value != '')
{
for(var i in elements) {
if(value == elements[i]) inElements = true;
}
if(!inElements) {
elements.push(value);
$('#' + id).val(elements);
build();
}
}
}
function build() {
var html = '';
if(elements.length == 0 && options.emptyMessage != '') html = '<span class="muted">' + options.emptyMessage + '</span>';
else {
for(var i in elements) {
html += '<span class="badge">' +
' ' + $('#' + id + ' option[value=' + elements[i] + ']').html() +
' <a href="#" class="deleteButton-' + id + '" data-id="' + elements[i] + '" title="' + options.removeLabel + '"><i class="icon-remove icon-white"></i><span class="hidden">' + options.removeLabel + '</span></a>' +
'</span>';
$('#addValue-' + id + ' option[value=' + elements[i] + ']').prop('disabled', true);
}
}
$('#elementList-' + id).html(html);
$('#addValue-' + id).prop('disabled', false);
if($('#addValue-' + id + ' option:enabled').length == 0)
{
$('#addValue-' + id).prop('disabled', true);
}
$('#addValue-' + id).val($('#addValue-'+ id +' option:enabled:first').attr('value'));
// call callback if specified
if(options.afterBuild != null) { options.afterBuild(id); }
}
function get() {
var chunks = $('#' + id).val();
var elements = [];
for(var i in chunks) {
value = chunks[i].replace(/^\s+|\s+$/g, '');
if(value != '') elements.push(value);
}
return elements;
}
function remove(value) {
var index = $.inArray(value.toString(), elements);
if(index > -1) elements.splice(index, 1);
$('#' + id).val(elements.join(options.splitChar));
$('#addValue-' + id + ' option[value=' + value + ']').prop('disabled', false);
build();
}
});
};
})(jQuery);
|
StijnVrolijk/Framework
|
src/SumoCoders/FrameworkCoreBundle/Resources/assets/js/sumo_plugins.js
|
JavaScript
|
mit
| 3,977 |
## 5.2 Plugin Inputs & Outputs
At different plugins, you might see input and custom output fields. In this document you will learn how to use the plugin inputs and outputs.
### Inputs
At Inputs, you can set the environment variables that a required for the correct operation of the plugin. Some plugins will have multiple input fields, while some might not require any input..
<img src="https://dn-shimo-image.qbox.me/p3G8Em3QZOEnQxAE.png!thumbnail" width=680>
### Custom Outputs
Custom Outputs divided into two parts: Define template and Define Outputs two parts.
<img src="https://dn-shimo-image.qbox.me/ZPzBCvJrFGovUTLr.png!thumbnail" width=680>
Define Outputs role is the result script to output the output from the scope Outputs variable is defined to finish the entire flow.
<b>What value should be set to Outputs?</b>
- Later re-use plug-in requires a variable
- This plug-in needed to display output
Define Template is used by html styles Outputs more clearly displayed in the flow, the quality of the code as shown in the test results.
<img src="https://dn-shimo-image.qbox.me/7ehi78DwLUAPYgY6.png!thumbnail" width=680>
|
FIRHQ/flow.ci
|
docs/en/5.2 Plugin Inputs & Outputs.md
|
Markdown
|
mit
| 1,148 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using AccountSetting = System.Collections.Generic.KeyValuePair<string, System.Func<string, bool>>;
using ConnectionStringFilter = System.Func<System.Collections.Generic.IDictionary<string, string>, System.Collections.Generic.IDictionary<string, string>>;
#pragma warning disable SA1402 // File may only contain a single type
namespace Azure.Storage
{
internal class StorageConnectionString
{
/// <summary>
/// Gets or sets a value indicating whether the FISMA MD5 setting will be used.
/// </summary>
/// <value><c>false</c> to use the FISMA MD5 setting; <c>true</c> to use the .NET default implementation.</value>
internal static bool UseV1MD5 => true;
/// <summary>
/// Validator for the UseDevelopmentStorage setting. Must be "true".
/// </summary>
private static readonly AccountSetting s_useDevelopmentStorageSetting = Setting(Constants.ConnectionStrings.UseDevelopmentSetting, "true");
/// <summary>
/// Validator for the DevelopmentStorageProxyUri setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_developmentStorageProxyUriSetting = Setting(Constants.ConnectionStrings.DevelopmentProxyUriSetting, IsValidUri);
/// <summary>
/// Validator for the DefaultEndpointsProtocol setting. Must be either "http" or "https".
/// </summary>
private static readonly AccountSetting s_defaultEndpointsProtocolSetting = Setting(Constants.ConnectionStrings.DefaultEndpointsProtocolSetting, "http", "https");
/// <summary>
/// Validator for the AccountName setting. No restrictions.
/// </summary>
private static readonly AccountSetting s_accountNameSetting = Setting(Constants.ConnectionStrings.AccountNameSetting);
/// <summary>
/// Validator for the AccountKey setting. No restrictions.
/// </summary>
private static readonly AccountSetting s_accountKeyNameSetting = Setting(Constants.ConnectionStrings.AccountKeyNameSetting);
/// <summary>
/// Validator for the AccountKey setting. Must be a valid base64 string.
/// </summary>
private static readonly AccountSetting s_accountKeySetting = Setting(Constants.ConnectionStrings.AccountKeySetting, IsValidBase64String);
/// <summary>
/// Validator for the BlobEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_blobEndpointSetting = Setting(Constants.ConnectionStrings.BlobEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the QueueEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_queueEndpointSetting = Setting(Constants.ConnectionStrings.QueueEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the FileEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_fileEndpointSetting = Setting(Constants.ConnectionStrings.FileEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the TableEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_tableEndpointSetting = Setting(Constants.ConnectionStrings.TableEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the BlobSecondaryEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_blobSecondaryEndpointSetting = Setting(Constants.ConnectionStrings.BlobSecondaryEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the QueueSecondaryEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_queueSecondaryEndpointSetting = Setting(Constants.ConnectionStrings.QueueSecondaryEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the FileSecondaryEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_fileSecondaryEndpointSetting = Setting(Constants.ConnectionStrings.FileSecondaryEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the TableSecondaryEndpoint setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_tableSecondaryEndpointSetting = Setting(Constants.ConnectionStrings.TableSecondaryEndpointSetting, IsValidUri);
/// <summary>
/// Validator for the EndpointSuffix setting. Must be a valid Uri.
/// </summary>
private static readonly AccountSetting s_endpointSuffixSetting = Setting(Constants.ConnectionStrings.EndpointSuffixSetting, IsValidDomain);
/// <summary>
/// Validator for the SharedAccessSignature setting. No restrictions.
/// </summary>
private static readonly AccountSetting s_sharedAccessSignatureSetting = Setting(Constants.ConnectionStrings.SharedAccessSignatureSetting);
/// <summary>
/// Singleton instance for the development storage account.
/// </summary>
private static StorageConnectionString s_devStoreAccount;
/// <summary>
/// Initializes a new instance of the <see cref="StorageConnectionString"/> class using the specified
/// account credentials and service endpoints.
/// </summary>
/// <param name="storageCredentials">A StorageCredentials object.</param>
/// <param name="blobStorageUri">A <see cref="System.Uri"/> specifying the Blob service endpoint or endpoints.</param>
/// <param name="queueStorageUri">A <see cref="System.Uri"/> specifying the Queue service endpoint or endpoints.</param>
/// <param name="tableStorageUri">A <see cref="System.Uri"/> specifying the Table service endpoint or endpoints.</param>
/// <param name="fileStorageUri">A <see cref="System.Uri"/> specifying the File service endpoint or endpoints.</param>
public StorageConnectionString(
object storageCredentials,
(Uri, Uri) blobStorageUri = default,
(Uri, Uri) queueStorageUri = default,
(Uri, Uri) tableStorageUri = default,
(Uri, Uri) fileStorageUri = default)
{
Credentials = storageCredentials;
BlobStorageUri = blobStorageUri;
QueueStorageUri = queueStorageUri;
TableStorageUri = tableStorageUri;
FileStorageUri = fileStorageUri;
DefaultEndpoints = false;
}
/// <summary>
/// Gets a <see cref="StorageConnectionString"/> object that references the well-known development storage account.
/// </summary>
/// <value>A <see cref="StorageConnectionString"/> object representing the development storage account.</value>
public static StorageConnectionString DevelopmentStorageAccount
{
get
{
if (s_devStoreAccount == null)
{
s_devStoreAccount = GetDevelopmentStorageAccount(null);
}
return s_devStoreAccount;
}
}
/// <summary>
/// Indicates whether this account is a development storage account.
/// </summary>
internal bool IsDevStoreAccount { get; set; }
/// <summary>
/// The storage service hostname suffix set by the user, if any.
/// </summary>
internal string EndpointSuffix { get; set; }
/// <summary>
/// The connection string parsed into settings.
/// </summary>
internal IDictionary<string, string> Settings { get; set; }
/// <summary>
/// True if the user used a constructor that auto-generates endpoints.
/// </summary>
internal bool DefaultEndpoints { get; set; }
/// <summary>
/// Gets the primary endpoint for the Blob service, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the primary Blob service endpoint.</value>
public Uri BlobEndpoint => BlobStorageUri.PrimaryUri;
/// <summary>
/// Gets the primary endpoint for the Queue service, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the primary Queue service endpoint.</value>
public Uri QueueEndpoint => QueueStorageUri.PrimaryUri;
/// <summary>
/// Gets the primary endpoint for the Table service, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the primary Table service endpoint.</value>
public Uri TableEndpoint => TableStorageUri.PrimaryUri;
/// <summary>
/// Gets the primary endpoint for the File service, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the primary File service endpoint.</value>
public Uri FileEndpoint => FileStorageUri.PrimaryUri;
/// <summary>
/// Gets the endpoints for the Blob service at the primary and secondary location, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the Blob service endpoints.</value>
public (Uri PrimaryUri, Uri SecondaryUri) BlobStorageUri { get; set; }
/// <summary>
/// Gets the endpoints for the Queue service at the primary and secondary location, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the Queue service endpoints.</value>
public (Uri PrimaryUri, Uri SecondaryUri) QueueStorageUri { get; set; }
/// <summary>
/// Gets the endpoints for the Table service at the primary and secondary location, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the Table service endpoints.</value>
public (Uri PrimaryUri, Uri SecondaryUri) TableStorageUri { get; set; }
/// <summary>
/// Gets the endpoints for the File service at the primary and secondary location, as configured for the storage account.
/// </summary>
/// <value>A <see cref="System.Uri"/> containing the File service endpoints.</value>
public (Uri PrimaryUri, Uri SecondaryUri) FileStorageUri { get; set; }
/// <summary>
/// Gets the credentials used to create this <see cref="StorageConnectionString"/> object.
/// </summary>
/// <value>A StorageCredentials object.</value>
public object Credentials { get; set; }
/// <summary>
/// Private record of the account name for use in ToString(bool).
/// </summary>
internal string _accountName;
/// <summary>
/// Parses a connection string and returns a <see cref="StorageConnectionString"/> created
/// from the connection string.
/// </summary>
/// <param name="connectionString">A valid connection string.</param>
/// <exception cref="ArgumentNullException">Thrown if <paramref name="connectionString"/> is null or empty.</exception>
/// <exception cref="FormatException">Thrown if <paramref name="connectionString"/> is not a valid connection string.</exception>
/// <exception cref="ArgumentException">Thrown if <paramref name="connectionString"/> cannot be parsed.</exception>
/// <returns>A <see cref="StorageConnectionString"/> object constructed from the values provided in the connection string.</returns>
public static StorageConnectionString Parse(string connectionString)
{
if (string.IsNullOrEmpty(connectionString))
{
throw Errors.ArgumentNull(nameof(connectionString));
}
if (ParseCore(connectionString, out StorageConnectionString ret, err => { throw Errors.InvalidFormat(err); }))
{
return ret;
}
throw Errors.ParsingConnectionStringFailed();
}
/// <summary>
/// Indicates whether a connection string can be parsed to return a <see cref="StorageConnectionString"/> object.
/// </summary>
/// <param name="connectionString">The connection string to parse.</param>
/// <param name="account">A <see cref="StorageConnectionString"/> object to hold the instance returned if
/// the connection string can be parsed.</param>
/// <returns><b>true</b> if the connection string was successfully parsed; otherwise, <b>false</b>.</returns>
public static bool TryParse(string connectionString, out StorageConnectionString account)
{
if (string.IsNullOrEmpty(connectionString))
{
account = null;
return false;
}
try
{
return ParseCore(connectionString, out account, err => { });
}
catch (Exception)
{
account = null;
return false;
}
}
///// <summary>
///// Returns a shared access signature for the account.
///// </summary>
///// <param name="policy">A <see cref="SharedAccessAccountPolicy"/> object specifying the access policy for the shared access signature.</param>
///// <returns>A shared access signature, as a URI query string.</returns>
///// <remarks>The query string returned includes the leading question mark.</remarks>
//public string GetSharedAccessSignature(SharedAccessAccountPolicy policy)
//{
// if (!this.Credentials.IsSharedKey)
// {
// var errorMessage = String.Format(CultureInfo.CurrentCulture, SR.CannotCreateSASWithoutAccountKey);
// throw new InvalidOperationException(errorMessage);
// }
// StorageAccountKey accountKey = this.Credentials.Key;
// string signature = SharedAccessSignatureHelper.GetHash(policy, this.Credentials.AccountName, Constants.HeaderConstants.TargetStorageVersion, accountKey.KeyValue);
// UriQueryBuilder builder = SharedAccessSignatureHelper.GetSignature(policy, signature, accountKey.KeyName, Constants.HeaderConstants.TargetStorageVersion);
// return builder.ToString();
//}
/// <summary>
/// Returns a <see cref="StorageConnectionString"/> with development storage credentials using the specified proxy Uri.
/// </summary>
/// <param name="proxyUri">The proxy endpoint to use.</param>
/// <returns>The new <see cref="StorageConnectionString"/>.</returns>
private static StorageConnectionString GetDevelopmentStorageAccount(Uri proxyUri)
{
UriBuilder builder = proxyUri != null ?
new UriBuilder(proxyUri.Scheme, proxyUri.Host) :
new UriBuilder("http", "127.0.0.1");
builder.Path = Constants.ConnectionStrings.DevStoreAccountName;
builder.Port = Constants.ConnectionStrings.BlobEndpointPortNumber;
Uri blobEndpoint = builder.Uri;
builder.Port = Constants.ConnectionStrings.TableEndpointPortNumber;
Uri tableEndpoint = builder.Uri;
builder.Port = Constants.ConnectionStrings.QueueEndpointPortNumber;
Uri queueEndpoint = builder.Uri;
builder.Path = Constants.ConnectionStrings.DevStoreAccountName + Constants.ConnectionStrings.SecondaryLocationAccountSuffix;
builder.Port = Constants.ConnectionStrings.BlobEndpointPortNumber;
Uri blobSecondaryEndpoint = builder.Uri;
builder.Port = Constants.ConnectionStrings.QueueEndpointPortNumber;
Uri queueSecondaryEndpoint = builder.Uri;
builder.Port = Constants.ConnectionStrings.TableEndpointPortNumber;
Uri tableSecondaryEndpoint = builder.Uri;
var credentials = new StorageSharedKeyCredential(Constants.ConnectionStrings.DevStoreAccountName, Constants.ConnectionStrings.DevStoreAccountKey);
#pragma warning disable IDE0017 // Simplify object initialization
var account = new StorageConnectionString(
credentials,
blobStorageUri: (blobEndpoint, blobSecondaryEndpoint),
queueStorageUri: (queueEndpoint, queueSecondaryEndpoint),
tableStorageUri: (tableEndpoint, tableSecondaryEndpoint),
fileStorageUri: (default, default) /* fileStorageUri */);
#pragma warning restore IDE0017 // Simplify object initialization
#pragma warning disable IDE0028 // Simplify collection initialization
account.Settings = new Dictionary<string, string>();
#pragma warning restore IDE0028 // Simplify collection initialization
account.Settings.Add(Constants.ConnectionStrings.UseDevelopmentSetting, "true");
if (proxyUri != null)
{
account.Settings.Add(Constants.ConnectionStrings.DevelopmentProxyUriSetting, proxyUri.ToString());
}
account.IsDevStoreAccount = true;
return account;
}
/// <summary>
/// Internal implementation of Parse/TryParse.
/// </summary>
/// <param name="connectionString">The string to parse.</param>
/// <param name="accountInformation">The <see cref="StorageConnectionString"/> to return.</param>
/// <param name="error">A callback for reporting errors.</param>
/// <returns>If true, the parse was successful. Otherwise, false.</returns>
internal static bool ParseCore(string connectionString, out StorageConnectionString accountInformation, Action<string> error)
{
IDictionary<string, string> settings = ParseStringIntoSettings(connectionString, error);
// malformed settings string
if (settings == null)
{
accountInformation = null;
return false;
}
// helper method
string settingOrDefault(string key)
{
settings.TryGetValue(key, out var result);
return result;
}
// devstore case
if (MatchesSpecification(
settings,
AllRequired(s_useDevelopmentStorageSetting),
Optional(s_developmentStorageProxyUriSetting)))
{
accountInformation =
settings.TryGetValue(Constants.ConnectionStrings.DevelopmentProxyUriSetting, out var proxyUri)
? GetDevelopmentStorageAccount(new Uri(proxyUri))
: DevelopmentStorageAccount;
accountInformation.Settings = s_validCredentials(settings);
return true;
}
// non-devstore case
ConnectionStringFilter endpointsOptional =
Optional(
s_blobEndpointSetting, s_blobSecondaryEndpointSetting,
s_queueEndpointSetting, s_queueSecondaryEndpointSetting,
s_fileEndpointSetting, s_fileSecondaryEndpointSetting,
s_tableEndpointSetting, s_tableSecondaryEndpointSetting // not supported but we don't want default connection string from portal to fail
);
ConnectionStringFilter primaryEndpointRequired =
AtLeastOne(
s_blobEndpointSetting,
s_queueEndpointSetting,
s_fileEndpointSetting,
s_tableEndpointSetting
);
ConnectionStringFilter secondaryEndpointsOptional =
Optional(
s_blobSecondaryEndpointSetting,
s_queueSecondaryEndpointSetting,
s_fileSecondaryEndpointSetting,
s_tableSecondaryEndpointSetting
);
ConnectionStringFilter automaticEndpointsMatchSpec =
MatchesExactly(MatchesAll(
MatchesOne(
MatchesAll(AllRequired(s_accountKeySetting), Optional(s_accountKeyNameSetting)), // Key + Name, Endpoints optional
AllRequired(s_sharedAccessSignatureSetting) // SAS + Name, Endpoints optional
),
AllRequired(s_accountNameSetting), // Name required to automatically create URIs
endpointsOptional,
Optional(s_defaultEndpointsProtocolSetting, s_endpointSuffixSetting)
));
ConnectionStringFilter explicitEndpointsMatchSpec =
MatchesExactly(MatchesAll( // Any Credentials, Endpoints must be explicitly declared
s_validCredentials,
primaryEndpointRequired,
secondaryEndpointsOptional
));
var matchesAutomaticEndpointsSpec = MatchesSpecification(settings, automaticEndpointsMatchSpec);
var matchesExplicitEndpointsSpec = MatchesSpecification(settings, explicitEndpointsMatchSpec);
if (matchesAutomaticEndpointsSpec || matchesExplicitEndpointsSpec)
{
if (matchesAutomaticEndpointsSpec && !settings.ContainsKey(Constants.ConnectionStrings.DefaultEndpointsProtocolSetting))
{
settings.Add(Constants.ConnectionStrings.DefaultEndpointsProtocolSetting, "https");
}
var blobEndpoint = settingOrDefault(Constants.ConnectionStrings.BlobEndpointSetting);
var queueEndpoint = settingOrDefault(Constants.ConnectionStrings.QueueEndpointSetting);
var tableEndpoint = settingOrDefault(Constants.ConnectionStrings.TableEndpointSetting);
var fileEndpoint = settingOrDefault(Constants.ConnectionStrings.FileEndpointSetting);
var blobSecondaryEndpoint = settingOrDefault(Constants.ConnectionStrings.BlobSecondaryEndpointSetting);
var queueSecondaryEndpoint = settingOrDefault(Constants.ConnectionStrings.QueueSecondaryEndpointSetting);
var tableSecondaryEndpoint = settingOrDefault(Constants.ConnectionStrings.TableSecondaryEndpointSetting);
var fileSecondaryEndpoint = settingOrDefault(Constants.ConnectionStrings.FileSecondaryEndpointSetting);
var sasToken = settingOrDefault(Constants.ConnectionStrings.SharedAccessSignatureSetting);
// if secondary is specified, primary must also be specified
static bool s_isValidEndpointPair(string primary, string secondary) =>
!string.IsNullOrWhiteSpace(primary)
|| /* primary is null, and... */ string.IsNullOrWhiteSpace(secondary);
(Uri, Uri) createStorageUri(string primary, string secondary, string sasToken, Func<IDictionary<string, string>, (Uri, Uri)> factory)
{
return
!string.IsNullOrWhiteSpace(secondary) && !string.IsNullOrWhiteSpace(primary)
? (CreateUri(primary, sasToken), CreateUri(secondary, sasToken))
: !string.IsNullOrWhiteSpace(primary)
? (CreateUri(primary, sasToken), default)
: matchesAutomaticEndpointsSpec && factory != null
? factory(settings)
: (default, default);
static Uri CreateUri(string endpoint, string sasToken)
{
var builder = new UriBuilder(endpoint);
if (!string.IsNullOrEmpty(builder.Query))
{
builder.Query += "&" + sasToken;
}
else
{
builder.Query = sasToken;
}
return builder.Uri;
}
}
if (
s_isValidEndpointPair(blobEndpoint, blobSecondaryEndpoint)
&& s_isValidEndpointPair(queueEndpoint, queueSecondaryEndpoint)
&& s_isValidEndpointPair(tableEndpoint, tableSecondaryEndpoint)
&& s_isValidEndpointPair(fileEndpoint, fileSecondaryEndpoint)
)
{
accountInformation =
new StorageConnectionString(
GetCredentials(settings),
blobStorageUri: createStorageUri(blobEndpoint, blobSecondaryEndpoint, sasToken, ConstructBlobEndpoint),
queueStorageUri: createStorageUri(queueEndpoint, queueSecondaryEndpoint, sasToken, ConstructQueueEndpoint),
tableStorageUri: createStorageUri(tableEndpoint, tableSecondaryEndpoint, sasToken, ConstructTableEndpoint),
fileStorageUri: createStorageUri(fileEndpoint, fileSecondaryEndpoint, sasToken, ConstructFileEndpoint)
)
{
EndpointSuffix = settingOrDefault(Constants.ConnectionStrings.EndpointSuffixSetting),
Settings = s_validCredentials(settings)
};
accountInformation._accountName = settingOrDefault(Constants.ConnectionStrings.AccountNameSetting);
return true;
}
}
// not valid
accountInformation = null;
error("No valid combination of account information found.");
return false;
}
/// <summary>
/// Tokenizes input and stores name value pairs.
/// </summary>
/// <param name="connectionString">The string to parse.</param>
/// <param name="error">Error reporting delegate.</param>
/// <returns>Tokenized collection.</returns>
private static IDictionary<string, string> ParseStringIntoSettings(string connectionString, Action<string> error)
{
IDictionary<string, string> settings = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
var splitted = connectionString.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
foreach (var nameValue in splitted)
{
var splittedNameValue = nameValue.Split(new char[] { '=' }, 2);
if (splittedNameValue.Length != 2)
{
error("Settings must be of the form \"name=value\".");
return null;
}
if (settings.ContainsKey(splittedNameValue[0]))
{
error(string.Format(CultureInfo.InvariantCulture, "Duplicate setting '{0}' found.", splittedNameValue[0]));
return null;
}
settings.Add(splittedNameValue[0], splittedNameValue[1]);
}
return settings;
}
/// <summary>
/// Encapsulates a validation rule for an enumeration based account setting.
/// </summary>
/// <param name="name">The name of the setting.</param>
/// <param name="validValues">A list of valid values for the setting.</param>
/// <returns>An <see cref="AccountSetting"/> representing the enumeration constraint.</returns>
private static AccountSetting Setting(string name, params string[] validValues) =>
new AccountSetting(
name,
(settingValue) => validValues.Length == 0 ? true : validValues.Contains(settingValue, StringComparer.OrdinalIgnoreCase)
);
/// <summary>
/// Encapsulates a validation rule using a func.
/// </summary>
/// <param name="name">The name of the setting.</param>
/// <param name="isValid">A func that determines if the value is valid.</param>
/// <returns>An <see cref="AccountSetting"/> representing the constraint.</returns>
private static AccountSetting Setting(string name, Func<string, bool> isValid) => new AccountSetting(name, isValid);
/// <summary>
/// Determines whether the specified setting value is a valid base64 string.
/// </summary>
/// <param name="settingValue">The setting value.</param>
/// <returns><c>true</c> if the specified setting value is a valid base64 string; otherwise, <c>false</c>.</returns>
private static bool IsValidBase64String(string settingValue)
{
try
{
Convert.FromBase64String(settingValue);
return true;
}
catch (FormatException)
{
return false;
}
}
/// <summary>
/// Validation function that validates Uris.
/// </summary>
/// <param name="settingValue">Value to validate.</param>
/// <returns><c>true</c> if the specified setting value is a valid Uri; otherwise, <c>false</c>.</returns>
private static bool IsValidUri(string settingValue) => Uri.IsWellFormedUriString(settingValue, UriKind.Absolute);
/// <summary>
/// Validation function that validates a domain name.
/// </summary>
/// <param name="settingValue">Value to validate.</param>
/// <returns><c>true</c> if the specified setting value is a valid domain; otherwise, <c>false</c>.</returns>
private static bool IsValidDomain(string settingValue) => Uri.CheckHostName(settingValue).Equals(UriHostNameType.Dns);
/// <summary>
/// Settings filter that requires all specified settings be present and valid.
/// </summary>
/// <param name="requiredSettings">A list of settings that must be present.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static ConnectionStringFilter AllRequired(params AccountSetting[] requiredSettings) =>
(settings) =>
{
IDictionary<string, string> result = new Dictionary<string, string>(settings, StringComparer.OrdinalIgnoreCase);
foreach (AccountSetting requirement in requiredSettings)
{
if (result.TryGetValue(requirement.Key, out var value) && requirement.Value(value))
{
result.Remove(requirement.Key);
}
else
{
return null;
}
}
return result;
};
/// <summary>
/// Settings filter that removes optional values.
/// </summary>
/// <param name="optionalSettings">A list of settings that are optional.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static ConnectionStringFilter Optional(params AccountSetting[] optionalSettings) =>
(settings) =>
{
IDictionary<string, string> result = new Dictionary<string, string>(settings, StringComparer.OrdinalIgnoreCase);
foreach (AccountSetting requirement in optionalSettings)
{
if (result.TryGetValue(requirement.Key, out var value) && requirement.Value(value))
{
result.Remove(requirement.Key);
}
}
return result;
};
/// <summary>
/// Settings filter that ensures that at least one setting is present.
/// </summary>
/// <param name="atLeastOneSettings">A list of settings of which one must be present.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Reviewed.")]
private static ConnectionStringFilter AtLeastOne(params AccountSetting[] atLeastOneSettings) =>
(settings) =>
{
IDictionary<string, string> result = new Dictionary<string, string>(settings, StringComparer.OrdinalIgnoreCase);
var foundOne = false;
foreach (AccountSetting requirement in atLeastOneSettings)
{
if (result.TryGetValue(requirement.Key, out var value) && requirement.Value(value))
{
result.Remove(requirement.Key);
foundOne = true;
}
}
return foundOne ? result : null;
};
/// <summary>
/// Settings filter that ensures that none of the specified settings are present.
/// </summary>
/// <param name="atLeastOneSettings">A list of settings of which one must not be present.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1305:FieldNamesMustNotUseHungarianNotation", Justification = "Reviewed.")]
private static ConnectionStringFilter None(params AccountSetting[] atLeastOneSettings) =>
(settings) =>
{
IDictionary<string, string> result = new Dictionary<string, string>(settings, StringComparer.OrdinalIgnoreCase);
var foundOne = false;
foreach (AccountSetting requirement in atLeastOneSettings)
{
if (result.TryGetValue(requirement.Key, out var value) && requirement.Value(value))
{
foundOne = true;
}
}
return foundOne ? null : result;
};
/// <summary>
/// Settings filter that ensures that all of the specified filters match.
/// </summary>
/// <param name="filters">A list of filters of which all must match.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static ConnectionStringFilter MatchesAll(params ConnectionStringFilter[] filters) =>
(settings) =>
{
IDictionary<string, string> result = new Dictionary<string, string>(settings, StringComparer.OrdinalIgnoreCase);
foreach (ConnectionStringFilter filter in filters)
{
if (result == null)
{
break;
}
result = filter(result);
}
return result;
};
/// <summary>
/// Settings filter that ensures that exactly one filter matches.
/// </summary>
/// <param name="filters">A list of filters of which exactly one must match.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static ConnectionStringFilter MatchesOne(params ConnectionStringFilter[] filters) =>
(settings) =>
{
IDictionary<string, string>[] results =
filters
.Select(filter => filter(new Dictionary<string, string>(settings)))
.Where(result => result != null)
.Take(2)
.ToArray();
return results.Length != 1 ? null : results.First();
};
/// <summary>
/// Settings filter that ensures that the specified filter is an exact match.
/// </summary>
/// <param name="filter">A list of filters of which ensures that the specified filter is an exact match.</param>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static ConnectionStringFilter MatchesExactly(ConnectionStringFilter filter) =>
(settings) =>
{
IDictionary<string, string> results = filter(settings);
return results == null || results.Any() ? null : results;
};
/// <summary>
/// Settings filter that ensures that a valid combination of credentials is present.
/// </summary>
/// <returns>The remaining settings or <c>null</c> if the filter's requirement is not satisfied.</returns>
private static readonly ConnectionStringFilter s_validCredentials =
MatchesOne(
MatchesAll(AllRequired(s_accountNameSetting, s_accountKeySetting), Optional(s_accountKeyNameSetting), None(s_sharedAccessSignatureSetting)), // AccountAndKey
MatchesAll(AllRequired(s_sharedAccessSignatureSetting), Optional(s_accountNameSetting), None(s_accountKeySetting, s_accountKeyNameSetting)), // SharedAccessSignature (AccountName optional)
None(s_accountNameSetting, s_accountKeySetting, s_accountKeyNameSetting, s_sharedAccessSignatureSetting) // Anonymous
);
/// <summary>
/// Tests to see if a given list of settings matches a set of filters exactly.
/// </summary>
/// <param name="settings">The settings to check.</param>
/// <param name="constraints">A list of filters to check.</param>
/// <returns>
/// If any filter returns null, false.
/// If there are any settings left over after all filters are processed, false.
/// Otherwise true.
/// </returns>
private static bool MatchesSpecification(
IDictionary<string, string> settings,
params ConnectionStringFilter[] constraints)
{
foreach (ConnectionStringFilter constraint in constraints)
{
IDictionary<string, string> remainingSettings = constraint(settings);
if (remainingSettings == null)
{
return false;
}
else
{
settings = remainingSettings;
}
}
return !settings.Any();
}
/// <summary>
/// Gets a StorageCredentials object corresponding to whatever credentials are supplied in the given settings.
/// </summary>
/// <param name="settings">The settings to check.</param>
/// <returns>The StorageCredentials object specified in the settings.</returns>
private static object GetCredentials(IDictionary<string, string> settings)
{
settings.TryGetValue(Constants.ConnectionStrings.AccountNameSetting, out var accountName);
settings.TryGetValue(Constants.ConnectionStrings.AccountKeySetting, out var accountKey);
settings.TryGetValue(Constants.ConnectionStrings.SharedAccessSignatureSetting, out var sharedAccessSignature);
// The accountKeyName isn't used
//settings.TryGetValue(Constants.ConnectionStrings.AccountKeyNameSetting, out var accountKeyName);
return
accountName != null && accountKey != null && sharedAccessSignature == null
? new StorageSharedKeyCredential(accountName, accountKey/*, accountKeyName */)
: (object)(accountKey == null /* && accountKeyName == null */ && sharedAccessSignature != null
? new SharedAccessSignatureCredentials(sharedAccessSignature)
: null);
}
/// <summary>
/// Gets the default blob endpoint using specified settings.
/// </summary>
/// <param name="settings">The settings to use.</param>
/// <returns>The default blob endpoint.</returns>
private static (Uri, Uri) ConstructBlobEndpoint(IDictionary<string, string> settings) => ConstructBlobEndpoint(
settings[Constants.ConnectionStrings.DefaultEndpointsProtocolSetting],
settings[Constants.ConnectionStrings.AccountNameSetting],
settings.ContainsKey(Constants.ConnectionStrings.EndpointSuffixSetting) ? settings[Constants.ConnectionStrings.EndpointSuffixSetting] : null,
settings.ContainsKey(Constants.ConnectionStrings.SharedAccessSignatureSetting) ? settings[Constants.ConnectionStrings.SharedAccessSignatureSetting] : null);
/// <summary>
/// Gets the default blob endpoint using the specified protocol and account name.
/// </summary>
/// <param name="scheme">The protocol to use.</param>
/// <param name="accountName">The name of the storage account.</param>
/// <param name="endpointSuffix">The Endpoint DNS suffix; use <c>null</c> for default.</param>
/// <param name="sasToken">The sas token; use <c>null</c> for default.</param>
/// <returns>The default blob endpoint.</returns>
internal static (Uri, Uri) ConstructBlobEndpoint(string scheme, string accountName, string endpointSuffix, string sasToken)
{
if (string.IsNullOrEmpty(scheme))
{
throw Errors.ArgumentNull(nameof(scheme));
}
if (string.IsNullOrEmpty(accountName))
{
throw Errors.ArgumentNull(nameof(accountName));
}
if (string.IsNullOrEmpty(endpointSuffix))
{
endpointSuffix = Constants.ConnectionStrings.DefaultEndpointSuffix;
}
return ConstructUris(scheme, accountName, Constants.ConnectionStrings.DefaultBlobHostnamePrefix, endpointSuffix, sasToken);
}
/// <summary>
/// Gets the default file endpoint using specified settings.
/// </summary>
/// <param name="settings">The settings to use.</param>
/// <returns>The default file endpoint.</returns>
private static (Uri, Uri) ConstructFileEndpoint(IDictionary<string, string> settings) => ConstructFileEndpoint(
settings[Constants.ConnectionStrings.DefaultEndpointsProtocolSetting],
settings[Constants.ConnectionStrings.AccountNameSetting],
settings.ContainsKey(Constants.ConnectionStrings.EndpointSuffixSetting) ? settings[Constants.ConnectionStrings.EndpointSuffixSetting] : null,
settings.ContainsKey(Constants.ConnectionStrings.SharedAccessSignatureSetting) ? settings[Constants.ConnectionStrings.SharedAccessSignatureSetting] : null);
/// <summary>
/// Gets the default file endpoint using the specified protocol and account name.
/// </summary>
/// <param name="scheme">The protocol to use.</param>
/// <param name="accountName">The name of the storage account.</param>
/// <param name="endpointSuffix">The Endpoint DNS suffix; use <c>null</c> for default.</param>
/// <param name="sasToken">The sas token; use <c>null</c> for default.</param>
/// <returns>The default file endpoint.</returns>
internal static (Uri, Uri) ConstructFileEndpoint(string scheme, string accountName, string endpointSuffix, string sasToken)
{
if (string.IsNullOrEmpty(scheme))
{
throw Errors.ArgumentNull(nameof(scheme));
}
if (string.IsNullOrEmpty(accountName))
{
throw Errors.ArgumentNull(nameof(accountName));
}
if (string.IsNullOrEmpty(endpointSuffix))
{
endpointSuffix = Constants.ConnectionStrings.DefaultEndpointSuffix;
}
return ConstructUris(scheme, accountName, Constants.ConnectionStrings.DefaultFileHostnamePrefix, endpointSuffix, sasToken);
}
/// <summary>
/// Gets the default queue endpoint using the specified settings.
/// </summary>
/// <param name="settings">The settings.</param>
/// <returns>The default queue endpoint.</returns>
private static (Uri, Uri) ConstructQueueEndpoint(IDictionary<string, string> settings) => ConstructQueueEndpoint(
settings[Constants.ConnectionStrings.DefaultEndpointsProtocolSetting],
settings[Constants.ConnectionStrings.AccountNameSetting],
settings.ContainsKey(Constants.ConnectionStrings.EndpointSuffixSetting) ? settings[Constants.ConnectionStrings.EndpointSuffixSetting] : null,
settings.ContainsKey(Constants.ConnectionStrings.SharedAccessSignatureSetting) ? settings[Constants.ConnectionStrings.SharedAccessSignatureSetting] : null);
/// <summary>
/// Gets the default queue endpoint using the specified protocol and account name.
/// </summary>
/// <param name="scheme">The protocol to use.</param>
/// <param name="accountName">The name of the storage account.</param>
/// <param name="endpointSuffix">The Endpoint DNS suffix; use <c>null</c> for default.</param>
/// <param name="sasToken">The sas token; use <c>null</c> for default.</param>
/// <returns>The default queue endpoint.</returns>
internal static (Uri, Uri) ConstructQueueEndpoint(string scheme, string accountName, string endpointSuffix, string sasToken)
{
if (string.IsNullOrEmpty(scheme))
{
throw Errors.ArgumentNull(nameof(scheme));
}
if (string.IsNullOrEmpty(accountName))
{
throw Errors.ArgumentNull(nameof(accountName));
}
if (string.IsNullOrEmpty(endpointSuffix))
{
endpointSuffix = Constants.ConnectionStrings.DefaultEndpointSuffix;
}
return ConstructUris(scheme, accountName, Constants.ConnectionStrings.DefaultQueueHostnamePrefix, endpointSuffix, sasToken);
}
/// <summary>
/// Gets the default table endpoint using the specified settings.
/// </summary>
/// <param name="settings">The settings.</param>
/// <returns>The default table endpoint.</returns>
private static (Uri, Uri) ConstructTableEndpoint(IDictionary<string, string> settings) => ConstructTableEndpoint(
settings[Constants.ConnectionStrings.DefaultEndpointsProtocolSetting],
settings[Constants.ConnectionStrings.AccountNameSetting],
settings.ContainsKey(Constants.ConnectionStrings.EndpointSuffixSetting) ? settings[Constants.ConnectionStrings.EndpointSuffixSetting] : null,
settings.ContainsKey(Constants.ConnectionStrings.SharedAccessSignatureSetting) ? settings[Constants.ConnectionStrings.SharedAccessSignatureSetting] : null);
/// <summary>
/// Gets the default queue endpoint using the specified protocol and account name.
/// </summary>
/// <param name="scheme">The protocol to use.</param>
/// <param name="accountName">The name of the storage account.</param>
/// <param name="endpointSuffix">The Endpoint DNS suffix; use <c>null</c> for default.</param>
/// <param name="sasToken">The sas token; use <c>null</c> for default.</param>
/// <returns>The default table endpoint.</returns>
internal static (Uri, Uri) ConstructTableEndpoint(string scheme, string accountName, string endpointSuffix, string sasToken)
{
if (string.IsNullOrEmpty(scheme))
{
throw Errors.ArgumentNull(nameof(scheme));
}
if (string.IsNullOrEmpty(accountName))
{
throw Errors.ArgumentNull(nameof(accountName));
}
if (string.IsNullOrEmpty(endpointSuffix))
{
endpointSuffix = Constants.ConnectionStrings.DefaultEndpointSuffix;
}
return ConstructUris(scheme, accountName, Constants.ConnectionStrings.DefaultTableHostnamePrefix, endpointSuffix, sasToken);
}
/// <summary>
/// Construct the Primary/Secondary Uri tuple.
/// </summary>
/// <param name="scheme">The protocol to use.</param>
/// <param name="accountName">The name of the storage account.</param>
/// <param name="hostNamePrefix">Prefix that appears before the host name, e.g. "blob".</param>
/// <param name="endpointSuffix">The Endpoint DNS suffix; use <c>null</c> for default.</param>
/// <param name="sasToken">The sas token; use <c>null</c> for default.</param>
/// <returns></returns>
private static (Uri, Uri) ConstructUris(
string scheme,
string accountName,
string hostNamePrefix,
string endpointSuffix,
string sasToken)
{
var primaryUriBuilder = new UriBuilder
{
Scheme = scheme,
Host = string.Format(
CultureInfo.InvariantCulture,
"{0}.{1}.{2}",
accountName,
hostNamePrefix,
endpointSuffix),
Query = sasToken
};
var secondaryUriBuilder = new UriBuilder
{
Scheme = scheme,
Host = string.Format(
CultureInfo.InvariantCulture,
"{0}{1}.{2}.{3}",
accountName,
Constants.ConnectionStrings.SecondaryLocationAccountSuffix,
hostNamePrefix,
endpointSuffix),
Query = sasToken
};
return (primaryUriBuilder.Uri, secondaryUriBuilder.Uri);
}
}
}
|
brjohnstmsft/azure-sdk-for-net
|
sdk/storage/Azure.Storage.Common/src/Shared/StorageConnectionString.cs
|
C#
|
mit
| 50,673 |
---
title: 'The Myth of Incompletion'
date: 10/07/2021
---
#### inTro
**Read This Week’s Passage: Isaiah 56:3–8**
**The Myth of
Incompletion**
Zeal is manifested in various ways in every church. You have the individual who is excited about evangelism. Another one is the expert on church policies and regulations. The prophecy guru is zealous over historical dates, while the cookbook collector is eager to showcase his recipes at potluck. The children’s ministry gang competes with the Vacation Bible School special forces team. Bible memorizers may be in one corner, while in the other are those who have memorized every song. Theological auditors sit in the back pew with their bifocals while the conspiracy theorists have their own unique enthusiasm. From audio-visual techies to prayer warriors, the church is a home to all types, shapes, and sizes of zeal.
Then there is the Auntie (or sometimes Uncle, both needing to be capitalized). She is the one who is zealous about getting every single person in the church married off. Whether she works off a database or her memory, she is a human android that can come up with creative combinations and statistical compatibility rates. We may snicker, but the zeal of this ministry is needed and important, and perhaps you have been on their radar and subject to their ministry.
What may lie behind this zeal, however, is the idea that singles are incomplete and that communities must do everything they can to eliminate them. The first chapters of Genesis are often quoted supporting the notion that it is bad for individuals to be alone. While it is true that married individuals have benefits and advantages, the rewards and pluses of singlehood must not go unmentioned. Afterall, the Son of God Himself was a single. Though this quarter addresses the topic of sexuality, this week will look at various passages throughout Scripture that touch on the gift of singleness and its juxtaposition to the other gift that God has given.
#### inScribe
Write out Isaiah 56:3–8 from the Bible translation of your choice. You may also rewrite the passage in your own words, or outline or mind-map the chapter.
` `
|
imasaru/sabbath-school-lessons
|
src/en/2021-03-cq/03/01.md
|
Markdown
|
mit
| 2,171 |
---
layout: post
title: "Why use Nextera over Nextera XT?"
description: ""
category:
tags: []
---
My reply to an email I was sent about whether Nextera or Nextera XT a better choice for a whole-genome shotgun metagenomics project:
> The theoretical reason you might use Nextera over Nextera XT is that as the starting amount of DNA is higher, the library might have increased diversity and this might impact the sequencing.
>
> Nextera starts with 50ng whereas XT starts with 2ng.
>
> However, if you actually do the maths this doesn't seem to be a real issue. A single copy of a haploid human genome (3Gb) is about 3.5pg. Therefore, you have about 1713 gigabases of information in 2ng. As we are only sequencing about 10 gigabases per sample, the sampling should still be essentially random. You can get a metric of this by looking at things like PCR duplication rates, and we haven't seen a significant problem with XT.
>
> Although Illumina originally said XT was for 'small genomes' they are recommending it for human and cancer genomes now. I think it's more of a marketing thing than a science thing.
|
jsocko515/nickloman.github.com
|
_posts/2014-07-21-why-use-nextera-over-nextera-xt.md
|
Markdown
|
mit
| 1,114 |
//////////////////////////////
// Tree Abstraction
//////////////////////////////
'use strict';
var gonzales = require('gonzales-pe');
var fm = require('front-matter');
var helpers = require('./helpers');
module.exports = function (text, syntax, filename) {
var tree;
// Run `.toString()` to allow Buffers to be passed in
text = helpers.stripBom(text.toString());
// if we're skipping front matter do it here, fall back to just our text in case it fails
if (fm.test(text)) {
var withFrontMatter = fm(text);
// Replace front matter by empty lines, so that line numbers are preserved
var numEmptyLines = 2;
if (withFrontMatter.frontmatter !== '') {
numEmptyLines += withFrontMatter.frontmatter.split('\r\n|\r|\n').length;
}
var emptyLines = new Array(numEmptyLines + 1).join('\n');
text = emptyLines + withFrontMatter.body || text;
}
try {
tree = gonzales.parse(text, {
'syntax': syntax
});
}
catch (e) {
throw {
message: e.message,
file: filename,
line: e.line
};
}
if (typeof tree === 'undefined') {
throw {
message: 'Undefined tree',
file: filename,
text: text.toString(),
tree: tree.toString()
};
}
return tree;
};
|
bgriffith/sass-lint
|
lib/groot.js
|
JavaScript
|
mit
| 1,256 |
/* jshint node: true */
module.exports = {
"brand": {
"logo": {
"light": {
"src": "/assets/images/brand/brand-logo-light.png"
},
"dark": {
"src": "/assets/images/brand/brand-logo-dark.png"
}
}
},
"links": {
"home": {
"icon": "fa-home"
},
"chat": {
"icon": "fa-wechat"
},
"videos": {
"icon": "fa-film"
},
"search": {
"icon": "fa-search"
},
"account": {
"icon": "fa-tag"
},
"profile": {
"icon": "fa-user"
},
"logout": {
"icon": "fa-sign-out"
},
"login": {
"icon": "fa-sign-in"
}
}
};
|
ZenBlank/platform-base
|
website/config/assets/assets.navigation.js
|
JavaScript
|
mit
| 566 |
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies and contributors
# License: MIT. See LICENSE
# import frappe
from frappe.model.document import Document
class DocTypeLink(Document):
pass
|
frappe/frappe
|
frappe/core/doctype/doctype_link/doctype_link.py
|
Python
|
mit
| 207 |
class InstagramController < ApplicationController
layout 'login'
before_action :authenticate_user!
before_action :set_callback_url
def index
@api_services = instagram_apps
end
def create
@info = ApiServiceInfo.find(instagram_params[:app_id])
if @info
session[:instagram_app_id] = @info.app_id
session[:instagram_app_secret] = @info.app_secret
Instagram.configure do |config|
config.client_id = session[:instagram_app_id]
config.client_secret = session[:instagram_app_secret]
end
redirect_to Instagram.authorize_url(:redirect_uri => @callback_url, scope: 'public_content')
else
redirect_to instagram_index_url, {error: 'Access Token can not create!'}
end
end
def callback
Instagram.configure do |config|
config.client_id = session[:instagram_app_id]
config.client_secret = session[:instagram_app_secret]
end
response = Instagram.get_access_token(params[:code], :redirect_uri => @callback_url)
if response && response.access_token
api_service = ApiServiceInfo.find_by(app_id: session[:instagram_app_id], app_secret: session[:instagram_app_secret])
if api_service && api_service.update(app_token: response.access_token)
redirect_to instagram_index_url, {notice: 'Access Token has been created!'}
else
redirect_to instagram_index_url, {error: 'Access Token can not save'}
end
else
redirect_to instagram_index_url, {error: 'Access Token can not create!'}
end
end
private
def set_callback_url
@callback_url = callback_instagram_index_url
end
def instagram_apps
apis = ApiService.where(name: 'Instagram API')
api_services = []
if apis.count > 0
arr = apis.select{|item| item.status == true}
arr.each do |item|
api_services = api_services + item.api_service_infos.select{|info| info.active?}
end
end
api_services
end
def instagram_params
params.require(:instagram).permit(:app_id)
end
end
|
minhquan4080/slack-bot
|
app/controllers/instagram_controller.rb
|
Ruby
|
mit
| 2,063 |
//>>built
define(["dojo/_base/declare","dojo/dom-geometry","dijit/_WidgetBase","dijit/registry"],function(c,d,e,b){var f=e.prototype;return c(null,{minSize:0,maxSize:Infinity,layoutPriority:0,showTitle:!0,buildRendering:function(){b.add(this);this.inherited(arguments);this.domNode.setAttribute("widgetId",this.id)},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent();a&&a.isLayoutContainer&&this._resizeHandle.remove()}},destroyRecursive:function(){this.destroy()},destroy:function(){this.inherited(arguments);
b.remove(this.id)},getChildren:function(){return[]},getParent:function(){return b.getEnclosingWidget(this.domNode.parentNode)},isLeftToRight:function(){return!this.isRTL},placeAt:function(a,b){return f.placeAt.call(this,a,b)},resize:function(a){a&&d.setMarginBox(this.domNode,a);this.inherited(arguments)},_set:function(a,b){this[a]=b},watch:function(){}})});
|
ycabon/presentations
|
2020-devsummit/arcgis-js-api-road-ahead/js-api/dgrid/extensions/DijitRegistry.js
|
JavaScript
|
mit
| 906 |
# -*- coding: utf-8 -*-
from django.db import models, migrations
import news.managers
class Migration(migrations.Migration):
dependencies = [
('news', '0021_similararticle'),
]
operations = [
migrations.CreateModel(
name='Cluster',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('latest_date', models.DateTimeField(null=True)),
],
),
migrations.AlterModelManagers(
name='similararticle',
managers=[
('objects', news.managers.SimilarArticleManager()),
],
),
migrations.AlterUniqueTogether(
name='similararticle',
unique_together=set([('from_article', 'to_article')]),
),
migrations.AddField(
model_name='similararticle',
name='cluster',
field=models.ForeignKey(to='news.Cluster', null=True, on_delete=models.CASCADE),
),
]
|
flupzor/newsdiffs
|
news/migrations/0022_auto_20160612_1614.py
|
Python
|
mit
| 1,058 |
Work In Process
==
导航请移步到: http://python-cn.github.io
**star的人们啊, 被star不是目的, 要来贡献代码哦(●'◡'●)ノ♥**
说明
--
这里只包含等待开发的Todo List. 会尽量更新到最新状态.
有兴趣参与者请使用: [trello](https://trello.com/b/JM2OEXPA/firefly)去获取最新的任务列表. 防止任务已被认领造成重复.
沟通请使用: [pythoncn-slack](https://pythoncn.slack.com)(需要邀请, 请发邮件到[email protected], 或者联系组内其他成员),
参与开发者才会被通过(slack没有灌水区),请谨慎加入
## 学习准备
假如你觉得你还没有能力做下面的todo list, 可以先准备以下一些知识, 将来会用到
- react
- oauth2
- select2
- flask-wtf
- flask-restful
- flask ext
英语好的不妨看这个视频教程[http://discoverflask.com](https://github.com/realpython/discover-flask)
PS: 其他的firefly的依赖的列表在这里: http://python-cn.github.io/#/post/used.md
## 集思广益
社区不是我一个人的观点, 需要大家作为一个潜在受众一起思考: 你希望有什么功能. 然后来建新的card, 去完成你认为有价值的任务.
## Todo List
以下是一些定义:
1. 主题 = model里面的Post, 就是一篇文章
2. 评论 = model里面的Comment, 对一篇文章的评论
3. 首页 = 首页显示了文章的列表, 默认按活跃时间排序
4. 单个主题 = 类似/post/post_id/这样的链接. 包含文章正文, 对应评论等
5. 前+后端的可以根据个人能力和爱好拆分, 即只做前端/后端部分
6. todo前缀包含`[additional]`表示优先级比较低.
### 架构设计
#### 用户相关
- [ ] 忽略主题的设计 - 不想看到某个主题/含有某些关键词的主题
- [ ] 忽略用户的设计 - 不想看到某个用户的主题/相关的动态.
- [ ] 用户个人页面能看到用户的操作记录(默认按时间排序), 比如回复什么主题, 创建了什么主题. follow了xx
- [ ] 增加用户举报功能, 比如用词不友善, 诋毁, 营销, 广告等.
- [ ] 设计用户个人页面, 只需要包含对应的view, 个人基本信息: 注册源(微博/github/google), 昵称, 头像(使用Gravatar)等,加入时间, 用户id
- [ ] [additional]有意见建议, 就需要一个和提交者的通道. 借用提醒,站内信等让用户得到最新的反馈
- [x] follow用户的功能 - [halfcrazy]
- [x] 设计用户密码找回方案 - [halfcrazy]
#### 页面相关
- [ ] 主题和平台太多的分页设计
- [ ] timeline设计. 用户可以选择timeline模式. 和twitter效果类似.
- [ ] [additional]设计公告位
- [x] 用户model, oauth2方案 - [dongweiming]
#### [additional]管理员相关
- [ ] 设计管理员系统(可能是一个子url, 也可能是一个其他的项目),就是可以开发者的权限, 有对应权限的开发者可以删帖, 修改标题等. 但是一切操作都要被系统记录(flask-admin好丑)
- [ ] 举报后台. 管理员可以删主题/评论. 给用户发警告提醒, 禁用用户
- [ ] 社区的issue系统. 主要和我们的slack关联, 可以给我提交bug, 意见和建议
#### 消息系统
- [ ] 定期给离线用户发送未查收的收到的提醒/站内信(可以选择取消订阅)
- [ ] 站内信模型
- [ ] 提醒模型(类似豆瓣的提醒)
- [ ] 社区的消息push, 我目前想的是一个websocket. 通过js获得数据渲染(有相关工作经验的最好)
#### 全局相关
- [ ] 全局的log系统, 用于debug. 产生应用的log等. 有点tornado的效果. 可配置的 类似fabric
- [ ] 给项目的log加上颜色. 但是不要直接使用第三方库
- [ ] 搜索 - 添加搜索框/可以搜索主题, 评论, 用户, 分类等
- [ ] 社区的缓存系统. 比如用户的会话缓存, 文章内容的缓存(在文章更新的时候有对应的更新操作)
- [ ] [additional]社区事件系统, 无论做什么操作, 都是一个事件, 能够容易的单个人获得操作记录, 单种类型的操作记录, 比如可以列出来创建主题的时间列表
- [ ] [additional]把现有的代码都补上事件
### 纯前端
- [ ] 首页注册和登陆页面的浏览器兼容性(chrome下正常, FF下不正常)
- [ ] @ 能弹出被@用户
- [ ] 站内信未读 给标志标示
- [ ] 主题内容在首页就可以预览, 可以选择`阅读更多`点到单个主题页
- [ ] 单独评论页面
- [x] 使用sweetalert替代alert - [dongweiming]
- [x] 让每个主题页面(http://web:port/post/post_id/)里面显示出评论的内容. - [dongweiming]
- [x] 注册页面当用户名/密码/邮箱都有正确输入的时候让`注册`按钮变成enable - [dongweiming]
- [x] 用户创建新主题后会使用[Effeckt.css](https://github.com/h5bp/Effeckt.css), 闪到主题列表的最上面 - [dongweiming]
- [x] 每当用户发表新的评论, 应该把该主题提到最前(最近活跃) - [dongweiming]
### 测试
- [ ] 给项目测试环境添加必要的测试数据(导入分类数据)
- [ ] 给项目测试环境添加必要的测试数据(本机可以修改域名, 通过某app id实现登陆)
- [ ] 给项目测试环境添加必要的测试数据(导入用户数据, 一些测试账号)
- [ ] 给项目测试环境添加必要的测试数据(导入主题/评论测试数据, 可以自动生成一些主题以及一些评论)
### 纯后端
- [ ] 对主题和评论可以like和取消like. 没有dislike
- [ ] @ 的消息能被该用户收到提醒
- [ ] 个人页面可以拉取用户的对应网站的数据. 比如github的源列表, star数, following数.
- [ ] 拉取用户对应网站数据的设计, 可以使用celery, rq等.
- [ ] 每个评论都可以单独打开, 模板和主题页一样, 但是下面的列表是对这个评论的评论
- [ ] [additional]使用站内信和其他人私聊
- [x] 首页渲染时, 能获得某主题对应的分类. - [mozillazg]
- [x] 豆瓣oauth2登录 - [halfcrazy]
- [x] 微博oauth2登录 - [ce]
- [x] 设计阅读量的实现, 就是刷新一下页面, 阅读量就会+1 - [mozillazg]
- [x] 主题的分类model的接口. 前端可以通过ajax调用这个url 获得全部的分类信息: 分类id, 分类名, 分类描述 - [halfcrazy]
- [x] 主题的分类model, 早期可以是先插入的一些固定数据,比如devops, web开发, 爬虫..(选项不重要, 要有后台的支持) - [halfcrazy]
### 前+后端
#### 用户相关
- [ ] 设计用户设置密码页面, 对应的view, 简陋的模板
- [ ] 用户可以设置自己介绍, 坐标(比如北京), 以及个人的站点
- [ ] 用户可以设置github/stackoverflow的地址
- [ ] 用户发布的主题/评论可以被删除(发布1小时内可删除)
- [ ] 用户可以对某个话题添加关注, 以后这个主题发的评论都会给该用户提示消息
- [ ] 用户可以对主题或者评论收藏(bookmark)/取消收藏
- [ ] 给用户增加一个watch设置, 当包含对应watch分类/关键词的主题发布时, 会自动给他发消息.
- [ ] 用户可以选择隐藏那些属性不被人看到
- [ ] 用户可以删除自己发布的主题. 主题默认指向失效用户, 其中的内容和评论不变. 但和用户无关了(这个模式大家讨论)
- [ ] 用户可以删除自己发布的评论. 评论会被去掉. 这个评论被其他人评论得数据还在. 只是源评论会显示`已失效`(这个模式大家讨论)
#### 页面相关
- [ ] 发布主题可以上传图片(也可粘贴一个图片url)
- [ ] 单个主题可以看到上传的图片
- [ ] 发布主题可以插入视频url
- [ ] 单个主题可以看到视频
- [ ] 主题可微博分享
- [ ] 主题可豆瓣分享
- [ ] 可以直接引用github的gist的代码片段到主题
- [ ] 可以直接引用github的gist的代码片段到评论
- [ ] 可以把用户在社区发布的内容同步到微博
- [ ] 可以把用户在社区发布的内容同步到twitter
- [ ] 用户发布的主题可以被编辑
- [ ] 用户发布的评论可以被编辑
- [ ] 首页每个类型都能排序, 比如按分类, 按最热
- [ ] 个人发表的主题页
- [ ] 用户可以在个人页面看到自己收藏的内容列表
- [ ] 一个分类explore页面, 包含目前所有的分类列表, 最好有一定排序 https://meta.discourse.org/categories
- [ ] 模仿discourse, 对于回应数/喜欢数/访问数/最近活跃时间等根据数量的差别显示不同的颜色
- [ ] 发表的主题可以选择多个分类
- [ ] 发表的主题可以选择标签
- [x] 创建主题时候可以通过select2选择分类, 效果类似meta.discourse.org创建主题的分类下拉框效果(可以只是功能, 没有css样式) - [mozillazg]
- [x] 创建请求中会带上分类的参数, 后端save的时候会生成含有分类的主题(Post) - [mozillazg]
- [x] 和github一样. 有页面的键盘快捷键, 给这种类型的geek最好的体验 - [dongweiming]
- [x] 不同分类有不同的标示颜色 - [dongweiming]
### 算法
- [ ] 算法 - 主题页下面会推荐一些其他的相关的主题
- [ ] 算法 - 用户兴趣社交第一步 - 我关注的人也关注
- [ ] 算法 - 用户兴趣社交第二步 - 和我分类/关键词相近的人还有那些
- [ ] 算法 - 匿名用户首页的timeline的安排
- [ ] [additional]算法 - 我对某些内容没有兴趣, 请不要在timeline让我看见, 或者尽量少的看见
### devops
- [ ] 数据库备份. 用户所有的删除后的数据都有副本. 方便用户导出和恢复.
### 设计
- [ ] 设计一个好看的logo
- [ ] 徽章系统, 但是不能种类多, 我想目前只包含开发者
### SEO
- [ ] 结构化信息(针对google). 为了让我们上线后对搜索引擎更友好, 在搜索出来的时候有更好的点击量需要优化[schema](http://schema.org/Article). 使用microdata格式.
### [additional]Labs
- [ ] 实验室开关. 我们应该设计一个lab模式. 激进的用户或者开发者可以选中, 尝鲜最新的特性功能.
### [additional]一些有意思的点
- [ ] 支持使用[颜字体](https://github.com/turingou/o3o)
- [ ] 我们能不能做一个像[花瓣采集工具](http://huaban.com/about/goodies/)的东西直接采集代码/视频等
- [ ] 在web端实现[vim-easymotion](https://github.com/Lokaltog/vim-easymotion)
## 正在进行
- [ ] 完成单个主题页面, 样式, 展示评论, 能在评论下发表新评论
- [ ] 能评论其他人的评论
- [ ] QQoauth2登录
- [ ] 本站注册登录
- [ ] 禁用用户功能
贡献者列表可以看这里: [CONTRIBUTORS.txt](https://github.com/python-cn/firefly/blob/master/CONTRIBUTORS.txt)
[dongweiming]: https://github.com/dongweiming
[halfcrazy]: https://github.com/halfcrazy
[mozillazg]: https://github.com/mozillazg
[ce]: https://github.com/zbing3
|
dongweiming/firefly
|
README.md
|
Markdown
|
mit
| 10,764 |
<!DOCTYPE html>
<html lang="en">
<head>
{% include header.html %}
</head>
<body>
{% include nav-home.html %}
{{ content }}
{% include footer.html %}
</body>
</html>
|
perfect-ui/perfect
|
docs/_layouts/home.html
|
HTML
|
mit
| 191 |
package com.microsoft.bingads.v10.api.test.entities.targets.campaign.bids.age.write;
import com.microsoft.bingads.v10.api.test.entities.targets.campaign.bids.age.BulkCampaignAgeTargetBidTest;
import com.microsoft.bingads.v10.bulk.entities.BulkCampaignAgeTargetBid;
import com.microsoft.bingads.internal.functionalinterfaces.BiConsumer;
import java.util.Arrays;
import java.util.Collection;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterized.Parameters;
@RunWith(Parameterized.class)
public class BulkCampaignAgeTargetWriteToRowValuesCampaignNameTest extends BulkCampaignAgeTargetBidTest {
@Parameter(value = 1)
public String expectedResult;
/*
* Test data generator.
* This method is called the the JUnit parameterized test runner and
* returns a Collection of Arrays. For each Array in the Collection,
* each array element corresponds to a parameter in the constructor.
*/
@Parameters
public static Collection<Object[]> data() {
// In this example, the parameter generator returns a List of
// arrays. Each array has two elements: { datum, expected }.
// These data are hard-coded into the class, but they could be
// generated or loaded in any way you like.
return Arrays.asList(new Object[][]{
{"Test Campaign 1", "Test Campaign 1"},
{"", ""},
{null, null}
});
}
@Test
public void testWrite() {
this.<String>testWriteProperty("Campaign", this.datum, this.expectedResult, new BiConsumer<BulkCampaignAgeTargetBid, String>() {
@Override
public void accept(BulkCampaignAgeTargetBid c, String v) {
c.setCampaignName(v);
}
});
}
}
|
JeffRisberg/BING01
|
src/test/java/com/microsoft/bingads/v10/api/test/entities/targets/campaign/bids/age/write/BulkCampaignAgeTargetWriteToRowValuesCampaignNameTest.java
|
Java
|
mit
| 1,894 |
<?php
namespace Oro\Bundle\DatagridBundle\Tests\Unit\DependencyInjection\CompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Oro\Bundle\DataGridBundle\DependencyInjection\CompilerPass\InlineEditColumnOptionsGuesserPass;
/**
* Class InlineEditColumnOptionsGuesserPassTest
* @package Oro\Bundle\DatagridBundle\Tests\Unit\DependencyInjection\CompilerPass
*/
class InlineEditColumnOptionsGuesserPassTest extends \PHPUnit_Framework_TestCase
{
/**
* @var InlineEditColumnOptionsGuesserPass
*/
protected $compilerPass;
/**
* @var \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
*/
protected $container;
protected function setUp()
{
$this->container = $this
->getMockBuilder('Symfony\Component\DependencyInjection\ContainerBuilder')
->getMock();
$this->compilerPass = new InlineEditColumnOptionsGuesserPass();
}
public function testServiceNotExists()
{
$this->container->expects($this->once())
->method('hasDefinition')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::INLINE_EDIT_COLUMN_OPTIONS_GUESSER_SERVICE))
->will($this->returnValue(false));
$this->container->expects($this->never())
->method('getDefinition');
$this->container->expects($this->never())
->method('findTaggedServiceIds');
$this->compilerPass->process($this->container);
}
public function testServiceExistsNotTaggedServices()
{
$this->container->expects($this->once())
->method('hasDefinition')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::INLINE_EDIT_COLUMN_OPTIONS_GUESSER_SERVICE))
->will($this->returnValue(true));
$this->container->expects($this->once())
->method('findTaggedServiceIds')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::TAG))
->will($this->returnValue([]));
$this->container->expects($this->never())
->method('getDefinition');
$this->compilerPass->process($this->container);
}
public function testServiceExistsWithTaggedServices()
{
$this->container->expects($this->once())
->method('hasDefinition')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::INLINE_EDIT_COLUMN_OPTIONS_GUESSER_SERVICE))
->will($this->returnValue(true));
$this->container->expects($this->once())
->method('findTaggedServiceIds')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::TAG))
->will($this->returnValue(['service' => ['class' => '\stdClass']]));
$definition = $this->createMock('Symfony\Component\DependencyInjection\Definition');
$this->container->expects($this->once())
->method('getDefinition')
->with($this->equalTo(InlineEditColumnOptionsGuesserPass::INLINE_EDIT_COLUMN_OPTIONS_GUESSER_SERVICE))
->will($this->returnValue($definition));
$definition->expects($this->once())
->method('addMethodCall')
->with($this->isType('string'), $this->isType('array'));
$this->compilerPass->process($this->container);
}
}
|
Djamy/platform
|
src/Oro/Bundle/DataGridBundle/Tests/Unit/DependencyInjection/CompilerPass/InlineEditColumnOptionsGuesserPassTest.php
|
PHP
|
mit
| 3,299 |
#define LOG_MEMORY_PERF_COUNTERS
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans.Internal;
using Orleans.Runtime;
namespace Orleans.Statistics
{
internal class PerfCounterEnvironmentStatistics : IHostEnvironmentStatistics, ILifecycleParticipant<ISiloLifecycle>, ILifecycleParticipant<IClusterClientLifecycle>, ILifecycleObserver, IDisposable
{
private readonly ILogger logger;
private const float KB = 1024f;
private PerformanceCounter cpuCounterPF;
private PerformanceCounter availableMemoryCounterPF;
#if LOG_MEMORY_PERF_COUNTERS
private PerformanceCounter timeInGCPF;
private PerformanceCounter[] genSizesPF;
private PerformanceCounter allocatedBytesPerSecPF;
private PerformanceCounter promotedMemoryFromGen1PF;
private PerformanceCounter numberOfInducedGCsPF;
private PerformanceCounter largeObjectHeapSizePF;
private PerformanceCounter promotedFinalizationMemoryFromGen0PF;
#endif
private SafeTimer cpuUsageTimer;
private readonly TimeSpan CPU_CHECK_PERIOD = TimeSpan.FromSeconds(5);
private readonly TimeSpan INITIALIZATION_TIMEOUT = TimeSpan.FromMinutes(1);
private bool countersAvailable;
/// <inheritdoc />
private long MemoryUsage { get { return GC.GetTotalMemory(false); } }
/// <inheritdoc />
public long? TotalPhysicalMemory { get; private set; }
/// <inheritdoc />
public long? AvailableMemory { get { return availableMemoryCounterPF != null ? Convert.ToInt64(availableMemoryCounterPF.NextValue()) : (long?)null; } }
/// <inheritdoc />
public float? CpuUsage { get; private set; }
private static string GCGenCollectionCount
{
get
{
return String.Format("gen0={0}, gen1={1}, gen2={2}", GC.CollectionCount(0), GC.CollectionCount(1), GC.CollectionCount(2));
}
}
#if LOG_MEMORY_PERF_COUNTERS
private string GCGenSizes
{
get
{
if (genSizesPF == null) return String.Empty;
return String.Format("gen0={0:0.00}, gen1={1:0.00}, gen2={2:0.00}", genSizesPF[0].NextValue() / KB, genSizesPF[1].NextValue() / KB, genSizesPF[2].NextValue() / KB);
}
}
#endif
public PerfCounterEnvironmentStatistics(ILoggerFactory loggerFactory)
{
this.logger = loggerFactory.CreateLogger<PerfCounterEnvironmentStatistics>();
try
{
Task.Run(() =>
{
InitCpuMemoryCounters();
}).WaitWithThrow(INITIALIZATION_TIMEOUT);
}
catch (TimeoutException)
{
logger.Warn(ErrorCode.PerfCounterConnectError,
"Timeout occurred during initialization of CPU & Memory perf counters");
}
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
private void InitCpuMemoryCounters()
{
try
{
cpuCounterPF = new PerformanceCounter("Processor", "% Processor Time", "_Total", true);
availableMemoryCounterPF = new PerformanceCounter("Memory", "Available Bytes", true);
#if LOG_MEMORY_PERF_COUNTERS
string thisProcess = Process.GetCurrentProcess().ProcessName;
timeInGCPF = new PerformanceCounter(".NET CLR Memory", "% Time in GC", thisProcess, true);
genSizesPF = new PerformanceCounter[] {
new PerformanceCounter(".NET CLR Memory", "Gen 0 heap size", thisProcess, true),
new PerformanceCounter(".NET CLR Memory", "Gen 1 heap size", thisProcess, true),
new PerformanceCounter(".NET CLR Memory", "Gen 2 heap size", thisProcess, true)
};
allocatedBytesPerSecPF = new PerformanceCounter(".NET CLR Memory", "Allocated Bytes/sec", thisProcess, true);
promotedMemoryFromGen1PF = new PerformanceCounter(".NET CLR Memory", "Promoted Memory from Gen 1", thisProcess, true);
numberOfInducedGCsPF = new PerformanceCounter(".NET CLR Memory", "# Induced GC", thisProcess, true);
largeObjectHeapSizePF = new PerformanceCounter(".NET CLR Memory", "Large Object Heap size", thisProcess, true);
promotedFinalizationMemoryFromGen0PF = new PerformanceCounter(".NET CLR Memory", "Promoted Finalization-Memory from Gen 0", thisProcess, true);
#endif
// Could use GC.GetGCMemoryInfo().TotalAvailableMemoryBytes instead on .NET Core 3.0
var memoryStatus = new MEMORYSTATUSEX();
memoryStatus.Length = (uint)Marshal.SizeOf(typeof(MEMORYSTATUSEX));
if (GlobalMemoryStatusEx(ref memoryStatus) == 0) throw new Win32Exception();
TotalPhysicalMemory = (long)memoryStatus.TotalPhys;
countersAvailable = true;
}
catch (Exception ex)
{
logger.Warn(ErrorCode.PerfCounterConnectError,
"Error initializing CPU & Memory perf counters - you need to repair Windows perf counter config on this machine with 'lodctr /r' command",
ex);
}
}
[StructLayout(LayoutKind.Sequential)]
private struct MEMORYSTATUSEX
{
public uint Length;
public uint MemoryLoad;
public ulong TotalPhys;
public ulong AvailPhys;
public ulong TotalPageFile;
public ulong AvailPageFile;
public ulong TotalVirtual;
public ulong AvailVirtual;
public ulong AvailExtendedVirtual;
}
[DllImport("Kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern int GlobalMemoryStatusEx(ref MEMORYSTATUSEX lpBuffer);
private void CheckCpuUsage(object m)
{
if (cpuCounterPF != null)
{
var currentUsage = cpuCounterPF.NextValue();
// We calculate a decaying average for CPU utilization
CpuUsage = (CpuUsage + 2 * currentUsage) / 3;
}
else
{
CpuUsage = 0;
}
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2213:DisposableFieldsShouldBeDisposed")]
public void Dispose()
{
cpuCounterPF?.Dispose();
availableMemoryCounterPF?.Dispose();
timeInGCPF?.Dispose();
if (genSizesPF != null)
foreach (var item in genSizesPF)
{
item?.Dispose();
}
allocatedBytesPerSecPF?.Dispose();
promotedMemoryFromGen1PF?.Dispose();
numberOfInducedGCsPF?.Dispose();
largeObjectHeapSizePF?.Dispose();
promotedFinalizationMemoryFromGen0PF?.Dispose();
cpuUsageTimer?.Dispose();
}
public Task OnStart(CancellationToken ct)
{
if (!countersAvailable)
{
logger.Warn(ErrorCode.PerfCounterNotRegistered,
"CPU & Memory perf counters did not initialize correctly - try repairing Windows perf counter config on this machine with 'lodctr /r' command");
}
if (cpuCounterPF != null)
{
cpuUsageTimer = new SafeTimer(this.logger, CheckCpuUsage, null, CPU_CHECK_PERIOD, CPU_CHECK_PERIOD);
}
try
{
if (cpuCounterPF != null)
{
// Read initial value of CPU Usage counter
CpuUsage = cpuCounterPF.NextValue();
}
}
catch (InvalidOperationException)
{
// Can sometimes get exception accessing CPU Usage counter for first time in some runtime environments
CpuUsage = 0;
}
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_CPUUSAGE, () => CpuUsage.Value);
IntValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_TOTALMEMORYKB, () => (long)((MemoryUsage + KB - 1.0) / KB)); // Round up
#if LOG_MEMORY_PERF_COUNTERS // print GC stats in the silo log file.
StringValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_GENCOLLECTIONCOUNT, () => GCGenCollectionCount);
StringValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_GENSIZESKB, () => GCGenSizes);
if (timeInGCPF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_PERCENTOFTIMEINGC, () => timeInGCPF.NextValue());
}
if (allocatedBytesPerSecPF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_ALLOCATEDBYTESINKBPERSEC, () => allocatedBytesPerSecPF.NextValue() / KB);
}
if (promotedMemoryFromGen1PF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_PROMOTEDMEMORYFROMGEN1KB, () => promotedMemoryFromGen1PF.NextValue() / KB);
}
if (largeObjectHeapSizePF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_LARGEOBJECTHEAPSIZEKB, () => largeObjectHeapSizePF.NextValue() / KB);
}
if (promotedFinalizationMemoryFromGen0PF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_PROMOTEDMEMORYFROMGEN0KB, () => promotedFinalizationMemoryFromGen0PF.NextValue() / KB);
}
if (numberOfInducedGCsPF != null)
{
FloatValueStatistic.FindOrCreate(StatisticNames.RUNTIME_GC_NUMBEROFINDUCEDGCS, () => numberOfInducedGCsPF.NextValue());
}
IntValueStatistic.FindOrCreate(StatisticNames.RUNTIME_MEMORY_TOTALPHYSICALMEMORYMB, () => (long)((TotalPhysicalMemory / KB) / KB));
if (availableMemoryCounterPF != null)
{
IntValueStatistic.FindOrCreate(StatisticNames.RUNTIME_MEMORY_AVAILABLEMEMORYMB, () => (long)((AvailableMemory / KB) / KB)); // Round up
}
#endif
IntValueStatistic.FindOrCreate(StatisticNames.RUNTIME_DOT_NET_THREADPOOL_INUSE_WORKERTHREADS, () =>
{
ThreadPool.GetMaxThreads(out var maXworkerThreads, out var maXcompletionPortThreads);
// GetAvailableThreads Retrieves the difference between the maximum number of thread pool threads
// and the number currently active.
// So max-Available is the actual number in use. If it goes beyond min, it means we are stressing the thread pool.
ThreadPool.GetAvailableThreads(out var workerThreads, out var completionPortThreads);
return maXworkerThreads - workerThreads;
});
IntValueStatistic.FindOrCreate(StatisticNames.RUNTIME_DOT_NET_THREADPOOL_INUSE_COMPLETIONPORTTHREADS, () =>
{
ThreadPool.GetMaxThreads(out var maxWorkerThreads, out var maxCompletionPortThreads);
ThreadPool.GetAvailableThreads(out var workerThreads, out var completionPortThreads);
return maxCompletionPortThreads - completionPortThreads;
});
return Task.CompletedTask;
}
public Task OnStop(CancellationToken ct)
{
cpuUsageTimer?.Dispose();
cpuUsageTimer = null;
return Task.CompletedTask;
}
public void Participate(ISiloLifecycle lifecycle)
{
lifecycle.Subscribe<PerfCounterEnvironmentStatistics>(ServiceLifecycleStage.RuntimeInitialize, this);
}
public void Participate(IClusterClientLifecycle lifecycle)
{
lifecycle.Subscribe(ServiceLifecycleStage.RuntimeInitialize, this);
}
}
}
|
jason-bragg/orleans
|
src/TelemetryConsumers/Orleans.TelemetryConsumers.Counters/Statistics/PerfCounterEnvironmentStatistics.cs
|
C#
|
mit
| 12,284 |
# The following heavily commented pseudocode is not actually runnable: is an amalgam of syntax
# from multiple programming languages, references a number of functions that are not defined,
# and has not been debugged.
# It is only useful for educational purposes: in particular, to more precisely describe
# the closed loop algorithm proposed in the OpenAPS reference design.
def getProfile():
profile = {
'dia': dia, # Duration of Insulin Action (hours)
'isf': isf, # Insulin Sensitivity Factor (mg/dL/U)
'bgTargetMin': bgTargetMin, # low end of BG Target range
'bgTargetMax': bgTargetMax, # high end of BG Target range
'bgSuspend': (bgTargetMin - 30), # temp to 0 if dropping below this BG
'maxBasal': maxBasal, # pump's maximum basal setting
'ic': ic, # Insulin to Carb Ratio (g/U)
'csf': (isf / ic), # Carb Sensitivity Factor (mg/dL/g)
'basals': basals # Basal Schedule (array of [start time of day, rate (U/hr)])
}
return profile
def basalLookup(timeOfDay):
#Return basal rate (U/hr) at the provided timeOfDay
return basalRateCurrent
def maxBasalLookup():
#Return maximum daily basal rate (U/hr) from profile.basals
return maxDailyBasalRate
def getNetIOB(iob, tempBasalHistory):
for each tempBasal in tempBasalHistory
normalBasal = basalLookup(tempbasal.time)
netInsulin = (tempBasal.rate - normalBasal) * tempBasal.duration # How much insulin (+/-)
hoursAgo = now – basal.time # hours since basal was started
if (hoursAgo > profile[dia]): # getBasalHistory shouldn’t pass any old basals, but ignore them if it does
iobContrib = 0
else:
pass
iobContrib = netInsulin * (profile[dia] - hoursAgo) / profile[dia] # simple straight-line IOB decay.
# For manual/mental calculation, iobContrib can be approximated by using round-number math.
iob = iob + iobContrib; # (add/subtract each basal’s net impact to the pump’s IOB number)
return iob
def getSnoozeFactor():
# Hours to snooze after each 1U bolus
# By default, 1U = 30m; 6U = 3h
return 0.5
def bolusSnooze(bolusHistory, snoozeFactor):
snoozeUntil = now;
for each bolus in bolusHistory:
# extend the snooze time if appropriate based on IOB after each bolus
snoozeHours = min(profile.dia, getIOB(bolus.time) * snoozeFactor); # don't snooze more than dia hours
snoozeUntil = max(snoozeUntil, bolus.time + snoozeHours); # extend snooze if appropriate
return snoozeUntil;
def calcCurrentTempBasal(tempBasalHistory): # current temp basal rate, or null
#TODO: NOT SURE WHERE TO PULL TEMPBASALHISTORY FROM
return currentTempBasal
def setTempBasal(rate,duration):
maxSafeBasal = min(profile[maxBasal], 2 * maxBasalLookup, 4 * basalLookup(now))
if (rate < 0):
rate = 0 # you can't give less than 0 U/hr
elif (rate > maxSafeBasal):
rate = maxSafeBasal # don't give more than maxSafeBasal
# issue rate U/hr temp for duration minutes
system("temp-basal.py --rate rate --duration duration")
#TODO: HAVE TO FIGURE OUT HOW/IF I COULD ENTER THIS TEMP BASAL RATE INSIDE PYTHON?
def onStartup():
# Collect profile info at startup:
profile = getProfile(); # collect profile info from pump
basalRateCurrent = basalLookup(timeOfDay)
maxDailyBasalRate = maxBasalLookup
def everyFewMinutes():
#TODO: UPLOAD HISTORY AT THE START OF THE LOOP, PER CALABRESE ON GITTER
#Collect real-time info every few minutes:
bg = getBG(now); # Current BG from fingerstick or CGM
delta = getBGDelta(now); # Current change in BG / BG trend (+ / - / 0)
iob = getIOB(now); # Current IOB, reported by (or calculated from) pump
tempBasalHistory = getTempBasalHistory(); # time, duration (hours), and rate (U/hr) of any temp basals
# not included in IOB (limited to last dia hours)
bolusHistory = getBolusHistory(); # time and size (U) of boluses for last dia hours
netIOB = getNetIOB(iob, tempBasalHistory); # Calculate net IOB, taking into account temp basals
#Perform intermediate calculations based on latest BG and insulin history
# When the user does a manual bolus, we assume they know what they're doing, and try to avoid counteracting it.
# To do so, we snooze OpenAPS to avoid low-temps for a certain number of hours for each 1U bolused.
snoozeFactor = getSnoozeFactor()
snoozeUntil = bolusSnooze(bolusHistory, snoozeFactor)
if (snoozeUntil > now):
return 0 # no action
eventualBG = bg - (netIOB * profile[isf]) ; # BG expected after dia hours, once all net IOB takes effect
#TODO: SHOULD THE LINE BELOW NOT BE COMMENTED, AS IT WAS IN THE PSEUDOCODE?
# If bg < profile.bgSuspend and BG is not rising, temp to zero
currentTempBasal = calcCurrentTempBasal(tempBasalHistory); # current temp basal rate, or null
#TODO: NEED TO UNDERSTAND WHAT IS HAPPENING BELOW AND IN SETTEMPBASAL() FUNCTION
if (bg < profile[bgSuspend]):
if (delta > 0): # if BG is rising
if (currentTempBasal > basalLookup(now)): # if a high-temp is running
setTempBasal(0,0) # cancel temp
else: # (delta <= 0), BG is not yet rising
setTempBasal(0,30)
# if BG is rising but eventual BG is below target, or BG is falling but eventual BG is above target,
# then cancel any temp basals.
if ((delta > 0) and (eventualBG < bgTargetMin)) or ((delta < 0) and (eventualBG > bgTargetMax)):
#TODO: not sure at all if line above is correct
if currentTempBasal is not null: # if there is currently any temp basal running
setTempBasal(0, 0) # cancel temp
elif (eventualBG < bgTargetMin): # if eventual BG is below target
# calculate 30m low-temp required to get projected BG up to target
insulinReq = (bgTargetMin - eventualBG) / profile[isf] # negative insulin required to get up to min
rate = currentTempBasal - (2 * insulinRequired) # rate required to deliver insulinReq less insulin over 30m
# rate in insulin per hour, so use 2* the required to make it happen in 30 minutes
if (rate < currentTempBasal): # if required temp < existing basal
setTempBasal(rate, 30) # issue the new temp basal
# if >30m @ 0 required, zero temp will be extended to 30m instead
elif (eventualBG > bgTargetMax): # if eventual BG is above target
# calculate 30m high-temp required to get projected BG down to target
insulinReq = (bgTargetMax - eventualBG) / profile[isf] # negative insulin required to get down to max
rate = currentTempBasal - (2 * insulinRequired) # rate required to deliver insulinReq more insulin over 30m
if (rate > currentTempBasal): # if required temp > existing basal
setTempBasal(rate, 30) # issue the new temp basal
# if new temp basal > max temp basal, max temp will be extended to 30m instead
#-----------------------------------------------------------------------------------------------------------------
# MAIN
onStartup()
while True:
everyFewMinutes()
time.sleep(180)
'''
function everyFewMinutes() {
#Collect real-time info every few minutes:
bg = getBG(now); # Current BG from fingerstick or CGM
delta = getBGDelta(now); # Current change in BG / BG trend (+ / - / 0)
iob = getIOB(now); # Current IOB, reported by (or calculated from) pump
tempBasalHistory = getTempBasalHistory(); # time, duration (hours), and rate (U/hr) of any temp basals
# not included in IOB (limited to last dia hours)
bolusHistory = getBolusHistory(); # time and size (U) of boluses for last dia hours
netIOB = getNetIOB(iob, tempBasalHistory); # Calculate net IOB, taking into account temp basals
function getNetIOB(iob, tempBasalHistory) {
foreach tempBasal in tempBasalHistory {
normalBasal = basalLookup(tempbasal.time);
netInsulin = (tempBasal.rate - normalBasal) * tempBasal.duration; # How much insulin (+/-)
hoursAgo = now – basal.time; # hours since basal was started
if(hoursAgo > profile.dia) { iobContrib = 0; next; } # getBasalHistory shouldn’t pass any old basals,
# but ignore them if it does
iobContrib = netInsulin * (profile.dia - hoursAgo) / profile.dia # simple straight-line IOB decay.
# For manual/mental calculation, iobContrib can be approximated by using round-number math.
iob = iob + iobContrib; # (add/subtract each basal’s net impact to the pump’s IOB number)
}
return(iob);
}; # end function getNetIOB(iob, tempBasalHistory)
#Perform intermediate calculations based on latest BG and insulin history
# When the user does a manual bolus, we assume they know what they're doing, and try to avoid counteracting it.
# To do so, we snooze OpenAPS to avoid low-temps for a certain number of hours for each 1U bolused.
snoozeFactor = getSnoozeFactor(); # Hours to snooze after each 1U bolus
getSnoozeFactor(){ return 0.5; } # By default, 1U = 30m; 6U = 3h
function bolusSnooze(bolusHistory, snoozeFactor) {
snoozeUntil = now;
foreach bolus in bolusHistory {
# extend the snooze time if appropriate based on IOB after each bolus
snoozeHours = min(profile.dia, getIOB(bolus.time) * snoozeFactor)); # don't snooze more than dia hours
snoozeUntil = max(snoozeUntil, bolus.time + snoozeHours); # extend snooze if appropriate
}
return snoozeUntil;
}; # end function bolusSnooze(bolusHistory, snoozeFactor)
snoozeUntil = bolusSnooze(bolusHistory, snoozeFactor);
if (snoozeUntil > now) {
return 0; # no action
}
eventualBG = bg - (netIOB * profile.isf) ; # BG expected after dia hours, once all net IOB takes effect
# If bg < profile.bgSuspend and BG is not rising, temp to zero
currentTempBasal = calcCurrentTempBasal(tempBasalHistory); # current temp basal rate, or null
function setTempBasal(rate, duration) {
maxSafeBasal = min(profile.maxBasal, 2 * maxBasalLookup, 4 * basalLookup(now));
if (rate < 0) { rate = 0; } # you can't give less than 0 U/hr
elseif (rate > maxSafeBasal) { rate = maxSafeBasal; } # don't give more than maxSafeBasal
# issue rate U/hr temp for duration minutes
system("temp-basal.py --rate rate --duration duration");
}; # end function setTempBasal(rate)
if (bg < profile.bgSuspend) {
if (delta > 0) { # if BG is rising
if (currentTempBasal > basalLookup(now)) { # if a high-temp is running
setTempBasal(0, 0); # cancel temp
}
}
else { # (delta <= 0), BG is not yet rising
setTempBasal(0, 30);
}
}
# if BG is rising but eventual BG is below target, or BG is falling but eventual BG is above target,
# then cancel any temp basals.
if ((delta > 0 && eventualBG < bgTargetMin) || (delta < 0 && eventualBG > bgTargetMax)) {
if (currentTempBasal) { # if there is currently any temp basal running
setTempBasal(0, 0); # cancel temp
}
} elseif (eventualBG < bgTargetMin) { # if eventual BG is below target:
# calculate 30m low-temp required to get projected BG up to target
insulinReq = (bgTargetMin - eventualBG) / isf; # negative insulin required to get up to min
rate = currentTempBasal - 2 * insulinRequired; # rate required to deliver insulinReq less insulin over 30m
if (rate < currentTempBasal) { # if required temp < existing basal
setTempBasal(rate, 30); # issue the new temp basal
} # if >30m @ 0 required, zero temp will be extended to 30m instead
} elseif (eventualBG > bgTargetMax) { # if eventual BG is above target:
# calculate 30m high-temp required to get projected BG down to target
insulinReq = (bgTargetMax - eventualBG) / isf; # negative insulin required to get down to max
rate = currentTempBasal - 2 * insulinRequired; # rate required to deliver insulinReq more insulin over 30m
if (rate > currentTempBasal) { # if required temp > existing basal
setTempBasal(rate, 30); # issue the new temp basal
} # if new temp basal > max temp basal, max temp will be extended to 30m instead
}
}; # end funciton everyFewMinutes()
'''
# NOTES TO USE LATER:
'''
#If you are working with files instead of strings, you can alternatively
use json.dump() and json.load() to encode and decode JSON data.
For example:
import json
# Writing JSON data
with open('data.json', 'w') as f:
json.dump(data, f)
# Reading data back
with open('data.json', 'r') as f:
data = json.load(f)
'''
#TODO:
# - UPLOAD STATUS TO NIGHTSCOUT, PER CALABRESE ON GITTER
# - figure out how to keep log file continually up-to-date on Git
# - figure out how to ssh into raspi and get logs
'''
From docs: (gitbook)
Components of that system that you might need to add and invoke would be recent glucose data,
recent pump history, the time, battery status, pump settings, carb ratios, the current basal
profile, insulin sensitivities, blood glucose targets, and the status of the pump.
Are there groupings of these reports that you imagine would be called at the same time? For
example, in a closed-loop setup, the pump settings, blood glucose targets, insulin
sensitivities, the basal profile, and carb ratios would not need to be checked as often as the
current pump status, battery status, clock, recent blood sugars, and recent pump history.
--- Reports:
-- occasionally:
pump settings
blood glucose targets
insulin sensitivities
basal profile
carb ratios
-- regularly
current pump status
battery status
clock time
recent glucose data
recent pump history
'''
|
mikestebbins/Openaps
|
!ARCHIVE/Non-runnable_pseudocode.py
|
Python
|
mit
| 14,230 |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Meta;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using TTC2017.SmartGrids.CIM.IEC61970.Core;
namespace TTC2017.SmartGrids.CIM.IEC61970.Equivalents
{
/// <summary>
/// The public interface for EquivalentShunt
/// </summary>
[DefaultImplementationTypeAttribute(typeof(EquivalentShunt))]
[XmlDefaultImplementationTypeAttribute(typeof(EquivalentShunt))]
public interface IEquivalentShunt : IModelElement, IEquivalentEquipment
{
/// <summary>
/// The b property
/// </summary>
float B
{
get;
set;
}
/// <summary>
/// The g property
/// </summary>
float G
{
get;
set;
}
/// <summary>
/// Gets fired before the B property changes its value
/// </summary>
event System.EventHandler<ValueChangedEventArgs> BChanging;
/// <summary>
/// Gets fired when the B property changed its value
/// </summary>
event System.EventHandler<ValueChangedEventArgs> BChanged;
/// <summary>
/// Gets fired before the G property changes its value
/// </summary>
event System.EventHandler<ValueChangedEventArgs> GChanging;
/// <summary>
/// Gets fired when the G property changed its value
/// </summary>
event System.EventHandler<ValueChangedEventArgs> GChanged;
}
}
|
georghinkel/ttc2017smartGrids
|
solutions/NMF/Schema/IEC61970/Equivalents/IEquivalentShunt.cs
|
C#
|
mit
| 2,373 |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "blockencodings.h"
#include "consensus/merkle.h"
#include "chainparams.h"
#include "random.h"
#include "test/test_bitcoin.h"
#include <boost/test/unit_test.hpp>
std::vector<std::pair<uint256, CTransactionRef>> extra_txn;
struct RegtestingSetup : public TestingSetup {
RegtestingSetup() : TestingSetup(CBaseChainParams::REGTEST) {}
};
BOOST_FIXTURE_TEST_SUITE(blockencodings_tests, RegtestingSetup)
static CBlock BuildBlockTestCase() {
CBlock block;
CMutableTransaction tx;
tx.vin.resize(1);
tx.vin[0].scriptSig.resize(10);
tx.vout.resize(1);
tx.vout[0].nValue = 42;
block.vtx.resize(3);
block.vtx[0] = MakeTransactionRef(tx);
block.nVersion = 42;
block.hashPrevBlock = GetRandHash();
block.nBits = 0x207fffff;
tx.vin[0].prevout.hash = GetRandHash();
tx.vin[0].prevout.n = 0;
block.vtx[1] = MakeTransactionRef(tx);
tx.vin.resize(10);
for (size_t i = 0; i < tx.vin.size(); i++) {
tx.vin[i].prevout.hash = GetRandHash();
tx.vin[i].prevout.n = 0;
}
block.vtx[2] = MakeTransactionRef(tx);
bool mutated;
block.hashMerkleRoot = BlockMerkleRoot(block, &mutated);
assert(!mutated);
while (!CheckProofOfWork(block.GetPoWHash(), block.nBits, Params().GetConsensus())) ++block.nNonce;
return block;
}
// Number of shared use_counts we expect for a tx we havent touched
// == 2 (mempool + our copy from the GetSharedTx call)
#define SHARED_TX_OFFSET 2
BOOST_AUTO_TEST_CASE(SimpleRoundTripTest)
{
CTxMemPool pool(CFeeRate(0));
TestMemPoolEntryHelper entry;
CBlock block(BuildBlockTestCase());
pool.addUnchecked(block.vtx[2]->GetHash(), entry.FromTx(*block.vtx[2]));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 0);
// Do a simple ShortTxIDs RT
{
CBlockHeaderAndShortTxIDs shortIDs(block, true);
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << shortIDs;
CBlockHeaderAndShortTxIDs shortIDs2;
stream >> shortIDs2;
PartiallyDownloadedBlock partialBlock(&pool);
BOOST_CHECK(partialBlock.InitData(shortIDs2, extra_txn) == READ_STATUS_OK);
BOOST_CHECK( partialBlock.IsTxAvailable(0));
BOOST_CHECK(!partialBlock.IsTxAvailable(1));
BOOST_CHECK( partialBlock.IsTxAvailable(2));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1);
size_t poolSize = pool.size();
pool.removeRecursive(*block.vtx[2]);
BOOST_CHECK_EQUAL(pool.size(), poolSize - 1);
CBlock block2;
{
PartiallyDownloadedBlock tmp = partialBlock;
BOOST_CHECK(partialBlock.FillBlock(block2, {}) == READ_STATUS_INVALID); // No transactions
partialBlock = tmp;
}
// Wrong transaction
{
PartiallyDownloadedBlock tmp = partialBlock;
partialBlock.FillBlock(block2, {block.vtx[2]}); // Current implementation doesn't check txn here, but don't require that
partialBlock = tmp;
}
bool mutated;
BOOST_CHECK(block.hashMerkleRoot != BlockMerkleRoot(block2, &mutated));
CBlock block3;
BOOST_CHECK(partialBlock.FillBlock(block3, {block.vtx[1]}) == READ_STATUS_OK);
BOOST_CHECK_EQUAL(block.GetPoWHash().ToString(), block3.GetPoWHash().ToString());
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block3, &mutated).ToString());
BOOST_CHECK(!mutated);
}
}
class TestHeaderAndShortIDs {
// Utility to encode custom CBlockHeaderAndShortTxIDs
public:
CBlockHeader header;
uint64_t nonce;
std::vector<uint64_t> shorttxids;
std::vector<PrefilledTransaction> prefilledtxn;
TestHeaderAndShortIDs(const CBlockHeaderAndShortTxIDs& orig) {
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << orig;
stream >> *this;
}
TestHeaderAndShortIDs(const CBlock& block) :
TestHeaderAndShortIDs(CBlockHeaderAndShortTxIDs(block, true)) {}
uint64_t GetShortID(const uint256& txhash) const {
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << *this;
CBlockHeaderAndShortTxIDs base;
stream >> base;
return base.GetShortID(txhash);
}
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action) {
READWRITE(header);
READWRITE(nonce);
size_t shorttxids_size = shorttxids.size();
READWRITE(VARINT(shorttxids_size));
shorttxids.resize(shorttxids_size);
for (size_t i = 0; i < shorttxids.size(); i++) {
uint32_t lsb = shorttxids[i] & 0xffffffff;
uint16_t msb = (shorttxids[i] >> 32) & 0xffff;
READWRITE(lsb);
READWRITE(msb);
shorttxids[i] = (uint64_t(msb) << 32) | uint64_t(lsb);
}
READWRITE(prefilledtxn);
}
};
BOOST_AUTO_TEST_CASE(NonCoinbasePreforwardRTTest)
{
CTxMemPool pool(CFeeRate(0));
TestMemPoolEntryHelper entry;
CBlock block(BuildBlockTestCase());
pool.addUnchecked(block.vtx[2]->GetHash(), entry.FromTx(*block.vtx[2]));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 0);
uint256 txhash;
// Test with pre-forwarding tx 1, but not coinbase
{
TestHeaderAndShortIDs shortIDs(block);
shortIDs.prefilledtxn.resize(1);
shortIDs.prefilledtxn[0] = {1, block.vtx[1]};
shortIDs.shorttxids.resize(2);
shortIDs.shorttxids[0] = shortIDs.GetShortID(block.vtx[0]->GetHash());
shortIDs.shorttxids[1] = shortIDs.GetShortID(block.vtx[2]->GetHash());
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << shortIDs;
CBlockHeaderAndShortTxIDs shortIDs2;
stream >> shortIDs2;
PartiallyDownloadedBlock partialBlock(&pool);
BOOST_CHECK(partialBlock.InitData(shortIDs2, extra_txn) == READ_STATUS_OK);
BOOST_CHECK(!partialBlock.IsTxAvailable(0));
BOOST_CHECK( partialBlock.IsTxAvailable(1));
BOOST_CHECK( partialBlock.IsTxAvailable(2));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[2]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1);
CBlock block2;
{
PartiallyDownloadedBlock tmp = partialBlock;
BOOST_CHECK(partialBlock.FillBlock(block2, {}) == READ_STATUS_INVALID); // No transactions
partialBlock = tmp;
}
// Wrong transaction
{
PartiallyDownloadedBlock tmp = partialBlock;
partialBlock.FillBlock(block2, {block.vtx[1]}); // Current implementation doesn't check txn here, but don't require that
partialBlock = tmp;
}
bool mutated;
BOOST_CHECK(block.hashMerkleRoot != BlockMerkleRoot(block2, &mutated));
CBlock block3;
PartiallyDownloadedBlock partialBlockCopy = partialBlock;
BOOST_CHECK(partialBlock.FillBlock(block3, {block.vtx[0]}) == READ_STATUS_OK);
BOOST_CHECK_EQUAL(block.GetPoWHash().ToString(), block3.GetPoWHash().ToString());
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block3, &mutated).ToString());
BOOST_CHECK(!mutated);
txhash = block.vtx[2]->GetHash();
block.vtx.clear();
block2.vtx.clear();
block3.vtx.clear();
BOOST_CHECK_EQUAL(pool.mapTx.find(txhash)->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1); // + 1 because of partialBlockCopy.
}
BOOST_CHECK_EQUAL(pool.mapTx.find(txhash)->GetSharedTx().use_count(), SHARED_TX_OFFSET + 0);
}
BOOST_AUTO_TEST_CASE(SufficientPreforwardRTTest)
{
CTxMemPool pool(CFeeRate(0));
TestMemPoolEntryHelper entry;
CBlock block(BuildBlockTestCase());
pool.addUnchecked(block.vtx[1]->GetHash(), entry.FromTx(*block.vtx[1]));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[1]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 0);
uint256 txhash;
// Test with pre-forwarding coinbase + tx 2 with tx 1 in mempool
{
TestHeaderAndShortIDs shortIDs(block);
shortIDs.prefilledtxn.resize(2);
shortIDs.prefilledtxn[0] = {0, block.vtx[0]};
shortIDs.prefilledtxn[1] = {1, block.vtx[2]}; // id == 1 as it is 1 after index 1
shortIDs.shorttxids.resize(1);
shortIDs.shorttxids[0] = shortIDs.GetShortID(block.vtx[1]->GetHash());
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << shortIDs;
CBlockHeaderAndShortTxIDs shortIDs2;
stream >> shortIDs2;
PartiallyDownloadedBlock partialBlock(&pool);
BOOST_CHECK(partialBlock.InitData(shortIDs2, extra_txn) == READ_STATUS_OK);
BOOST_CHECK( partialBlock.IsTxAvailable(0));
BOOST_CHECK( partialBlock.IsTxAvailable(1));
BOOST_CHECK( partialBlock.IsTxAvailable(2));
BOOST_CHECK_EQUAL(pool.mapTx.find(block.vtx[1]->GetHash())->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1);
CBlock block2;
PartiallyDownloadedBlock partialBlockCopy = partialBlock;
BOOST_CHECK(partialBlock.FillBlock(block2, {}) == READ_STATUS_OK);
BOOST_CHECK_EQUAL(block.GetPoWHash().ToString(), block2.GetPoWHash().ToString());
bool mutated;
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block2, &mutated).ToString());
BOOST_CHECK(!mutated);
txhash = block.vtx[1]->GetHash();
block.vtx.clear();
block2.vtx.clear();
BOOST_CHECK_EQUAL(pool.mapTx.find(txhash)->GetSharedTx().use_count(), SHARED_TX_OFFSET + 1); // + 1 because of partialBlockCopy.
}
BOOST_CHECK_EQUAL(pool.mapTx.find(txhash)->GetSharedTx().use_count(), SHARED_TX_OFFSET + 0);
}
BOOST_AUTO_TEST_CASE(EmptyBlockRoundTripTest)
{
CTxMemPool pool(CFeeRate(0));
CMutableTransaction coinbase;
coinbase.vin.resize(1);
coinbase.vin[0].scriptSig.resize(10);
coinbase.vout.resize(1);
coinbase.vout[0].nValue = 42;
CBlock block;
block.vtx.resize(1);
block.vtx[0] = MakeTransactionRef(std::move(coinbase));
block.nVersion = 42;
block.hashPrevBlock = GetRandHash();
block.nBits = 0x207fffff;
bool mutated;
block.hashMerkleRoot = BlockMerkleRoot(block, &mutated);
assert(!mutated);
while (!CheckProofOfWork(block.GetPoWHash(), block.nBits, Params().GetConsensus())) ++block.nNonce;
// Test simple header round-trip with only coinbase
{
CBlockHeaderAndShortTxIDs shortIDs(block, false);
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << shortIDs;
CBlockHeaderAndShortTxIDs shortIDs2;
stream >> shortIDs2;
PartiallyDownloadedBlock partialBlock(&pool);
BOOST_CHECK(partialBlock.InitData(shortIDs2, extra_txn) == READ_STATUS_OK);
BOOST_CHECK(partialBlock.IsTxAvailable(0));
CBlock block2;
std::vector<CTransactionRef> vtx_missing;
BOOST_CHECK(partialBlock.FillBlock(block2, vtx_missing) == READ_STATUS_OK);
BOOST_CHECK_EQUAL(block.GetPoWHash().ToString(), block2.GetPoWHash().ToString());
BOOST_CHECK_EQUAL(block.hashMerkleRoot.ToString(), BlockMerkleRoot(block2, &mutated).ToString());
BOOST_CHECK(!mutated);
}
}
BOOST_AUTO_TEST_CASE(TransactionsRequestSerializationTest) {
BlockTransactionsRequest req1;
req1.blockhash = GetRandHash();
req1.indexes.resize(4);
req1.indexes[0] = 0;
req1.indexes[1] = 1;
req1.indexes[2] = 3;
req1.indexes[3] = 4;
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
stream << req1;
BlockTransactionsRequest req2;
stream >> req2;
BOOST_CHECK_EQUAL(req1.blockhash.ToString(), req2.blockhash.ToString());
BOOST_CHECK_EQUAL(req1.indexes.size(), req2.indexes.size());
BOOST_CHECK_EQUAL(req1.indexes[0], req2.indexes[0]);
BOOST_CHECK_EQUAL(req1.indexes[1], req2.indexes[1]);
BOOST_CHECK_EQUAL(req1.indexes[2], req2.indexes[2]);
BOOST_CHECK_EQUAL(req1.indexes[3], req2.indexes[3]);
}
BOOST_AUTO_TEST_SUITE_END()
|
xieta/mincoin
|
src/test/blockencodings_tests.cpp
|
C++
|
mit
| 12,444 |
<?php
/**
* Getting Docs List
*/
class Rtfd_Action_GetDocs extends Rtfd_Abstract_Action {
/**
* from database getting allowed docs
*/
public function start() {
// current user id
$user_id = $this->get_config()->get_user_id();
// group id
$group_id = $this->get_config()->get_group_id();
// current user privilege level
$privilege_level = $this->get_config()->get_privilege_level();
// create database helper
$helper = new Rtfd_Helper_Database();
// getting all docs
$docs = $helper->fetch_all(
"select
`name`
from `docs`
where `min_privilege_level`<='{$privilege_level}'
or `owner_id`='{$user_id}'
or `group_id`='{$group_id}'
;"
);
// make response
Rtfd_Response::json_response($docs);
}
}
|
JShadowMan/package
|
php/rtfd-server/Service/Rtfd/Action/GetDocs.php
|
PHP
|
mit
| 981 |
using System.Collections.ObjectModel;
using Core.ViewModel;
namespace Agent.ViewModel
{
class NewsViewModel : VM
{
private GameViewModel GameView;
public ObservableCollection<PostViewModel> News => GameView.News;
public NewsViewModel(GameViewModel gameView)
{
GameView = gameView;
}
}
}
|
arrer/WarframeAgent
|
Agent/Agent/ViewModel/NewsViewModel.cs
|
C#
|
mit
| 357 |
## 使用线程同时运行代码
> [ch16-01-threads.md](https://github.com/rust-lang/book/blob/master/second-edition/src/ch16-01-threads.md)
> <br>
> commit 55b294f20fc846a13a9be623bf322d8b364cee77
在今天使用的大部分操作系统中,当程序执行时,操作系统运行代码的上下文称为**进程**(*process*)。操作系统可以运行很多进程,而操作系统也管理这些进程使得多个程序可以在电脑上同时运行。
我们可以将每个进程运行一个程序的概念再往下抽象一层:程序也可以在其上下文中同时运行独立的部分。这个功能叫做**线程**(*thread*)。
将程序需要执行的计算拆分到多个线程中可以提高性能,因为程序可以在同时进行很多工作。不过使用线程会增加程序复杂性。因为线程是同时运行的,所以无法预先保证不同线程中的代码的执行顺序。这可能会由于线程以不一致的顺序访问数据或资源而导致竞争状态,或由于两个线程相互阻止对方继续运行而造成死锁,以及仅仅出现于特定场景并难以稳定重现的 bug。Rust 减少了这些或那些使用线程的负面影响,不过在多线程上下文中编程,相比只期望在单个线程中运行的程序,仍然要采用不同的思考方式和代码结构。
编程语言有一些不同的方法来实现线程。很多操作系统提供了创建新线程的 API。另外,很多编程语言提供了自己的特殊的线程实现。编程语言提供的线程有时被称作**轻量级**(*lightweight*)或**绿色**(*green*)线程。这些语言将一系列绿色线程放入不同数量的操作系统线程中执行。因为这个原因,语言调用操作系统 API 创建线程的模型有时被称为 *1:1*,一个 OS 线程对应一个语言线程。绿色线程模型被称为 *M:N* 模型,`M`个绿色线程对应`N`个 OS 线程,这里`M`和`N`不必相同。
每一个模型都有其自己的优势和取舍。对于 Rust 来说最重要的取舍是运行时支持。**运行时**是一个令人迷惑的概念;在不同上下文中它可能有不同的含义。这里其代表二进制文件中包含的语言自身的代码。对于一些语言,这些代码是庞大的,另一些则很小。通俗的说,“没有运行时”通常被人们用来指代“小运行时”,因为任何非汇编语言都存在一定数量的运行时。更小的运行时拥有更少的功能不过其优势在于更小的二进制输出。更小的二进制文件更容易在更多上下文中与其他语言结合。虽然很多语言觉得增加运行时来换取更多功能没有什么问题,但是 Rust 需要做到几乎没有运行时,同时为了保持高性能必需能够调用 C 语言,这点也是不能妥协的。
绿色线程模型功能要求更大的运行时来管理这些线程。为此,Rust 标准库只提供了 1:1 线程模型实现。因为 Rust 是这么一个底层语言,所以有相应的 crate 实现了 M:N 线程模型,如果你宁愿牺牲性能来换取例如更好的线程运行控制和更低的上下文切换成本。
现在我们明白了 Rust 中的线程是如何定义的,让我们开始探索如何使用标准库提供的线程相关的 API吧。
### 使用`spawn`创建新线程
为了创建一个新线程,调用`thread::spawn`函数并传递一个闭包(第十三章学习了闭包),它包含希望在新线程运行的代码。列表 16-1 中的例子在新线程中打印了一些文本而其余的文本在主线程中打印:
<span class="filename">Filename: src/main.rs</span>
```rust
use std::thread;
fn main() {
thread::spawn(|| {
for i in 1..10 {
println!("hi number {} from the spawned thread!", i);
}
});
for i in 1..5 {
println!("hi number {} from the main thread!", i);
}
}
```
<span class="caption">Listing 16-1: Creating a new thread to print one thing
while the main thread is printing something else</span>
注意这个函数编写的方式,当主线程结束时,它也会停止新线程。这个程序的输出每次可能都略微不同,不过它大体上看起来像这样:
```text
hi number 1 from the main thread!
hi number 1 from the spawned thread!
hi number 2 from the main thread!
hi number 2 from the spawned thread!
hi number 3 from the main thread!
hi number 3 from the spawned thread!
hi number 4 from the main thread!
hi number 4 from the spawned thread!
hi number 5 from the spawned thread!
```
这些线程可能会轮流运行,不过并不保证如此。在这里,主线程先行打印,即便新创建线程的打印语句位于程序的开头。甚至即便我们告诉新建的线程打印直到`i`等于 9 ,它在主线程结束之前也只打印到了 5。如果你只看到了一个线程,或没有出现重叠打印的现象,尝试增加 range 的数值来增加线程暂停并切换到其他线程运行的机会。
#### 使用`join`等待所有线程结束
由于主线程先于新建线程结束,不仅列表 16-1 中的代码大部分时候不能保证新建线程执行完毕,甚至不能实际保证新建线程会被执行!可以通过保存`thread::spawn`的返回值来解决这个问题,这是一个`JoinHandle`。这看起来如列表 16-2 所示:
<span class="filename">Filename: src/main.rs</span>
```rust
use std::thread;
fn main() {
let handle = thread::spawn(|| {
for i in 1..10 {
println!("hi number {} from the spawned thread!", i);
}
});
for i in 1..5 {
println!("hi number {} from the main thread!", i);
}
handle.join();
}
```
<span class="caption">Listing 16-2: Saving a `JoinHandle` from `thread::spawn`
to guarantee the thread is run to completion</span>
`JoinHandle`是一个拥有所有权的值,它可以等待一个线程结束,这也正是`join`方法所做的。通过调用这个句柄的`join`,当前线程会阻塞直到句柄所代表的线程结束。因为我们将`join`调用放在了主线程的`for`循环之后,运行这个例子将产生类似这样的输出:
```
hi number 1 from the main thread!
hi number 2 from the main thread!
hi number 1 from the spawned thread!
hi number 3 from the main thread!
hi number 2 from the spawned thread!
hi number 4 from the main thread!
hi number 3 from the spawned thread!
hi number 4 from the spawned thread!
hi number 5 from the spawned thread!
hi number 6 from the spawned thread!
hi number 7 from the spawned thread!
hi number 8 from the spawned thread!
hi number 9 from the spawned thread!
```
这两个线程仍然会交替执行,不过主线程会由于`handle.join()`调用会等待直到新建线程执行完毕。
如果将`handle.join()`放在主线程的`for`循环之前,像这样:
<span class="filename">Filename: src/main.rs</span>
```rust
use std::thread;
fn main() {
let handle = thread::spawn(|| {
for i in 1..10 {
println!("hi number {} from the spawned thread!", i);
}
});
handle.join();
for i in 1..5 {
println!("hi number {} from the main thread!", i);
}
}
```
主线程会等待直到新建线程执行完毕之后才开始执行`for`循环,所以输出将不会交替出现:
```
hi number 1 from the spawned thread!
hi number 2 from the spawned thread!
hi number 3 from the spawned thread!
hi number 4 from the spawned thread!
hi number 5 from the spawned thread!
hi number 6 from the spawned thread!
hi number 7 from the spawned thread!
hi number 8 from the spawned thread!
hi number 9 from the spawned thread!
hi number 1 from the main thread!
hi number 2 from the main thread!
hi number 3 from the main thread!
hi number 4 from the main thread!
```
稍微考虑一下将`join`放置与何处会影响线程是否同时运行。
### 线程和`move`闭包
第十三章有一个我们没有讲到的闭包功能,它经常用于`thread::spawn`:`move`闭包。第十三章中讲到:
> 获取他们环境中值的闭包主要用于开始新线程的场景
现在我们正在创建新线程,所以让我们讨论一下获取环境值的闭包吧!
注意列表 16-1 中传递给`thread::spawn`的闭包并没有任何参数:并没有在新建线程代码中使用任何主线程的数据。为了在新建线程中使用来自于主线程的数据,需要新建线程的闭包获取它需要的值。列表 16-3 展示了一个尝试在主线程中创建一个 vector 并用于新建线程的例子,不过这么写还不能工作:
<span class="filename">Filename: src/main.rs</span>
```rust,ignore
use std::thread;
fn main() {
let v = vec![1, 2, 3];
let handle = thread::spawn(|| {
println!("Here's a vector: {:?}", v);
});
handle.join();
}
```
<span class="caption">Listing 16-3: Attempting to use a vector created by the
main thread from another thread</span>
闭包使用了`v`,所以闭包会获取`v`并使其成为闭包环境的一部分。因为`thread::spawn`在一个新线程中运行这个闭包,所以可以在新线程中访问`v`。
然而当编译这个例子时,会得到如下错误:
```
error[E0373]: closure may outlive the current function, but it borrows `v`,
which is owned by the current function
-->
|
6 | let handle = thread::spawn(|| {
| ^^ may outlive borrowed value `v`
7 | println!("Here's a vector: {:?}", v);
| - `v` is borrowed here
|
help: to force the closure to take ownership of `v` (and any other referenced
variables), use the `move` keyword, as shown:
| let handle = thread::spawn(move || {
```
当在闭包环境中获取某些值时,Rust 会尝试推断如何获取它。`println!`只需要`v`的一个引用,所以闭包尝试借用`v`。但是这有一个问题:我们并不知道新建线程会运行多久,所以无法知道`v`是否一直时有效的。
考虑一下列表 16-4 中的代码,它展示了一个`v`的引用很有可能不再有效的场景:
<span class="filename">Filename: src/main.rs</span>
```rust,ignore
use std::thread;
fn main() {
let v = vec![1, 2, 3];
let handle = thread::spawn(|| {
println!("Here's a vector: {:?}", v);
});
drop(v); // oh no!
handle.join();
}
```
<span class="caption">Listing 16-4: A thread with a closure that attempts to
capture a reference to `v` from a main thread that drops `v`</span>
这些代码可以运行,而新建线程则可能直接就出错了并完全没有机会运行。新建线程内部有一个`v`的引用,不过主线程仍在执行:它立刻丢弃了`v`,使用了第十五章提到的显式丢弃其参数的`drop`函数。接着,新建线程开始执行,现在`v`是无效的了,所以它的引用也就是无效的。噢,这太糟了!
为了修复这个问题,我们可以听取错误信息的建议:
```
help: to force the closure to take ownership of `v` (and any other referenced
variables), use the `move` keyword, as shown:
| let handle = thread::spawn(move || {
```
通过在闭包之前增加`move`关键字,我们强制闭包获取它使用的值的所有权,而不是引用借用。列表 16-5 中展示的对列表 16-3 代码的修改可以按照我们的预期编译并运行:
<span class="filename">Filename: src/main.rs</span>
```rust
use std::thread;
fn main() {
let v = vec![1, 2, 3];
let handle = thread::spawn(move || {
println!("Here's a vector: {:?}", v);
});
handle.join();
}
```
<span class="caption">Listing 16-5: Using the `move` keyword to force a closure
to take ownership of the values it uses</span>
那么列表 16-4 中那个主线程调用了`drop`的代码该怎么办呢?如果在闭包上增加了`move`,就将`v`移动到了闭包的环境中,我们将不能对其调用`drop`了。相反会出现这个编译时错误:
```
error[E0382]: use of moved value: `v`
-->
|
6 | let handle = thread::spawn(move || {
| ------- value moved (into closure) here
...
10 | drop(v); // oh no!
| ^ value used here after move
|
= note: move occurs because `v` has type `std::vec::Vec<i32>`, which does
not implement the `Copy` trait
```
Rust 的所有权规则又一次帮助了我们!
现在我们有一个线程和线程 API 的基本了解,让我们讨论一下使用线程实际可以**做**什么吧。
|
heibor/trpl-zh-cn
|
src/ch16-01-threads.md
|
Markdown
|
mit
| 12,572 |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Checkout\Block;
use Magento\Customer\Model\Context;
/**
* Shopping cart block
*/
class Cart extends \Magento\Checkout\Block\Cart\AbstractCart
{
/**
* @var \Magento\Catalog\Model\ResourceModel\Url
*/
protected $_catalogUrlBuilder;
/**
* @var \Magento\Framework\App\Http\Context
*/
protected $httpContext;
/**
* @var \Magento\Checkout\Helper\Cart
*/
protected $_cartHelper;
/**
* @param \Magento\Framework\View\Element\Template\Context $context
* @param \Magento\Customer\Model\Session $customerSession
* @param \Magento\Checkout\Model\Session $checkoutSession
* @param \Magento\Catalog\Model\ResourceModel\Url $catalogUrlBuilder
* @param \Magento\Checkout\Helper\Cart $cartHelper
* @param \Magento\Framework\App\Http\Context $httpContext
* @param array $data
* @codeCoverageIgnore
*/
public function __construct(
\Magento\Framework\View\Element\Template\Context $context,
\Magento\Customer\Model\Session $customerSession,
\Magento\Checkout\Model\Session $checkoutSession,
\Magento\Catalog\Model\ResourceModel\Url $catalogUrlBuilder,
\Magento\Checkout\Helper\Cart $cartHelper,
\Magento\Framework\App\Http\Context $httpContext,
array $data = []
) {
$this->_cartHelper = $cartHelper;
$this->_catalogUrlBuilder = $catalogUrlBuilder;
parent::__construct($context, $customerSession, $checkoutSession, $data);
$this->_isScopePrivate = true;
$this->httpContext = $httpContext;
}
/**
* Prepare Quote Item Product URLs
*
* @codeCoverageIgnore
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->prepareItemUrls();
}
/**
* prepare cart items URLs
*
* @return void
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
public function prepareItemUrls()
{
$products = [];
/* @var $item \Magento\Quote\Model\Quote\Item */
foreach ($this->getItems() as $item) {
$product = $item->getProduct();
$option = $item->getOptionByCode('product_type');
if ($option) {
$product = $option->getProduct();
}
if ($item->getStoreId() != $this->_storeManager->getStore()->getId() &&
!$item->getRedirectUrl() &&
!$product->isVisibleInSiteVisibility()
) {
$products[$product->getId()] = $item->getStoreId();
}
}
if ($products) {
$products = $this->_catalogUrlBuilder->getRewriteByProductStore($products);
foreach ($this->getItems() as $item) {
$product = $item->getProduct();
$option = $item->getOptionByCode('product_type');
if ($option) {
$product = $option->getProduct();
}
if (isset($products[$product->getId()])) {
$object = new \Magento\Framework\DataObject($products[$product->getId()]);
$item->getProduct()->setUrlDataObject($object);
}
}
}
}
/**
* @codeCoverageIgnore
* @return bool
*/
public function hasError()
{
return $this->getQuote()->getHasError();
}
/**
* @codeCoverageIgnore
* @return int
*/
public function getItemsSummaryQty()
{
return $this->getQuote()->getItemsSummaryQty();
}
/**
* @codeCoverageIgnore
* @return bool
*/
public function isWishlistActive()
{
$isActive = $this->_getData('is_wishlist_active');
if ($isActive === null) {
$isActive = $this->_scopeConfig->getValue(
'wishlist/general/active',
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
) && $this->httpContext->getValue(
Context::CONTEXT_AUTH
);
$this->setIsWishlistActive($isActive);
}
return $isActive;
}
/**
* @codeCoverageIgnore
* @return string
*/
public function getCheckoutUrl()
{
return $this->getUrl('checkout', ['_secure' => true]);
}
/**
* @return string
*/
public function getContinueShoppingUrl()
{
$url = $this->getData('continue_shopping_url');
if ($url === null) {
$url = $this->_checkoutSession->getContinueShoppingUrl(true);
if (!$url) {
$url = $this->_urlBuilder->getUrl();
}
$this->setData('continue_shopping_url', $url);
}
return $url;
}
/**
* @return bool
* @codeCoverageIgnore
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
*/
public function getIsVirtual()
{
return $this->_cartHelper->getIsVirtualQuote();
}
/**
* Return list of available checkout methods
*
* @param string $alias Container block alias in layout
* @return array
*/
public function getMethods($alias)
{
$childName = $this->getLayout()->getChildName($this->getNameInLayout(), $alias);
if ($childName) {
return $this->getLayout()->getChildNames($childName);
}
return [];
}
/**
* Return HTML of checkout method (link, button etc.)
*
* @param string $name Block name in layout
* @return string
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getMethodHtml($name)
{
$block = $this->getLayout()->getBlock($name);
if (!$block) {
throw new \Magento\Framework\Exception\LocalizedException(__('Invalid method: %1', $name));
}
return $block->toHtml();
}
/**
* Return customer quote items
*
* @return array
*/
public function getItems()
{
if ($this->getCustomItems()) {
return $this->getCustomItems();
}
return parent::getItems();
}
/**
* @codeCoverageIgnore
* @return int
*/
public function getItemsCount()
{
return $this->getQuote()->getItemsCount();
}
}
|
j-froehlich/magento2_wk
|
vendor/magento/module-checkout/Block/Cart.php
|
PHP
|
mit
| 6,429 |
'use strict';
var test = require('tape'),
gulpLicense = require('../'),
Vinyl = require('vinyl');
var testContentsInput = 'module.exports = void 0';
var testContentsExpected = '/*! (c) 2014 Terin Stock (MIT) */\nmodule.exports = void 0';
test('should add tiny license to file', function(t) {
t.plan(7);
var testFile = new Vinyl({
cwd: '/home/terin/broken-promises/',
base: '/home/terin/broken-promises/test',
path: '/home/terin/broken-promises/test/test1.js',
contents: new Buffer(testContentsInput)
});
var stream = gulpLicense('MIT', {tiny: true, organization: 'Terin Stock'});
stream.on('data', function(newFile) {
t.ok(newFile, 'emits a file');
t.ok(newFile.path, 'file has a path');
t.ok(newFile.relative, 'file has relative path information');
t.ok(newFile.contents, 'file has contents');
t.ok(newFile instanceof Vinyl, 'file is Vinyl');
t.ok(newFile.contents instanceof Buffer, 'file contents are a buffer');
t.equals(String(newFile.contents), testContentsExpected);
});
stream.write(testFile);
stream.end();
});
test('should add license to file', function(t) {
t.plan(11);
var testFile = new Vinyl({
cwd: '/home/terin/broken-promises/',
base: '/home/terin/broken-promises/test',
path: '/home/terin/broken-promises/test/test1.js',
contents: new Buffer(testContentsInput)
});
var stream = gulpLicense('MIT', {organization: 'Terin Stock'});
stream.on('data', function(newFile) {
var contents = String(newFile.contents);
t.ok(newFile, 'emits a file');
t.ok(newFile.path, 'file has a path');
t.ok(newFile.relative, 'file has relative path information');
t.ok(newFile.contents, 'file has contents');
t.ok(newFile instanceof Vinyl, 'file is Vinyl');
t.ok(newFile.contents instanceof Buffer, 'file contents are a buffer');
t.true(/The above copyright notice/.test(contents), 'contains MIT license');
t.false(/{{ year }}/.test(contents), 'does not contain template');
t.true(/2014/.test(contents), 'does contain the current year');
t.false(/{{ organization }}/.test(contents), 'does not contain template');
t.true(/Terin Stock/.test(contents), 'does contain the author name');
});
stream.write(testFile);
stream.end();
});
|
adoyle-h/gulp-license
|
test/license.js
|
JavaScript
|
mit
| 2,209 |
#!/bin/env sh
generate_crontab_time() {
local keytype="$1"
local keytag
local keyname
if [ "$keytype" = "zsk" ]; then
KEYTAG=`/usr/local/bin/dig @${SERVER} . soa +dnssec +short | awk '/SOA/{print $7}'`
elif [ "$keytype" = "ksk" ]; then
KEYTAG=`/usr/local/bin/dig @${SERVER} . dnskey +dnssec |awk '/RRSIG/{print $11}'`
else
echo "wrong dnskey type"
exit 1
fi
KEYNAME=`ls ${ROOT_KEY} |grep "${KEYTAG}" |grep "key"`
if [ -n "$KEYNAME" ]; then
INACTIVE_TIME_STRING=`awk -F'[()]' '/Inactive:/ {print $2}' ${ROOT_KEY}/${KEYNAME}`
INACTIVE_TIME=`date -d "$INACTIVE_TIME_STRING" +%Y%m%d%H%M%S`
INACTIVE_MONTH=`echo ${INACTIVE_TIME} |awk '{print substr($0,5,2)}'`
INACTIVE_DATE=`echo ${INACTIVE_TIME} |awk '{print substr($0,7,2)}'`
INACTIVE_YMD=`echo ${INACTIVE_TIME} |awk '{print substr($0,1,8)}'`
if [ "$KEYTYPE" = "zsk" ]; then
KEY_GEN_TIME=`date -d "${INACTIVE_YMD} -4 days" +%F`
elif [ "$KEYTYPE" = "ksk" ]; then
KEY_GEN_TIME=`date -d "${INACTIVE_YMD} -30 days" +%F`
else
echo "wrong dnskey type"
exit 1
fi
HOUR=`echo ${INACTIVE_TIME} |awk '{print substr($0,9,2)}'`
MINUTS=`echo ${INACTIVE_TIME} |awk '{print substr($0,11,2)}'`
DAY=`echo ${KEY_GEN_TIME} |awk -F"-" '{print $3}'`
MONTH=`echo ${KEY_GEN_TIME} |awk -F"-" '{print $2 }'`
else
echo "$NOW $keytype $KEYTAG is not exsit, add crontab is fail" | \
mail -s "add crontable is fail" -r ${SENDER} ${ADMIN_MAIL}
exit 1
fi
}
|
BII-Lab/Yeti-Project
|
script/BII/setup-dm/generate_cron_time.sh
|
Shell
|
mit
| 1,633 |
#pragma once
#ifdef __cplusplus
#include <stdint.h>
#include <cstring>
namespace zli
{
typedef char C4[4];
typedef char C2[2];
typedef char C1[1];
typedef const char CC4[4];
typedef const char CC2[2];
typedef const char CC1[1];
typedef unsigned char UC4[4];
typedef unsigned char UC2[2];
typedef unsigned char UC1[1];
typedef const unsigned char CUC4[4];
typedef const unsigned char CUC2[2];
typedef const unsigned char CUC1[1];
typedef C4 * PC4;
typedef C2 * PC2;
typedef C1 * PC1;
typedef CC4 * PCC4;
typedef CC2 * PCC2;
typedef CC1 * PCC1;
typedef UC4 * PUC4;
typedef UC2 * PUC2;
typedef UC1 * PUC1;
typedef CUC4 * PCUC4;
typedef CUC2 * PCUC2;
typedef CUC1 * PCUC1;
/// Uint --> Char[N]
inline void u32ToC4(uint_fast32_t i, PC4 pc4) {
C4 & rc4 = *pc4;
rc4[0] = static_cast<char>((i >> 24));
rc4[1] = static_cast<char>((i >> 16));
rc4[2] = static_cast<char>((i >> 8));
rc4[3] = static_cast<char>((i));
}
inline void u32ToC4L(uint_fast32_t i, PC4 pc4) {
C4 & rc4= *pc4;
rc4[3] = static_cast<char>((i >> 24));
rc4[2] = static_cast<char>((i >> 16));
rc4[1] = static_cast<char>((i >> 8));
rc4[0] = static_cast<char>((i));
}
inline void u16ToC2(uint_fast16_t i, PC2 pc2) {
C2 & rc2 = *pc2;
rc2[0] = static_cast<char>((i >> 8));
rc2[1] = static_cast<char>((i));
}
inline void u16ToC2L(uint_fast16_t i, PC2 pc2) {
C2 & rc2 = *pc2;
rc2[1] = static_cast<char>((i >> 8));
rc2[0] = static_cast<char>((i));
}
inline void u8ToC1(uint_fast8_t i, PC1 pc1) {
C1 & rc1 = *pc1;
rc1[0] = static_cast<char>((i));
}
inline void u8ToC1L(uint_fast8_t i, PC1 pc1) {
C1 & rc1 = *pc1;
rc1[0] = static_cast<char>((i));
}
/// Char[N] --> Uint
inline uint_fast8_t c1ToU8(PCC1 pcc1) {
CUC1 & rc1 = reinterpret_cast<CUC1&>(*pcc1);
return static_cast<uint_fast8_t>(rc1[0]);
}
inline uint_fast8_t c1ToU8L(PCC1 pcc1) {
CUC1 & rc1 = reinterpret_cast<CUC1&>(*pcc1);
return static_cast<uint_fast8_t>(rc1[0]);
}
inline uint_fast16_t c2ToU16(PCC2 pcc2) {
CUC2 & rc2 = reinterpret_cast<CUC2&>(*pcc2);
return (static_cast<uint_fast16_t>(rc2[0]) << 8) + (static_cast<uint_fast16_t>(rc2[1]));
}
inline uint_fast16_t c2ToU16L(PCC2 pcc2) {
CUC2 & rc2 = reinterpret_cast<CUC2&>(*pcc2);
return (static_cast<uint_fast16_t>(rc2[1]) << 8) + (static_cast<uint_fast16_t>(rc2[0]));
}
inline uint_fast32_t c4ToU32(PCC4 pcc4) {
CUC4 & rc4 = reinterpret_cast<CUC4&>(*pcc4);
return (static_cast<uint_fast32_t>(rc4[0]) << 24) + (static_cast<uint_fast32_t>(rc4[1]) << 16) + (static_cast<uint_fast32_t>(rc4[2] << 8) + (static_cast<uint_fast32_t>(rc4[3])));
}
inline uint_fast32_t c4ToU32L(PCC4 pcc4) {
CUC4 & rc4 = reinterpret_cast<CUC4&>(*pcc4);
return ( static_cast<uint_fast32_t>(rc4[3]) << 24) + (static_cast<uint_fast32_t>(rc4[2]) << 16) + (static_cast<uint_fast32_t>(rc4[1] << 8) + (static_cast<uint_fast32_t>(rc4[0])));
}
struct StreamWriter
{
public:
StreamWriter(void * p = nullptr)
{
reset(p);
}
void w(char c) {
*(curr++) = c;
}
void w1(uint_fast8_t u) {
PC1 p = (PC1)curr; curr += 1;
u8ToC1(u, p);
}
void w2(uint_fast16_t u) {
PC2 p = (PC2)curr; curr += 2;
u16ToC2(u, p);
}
void w4(uint_fast32_t u) {
PC4 p = (PC4)curr; curr += 4;
u32ToC4(u, p);
}
void w8(uint_fast64_t u) {
uint_fast32_t h = u >> 32;
uint_fast32_t l = u & 0xffffffff;
w4(h);w4(l);
}
void w1L(uint_fast8_t u) {
PC1 p = (PC1)curr; curr += 1;
u8ToC1L(u, p);
}
void w2L(uint_fast16_t u) {
PC2 p = (PC2)curr; curr += 2;
u16ToC2L(u, p);
}
void w4L(uint_fast32_t u) {
PC4 p = (PC4)curr; curr += 4;
u32ToC4L(u, p);
}
void w8L(uint_fast64_t u) {
uint_fast32_t h = u >> 32;
uint_fast32_t l = u & 0xffffffff;
w4L(l);w4L(h);
}
void w(const void * s, size_t len) {
memcpy(curr, s, len);
curr += len;
}
void wL(const void *s, size_t len) {
const char * e = static_cast<const char*>(s) + len;
while(e > s) {
*(curr++) = *(--e);
}
}
char * origin() const { return start; }
char * pos() const { return curr; }
size_t offset() const { return curr - start; }
void reset() { curr = start; }
void reset(void * s) { curr = start = static_cast<char*>(s); }
void skip(size_t len) { curr += len; }
private:
char * start;
char * curr;
};
struct StreamReader
{
public:
StreamReader(const void * p = nullptr) {
reset(p);
}
char r() {
return *(curr++);
}
uint_fast8_t r1() {
PC1 p = (PC1)curr; curr += 1;
return c1ToU8(p);
}
uint_fast16_t r2() {
PC2 p = (PC2)curr; curr += 2;
return c2ToU16(p);
}
uint_fast32_t r4() {
PC4 p = (PC4)curr; curr += 4;
return c4ToU32(p);
}
uint_fast64_t r8() {
uint_fast64_t h = static_cast<uint_fast64_t>(r4()) << 32;
uint_fast64_t l = static_cast<uint_fast64_t>(r4());
return h | l;
}
uint_fast8_t r1L() {
PC1 p = (PC1)curr; curr += 1;
return c1ToU8L(p);
}
uint_fast16_t r2L() {
PC2 p = (PC2)curr; curr += 2;
return c2ToU16L(p);
}
uint_fast32_t r4L() {
PC4 p = (PC4)curr; curr += 4;
return c4ToU32L(p);
}
uint_fast64_t r8L() {
uint_fast64_t l = static_cast<uint_fast64_t>(r4L());
uint_fast64_t h = static_cast<uint_fast64_t>(r4L()) << 32;
return h | l;
}
void r(void * d, size_t len) {
memcpy(d, curr, len);
curr += len;
}
void rL(void * d_, size_t len) {
char * d = static_cast<char*>(d_);
const char * e = curr + len;
while(e > curr) {
*(d++) = *(--e);
}
curr += len;
}
const char * origin() const { return start; }
const char * pos() const { return curr; }
size_t offset() const { return curr - start; }
void reset() { curr = start; }
void reset(const void * s) { curr = start = static_cast<const char*>(s); }
void skip(size_t len) { curr += len; }
private:
const char * start;
const char * curr;
};
}
#endif
|
floarTaked/floar-iOS
|
work/中友乐库/闺秘/release-1.1.0/Guimi/Common/Stream.h
|
C
|
mit
| 6,023 |
require_relative '../spec_helper'
describe Comment do
it "should not accept comments with less than 3 characters" do
Comment.create(:comment => "a", :user_id => 1, :challenge_id => 1).should have(1).error_on(:comment)
end
it "should not accept comments without user id" do
Comment.create(:comment => "This is a test comment", :challenge_id => 1).should have(1).error_on(:user_id)
end
it "should not accept comments without challenge id" do
Comment.create(:comment => "This is a test comment", :user_id => 1).should have(1).error_on(:challenge_id)
end
it "should accept comments with enough characters and an user and an challenge" do
Comment.create(:comment => "This is a test comment", :user_id => 1, :challenge_id => 1).should have(:no).errors_on(:comment)
Comment.create(:comment => "This is a test comment", :user_id => 1, :challenge_id => 1).should have(:no).errors_on(:user_id)
Comment.create(:comment => "This is a test comment", :user_id => 1, :challenge_id => 1).should have(:no).errors_on(:challenge_id)
end
end
|
boersmamarcel/challengesplatform
|
spec/models/comment_spec.rb
|
Ruby
|
mit
| 1,050 |
<div>view</div>
|
damianbaar/re-define
|
test/spec/referencing-from-root/src/view/view.html
|
HTML
|
mit
| 17 |
default: bower_components
npx grunt
node_modules:
npm install
bower_components: node_modules
npx bower install
publish: bower_components
grunt publish
# only publish commited code
test -z "`git status -s`" || echo "Must manually commit any generated code for Bower or Github releases"
|
hwcrypto/hwcrypto.js
|
Makefile
|
Makefile
|
mit
| 294 |
$(el).html(string)
|
juliogc/youmightnotneedjquery
|
comparisons/elements/setting_html/jquery.js
|
JavaScript
|
mit
| 19 |
<?php
/*
* This file is part of the Elcodi package.
*
* Copyright (c) 2014-2015 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <[email protected]>
* @author Aldo Chiecchia <[email protected]>
* @author Elcodi Team <[email protected]>
* @author Maksim <[email protected]>
*/
namespace Elcodi\Plugin\ClearCacheBundle\Builder;
use Elcodi\Component\Menu\Builder\Abstracts\AbstractMenuBuilder;
use Elcodi\Component\Menu\Builder\Interfaces\MenuBuilderInterface;
use Elcodi\Component\Menu\Entity\Menu\Interfaces\MenuInterface;
/**
* Class MenuBuilder
*/
class MenuBuilder extends AbstractMenuBuilder implements MenuBuilderInterface
{
/**
* Build the menu
*
* @param MenuInterface $menu Menu
*/
public function build(MenuInterface $menu)
{
$menu
->addSubnode(
$this
->menuNodeFactory
->create()
->setName('plugin_type.utility')
->setTag('settings')
->setPriority(31)
->addSubnode(
$this
->menuNodeFactory
->create()
->setName('elcodi_plugin.clear_cache.name')
->setUrl('admin_clear_cache_index')
->setActiveUrls([
'admin_clear_cache_index',
])
)
);
}
}
|
kodermax/ClearCacheBundle
|
Builder/MenuBuilder.php
|
PHP
|
mit
| 1,678 |
<?php
/**
* @copyright Bluz PHP Team
* @link https://github.com/bluzphp/skeleton
*/
namespace Bluz\Tests\Controller;
use Bluz\Controller;
use Bluz\Http\Exception\ForbiddenException;
use Bluz\Proxy\Layout;
use Bluz\Tests\FrameworkTestCase;
/**
* @package Bluz\Tests
* @author Anton Shevchuk
* @created 19.05.16 12:28
*/
class ControllerTest extends FrameworkTestCase
{
/**
* @var Controller\Controller
*/
protected $controller;
/**
* Create `index/index` controller
*/
public function setUp(): void
{
$this->controller = self::getApp()->dispatch('index', 'index');
}
public function testHelperAttachment()
{
$this->controller->attachment('some.jpg');
self::assertNull($this->controller->getTemplate());
self::assertEquals('FILE', self::getApp()->getResponse()->getType());
self::assertFalse(self::getApp()->useLayout());
}
/**
* @todo Implement testHelperCheckHttpAccept().
*/
public function testHelperCheckHttpAccept()
{
// 12 tests:
// -/- -> ANY,JSON,HTML
// */* -> ANY,JSON,HTML
// html/text -> ANY,JSON,HTML
// application/json -> ANY,JSON,HTML
// Remove the following lines when you implement this test.
self::markTestIncomplete('This test has not been implemented yet.');
}
/**
* @todo Implement testHelperCheckMethod().
*/
public function testHelperCheckMethod()
{
// Remove the following lines when you implement this test.
self::markTestIncomplete('This test has not been implemented yet.');
}
/**
* @todo Implement testHelperCheckPrivilege().
*/
public function testHelperCheckPrivilege()
{
// Remove the following lines when you implement this test.
self::markTestIncomplete('This test has not been implemented yet.');
}
public function testHelperDenied()
{
$this->expectException(ForbiddenException::class);
$this->controller->denied();
}
public function testHelperDisableLayout()
{
self::assertTrue(self::getApp()->useLayout());
$this->controller->disableLayout();
self::assertFalse(self::getApp()->useLayout());
}
public function testHelperDisableView()
{
$this->controller->disableView();
self::assertNull($this->controller->getTemplate());
}
public function testHelperDispatch()
{
self::assertInstanceOf(Controller\Controller::class, $this->controller->dispatch('test', 'index'));
}
public function testHelperIsAllowed()
{
self::assertFalse($this->controller->isAllowed('not-exists'));
}
public function testHelperUseJson()
{
$this->controller->useJson();
self::assertFalse(self::getApp()->useLayout());
}
public function testHelperUseLayout()
{
$this->controller->useLayout('small.phtml');
self::assertTrue(self::getApp()->useLayout());
self::assertEquals(Layout::getTemplate(), 'small.phtml');
}
public function testHelperUser()
{
self::assertNull($this->controller->user());
}
}
|
bluzphp/framework
|
tests/unit/Controller/ControllerTest.php
|
PHP
|
mit
| 3,220 |
.top-bar{
background-color: #009688;
}
.content{
margin-top: 80px;
}
.features .row{
margin-bottom: 10px;
}
.features img{
width: 100%;
height: auto;
}
.footer{
margin-top: 100px;
}
|
nhatnk1/BlendEdx
|
app/css/index.css
|
CSS
|
mit
| 197 |
public class LeetCode0033 {
public int search(int[] nums, int target) {
if (nums == null || nums.length == 0) {
return -1;
}
int left = 0;
int right = nums.length - 1;
while (left <= right) {
int mid = left + ((right - left) >> 1);
if (nums[mid] == target) {
return mid;
} else if (nums[left] <= nums[mid]) {
if (nums[left] <= target && target < nums[mid]) {
right = mid - 1;
} else {
left = mid + 1;
}
} else {
if (nums[mid] < target && target <= nums[right]) {
left = mid + 1;
} else {
right = mid - 1;
}
}
}
return -1;
}
public static void main(String[] args) {
LeetCode0033 leetcode = new LeetCode0033();
System.out.println(leetcode.search(new int[] { 4, 5, 6, 7, 0, 1, 2 }, 0));
}
}
|
dunso/algorithm
|
Java/Array/LeetCode0033.java
|
Java
|
mit
| 779 |
<!DOCTYPE html>
<html lang="en">
<head>
<title>SwiftBombRequestError Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
</head>
<body>
<a name="//apple_ref/swift/Enum/SwiftBombRequestError" class="dashAnchor"></a>
<a title="SwiftBombRequestError Enum Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html"> Docs</a> (100% documented)</p>
</div>
</header>
<div class="content-wrapper">
<p id="breadcrumbs">
<a href="../index.html"> Reference</a>
<img id="carat" src="../img/carat.png" />
SwiftBombRequestError Enum Reference
</p>
</div>
<div class="content-wrapper">
<nav class="sidebar">
<ul class="nav-groups">
<li class="nav-group-name">
<a href="../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Classes/AccessoryResource.html">AccessoryResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/CharacterResource.html">CharacterResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/CompanyResource.html">CompanyResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ConceptResource.html">ConceptResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/FranchiseResource.html">FranchiseResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/GameReleaseResource.html">GameReleaseResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/GameResource.html">GameResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/GenreResource.html">GenreResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/LocationResource.html">LocationResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/ObjectResource.html">ObjectResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/PersonResource.html">PersonResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/PlatformResource.html">PlatformResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/StaffReviewResource.html">StaffReviewResource</a>
</li>
<li class="nav-group-task">
<a href="../Classes/SwiftBomb.html">SwiftBomb</a>
</li>
<li class="nav-group-task">
<a href="../Classes/VideoResource.html">VideoResource</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Enums/ComingUpItemType.html">ComingUpItemType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/Gender.html">Gender</a>
</li>
<li class="nav-group-task">
<a href="../Enums/ResourceResponseError.html">ResourceResponseError</a>
</li>
<li class="nav-group-task">
<a href="../Enums/ResourceType.html">ResourceType</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SwiftBombRequestError.html">SwiftBombRequestError</a>
</li>
<li class="nav-group-task">
<a href="../Enums/SwiftBombRequestResult.html">SwiftBombRequestResult</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/Resource.html">Resource</a>
</li>
<li class="nav-group-task">
<a href="../Protocols/ResourceExtendedInfo.html">ResourceExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Protocols/SwiftBombNetworkingDelegate.html">SwiftBombNetworkingDelegate</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Structs.html">Structs</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Structs/CharacterExtendedInfo.html">CharacterExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/ComingUpSchedule.html">ComingUpSchedule</a>
</li>
<li class="nav-group-task">
<a href="../Structs/ComingUpScheduleItem.html">ComingUpScheduleItem</a>
</li>
<li class="nav-group-task">
<a href="../Structs/CompanyExtendedInfo.html">CompanyExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/ConceptExtendedInfo.html">ConceptExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/FranchiseExtendedInfo.html">FranchiseExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/GameExtendedInfo.html">GameExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/GameReleaseExtendedInfo.html">GameReleaseExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/ImageURLs.html">ImageURLs</a>
</li>
<li class="nav-group-task">
<a href="../Structs/ObjectExtendedInfo.html">ObjectExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/PaginatedResults.html">PaginatedResults</a>
</li>
<li class="nav-group-task">
<a href="../Structs/PersonExtendedInfo.html">PersonExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/SearchResults.html">SearchResults</a>
</li>
<li class="nav-group-task">
<a href="../Structs/SortDefinition.html">SortDefinition</a>
</li>
<li class="nav-group-task">
<a href="../Structs/SortDefinition/SortDirection.html">– SortDirection</a>
</li>
<li class="nav-group-task">
<a href="../Structs/SwiftBombConfig.html">SwiftBombConfig</a>
</li>
<li class="nav-group-task">
<a href="../Structs/SwiftBombConfig/LoggingLevel.html">– LoggingLevel</a>
</li>
<li class="nav-group-task">
<a href="../Structs/UnusedExtendedInfo.html">UnusedExtendedInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/VideoURLs.html">VideoURLs</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Typealiases.html">Typealiases</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Typealiases.html#/s:9SwiftBomb20PaginationDefinition">PaginationDefinition</a>
</li>
<li class="nav-group-task">
<a href="../Typealiases.html#/s:9SwiftBomb15ResourceSummary">ResourceSummary</a>
</li>
</ul>
</li>
</ul>
</nav>
<article class="main-content">
<section>
<section class="section">
<h1>SwiftBombRequestError</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">SwiftBombRequestError</span><span class="p">:</span> <span class="kt">Error</span></code></pre>
</div>
</div>
<p>An enum returned by network requests which defines the various errors which can occur during communication with the Giant Bomb API.</p>
</section>
<section class="section task-group-section">
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:FO9SwiftBomb21SwiftBombRequestError20frameworkConfigErrorFMS0_S0_"></a>
<a name="//apple_ref/swift/Element/frameworkConfigError" class="dashAnchor"></a>
<a class="token" href="#/s:FO9SwiftBomb21SwiftBombRequestError20frameworkConfigErrorFMS0_S0_">frameworkConfigError</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>An issue with constructing the required framework components to make the request. Typically occurs when the framework hasn’t been initialized with a <code><a href="../Structs/SwiftBombConfig.html">SwiftBombConfig</a></code> instance.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="k">case</span> <span class="n">frameworkConfigError</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:FO9SwiftBomb21SwiftBombRequestError12networkErrorFMS0_FGSqCSo7NSError_S0_"></a>
<a name="//apple_ref/swift/Element/networkError" class="dashAnchor"></a>
<a class="token" href="#/s:FO9SwiftBomb21SwiftBombRequestError12networkErrorFMS0_FGSqCSo7NSError_S0_">networkError</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>An error making the request such as no network signal. Contains a reference to the actual NSError object.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="k">case</span> <span class="nf">networkError</span><span class="p">(</span><span class="kt">NSError</span><span class="p">?)</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:FO9SwiftBomb21SwiftBombRequestError26responseSerializationErrorFMS0_FGSqCSo7NSError_S0_"></a>
<a name="//apple_ref/swift/Element/responseSerializationError" class="dashAnchor"></a>
<a class="token" href="#/s:FO9SwiftBomb21SwiftBombRequestError26responseSerializationErrorFMS0_FGSqCSo7NSError_S0_">responseSerializationError</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>An error parsing the response from the server. Contains a reference to the actual NSError object.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="k">case</span> <span class="nf">responseSerializationError</span><span class="p">(</span><span class="kt">NSError</span><span class="p">?)</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:FO9SwiftBomb21SwiftBombRequestError12requestErrorFMS0_FOS_21ResourceResponseErrorS0_"></a>
<a name="//apple_ref/swift/Element/requestError" class="dashAnchor"></a>
<a class="token" href="#/s:FO9SwiftBomb21SwiftBombRequestError12requestErrorFMS0_FOS_21ResourceResponseErrorS0_">requestError</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>An error specifically returned by the Giant Bomb API. Contains the appropriate enum as defined in <code><a href="../Enums/ResourceResponseError.html">ResourceResponseError</a></code></p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="k">case</span> <span class="nf">requestError</span><span class="p">(</span><span class="kt"><a href="../Enums/ResourceResponseError.html">ResourceResponseError</a></span><span class="p">)</span></code></pre>
</div>
</div>
</section>
</div>
</li>
</ul>
</div>
</section>
</section>
<section id="footer">
<p>© 2016 <a class="link" href="" target="_blank" rel="external"></a>. All rights reserved. (Last updated: 2016-11-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
</body>
</div>
</html>
|
davefoxy/SwiftBomb
|
Documentation/docsets/.docset/Contents/Resources/Documents/Enums/SwiftBombRequestError.html
|
HTML
|
mit
| 15,991 |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2013. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/container for documentation.
//
//////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_CONTAINER_SET_HPP
#define BOOST_CONTAINER_SET_HPP
#ifndef BOOST_CONFIG_HPP
# include <boost/config.hpp>
#endif
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif
#include <boost/container/detail/config_begin.hpp>
#include <boost/container/detail/workaround.hpp>
// container
#include <boost/container/container_fwd.hpp>
// container/detail
#include <boost/container/detail/mpl.hpp>
#include <boost/container/detail/tree.hpp>
#include <boost/container/new_allocator.hpp> //new_allocator
// intrusive/detail
#include <boost/intrusive/detail/minimal_pair_header.hpp> //pair
#include <boost/intrusive/detail/minimal_less_equal_header.hpp>//less, equal
// move
#include <boost/move/traits.hpp>
#include <boost/move/utility_core.hpp>
// move/detail
#include <boost/move/detail/move_helpers.hpp>
#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#include <boost/move/detail/fwd_macros.hpp>
#endif
// std
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
#include <initializer_list>
#endif
namespace boost {
namespace container {
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
//! A set is a kind of associative container that supports unique keys (contains at
//! most one of each key value) and provides for fast retrieval of the keys themselves.
//! Class set supports bidirectional iterators.
//!
//! A set satisfies all of the requirements of a container and of a reversible container
//! , and of an associative container. A set also provides most operations described in
//! for unique keys.
//!
//! \tparam Key is the type to be inserted in the set, which is also the key_type
//! \tparam Compare is the comparison functor used to order keys
//! \tparam Allocator is the allocator to be used to allocate memory for this container
//! \tparam Options is an packed option type generated using using boost::container::tree_assoc_options.
template <class Key, class Compare = std::less<Key>, class Allocator = new_allocator<Key>, class Options = void>
#else
template <class Key, class Compare, class Allocator, class Options>
#endif
class set
///@cond
: public dtl::tree
< Key, dtl::identity<Key>, Compare, Allocator, Options>
///@endcond
{
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
private:
BOOST_COPYABLE_AND_MOVABLE(set)
typedef dtl::tree
< Key, dtl::identity<Key>, Compare, Allocator, Options> base_t;
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
public:
//////////////////////////////////////////////
//
// types
//
//////////////////////////////////////////////
typedef Key key_type;
typedef Key value_type;
typedef Compare key_compare;
typedef Compare value_compare;
typedef ::boost::container::allocator_traits<Allocator> allocator_traits_type;
typedef typename ::boost::container::allocator_traits<Allocator>::pointer pointer;
typedef typename ::boost::container::allocator_traits<Allocator>::const_pointer const_pointer;
typedef typename ::boost::container::allocator_traits<Allocator>::reference reference;
typedef typename ::boost::container::allocator_traits<Allocator>::const_reference const_reference;
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
typedef Allocator allocator_type;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::node_type) node_type;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::insert_return_type) insert_return_type;
//////////////////////////////////////////////
//
// construct/copy/destroy
//
//////////////////////////////////////////////
//! <b>Effects</b>: Default constructs an empty set.
//!
//! <b>Complexity</b>: Constant.
BOOST_CONTAINER_FORCEINLINE set()
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<Allocator>::value &&
dtl::is_nothrow_default_constructible<Compare>::value)
: base_t()
{}
//! <b>Effects</b>: Constructs an empty set using the specified allocator object.
//!
//! <b>Complexity</b>: Constant.
BOOST_CONTAINER_FORCEINLINE explicit set(const allocator_type& a)
: base_t(a)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object.
//!
//! <b>Complexity</b>: Constant.
BOOST_CONTAINER_FORCEINLINE explicit set(const Compare& comp)
: base_t(comp)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object
//! and allocator.
//!
//! <b>Complexity</b>: Constant.
BOOST_CONTAINER_FORCEINLINE set(const Compare& comp, const allocator_type& a)
: base_t(comp, a)
{}
//! <b>Effects</b>: Constructs an empty set using and
//! inserts elements from the range [first ,last ).
//!
//! <b>Complexity</b>: Linear in N if the range [first ,last ) is already sorted using
//! the predicate and otherwise N logN, where N is last - first.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set(InputIterator first, InputIterator last)
: base_t(true, first, last)
{}
//! <b>Effects</b>: Constructs an empty set using the specified
//! allocator, and inserts elements from the range [first ,last ).
//!
//! <b>Complexity</b>: Linear in N if the range [first ,last ) is already sorted using
//! the predicate and otherwise N logN, where N is last - first.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set(InputIterator first, InputIterator last, const allocator_type& a)
: base_t(true, first, last, key_compare(), a)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! inserts elements from the range [first ,last ).
//!
//! <b>Complexity</b>: Linear in N if the range [first ,last ) is already sorted using
//! the predicate and otherwise N logN, where N is last - first.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set(InputIterator first, InputIterator last, const Compare& comp)
: base_t(true, first, last, comp)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! allocator, and inserts elements from the range [first ,last ).
//!
//! <b>Complexity</b>: Linear in N if the range [first ,last ) is already sorted using
//! the predicate and otherwise N logN, where N is last - first.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set(InputIterator first, InputIterator last, const Compare& comp, const allocator_type& a)
: base_t(true, first, last, comp, a)
{}
//! <b>Effects</b>: Constructs an empty set and
//! inserts elements from the ordered unique range [first ,last). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, InputIterator first, InputIterator last)
: base_t(ordered_range, first, last)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! inserts elements from the ordered unique range [first ,last). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, InputIterator first, InputIterator last, const Compare& comp )
: base_t(ordered_range, first, last, comp)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! allocator, and inserts elements from the ordered unique range [first ,last). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, InputIterator first, InputIterator last
, const Compare& comp, const allocator_type& a)
: base_t(ordered_range, first, last, comp, a)
{}
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! <b>Effects</b>: Constructs an empty set and
//! inserts elements from the range [il.begin(), il.end()).
//!
//! <b>Complexity</b>: Linear in N if the range [il.begin(), il.end()) is already sorted using
//! the predicate and otherwise N logN, where N is il.begin() - il.end().
BOOST_CONTAINER_FORCEINLINE set(std::initializer_list<value_type> il)
: base_t(true, il.begin(), il.end())
{}
//! <b>Effects</b>: Constructs an empty set using the specified
//! allocator, and inserts elements from the range [il.begin(), il.end()).
//!
//! <b>Complexity</b>: Linear in N if the range [il.begin(), il.end()) is already sorted using
//! the predicate and otherwise N logN, where N is il.begin() - il.end().
BOOST_CONTAINER_FORCEINLINE set(std::initializer_list<value_type> il, const allocator_type& a)
: base_t(true, il.begin(), il.end(), Compare(), a)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! inserts elements from the range [il.begin(), il.end()).
//!
//! <b>Complexity</b>: Linear in N if the range [il.begin(), il.end()) is already sorted using
//! the predicate and otherwise N logN, where N is il.begin() - il.end().
BOOST_CONTAINER_FORCEINLINE set(std::initializer_list<value_type> il, const Compare& comp )
: base_t(true, il.begin(), il.end(), comp)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! allocator, and inserts elements from the range [il.begin(), il.end()).
//!
//! <b>Complexity</b>: Linear in N if the range [il.begin(), il.end()) is already sorted using
//! the predicate and otherwise N logN, where N is il.begin() - il.end().
BOOST_CONTAINER_FORCEINLINE set(std::initializer_list<value_type> il, const Compare& comp, const allocator_type& a)
: base_t(true, il.begin(), il.end(), comp, a)
{}
//! <b>Effects</b>: Constructs an empty set and
//! inserts elements from the ordered unique range [il.begin(), il.end()). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [il.begin(), il.end()) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, std::initializer_list<value_type> il)
: base_t(ordered_range, il.begin(), il.end())
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! inserts elements from the ordered unique range [il.begin(), il.end()). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [il.begin(), il.end()) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, std::initializer_list<value_type> il, const Compare& comp)
: base_t(ordered_range, il.begin(), il.end(), comp)
{}
//! <b>Effects</b>: Constructs an empty set using the specified comparison object and
//! allocator, and inserts elements from the ordered unique range [il.begin(), il.end()). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [il.begin(), il.end()) must be ordered according to the predicate and must be
//! unique values.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
BOOST_CONTAINER_FORCEINLINE set( ordered_unique_range_t, std::initializer_list<value_type> il, const Compare& comp, const allocator_type& a)
: base_t(ordered_range, il.begin(), il.end(), comp, a)
{}
#endif
//! <b>Effects</b>: Copy constructs a set.
//!
//! <b>Complexity</b>: Linear in x.size().
BOOST_CONTAINER_FORCEINLINE set(const set& x)
: base_t(static_cast<const base_t&>(x))
{}
//! <b>Effects</b>: Move constructs a set. Constructs *this using x's resources.
//!
//! <b>Complexity</b>: Constant.
//!
//! <b>Postcondition</b>: x is emptied.
BOOST_CONTAINER_FORCEINLINE set(BOOST_RV_REF(set) x)
BOOST_NOEXCEPT_IF(boost::container::dtl::is_nothrow_move_constructible<Compare>::value)
: base_t(BOOST_MOVE_BASE(base_t, x))
{}
//! <b>Effects</b>: Copy constructs a set using the specified allocator.
//!
//! <b>Complexity</b>: Linear in x.size().
BOOST_CONTAINER_FORCEINLINE set(const set& x, const allocator_type &a)
: base_t(static_cast<const base_t&>(x), a)
{}
//! <b>Effects</b>: Move constructs a set using the specified allocator.
//! Constructs *this using x's resources.
//!
//! <b>Complexity</b>: Constant if a == x.get_allocator(), linear otherwise.
BOOST_CONTAINER_FORCEINLINE set(BOOST_RV_REF(set) x, const allocator_type &a)
: base_t(BOOST_MOVE_BASE(base_t, x), a)
{}
//! <b>Effects</b>: Makes *this a copy of x.
//!
//! <b>Complexity</b>: Linear in x.size().
BOOST_CONTAINER_FORCEINLINE set& operator=(BOOST_COPY_ASSIGN_REF(set) x)
{ return static_cast<set&>(this->base_t::operator=(static_cast<const base_t&>(x))); }
//! <b>Effects</b>: this->swap(x.get()).
//!
//! <b>Throws</b>: If allocator_traits_type::propagate_on_container_move_assignment
//! is false and (allocation throws or value_type's move constructor throws)
//!
//! <b>Complexity</b>: Constant if allocator_traits_type::
//! propagate_on_container_move_assignment is true or
//! this->get>allocator() == x.get_allocator(). Linear otherwise.
BOOST_CONTAINER_FORCEINLINE set& operator=(BOOST_RV_REF(set) x)
BOOST_NOEXCEPT_IF( (allocator_traits_type::propagate_on_container_move_assignment::value ||
allocator_traits_type::is_always_equal::value) &&
boost::container::dtl::is_nothrow_move_assignable<Compare>::value)
{ return static_cast<set&>(this->base_t::operator=(BOOST_MOVE_BASE(base_t, x))); }
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! <b>Effects</b>: Copy all elements from il to *this.
//!
//! <b>Complexity</b>: Linear in il.size().
set& operator=(std::initializer_list<value_type> il)
{
this->clear();
insert(il.begin(), il.end());
return *this;
}
#endif
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Returns a copy of the allocator that
//! was passed to the object's constructor.
//!
//! <b>Complexity</b>: Constant.
allocator_type get_allocator() const;
//! <b>Effects</b>: Returns a reference to the internal allocator.
//!
//! <b>Throws</b>: Nothing
//!
//! <b>Complexity</b>: Constant.
//!
//! <b>Note</b>: Non-standard extension.
stored_allocator_type &get_stored_allocator();
//! <b>Effects</b>: Returns a reference to the internal allocator.
//!
//! <b>Throws</b>: Nothing
//!
//! <b>Complexity</b>: Constant.
//!
//! <b>Note</b>: Non-standard extension.
const stored_allocator_type &get_stored_allocator() const;
//! <b>Effects</b>: Returns an iterator to the first element contained in the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant
iterator begin();
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_iterator begin() const;
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_iterator cbegin() const;
//! <b>Effects</b>: Returns an iterator to the end of the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
iterator end();
//! <b>Effects</b>: Returns a const_iterator to the end of the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_iterator end() const;
//! <b>Effects</b>: Returns a const_iterator to the end of the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_iterator cend() const;
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
reverse_iterator rbegin();
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_reverse_iterator rbegin() const;
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_reverse_iterator crbegin() const;
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
reverse_iterator rend();
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_reverse_iterator rend() const;
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
//! of the reversed container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
const_reverse_iterator crend() const;
//! <b>Effects</b>: Returns true if the container contains no elements.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
bool empty() const;
//! <b>Effects</b>: Returns the number of the elements contained in the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
size_type size() const;
//! <b>Effects</b>: Returns the largest possible size of the container.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
size_type max_size() const;
#endif // #if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts an object x of type Key constructed with
//! std::forward<Args>(args)... if and only if there is
//! no element in the container with equivalent value.
//! and returns the iterator pointing to the
//! newly inserted element.
//!
//! <b>Returns</b>: The bool component of the returned pair is true if and only
//! if the insertion takes place, and the iterator component of the pair
//! points to the element with key equivalent to the key of x.
//!
//! <b>Throws</b>: If memory allocation throws or
//! Key's in-place constructor throws.
//!
//! <b>Complexity</b>: Logarithmic.
template <class... Args>
BOOST_CONTAINER_FORCEINLINE std::pair<iterator,bool> emplace(BOOST_FWD_REF(Args)... args)
{ return this->base_t::emplace_unique(boost::forward<Args>(args)...); }
//! <b>Effects</b>: Inserts an object of type Key constructed with
//! std::forward<Args>(args)... if and only if there is
//! no element in the container with equivalent value.
//! p is a hint pointing to where the insert
//! should start to search.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent to the key of x.
//!
//! <b>Complexity</b>: Logarithmic.
template <class... Args>
BOOST_CONTAINER_FORCEINLINE iterator emplace_hint(const_iterator p, BOOST_FWD_REF(Args)... args)
{ return this->base_t::emplace_hint_unique(p, boost::forward<Args>(args)...); }
#else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#define BOOST_CONTAINER_SET_EMPLACE_CODE(N) \
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
BOOST_CONTAINER_FORCEINLINE std::pair<iterator,bool> emplace(BOOST_MOVE_UREF##N)\
{ return this->base_t::emplace_unique(BOOST_MOVE_FWD##N); }\
\
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
BOOST_CONTAINER_FORCEINLINE iterator emplace_hint(const_iterator hint BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
{ return this->base_t::emplace_hint_unique(hint BOOST_MOVE_I##N BOOST_MOVE_FWD##N); }\
//
BOOST_MOVE_ITERATE_0TO9(BOOST_CONTAINER_SET_EMPLACE_CODE)
#undef BOOST_CONTAINER_SET_EMPLACE_CODE
#endif // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts x if and only if there is no element in the container
//! with key equivalent to the key of x.
//!
//! <b>Returns</b>: The bool component of the returned pair is true if and only
//! if the insertion takes place, and the iterator component of the pair
//! points to the element with key equivalent to the key of x.
//!
//! <b>Complexity</b>: Logarithmic.
std::pair<iterator, bool> insert(const value_type &x);
//! <b>Effects</b>: Move constructs a new value from x if and only if there is
//! no element in the container with key equivalent to the key of x.
//!
//! <b>Returns</b>: The bool component of the returned pair is true if and only
//! if the insertion takes place, and the iterator component of the pair
//! points to the element with key equivalent to the key of x.
//!
//! <b>Complexity</b>: Logarithmic.
std::pair<iterator, bool> insert(value_type &&x);
#else
private:
typedef std::pair<iterator, bool> insert_return_pair;
public:
BOOST_MOVE_CONVERSION_AWARE_CATCH(insert, value_type, insert_return_pair, this->priv_insert)
#endif
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts a copy of x in the container if and only if there is
//! no element in the container with key equivalent to the key of x.
//! p is a hint pointing to where the insert should start to search.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent
//! to the key of x.
//!
//! <b>Complexity</b>: Logarithmic in general, but amortized constant if t
//! is inserted right before p.
iterator insert(const_iterator p, const value_type &x);
//! <b>Effects</b>: Inserts an element move constructed from x in the container.
//! p is a hint pointing to where the insert should start to search.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent to the key of x.
//!
//! <b>Complexity</b>: Logarithmic.
iterator insert(const_iterator p, value_type &&x);
#else
BOOST_MOVE_CONVERSION_AWARE_CATCH_1ARG(insert, value_type, iterator, this->priv_insert, const_iterator, const_iterator)
#endif
//! <b>Requires</b>: first, last are not iterators into *this.
//!
//! <b>Effects</b>: inserts each element from the range [first,last) if and only
//! if there is no element with key equivalent to the key of that element.
//!
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE void insert(InputIterator first, InputIterator last)
{ this->base_t::insert_unique(first, last); }
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! <b>Effects</b>: inserts each element from the range [il.begin(),il.end()) if and only
//! if there is no element with key equivalent to the key of that element.
//!
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from il.begin() to il.end())
BOOST_CONTAINER_FORCEINLINE void insert(std::initializer_list<value_type> il)
{ this->base_t::insert_unique(il.begin(), il.end()); }
#endif
//! @copydoc ::boost::container::map::insert(node_type&&)
BOOST_CONTAINER_FORCEINLINE insert_return_type insert(BOOST_RV_REF_BEG_IF_CXX11 node_type BOOST_RV_REF_END_IF_CXX11 nh)
{ return this->base_t::insert_unique_node(boost::move(nh)); }
//! @copydoc ::boost::container::map::insert(const_iterator, node_type&&)
BOOST_CONTAINER_FORCEINLINE insert_return_type insert(const_iterator hint, BOOST_RV_REF_BEG_IF_CXX11 node_type BOOST_RV_REF_END_IF_CXX11 nh)
{ return this->base_t::insert_unique_node(hint, boost::move(nh)); }
//! @copydoc ::boost::container::map::merge(map<Key, T, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(set<Key, C2, Allocator, Options>& source)
{
typedef dtl::tree
<Key, dtl::identity<Key>, C2, Allocator, Options> base2_t;
this->base_t::merge_unique(static_cast<base2_t&>(source));
}
//! @copydoc ::boost::container::set::merge(set<Key, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG set<Key, C2, Allocator, Options> BOOST_RV_REF_END source)
{ return this->merge(static_cast<set<Key, C2, Allocator, Options>&>(source)); }
//! @copydoc ::boost::container::map::merge(multimap<Key, T, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(multiset<Key, C2, Allocator, Options>& source)
{
typedef dtl::tree
<Key, dtl::identity<Key>, C2, Allocator, Options> base2_t;
this->base_t::merge_unique(static_cast<base2_t&>(source));
}
//! @copydoc ::boost::container::set::merge(multiset<Key, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG multiset<Key, C2, Allocator, Options> BOOST_RV_REF_END source)
{ return this->merge(static_cast<multiset<Key, C2, Allocator, Options>&>(source)); }
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Erases the element pointed to by p.
//!
//! <b>Returns</b>: Returns an iterator pointing to the element immediately
//! following q prior to the element being erased. If no such element exists,
//! returns end().
//!
//! <b>Complexity</b>: Amortized constant time
iterator erase(const_iterator p);
//! <b>Effects</b>: Erases all elements in the container with key equivalent to x.
//!
//! <b>Returns</b>: Returns the number of erased elements.
//!
//! <b>Complexity</b>: log(size()) + count(k)
size_type erase(const key_type& x);
//! <b>Effects</b>: Erases all the elements in the range [first, last).
//!
//! <b>Returns</b>: Returns last.
//!
//! <b>Complexity</b>: log(size())+N where N is the distance from first to last.
iterator erase(const_iterator first, const_iterator last);
//! @copydoc ::boost::container::map::extract(const_iterator)
node_type extract(const_iterator p);
//! @copydoc ::boost::container::map::extract(const key_type&)
node_type extract(const key_type& x);
//! <b>Effects</b>: Swaps the contents of *this and x.
//!
//! <b>Throws</b>: Nothing.
//!
//! <b>Complexity</b>: Constant.
void swap(set& x)
BOOST_NOEXCEPT_IF( allocator_traits_type::is_always_equal::value
&& boost::container::dtl::is_nothrow_swappable<Compare>::value );
//! <b>Effects</b>: erase(a.begin(),a.end()).
//!
//! <b>Postcondition</b>: size() == 0.
//!
//! <b>Complexity</b>: linear in size().
void clear();
//! <b>Effects</b>: Returns the comparison object out
//! of which a was constructed.
//!
//! <b>Complexity</b>: Constant.
key_compare key_comp() const;
//! <b>Effects</b>: Returns an object of value_compare constructed out
//! of the comparison object.
//!
//! <b>Complexity</b>: Constant.
value_compare value_comp() const;
//! <b>Returns</b>: An iterator pointing to an element with the key
//! equivalent to x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic.
iterator find(const key_type& x);
//! <b>Returns</b>: A const_iterator pointing to an element with the key
//! equivalent to x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic.
const_iterator find(const key_type& x) const;
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: An iterator pointing to an element with the key
//! equivalent to x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic.
template<typename K>
iterator find(const K& x);
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: A const_iterator pointing to an element with the key
//! equivalent to x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic.
template<typename K>
const_iterator find(const K& x) const;
#endif //#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Returns</b>: The number of elements with key equivalent to x.
//!
//! <b>Complexity</b>: log(size())+count(k)
BOOST_CONTAINER_FORCEINLINE size_type count(const key_type& x) const
{ return static_cast<size_type>(this->base_t::find(x) != this->base_t::cend()); }
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: The number of elements with key equivalent to x.
//!
//! <b>Complexity</b>: log(size())+count(k)
template<typename K>
BOOST_CONTAINER_FORCEINLINE size_type count(const K& x) const
{ return static_cast<size_type>(this->find(x) != this->cend()); }
//! <b>Returns</b>: The number of elements with key equivalent to x.
//!
//! <b>Complexity</b>: log(size())+count(k)
BOOST_CONTAINER_FORCEINLINE size_type count(const key_type& x)
{ return static_cast<size_type>(this->base_t::find(x) != this->base_t::end()); }
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Returns</b>: An iterator pointing to the first element with key not less
//! than k, or a.end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
iterator lower_bound(const key_type& x);
//! <b>Returns</b>: A const iterator pointing to the first element with key not
//! less than k, or a.end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
const_iterator lower_bound(const key_type& x) const;
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: An iterator pointing to the first element with key not less
//! than k, or a.end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
iterator lower_bound(const K& x);
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: A const iterator pointing to the first element with key not
//! less than k, or a.end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
const_iterator lower_bound(const K& x) const;
//! <b>Returns</b>: An iterator pointing to the first element with key not less
//! than x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
iterator upper_bound(const key_type& x);
//! <b>Returns</b>: A const iterator pointing to the first element with key not
//! less than x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
const_iterator upper_bound(const key_type& x) const;
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: An iterator pointing to the first element with key not less
//! than x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
iterator upper_bound(const K& x);
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Returns</b>: A const iterator pointing to the first element with key not
//! less than x, or end() if such an element is not found.
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
const_iterator upper_bound(const K& x) const;
#endif //#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Equivalent to std::make_pair(this->lower_bound(k), this->upper_bound(k)).
//!
//! <b>Complexity</b>: Logarithmic
BOOST_CONTAINER_FORCEINLINE std::pair<iterator,iterator> equal_range(const key_type& x)
{ return this->base_t::lower_bound_range(x); }
//! <b>Effects</b>: Equivalent to std::make_pair(this->lower_bound(k), this->upper_bound(k)).
//!
//! <b>Complexity</b>: Logarithmic
BOOST_CONTAINER_FORCEINLINE std::pair<const_iterator, const_iterator> equal_range(const key_type& x) const
{ return this->base_t::lower_bound_range(x); }
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Effects</b>: Equivalent to std::make_pair(this->lower_bound(k), this->upper_bound(k)).
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
std::pair<iterator,iterator> equal_range(const K& x)
{ return this->base_t::lower_bound_range(x); }
//! <b>Requires</b>: This overload is available only if
//! key_compare::is_transparent exists.
//!
//! <b>Effects</b>: Equivalent to std::make_pair(this->lower_bound(k), this->upper_bound(k)).
//!
//! <b>Complexity</b>: Logarithmic
template<typename K>
std::pair<const_iterator,const_iterator> equal_range(const K& x) const
{ return this->base_t::lower_bound_range(x); }
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Rebalances the tree. It's a no-op for Red-Black and AVL trees.
//!
//! <b>Complexity</b>: Linear
void rebalance();
//! <b>Effects</b>: Returns true if x and y are equal
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator==(const set& x, const set& y);
//! <b>Effects</b>: Returns true if x and y are unequal
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator!=(const set& x, const set& y);
//! <b>Effects</b>: Returns true if x is less than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator<(const set& x, const set& y);
//! <b>Effects</b>: Returns true if x is greater than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator>(const set& x, const set& y);
//! <b>Effects</b>: Returns true if x is equal or less than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator<=(const set& x, const set& y);
//! <b>Effects</b>: Returns true if x is equal or greater than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator>=(const set& x, const set& y);
//! <b>Effects</b>: x.swap(y)
//!
//! <b>Complexity</b>: Constant.
friend void swap(set& x, set& y);
#endif //#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
private:
template <class KeyType>
BOOST_CONTAINER_FORCEINLINE std::pair<iterator, bool> priv_insert(BOOST_FWD_REF(KeyType) x)
{ return this->base_t::insert_unique(::boost::forward<KeyType>(x)); }
template <class KeyType>
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const_iterator p, BOOST_FWD_REF(KeyType) x)
{ return this->base_t::insert_unique(p, ::boost::forward<KeyType>(x)); }
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
};
#if __cplusplus >= 201703L
template <typename InputIterator>
set(InputIterator, InputIterator) ->
set<typename iterator_traits<InputIterator>::value_type>;
template <typename InputIterator, typename Allocator>
set(InputIterator, InputIterator, Allocator const&) ->
set<typename iterator_traits<InputIterator>::value_type, std::less<typename iterator_traits<InputIterator>::value_type>, Allocator>;
template <typename InputIterator, typename Compare>
set(InputIterator, InputIterator, Compare const&) ->
set<typename iterator_traits<InputIterator>::value_type, Compare>;
template <typename InputIterator, typename Compare, typename Allocator>
set(InputIterator, InputIterator, Compare const&, Allocator const&) ->
set<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>;
template <typename InputIterator>
set(ordered_unique_range_t, InputIterator, InputIterator) ->
set<typename iterator_traits<InputIterator>::value_type>;
template <typename InputIterator, typename Allocator>
set(ordered_unique_range_t, InputIterator, InputIterator, Allocator const&) ->
set<typename iterator_traits<InputIterator>::value_type, std::less<typename iterator_traits<InputIterator>::value_type>, Allocator>;
template <typename InputIterator, typename Compare>
set(ordered_unique_range_t, InputIterator, InputIterator, Compare const&) ->
set<typename iterator_traits<InputIterator>::value_type, Compare>;
template <typename InputIterator, typename Compare, typename Allocator>
set(ordered_unique_range_t, InputIterator, InputIterator, Compare const&, Allocator const&) ->
set<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>;
#endif
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
} //namespace container {
//!has_trivial_destructor_after_move<> == true_type
//!specialization for optimizations
template <class Key, class Compare, class Options, class Allocator>
struct has_trivial_destructor_after_move<boost::container::set<Key, Compare, Allocator, Options> >
{
typedef typename ::boost::container::allocator_traits<Allocator>::pointer pointer;
static const bool value = ::boost::has_trivial_destructor_after_move<Allocator>::value &&
::boost::has_trivial_destructor_after_move<pointer>::value &&
::boost::has_trivial_destructor_after_move<Compare>::value;
};
namespace container {
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
#ifdef BOOST_CONTAINER_DOXYGEN_INVOKED
//! A multiset is a kind of associative container that supports equivalent keys
//! (possibly contains multiple copies of the same key value) and provides for
//! fast retrieval of the keys themselves. Class multiset supports bidirectional iterators.
//!
//! A multiset satisfies all of the requirements of a container and of a reversible
//! container, and of an associative container). multiset also provides most operations
//! described for duplicate keys.
//!
//! \tparam Key is the type to be inserted in the set, which is also the key_type
//! \tparam Compare is the comparison functor used to order keys
//! \tparam Allocator is the allocator to be used to allocate memory for this container
//! \tparam Options is an packed option type generated using using boost::container::tree_assoc_options.
template <class Key, class Compare = std::less<Key>, class Allocator = new_allocator<Key>, class Options = tree_assoc_defaults >
#else
template <class Key, class Compare, class Allocator, class Options>
#endif
class multiset
/// @cond
: public dtl::tree
<Key,dtl::identity<Key>, Compare, Allocator, Options>
/// @endcond
{
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
private:
BOOST_COPYABLE_AND_MOVABLE(multiset)
typedef dtl::tree
<Key,dtl::identity<Key>, Compare, Allocator, Options> base_t;
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
public:
//////////////////////////////////////////////
//
// types
//
//////////////////////////////////////////////
typedef Key key_type;
typedef Key value_type;
typedef Compare key_compare;
typedef Compare value_compare;
typedef ::boost::container::allocator_traits<Allocator> allocator_traits_type;
typedef typename ::boost::container::allocator_traits<Allocator>::pointer pointer;
typedef typename ::boost::container::allocator_traits<Allocator>::const_pointer const_pointer;
typedef typename ::boost::container::allocator_traits<Allocator>::reference reference;
typedef typename ::boost::container::allocator_traits<Allocator>::const_reference const_reference;
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
typedef Allocator allocator_type;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::stored_allocator_type) stored_allocator_type;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::iterator) iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_iterator) const_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::reverse_iterator) reverse_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::const_reverse_iterator) const_reverse_iterator;
typedef typename BOOST_CONTAINER_IMPDEF(base_t::node_type) node_type;
//////////////////////////////////////////////
//
// construct/copy/destroy
//
//////////////////////////////////////////////
//! @copydoc ::boost::container::set::set()
BOOST_CONTAINER_FORCEINLINE multiset()
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<Allocator>::value &&
dtl::is_nothrow_default_constructible<Compare>::value)
: base_t()
{}
//! @copydoc ::boost::container::set::set(const allocator_type&)
BOOST_CONTAINER_FORCEINLINE explicit multiset(const allocator_type& a)
: base_t(a)
{}
//! @copydoc ::boost::container::set::set(const Compare&)
BOOST_CONTAINER_FORCEINLINE explicit multiset(const Compare& comp)
: base_t(comp)
{}
//! @copydoc ::boost::container::set::set(const Compare&, const allocator_type&)
BOOST_CONTAINER_FORCEINLINE multiset(const Compare& comp, const allocator_type& a)
: base_t(comp, a)
{}
//! @copydoc ::boost::container::set::set(InputIterator, InputIterator)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset(InputIterator first, InputIterator last)
: base_t(false, first, last)
{}
//! @copydoc ::boost::container::set::set(InputIterator, InputIterator, const allocator_type&)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset(InputIterator first, InputIterator last, const allocator_type& a)
: base_t(false, first, last, key_compare(), a)
{}
//! @copydoc ::boost::container::set::set(InputIterator, InputIterator, const Compare&)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset(InputIterator first, InputIterator last, const Compare& comp)
: base_t(false, first, last, comp)
{}
//! @copydoc ::boost::container::set::set(InputIterator, InputIterator, const Compare&, const allocator_type&)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset(InputIterator first, InputIterator last, const Compare& comp, const allocator_type& a)
: base_t(false, first, last, comp, a)
{}
//! <b>Effects</b>: Constructs an empty multiset and
//! and inserts elements from the ordered range [first ,last ). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset( ordered_range_t, InputIterator first, InputIterator last )
: base_t(ordered_range, first, last)
{}
//! <b>Effects</b>: Constructs an empty multiset using the specified comparison object and
//! inserts elements from the ordered range [first ,last ). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset( ordered_range_t, InputIterator first, InputIterator last, const Compare& comp)
: base_t(ordered_range, first, last, comp)
{}
//! <b>Effects</b>: Constructs an empty multiset using the specified comparison object and
//! allocator, and inserts elements from the ordered range [first ,last ). This function
//! is more efficient than the normal range creation for ordered ranges.
//!
//! <b>Requires</b>: [first ,last) must be ordered according to the predicate.
//!
//! <b>Complexity</b>: Linear in N.
//!
//! <b>Note</b>: Non-standard extension.
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE multiset( ordered_range_t, InputIterator first, InputIterator last, const Compare& comp, const allocator_type& a)
: base_t(ordered_range, first, last, comp, a)
{}
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! @copydoc ::boost::container::set::set(std::initializer_list<value_type>)
BOOST_CONTAINER_FORCEINLINE multiset(std::initializer_list<value_type> il)
: base_t(false, il.begin(), il.end())
{}
//! @copydoc ::boost::container::set::set(std::initializer_list<value_type>, const allocator_type&)
BOOST_CONTAINER_FORCEINLINE multiset(std::initializer_list<value_type> il, const allocator_type& a)
: base_t(false, il.begin(), il.end(), Compare(), a)
{}
//! @copydoc ::boost::container::set::set(std::initializer_list<value_type>, const Compare&)
BOOST_CONTAINER_FORCEINLINE multiset(std::initializer_list<value_type> il, const Compare& comp)
: base_t(false, il.begin(), il.end(), comp)
{}
//! @copydoc ::boost::container::set::set(std::initializer_list<value_type>, const Compare&, const allocator_type&)
BOOST_CONTAINER_FORCEINLINE multiset(std::initializer_list<value_type> il, const Compare& comp, const allocator_type& a)
: base_t(false, il.begin(), il.end(), comp, a)
{}
//! @copydoc ::boost::container::set::set(ordered_unique_range_t, std::initializer_list<value_type>)
BOOST_CONTAINER_FORCEINLINE multiset(ordered_range_t, std::initializer_list<value_type> il)
: base_t(ordered_range, il.begin(), il.end())
{}
//! @copydoc ::boost::container::set::set(ordered_unique_range_t, std::initializer_list<value_type>, const Compare&)
BOOST_CONTAINER_FORCEINLINE multiset(ordered_range_t, std::initializer_list<value_type> il, const Compare& comp)
: base_t(ordered_range, il.begin(), il.end(), comp)
{}
//! @copydoc ::boost::container::set::set(ordered_unique_range_t, std::initializer_list<value_type>, const Compare&, const allocator_type&)
BOOST_CONTAINER_FORCEINLINE multiset(ordered_range_t, std::initializer_list<value_type> il, const Compare& comp, const allocator_type& a)
: base_t(ordered_range, il.begin(), il.end(), comp, a)
{}
#endif
//! @copydoc ::boost::container::set::set(const set &)
BOOST_CONTAINER_FORCEINLINE multiset(const multiset& x)
: base_t(static_cast<const base_t&>(x))
{}
//! @copydoc ::boost::container::set::set(set &&)
BOOST_CONTAINER_FORCEINLINE multiset(BOOST_RV_REF(multiset) x)
BOOST_NOEXCEPT_IF(boost::container::dtl::is_nothrow_move_constructible<Compare>::value)
: base_t(BOOST_MOVE_BASE(base_t, x))
{}
//! @copydoc ::boost::container::set::set(const set &, const allocator_type &)
BOOST_CONTAINER_FORCEINLINE multiset(const multiset& x, const allocator_type &a)
: base_t(static_cast<const base_t&>(x), a)
{}
//! @copydoc ::boost::container::set::set(set &&, const allocator_type &)
BOOST_CONTAINER_FORCEINLINE multiset(BOOST_RV_REF(multiset) x, const allocator_type &a)
: base_t(BOOST_MOVE_BASE(base_t, x), a)
{}
//! @copydoc ::boost::container::set::operator=(const set &)
BOOST_CONTAINER_FORCEINLINE multiset& operator=(BOOST_COPY_ASSIGN_REF(multiset) x)
{ return static_cast<multiset&>(this->base_t::operator=(static_cast<const base_t&>(x))); }
//! @copydoc ::boost::container::set::operator=(set &&)
BOOST_CONTAINER_FORCEINLINE multiset& operator=(BOOST_RV_REF(multiset) x)
BOOST_NOEXCEPT_IF( (allocator_traits_type::propagate_on_container_move_assignment::value ||
allocator_traits_type::is_always_equal::value) &&
boost::container::dtl::is_nothrow_move_assignable<Compare>::value)
{ return static_cast<multiset&>(this->base_t::operator=(BOOST_MOVE_BASE(base_t, x))); }
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! @copydoc ::boost::container::set::operator=(std::initializer_list<value_type>)
multiset& operator=(std::initializer_list<value_type> il)
{
this->clear();
insert(il.begin(), il.end());
return *this;
}
#endif
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! @copydoc ::boost::container::set::get_allocator()
allocator_type get_allocator() const;
//! @copydoc ::boost::container::set::get_stored_allocator()
stored_allocator_type &get_stored_allocator();
//! @copydoc ::boost::container::set::get_stored_allocator() const
const stored_allocator_type &get_stored_allocator() const;
//! @copydoc ::boost::container::set::begin()
iterator begin();
//! @copydoc ::boost::container::set::begin() const
const_iterator begin() const;
//! @copydoc ::boost::container::set::cbegin() const
const_iterator cbegin() const;
//! @copydoc ::boost::container::set::end()
iterator end() BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::end() const
const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::cend() const
const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::rbegin()
reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::rbegin() const
const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::crbegin() const
const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::rend()
reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::rend() const
const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::crend() const
const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::empty() const
bool empty() const;
//! @copydoc ::boost::container::set::size() const
size_type size() const;
//! @copydoc ::boost::container::set::max_size() const
size_type max_size() const;
#endif //#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts an object of type Key constructed with
//! std::forward<Args>(args)... and returns the iterator pointing to the
//! newly inserted element.
//!
//! <b>Complexity</b>: Logarithmic.
template <class... Args>
BOOST_CONTAINER_FORCEINLINE iterator emplace(BOOST_FWD_REF(Args)... args)
{ return this->base_t::emplace_equal(boost::forward<Args>(args)...); }
//! <b>Effects</b>: Inserts an object of type Key constructed with
//! std::forward<Args>(args)...
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent
//! to the key of x.
//!
//! <b>Complexity</b>: Logarithmic in general, but amortized constant if t
//! is inserted right before p.
template <class... Args>
BOOST_CONTAINER_FORCEINLINE iterator emplace_hint(const_iterator p, BOOST_FWD_REF(Args)... args)
{ return this->base_t::emplace_hint_equal(p, boost::forward<Args>(args)...); }
#else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#define BOOST_CONTAINER_MULTISET_EMPLACE_CODE(N) \
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
BOOST_CONTAINER_FORCEINLINE iterator emplace(BOOST_MOVE_UREF##N)\
{ return this->base_t::emplace_equal(BOOST_MOVE_FWD##N); }\
\
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
BOOST_CONTAINER_FORCEINLINE iterator emplace_hint(const_iterator hint BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
{ return this->base_t::emplace_hint_equal(hint BOOST_MOVE_I##N BOOST_MOVE_FWD##N); }\
//
BOOST_MOVE_ITERATE_0TO9(BOOST_CONTAINER_MULTISET_EMPLACE_CODE)
#undef BOOST_CONTAINER_MULTISET_EMPLACE_CODE
#endif // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts x and returns the iterator pointing to the
//! newly inserted element.
//!
//! <b>Complexity</b>: Logarithmic.
iterator insert(const value_type &x);
//! <b>Effects</b>: Inserts a copy of x in the container.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent
//! to the key of x.
//!
//! <b>Complexity</b>: Logarithmic in general, but amortized constant if t
//! is inserted right before p.
iterator insert(value_type &&x);
#else
BOOST_MOVE_CONVERSION_AWARE_CATCH(insert, value_type, iterator, this->priv_insert)
#endif
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! <b>Effects</b>: Inserts a copy of x in the container.
//! p is a hint pointing to where the insert should start to search.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent
//! to the key of x.
//!
//! <b>Complexity</b>: Logarithmic in general, but amortized constant if t
//! is inserted right before p.
iterator insert(const_iterator p, const value_type &x);
//! <b>Effects</b>: Inserts a value move constructed from x in the container.
//! p is a hint pointing to where the insert should start to search.
//!
//! <b>Returns</b>: An iterator pointing to the element with key equivalent
//! to the key of x.
//!
//! <b>Complexity</b>: Logarithmic in general, but amortized constant if t
//! is inserted right before p.
iterator insert(const_iterator p, value_type &&x);
#else
BOOST_MOVE_CONVERSION_AWARE_CATCH_1ARG(insert, value_type, iterator, this->priv_insert, const_iterator, const_iterator)
#endif
//! <b>Requires</b>: first, last are not iterators into *this.
//!
//! <b>Effects</b>: inserts each element from the range [first,last) .
//!
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
template <class InputIterator>
BOOST_CONTAINER_FORCEINLINE void insert(InputIterator first, InputIterator last)
{ this->base_t::insert_equal(first, last); }
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
//! @copydoc ::boost::container::set::insert(std::initializer_list<value_type>)
BOOST_CONTAINER_FORCEINLINE void insert(std::initializer_list<value_type> il)
{ this->base_t::insert_equal(il.begin(), il.end()); }
#endif
//! @copydoc ::boost::container::multimap::insert(node_type&&)
BOOST_CONTAINER_FORCEINLINE iterator insert(BOOST_RV_REF_BEG_IF_CXX11 node_type BOOST_RV_REF_END_IF_CXX11 nh)
{ return this->base_t::insert_equal_node(boost::move(nh)); }
//! @copydoc ::boost::container::multimap::insert(const_iterator, node_type&&)
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator hint, BOOST_RV_REF_BEG_IF_CXX11 node_type BOOST_RV_REF_END_IF_CXX11 nh)
{ return this->base_t::insert_equal_node(hint, boost::move(nh)); }
//! @copydoc ::boost::container::multimap::merge(multimap<Key, T, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(multiset<Key, C2, Allocator, Options>& source)
{
typedef dtl::tree
<Key, dtl::identity<Key>, C2, Allocator, Options> base2_t;
this->base_t::merge_equal(static_cast<base2_t&>(source));
}
//! @copydoc ::boost::container::multiset::merge(multiset<Key, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG multiset<Key, C2, Allocator, Options> BOOST_RV_REF_END source)
{ return this->merge(static_cast<multiset<Key, C2, Allocator, Options>&>(source)); }
//! @copydoc ::boost::container::multimap::merge(map<Key, T, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(set<Key, C2, Allocator, Options>& source)
{
typedef dtl::tree
<Key, dtl::identity<Key>, C2, Allocator, Options> base2_t;
this->base_t::merge_equal(static_cast<base2_t&>(source));
}
//! @copydoc ::boost::container::multiset::merge(set<Key, C2, Allocator, Options>&)
template<class C2>
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG set<Key, C2, Allocator, Options> BOOST_RV_REF_END source)
{ return this->merge(static_cast<set<Key, C2, Allocator, Options>&>(source)); }
#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! @copydoc ::boost::container::set::erase(const_iterator)
iterator erase(const_iterator p);
//! @copydoc ::boost::container::set::erase(const key_type&)
size_type erase(const key_type& x);
//! @copydoc ::boost::container::set::erase(const_iterator,const_iterator)
iterator erase(const_iterator first, const_iterator last);
//! @copydoc ::boost::container::multimap::extract(const_iterator)
node_type extract(const_iterator p);
//! @copydoc ::boost::container::multimap::extract(const key_type&)
node_type extract(const key_type& x);
//! @copydoc ::boost::container::set::swap
void swap(multiset& x)
BOOST_NOEXCEPT_IF( allocator_traits_type::is_always_equal::value
&& boost::container::dtl::is_nothrow_swappable<Compare>::value );
//! @copydoc ::boost::container::set::clear
void clear() BOOST_NOEXCEPT_OR_NOTHROW;
//! @copydoc ::boost::container::set::key_comp
key_compare key_comp() const;
//! @copydoc ::boost::container::set::value_comp
value_compare value_comp() const;
//! @copydoc ::boost::container::set::find(const key_type& )
iterator find(const key_type& x);
//! @copydoc ::boost::container::set::find(const key_type& ) const
const_iterator find(const key_type& x) const;
//! @copydoc ::boost::container::set::find(const K& )
template<typename K>
iterator find(const K& x);
//! @copydoc ::boost::container::set::find(const K& )
template<typename K>
const_iterator find(const K& x) const;
//! @copydoc ::boost::container::set::count(const key_type& ) const
size_type count(const key_type& x) const;
//! @copydoc ::boost::container::set::count(const K& ) const
template<typename K>
size_type count(const K& x) const;
//! @copydoc ::boost::container::set::lower_bound(const key_type& )
iterator lower_bound(const key_type& x);
//! @copydoc ::boost::container::set::lower_bound(const key_type& ) const
const_iterator lower_bound(const key_type& x) const;
//! @copydoc ::boost::container::set::lower_bound(const K& )
template<typename K>
iterator lower_bound(const K& x);
//! @copydoc ::boost::container::set::lower_bound(const K& ) const
template<typename K>
const_iterator lower_bound(const K& x) const;
//! @copydoc ::boost::container::set::upper_bound(const key_type& )
iterator upper_bound(const key_type& x);
//! @copydoc ::boost::container::set::upper_bound(const key_type& ) const
const_iterator upper_bound(const key_type& x) const;
//! @copydoc ::boost::container::set::upper_bound(const K& )
template<typename K>
iterator upper_bound(const K& x);
//! @copydoc ::boost::container::set::upper_bound(const K& ) const
template<typename K>
const_iterator upper_bound(const K& x) const;
//! @copydoc ::boost::container::set::equal_range(const key_type& ) const
std::pair<const_iterator, const_iterator> equal_range(const key_type& x) const;
//! @copydoc ::boost::container::set::equal_range(const key_type& )
std::pair<iterator,iterator> equal_range(const key_type& x);
//! @copydoc ::boost::container::set::equal_range(const K& ) const
template<typename K>
std::pair<const_iterator, const_iterator> equal_range(const K& x) const;
//! @copydoc ::boost::container::set::equal_range(const K& )
template<typename K>
std::pair<iterator,iterator> equal_range(const K& x);
//! @copydoc ::boost::container::set::rebalance()
void rebalance();
//! <b>Effects</b>: Returns true if x and y are equal
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator==(const multiset& x, const multiset& y);
//! <b>Effects</b>: Returns true if x and y are unequal
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator!=(const multiset& x, const multiset& y);
//! <b>Effects</b>: Returns true if x is less than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator<(const multiset& x, const multiset& y);
//! <b>Effects</b>: Returns true if x is greater than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator>(const multiset& x, const multiset& y);
//! <b>Effects</b>: Returns true if x is equal or less than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator<=(const multiset& x, const multiset& y);
//! <b>Effects</b>: Returns true if x is equal or greater than y
//!
//! <b>Complexity</b>: Linear to the number of elements in the container.
friend bool operator>=(const multiset& x, const multiset& y);
//! <b>Effects</b>: x.swap(y)
//!
//! <b>Complexity</b>: Constant.
friend void swap(multiset& x, multiset& y);
#endif //#if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
private:
template <class KeyType>
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(BOOST_FWD_REF(KeyType) x)
{ return this->base_t::insert_equal(::boost::forward<KeyType>(x)); }
template <class KeyType>
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const_iterator p, BOOST_FWD_REF(KeyType) x)
{ return this->base_t::insert_equal(p, ::boost::forward<KeyType>(x)); }
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
};
#if __cplusplus >= 201703L
template <typename InputIterator>
multiset(InputIterator, InputIterator) ->
multiset<typename iterator_traits<InputIterator>::value_type>;
template <typename InputIterator, typename Allocator>
multiset(InputIterator, InputIterator, Allocator const&) ->
multiset< typename iterator_traits<InputIterator>::value_type
, std::less<typename iterator_traits<InputIterator>::value_type>
, Allocator>;
template <typename InputIterator, typename Compare>
multiset(InputIterator, InputIterator, Compare const&) ->
multiset<typename iterator_traits<InputIterator>::value_type, Compare>;
template <typename InputIterator, typename Compare, typename Allocator>
multiset(InputIterator, InputIterator, Compare const&, Allocator const&) ->
multiset<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>;
template <typename InputIterator>
multiset(ordered_range_t, InputIterator, InputIterator) ->
multiset<typename iterator_traits<InputIterator>::value_type>;
template <typename InputIterator, typename Allocator>
multiset(ordered_range_t, InputIterator, InputIterator, Allocator const&) ->
multiset< typename iterator_traits<InputIterator>::value_type
, std::less<typename iterator_traits<InputIterator>::value_type>
, Allocator>;
template <typename InputIterator, typename Compare>
multiset(ordered_range_t, InputIterator, InputIterator, Compare const&) ->
multiset< typename iterator_traits<InputIterator>::value_type, Compare>;
template <typename InputIterator, typename Compare, typename Allocator>
multiset(ordered_range_t, InputIterator, InputIterator, Compare const&, Allocator const&) ->
multiset<typename iterator_traits<InputIterator>::value_type, Compare, Allocator>;
#endif
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
} //namespace container {
//!has_trivial_destructor_after_move<> == true_type
//!specialization for optimizations
template <class Key, class Compare, class Allocator, class Options>
struct has_trivial_destructor_after_move<boost::container::multiset<Key, Compare, Allocator, Options> >
{
typedef typename ::boost::container::allocator_traits<Allocator>::pointer pointer;
static const bool value = ::boost::has_trivial_destructor_after_move<Allocator>::value &&
::boost::has_trivial_destructor_after_move<pointer>::value &&
::boost::has_trivial_destructor_after_move<Compare>::value;
};
namespace container {
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
}}
#include <boost/container/detail/config_end.hpp>
#endif // BOOST_CONTAINER_SET_HPP
|
koobonil/Boss2D
|
Boss2D/boost/container/set.hpp
|
C++
|
mit
| 68,433 |
#!/usr/bin/env python3
# Copyright (c) 2014-2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test fee estimation code."""
from decimal import Decimal
import random
from test_framework.messages import CTransaction, CTxIn, CTxOut, COutPoint, ToHex, COIN
from test_framework.script import CScript, OP_1, OP_DROP, OP_2, OP_HASH160, OP_EQUAL, hash160, OP_TRUE
from test_framework.test_framework import PivxTestFramework
from test_framework.util import connect_nodes, satoshi_round
# Use as minTxFee
MIN_FEE = Decimal("0.00001")
# Construct 2 trivial P2SH's and the ScriptSigs that spend them
# So we can create many transactions without needing to spend
# time signing.
redeem_script_1 = CScript([OP_1, OP_DROP])
redeem_script_2 = CScript([OP_2, OP_DROP])
P2SH_1 = CScript([OP_HASH160, hash160(redeem_script_1), OP_EQUAL])
P2SH_2 = CScript([OP_HASH160, hash160(redeem_script_2), OP_EQUAL])
# Associated ScriptSig's to spend satisfy P2SH_1 and P2SH_2
SCRIPT_SIG = [CScript([OP_TRUE, redeem_script_1]), CScript([OP_TRUE, redeem_script_2])]
global log
def small_txpuzzle_randfee(from_node, conflist, unconflist, amount, min_fee, fee_increment):
"""
Create and send a transaction with a random fee.
The transaction pays to a trivial P2SH script, and assumes that its inputs
are of the same form.
The function takes a list of confirmed outputs and unconfirmed outputs
and attempts to use the confirmed list first for its inputs.
It adds the newly created outputs to the unconfirmed list.
Returns (raw transaction, fee)
"""
# Don't send dust (3 * dustRelayFee.GetFee(182))
DUST_THRESHOLD = 55
assert int(amount*COIN) > DUST_THRESHOLD
# It's best to exponentially distribute our random fees
# because the buckets are exponentially spaced.
# Exponentially distributed from 1-128 * fee_increment
rand_fee = float(fee_increment)*(1.1892**random.randint(0,28))
# Total fee ranges from min_fee to min_fee + 127*fee_increment
fee = min_fee - fee_increment + satoshi_round(rand_fee)
tx = CTransaction()
total_in = Decimal("0.00000000")
while total_in <= (amount + fee) and len(conflist) > 0:
t = conflist.pop(0)
total_in += t["amount"]
tx.vin.append(CTxIn(COutPoint(int(t["txid"], 16), t["vout"]), b""))
if total_in <= amount + fee:
while total_in <= (amount + fee) and len(unconflist) > 0:
t = unconflist.pop(0)
total_in += t["amount"]
tx.vin.append(CTxIn(COutPoint(int(t["txid"], 16), t["vout"]), b""))
if total_in <= amount + fee:
raise RuntimeError("Insufficient funds: need %d, have %d"%(amount+fee, total_in))
tx.vout.append(CTxOut(int(amount * COIN), P2SH_1))
# Prevent the creation of dust change outputs (otherwise add the change value to the fee)
change = int((total_in - amount - fee)*COIN)
if change > DUST_THRESHOLD:
tx.vout.append(CTxOut(change, P2SH_2))
else:
fee += change
# These transactions don't need to be signed, but we still have to insert
# the ScriptSig that will satisfy the ScriptPubKey.
for inp in tx.vin:
inp.scriptSig = SCRIPT_SIG[inp.prevout.n]
txid = from_node.sendrawtransaction(ToHex(tx), True)
unconflist.append({"txid": txid, "vout": 0, "amount": amount})
if change > DUST_THRESHOLD:
unconflist.append({ "txid" : txid, "vout" : 1 , "amount" : total_in - amount - fee})
return (ToHex(tx), fee)
def split_inputs(from_node, txins, txouts, initial_split = False):
"""
We need to generate a lot of inputs so we can generate a ton of transactions.
This function takes an input from txins, and creates and sends a transaction
which splits the value into 2 outputs which are appended to txouts.
Previously this was designed to be small inputs so they wouldn't have
a high coin age when the notion of priority still existed.
"""
prevtxout = txins.pop()
tx = CTransaction()
tx.vin.append(CTxIn(COutPoint(int(prevtxout["txid"], 16), prevtxout["vout"]), b""))
half_change = satoshi_round(prevtxout["amount"]/2)
rem_change = prevtxout["amount"] - half_change - MIN_FEE
tx.vout.append(CTxOut(int(half_change*COIN), P2SH_1))
tx.vout.append(CTxOut(int(rem_change*COIN), P2SH_2))
# If this is the initial split we actually need to sign the transaction
# Otherwise we just need to insert the proper ScriptSig
if (initial_split) :
completetx = from_node.signrawtransaction(ToHex(tx))["hex"]
else :
tx.vin[0].scriptSig = SCRIPT_SIG[prevtxout["vout"]]
completetx = ToHex(tx)
txid = from_node.sendrawtransaction(completetx, True)
txouts.append({ "txid" : txid, "vout" : 0 , "amount" : half_change})
txouts.append({ "txid" : txid, "vout" : 1 , "amount" : rem_change})
def check_estimates(node, fees_seen, max_invalid, print_estimates = True):
"""
This function calls estimatefee and verifies that the estimates
meet certain invariants.
"""
all_estimates = [node.estimatefee(i) for i in range(1, 26)]
if print_estimates:
log.info([str(all_estimates[e-1]) for e in [1, 2, 3, 6, 15, 25]])
delta = 1.0e-6 # account for rounding error
last_e = max(fees_seen)
for e in [x for x in all_estimates if x >= 0]:
# Estimates should be within the bounds of what transactions fees actually were:
if float(e)+delta < min(fees_seen) or float(e)-delta > max(fees_seen):
raise AssertionError("Estimated fee (%f) out of range (%f,%f)"
% (float(e), min(fees_seen), max(fees_seen)))
# Estimates should be monotonically decreasing
if float(e)-delta > last_e:
raise AssertionError("Estimated fee (%f) larger than last fee (%f) for lower number of confirms"
% (float(e), float(last_e)))
last_e = e
valid_estimate = False
invalid_estimates = 0
for i, e in enumerate(all_estimates): # estimate is for i+1
if e >= 0:
valid_estimate = True
if i >= 13: # for n>=14 estimatesmartfee(n/2) should be at least as high as estimatefee(n)
assert(node.estimatesmartfee((i+1)//2)["feerate"] > float(e) - delta)
else:
invalid_estimates += 1
# estimatesmartfee should still be valid
approx_estimate = node.estimatesmartfee(i+1)["feerate"]
answer_found = node.estimatesmartfee(i+1)["blocks"]
assert(approx_estimate > 0)
assert(answer_found > i+1)
# Once we're at a high enough confirmation count that we can give an estimate
# We should have estimates for all higher confirmation counts
if valid_estimate:
raise AssertionError("Invalid estimate appears at higher confirm count than valid estimate")
# Check on the expected number of different confirmation counts
# that we might not have valid estimates for
if invalid_estimates > max_invalid:
raise AssertionError("More than (%d) invalid estimates" % max_invalid)
return all_estimates
class EstimateFeeTest(PivxTestFramework):
def set_test_params(self):
self.num_nodes = 3
def setup_network(self):
"""
We'll setup the network to have 3 nodes that all mine with different parameters.
But first we need to use one node to create a lot of outputs
which we will use to generate our transactions.
"""
self.add_nodes(3, extra_args=[["-nuparams=PoS:9999", "-nuparams=PoS_v2:9999", "-minrelaytxfee=0.000001"],
["-nuparams=PoS:9999", "-nuparams=PoS_v2:9999", "-minrelaytxfee=0.000001", "-blockmaxsize=18000"],
["-nuparams=PoS:9999", "-nuparams=PoS_v2:9999", "-minrelaytxfee=0.000001", "-blockmaxsize=9000"]])
# Use node0 to mine blocks for input splitting
# Node1 mines small blocks but that are bigger than the expected transaction rate.
# NOTE: the CreateNewBlock code starts counting block size at 1,000 bytes,
# (17k is room enough for 110 or so transactions)
# Node2 is a stingy miner, that
# produces too small blocks (room for only 55 or so transactions)
def transact_and_mine(self, numblocks, mining_node):
# We will now mine numblocks blocks generating on average 100 transactions between each block
# We shuffle our confirmed txout set before each set of transactions
# small_txpuzzle_randfee will use the transactions that have inputs already in the chain when possible
# resorting to tx's that depend on the mempool when those run out
for i in range(numblocks):
random.shuffle(self.confutxo)
for j in range(random.randrange(100-50,100+50)):
from_index = random.randint(1,2)
(txhex, fee) = small_txpuzzle_randfee(self.nodes[from_index], self.confutxo,
self.memutxo, Decimal("0.05"), MIN_FEE, MIN_FEE)
tx_kbytes = (len(txhex) // 2) / 1000.0
self.fees_per_kb.append(float(fee)/tx_kbytes)
self.sync_mempools(self.nodes[0:3], wait=.1)
mined = mining_node.getblock(mining_node.generate(1)[0],True)["tx"]
self.sync_blocks(self.nodes[0:3], wait=.1)
# update which txouts are confirmed
newmem = []
for utx in self.memutxo:
if utx["txid"] in mined:
self.confutxo.append(utx)
else:
newmem.append(utx)
self.memutxo = newmem
def run_test(self):
self.log.info("This test is time consuming, please be patient")
self.log.info("Splitting inputs so we can generate tx's")
# Make log handler available to helper functions
global log
log = self.log
# Start node0
self.start_node(0)
self.txouts = []
self.txouts2 = []
# Split a coinbase into two transaction puzzle outputs
split_inputs(self.nodes[0], self.nodes[0].listunspent(0), self.txouts, True)
# Mine
while (len(self.nodes[0].getrawmempool()) > 0):
self.nodes[0].generate(1)
# Repeatedly split those 2 outputs, doubling twice for each rep
# Use txouts to monitor the available utxo, since these won't be tracked in wallet
reps = 0
while (reps < 5):
#Double txouts to txouts2
while (len(self.txouts)>0):
split_inputs(self.nodes[0], self.txouts, self.txouts2)
while (len(self.nodes[0].getrawmempool()) > 0):
self.nodes[0].generate(1)
#Double txouts2 to txouts
while (len(self.txouts2)>0):
split_inputs(self.nodes[0], self.txouts2, self.txouts)
while (len(self.nodes[0].getrawmempool()) > 0):
self.nodes[0].generate(1)
reps += 1
self.log.info("Finished splitting")
# Now we can connect the other nodes, didn't want to connect them earlier
# so the estimates would not be affected by the splitting transactions
self.start_node(1)
self.start_node(2)
connect_nodes(self.nodes[1], 0)
connect_nodes(self.nodes[0], 2)
connect_nodes(self.nodes[2], 1)
self.sync_all()
self.fees_per_kb = []
self.memutxo = []
self.confutxo = self.txouts # Start with the set of confirmed txouts after splitting
self.log.info("Will output estimates for 1/2/3/6/15/25 blocks")
for i in range(2):
self.log.info("Creating transactions and mining them with a block size that can't keep up")
# Create transactions and mine 10 small blocks with node 2, but create txs faster than we can mine
self.transact_and_mine(10, self.nodes[2])
check_estimates(self.nodes[1], self.fees_per_kb, 14)
self.log.info("Creating transactions and mining them at a block size that is just big enough")
# Generate transactions while mining 10 more blocks, this time with node1
# which mines blocks with capacity just above the rate that transactions are being created
self.transact_and_mine(10, self.nodes[1])
check_estimates(self.nodes[1], self.fees_per_kb, 2)
# Finish by mining a normal-sized block:
while len(self.nodes[1].getrawmempool()) > 0:
self.nodes[1].generate(1)
self.sync_blocks(self.nodes[0:3], wait=.1)
self.log.info("Final estimates after emptying mempools")
check_estimates(self.nodes[1], self.fees_per_kb, 2)
if __name__ == '__main__':
EstimateFeeTest().main()
|
PIVX-Project/PIVX
|
test/functional/feature_fee_estimation.py
|
Python
|
mit
| 12,992 |
/*
* Vishwajeet Vatharkar
*/
function validateLoginForm()
{
var usernameInput = document.getElementById("username").value;
var passwordInput = document.getElementById("password").value;
var minlength = 5;
var maxlength = 13;
if( ( usernameInput.length > minlength && usernameInput.length < maxlength)
||
(passwordInput.length > minlength && passwordInput.length < maxlength)
)
{
document.getElementById("loginForm").submit();
}
else
{
alert("Please Input Username or Password in valid format");
returnToPreviousPage();
return false;
}
}
|
vishwajeetv/Java_Web
|
web/js/loginValidation.js
|
JavaScript
|
mit
| 674 |
<!DOCTYPE HTML>
<html lang="en-US" >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
<title>回溯, BFS/DFS | Leetcode Summary</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="">
<meta name="generator" content="GitBook 1.5.0">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="../backtracking/Clone-Graph.html" />
<link rel="prev" href="../matrix/Maximal-Rectangle.html" />
</head>
<body>
<link rel="stylesheet" href="../gitbook/style.css">
<div class="book" data-level="10" data-basepath=".." data-revision="1419875454975">
<div class="book-summary">
<div class="book-search">
<input type="text" placeholder="Type to search" class="form-control" />
</div>
<ul class="summary">
<li class="chapter " data-level="0" data-path="index.html">
<a href="../index.html">
<i class="fa fa-check"></i>
Introduction
</a>
</li>
<li class="chapter " data-level="1" data-path="dp/README.html">
<a href="../dp/README.html">
<i class="fa fa-check"></i>
<b>1.</b>
DP, 动态规划类
</a>
<ul class="articles">
<li class="chapter " data-level="1.1" data-path="dp/Best-Time-to-Buy-and-Sell-Stock-III.html">
<a href="../dp/Best-Time-to-Buy-and-Sell-Stock-III.html">
<i class="fa fa-check"></i>
<b>1.1.</b>
Best Time to Buy and Sell Stock III 题解
</a>
</li>
<li class="chapter " data-level="1.2" data-path="dp/Best-Time-to-Buy-and-Sell-Stock.html">
<a href="../dp/Best-Time-to-Buy-and-Sell-Stock.html">
<i class="fa fa-check"></i>
<b>1.2.</b>
Best Time to Buy and Sell Stock 题解
</a>
</li>
<li class="chapter " data-level="1.3" data-path="dp/Climbing-Stairs.html">
<a href="../dp/Climbing-Stairs.html">
<i class="fa fa-check"></i>
<b>1.3.</b>
Climbing Stairs 题解
</a>
</li>
<li class="chapter " data-level="1.4" data-path="dp/Decode-Ways.html">
<a href="../dp/Decode-Ways.html">
<i class="fa fa-check"></i>
<b>1.4.</b>
Decode Ways 题解
</a>
</li>
<li class="chapter " data-level="1.5" data-path="dp/Distinct-Subsequences.html">
<a href="../dp/Distinct-Subsequences.html">
<i class="fa fa-check"></i>
<b>1.5.</b>
Distinct Subsequences 题解
</a>
</li>
<li class="chapter " data-level="1.6" data-path="dp/Edit-Distance.html">
<a href="../dp/Edit-Distance.html">
<i class="fa fa-check"></i>
<b>1.6.</b>
Edit Distance 题解
</a>
</li>
<li class="chapter " data-level="1.7" data-path="dp/Interleaving-String.html">
<a href="../dp/Interleaving-String.html">
<i class="fa fa-check"></i>
<b>1.7.</b>
Interleaving String 题解
</a>
</li>
<li class="chapter " data-level="1.8" data-path="dp/Longest-Palindromic-Substring.html">
<a href="../dp/Longest-Palindromic-Substring.html">
<i class="fa fa-check"></i>
<b>1.8.</b>
Longest Palindromic Substring 题解
</a>
</li>
<li class="chapter " data-level="1.9" data-path="dp/Maximum-Product-Subarray.html">
<a href="../dp/Maximum-Product-Subarray.html">
<i class="fa fa-check"></i>
<b>1.9.</b>
Maximum Product Subarray 题解
</a>
</li>
<li class="chapter " data-level="1.10" data-path="dp/Maximum-Subarray.html">
<a href="../dp/Maximum-Subarray.html">
<i class="fa fa-check"></i>
<b>1.10.</b>
Maximum Subarray 题解
</a>
</li>
<li class="chapter " data-level="1.11" data-path="dp/Minimum-Path-Sum.html">
<a href="../dp/Minimum-Path-Sum.html">
<i class="fa fa-check"></i>
<b>1.11.</b>
Minimum Path Sum 题解
</a>
</li>
<li class="chapter " data-level="1.12" data-path="dp/Palindrome-Partitioning.html">
<a href="../dp/Palindrome-Partitioning.html">
<i class="fa fa-check"></i>
<b>1.12.</b>
Palindrome Partitioning 题解
</a>
</li>
<li class="chapter " data-level="1.13" data-path="dp/Palindrome-Partitioning-II.html">
<a href="../dp/Palindrome-Partitioning-II.html">
<i class="fa fa-check"></i>
<b>1.13.</b>
Palindrome Partitioning II 题解
</a>
</li>
<li class="chapter " data-level="1.14" data-path="dp/Scramble-String.html">
<a href="../dp/Scramble-String.html">
<i class="fa fa-check"></i>
<b>1.14.</b>
Scramble String 题解
</a>
</li>
<li class="chapter " data-level="1.15" data-path="dp/Triangle.html">
<a href="../dp/Triangle.html">
<i class="fa fa-check"></i>
<b>1.15.</b>
Triangle 题解
</a>
</li>
<li class="chapter " data-level="1.16" data-path="dp/Unique-Binary-Search-Trees.html">
<a href="../dp/Unique-Binary-Search-Trees.html">
<i class="fa fa-check"></i>
<b>1.16.</b>
Unique Binary Search Trees 题解
</a>
</li>
<li class="chapter " data-level="1.17" data-path="dp/Unique-Paths-II.html">
<a href="../dp/Unique-Paths-II.html">
<i class="fa fa-check"></i>
<b>1.17.</b>
Unique Paths II 题解
</a>
</li>
<li class="chapter " data-level="1.18" data-path="dp/Word-Break.html">
<a href="../dp/Word-Break.html">
<i class="fa fa-check"></i>
<b>1.18.</b>
Word Break 题解
</a>
</li>
<li class="chapter " data-level="1.19" data-path="dp/Word-Break-II.html">
<a href="../dp/Word-Break-II.html">
<i class="fa fa-check"></i>
<b>1.19.</b>
Word Break II 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2" data-path="list/README.html">
<a href="../list/README.html">
<i class="fa fa-check"></i>
<b>2.</b>
list, 链表相关
</a>
<ul class="articles">
<li class="chapter " data-level="2.1" data-path="list/Add-Two-Numbers.html">
<a href="../list/Add-Two-Numbers.html">
<i class="fa fa-check"></i>
<b>2.1.</b>
Add Two Numbers 题解
</a>
</li>
<li class="chapter " data-level="2.2" data-path="list/Convert-Sorted-List-to-Binary-Search-Tree.html">
<a href="../list/Convert-Sorted-List-to-Binary-Search-Tree.html">
<i class="fa fa-check"></i>
<b>2.2.</b>
Convert Sorted List to Binary Search Tree 题解
</a>
</li>
<li class="chapter " data-level="2.3" data-path="list/Copy-List-with-Random-Pointer.html">
<a href="../list/Copy-List-with-Random-Pointer.html">
<i class="fa fa-check"></i>
<b>2.3.</b>
Copy List with Random Pointer 题解
</a>
</li>
<li class="chapter " data-level="2.4" data-path="list/Insertion-Sort-List.html">
<a href="../list/Insertion-Sort-List.html">
<i class="fa fa-check"></i>
<b>2.4.</b>
Insertion Sort List 题解
</a>
</li>
<li class="chapter " data-level="2.5" data-path="list/LRU-Cache.html">
<a href="../list/LRU-Cache.html">
<i class="fa fa-check"></i>
<b>2.5.</b>
LRU Cache 题解
</a>
</li>
<li class="chapter " data-level="2.6" data-path="list/Linked-List-Cycle.html">
<a href="../list/Linked-List-Cycle.html">
<i class="fa fa-check"></i>
<b>2.6.</b>
Linked List Cycle 题解
</a>
</li>
<li class="chapter " data-level="2.7" data-path="list/Linked-List-Cycle-II.html">
<a href="../list/Linked-List-Cycle-II.html">
<i class="fa fa-check"></i>
<b>2.7.</b>
Linked List Cycle II 题解
</a>
</li>
<li class="chapter " data-level="2.8" data-path="list/Merge-Two-Sorted-Lists.html">
<a href="../list/Merge-Two-Sorted-Lists.html">
<i class="fa fa-check"></i>
<b>2.8.</b>
Merge Two Sorted Lists 题解
</a>
</li>
<li class="chapter " data-level="2.9" data-path="list/Merge-k-Sorted-Lists.html">
<a href="../list/Merge-k-Sorted-Lists.html">
<i class="fa fa-check"></i>
<b>2.9.</b>
Merge k Sorted Lists 题解
</a>
</li>
<li class="chapter " data-level="2.10" data-path="list/Partition-List.html">
<a href="../list/Partition-List.html">
<i class="fa fa-check"></i>
<b>2.10.</b>
Partition List 题解
</a>
</li>
<li class="chapter " data-level="2.11" data-path="list/Remove-Duplicates-from-Sorted-List.html">
<a href="../list/Remove-Duplicates-from-Sorted-List.html">
<i class="fa fa-check"></i>
<b>2.11.</b>
Remove Duplicates from Sorted List 题解
</a>
</li>
<li class="chapter " data-level="2.12" data-path="list/Remove-Duplicates-from-Sorted-List-II.html">
<a href="../list/Remove-Duplicates-from-Sorted-List-II.html">
<i class="fa fa-check"></i>
<b>2.12.</b>
Remove Duplicates from Sorted List II 题解
</a>
</li>
<li class="chapter " data-level="2.13" data-path="list/Remove-Nth-Node-From-End-of-List.html">
<a href="../list/Remove-Nth-Node-From-End-of-List.html">
<i class="fa fa-check"></i>
<b>2.13.</b>
Remove Nth Node From End of List 题解
</a>
</li>
<li class="chapter " data-level="2.14" data-path="list/Reorder-List.html">
<a href="../list/Reorder-List.html">
<i class="fa fa-check"></i>
<b>2.14.</b>
Reorder List 题解
</a>
</li>
<li class="chapter " data-level="2.15" data-path="list/Reverse-Linked-List-II.html">
<a href="../list/Reverse-Linked-List-II.html">
<i class="fa fa-check"></i>
<b>2.15.</b>
Reverse Linked List II 题解
</a>
</li>
<li class="chapter " data-level="2.16" data-path="list/Reverse-Nodes-in-k-Group.html">
<a href="../list/Reverse-Nodes-in-k-Group.html">
<i class="fa fa-check"></i>
<b>2.16.</b>
Reverse Nodes in k-Group 题解
</a>
</li>
<li class="chapter " data-level="2.17" data-path="list/Rotate-List.html">
<a href="../list/Rotate-List.html">
<i class="fa fa-check"></i>
<b>2.17.</b>
Rotate List 题解
</a>
</li>
<li class="chapter " data-level="2.18" data-path="list/Sort-List.html">
<a href="../list/Sort-List.html">
<i class="fa fa-check"></i>
<b>2.18.</b>
Sort List 题解
</a>
</li>
<li class="chapter " data-level="2.19" data-path="list/Swap-Nodes-in-Pairs.html">
<a href="../list/Swap-Nodes-in-Pairs.html">
<i class="fa fa-check"></i>
<b>2.19.</b>
Swap Nodes in Pairs 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3" data-path="binary-tree/README.html">
<a href="../binary-tree/README.html">
<i class="fa fa-check"></i>
<b>3.</b>
binary tree, 二叉树相关
</a>
<ul class="articles">
<li class="chapter " data-level="3.1" data-path="binary-tree/Balanced-Binary-Tree.html">
<a href="../binary-tree/Balanced-Binary-Tree.html">
<i class="fa fa-check"></i>
<b>3.1.</b>
Balanced Binary Tree 题解
</a>
</li>
<li class="chapter " data-level="3.2" data-path="binary-tree/Binary-Tree-Inorder-Traversal.html">
<a href="../binary-tree/Binary-Tree-Inorder-Traversal.html">
<i class="fa fa-check"></i>
<b>3.2.</b>
Binary Tree Inorder Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.3" data-path="binary-tree/Binary-Tree-Level-Order-Traversal.html">
<a href="../binary-tree/Binary-Tree-Level-Order-Traversal.html">
<i class="fa fa-check"></i>
<b>3.3.</b>
Binary Tree Level Order Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.4" data-path="binary-tree/Binary-Tree-Level-Order-Traversal-II.html">
<a href="../binary-tree/Binary-Tree-Level-Order-Traversal-II.html">
<i class="fa fa-check"></i>
<b>3.4.</b>
Binary Tree Level Order Traversal II 题解
</a>
</li>
<li class="chapter " data-level="3.5" data-path="binary-tree/Binary-Tree-Maximum-Path-Sum.html">
<a href="../binary-tree/Binary-Tree-Maximum-Path-Sum.html">
<i class="fa fa-check"></i>
<b>3.5.</b>
Binary Tree Maximum Path Sum 题解
</a>
</li>
<li class="chapter " data-level="3.6" data-path="binary-tree/Binary-Tree-Postorder-Traversal.html">
<a href="../binary-tree/Binary-Tree-Postorder-Traversal.html">
<i class="fa fa-check"></i>
<b>3.6.</b>
Binary Tree Postorder Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.7" data-path="binary-tree/Binary-Tree-Preorder-Traversal.html">
<a href="../binary-tree/Binary-Tree-Preorder-Traversal.html">
<i class="fa fa-check"></i>
<b>3.7.</b>
Binary Tree Preorder Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.8" data-path="binary-tree/Binary-Tree-Zigzag-Level-Order-Traversal.html">
<a href="../binary-tree/Binary-Tree-Zigzag-Level-Order-Traversal.html">
<i class="fa fa-check"></i>
<b>3.8.</b>
Binary Tree Zigzag Level Order Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.9" data-path="binary-tree/Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.html">
<a href="../binary-tree/Construct-Binary-Tree-from-Inorder-and-Postorder-Traversal.html">
<i class="fa fa-check"></i>
<b>3.9.</b>
Construct Binary Tree from Inorder and Postorder Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.10" data-path="binary-tree/Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.html">
<a href="../binary-tree/Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.html">
<i class="fa fa-check"></i>
<b>3.10.</b>
Construct Binary Tree from Preorder and Inorder Traversal 题解
</a>
</li>
<li class="chapter " data-level="3.11" data-path="binary-tree/Convert-Sorted-List-to-Binary-Search-Tree.html">
<a href="../binary-tree/Convert-Sorted-List-to-Binary-Search-Tree.html">
<i class="fa fa-check"></i>
<b>3.11.</b>
Convert Sorted List to Binary Search Tree 题解
</a>
</li>
<li class="chapter " data-level="3.12" data-path="binary-tree/Flatten-Binary-Tree-to-Linked-List.html">
<a href="../binary-tree/Flatten-Binary-Tree-to-Linked-List.html">
<i class="fa fa-check"></i>
<b>3.12.</b>
Flatten Binary Tree to Linked List 题解
</a>
</li>
<li class="chapter " data-level="3.13" data-path="binary-tree/Maximum-Depth-of-Binary-Tree.html">
<a href="../binary-tree/Maximum-Depth-of-Binary-Tree.html">
<i class="fa fa-check"></i>
<b>3.13.</b>
Maximum Depth of Binary Tree 题解
</a>
</li>
<li class="chapter " data-level="3.14" data-path="binary-tree/Minimum-Depth-of-Binary-Tree.html">
<a href="../binary-tree/Minimum-Depth-of-Binary-Tree.html">
<i class="fa fa-check"></i>
<b>3.14.</b>
Minimum Depth of Binary Tree 题解
</a>
</li>
<li class="chapter " data-level="3.15" data-path="binary-tree/Path-Sum.html">
<a href="../binary-tree/Path-Sum.html">
<i class="fa fa-check"></i>
<b>3.15.</b>
Path Sum 题解
</a>
</li>
<li class="chapter " data-level="3.16" data-path="binary-tree/Path-Sum-II.html">
<a href="../binary-tree/Path-Sum-II.html">
<i class="fa fa-check"></i>
<b>3.16.</b>
Path Sum II 题解
</a>
</li>
<li class="chapter " data-level="3.17" data-path="binary-tree/Populating-Next-Right-Pointers-in-Each-Node.html">
<a href="../binary-tree/Populating-Next-Right-Pointers-in-Each-Node.html">
<i class="fa fa-check"></i>
<b>3.17.</b>
Populating Next Right Pointers in Each Node 题解
</a>
</li>
<li class="chapter " data-level="3.18" data-path="binary-tree/populating-next-right-pointers-in-each-node-ii.html">
<a href="../binary-tree/populating-next-right-pointers-in-each-node-ii.html">
<i class="fa fa-check"></i>
<b>3.18.</b>
Populating Next Right Pointers in Each Node II 题解
</a>
</li>
<li class="chapter " data-level="3.19" data-path="binary-tree/Recover-Binary-Search-Tree.html">
<a href="../binary-tree/Recover-Binary-Search-Tree.html">
<i class="fa fa-check"></i>
<b>3.19.</b>
Recover Binary Search Tree 题解
</a>
</li>
<li class="chapter " data-level="3.20" data-path="binary-tree/Same-Tree.html">
<a href="../binary-tree/Same-Tree.html">
<i class="fa fa-check"></i>
<b>3.20.</b>
Same Tree 题解
</a>
</li>
<li class="chapter " data-level="3.21" data-path="binary-tree/Sum-Root-to-Leaf-Numbers.html">
<a href="../binary-tree/Sum-Root-to-Leaf-Numbers.html">
<i class="fa fa-check"></i>
<b>3.21.</b>
Sum Root to Leaf Numbers 题解
</a>
</li>
<li class="chapter " data-level="3.22" data-path="binary-tree/Symmetric-Tree.html">
<a href="../binary-tree/Symmetric-Tree.html">
<i class="fa fa-check"></i>
<b>3.22.</b>
Symmetric Tree 题解
</a>
</li>
<li class="chapter " data-level="3.23" data-path="binary-tree/Unique-Binary-Search-Trees.html">
<a href="../binary-tree/Unique-Binary-Search-Trees.html">
<i class="fa fa-check"></i>
<b>3.23.</b>
Unique Binary Search Trees 题解
</a>
</li>
<li class="chapter " data-level="3.24" data-path="binary-tree/Unique-Binary-Search-Trees-II.html">
<a href="../binary-tree/Unique-Binary-Search-Trees-II.html">
<i class="fa fa-check"></i>
<b>3.24.</b>
Unique Binary Search Trees II 题解
</a>
</li>
<li class="chapter " data-level="3.25" data-path="binary-tree/Validate-Binary-Search-Tree.html">
<a href="../binary-tree/Validate-Binary-Search-Tree.html">
<i class="fa fa-check"></i>
<b>3.25.</b>
Validate Binary Search Tree 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4" data-path="sort/README.html">
<a href="../sort/README.html">
<i class="fa fa-check"></i>
<b>4.</b>
sort, 排序相关
</a>
<ul class="articles">
<li class="chapter " data-level="4.1" data-path="sort/3Sum-Closest.html">
<a href="../sort/3Sum-Closest.html">
<i class="fa fa-check"></i>
<b>4.1.</b>
3Sum Closest 题解
</a>
</li>
<li class="chapter " data-level="4.2" data-path="sort/3Sum.html">
<a href="../sort/3Sum.html">
<i class="fa fa-check"></i>
<b>4.2.</b>
3Sum 题解
</a>
</li>
<li class="chapter " data-level="4.3" data-path="sort/4Sum.html">
<a href="../sort/4Sum.html">
<i class="fa fa-check"></i>
<b>4.3.</b>
4Sum 题解
</a>
</li>
<li class="chapter " data-level="4.4" data-path="sort/Insert-Interval.html">
<a href="../sort/Insert-Interval.html">
<i class="fa fa-check"></i>
<b>4.4.</b>
Insert Interval 题解
</a>
</li>
<li class="chapter " data-level="4.5" data-path="sort/Longest-Consecutive-Sequence.html">
<a href="../sort/Longest-Consecutive-Sequence.html">
<i class="fa fa-check"></i>
<b>4.5.</b>
Longest Consecutive Sequence 题解
</a>
</li>
<li class="chapter " data-level="4.6" data-path="sort/Merge-Intervals.html">
<a href="../sort/Merge-Intervals.html">
<i class="fa fa-check"></i>
<b>4.6.</b>
Merge Intervals 题解
</a>
</li>
<li class="chapter " data-level="4.7" data-path="sort/Merge-Sorted-Array.html">
<a href="../sort/Merge-Sorted-Array.html">
<i class="fa fa-check"></i>
<b>4.7.</b>
Merge Sorted Array 题解
</a>
</li>
<li class="chapter " data-level="4.8" data-path="sort/Remove-Duplicates-from-Sorted-Array.html">
<a href="../sort/Remove-Duplicates-from-Sorted-Array.html">
<i class="fa fa-check"></i>
<b>4.8.</b>
Remove Duplicates from Sorted Array 题解
</a>
</li>
<li class="chapter " data-level="4.9" data-path="sort/Remove-Duplicates-from-Sorted-Array-II.html">
<a href="../sort/Remove-Duplicates-from-Sorted-Array-II.html">
<i class="fa fa-check"></i>
<b>4.9.</b>
Remove Duplicates from Sorted Array II 题解
</a>
</li>
<li class="chapter " data-level="4.10" data-path="sort/Sort-Colors.html">
<a href="../sort/Sort-Colors.html">
<i class="fa fa-check"></i>
<b>4.10.</b>
Sort Colors 题解
</a>
</li>
<li class="chapter " data-level="4.11" data-path="sort/Two-Sum.html">
<a href="../sort/Two-Sum.html">
<i class="fa fa-check"></i>
<b>4.11.</b>
Two Sum 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5" data-path="search/README.html">
<a href="../search/README.html">
<i class="fa fa-check"></i>
<b>5.</b>
search, 搜索相关
</a>
<ul class="articles">
<li class="chapter " data-level="5.1" data-path="search/First-Missing-Positive.html">
<a href="../search/First-Missing-Positive.html">
<i class="fa fa-check"></i>
<b>5.1.</b>
First Missing Positive 题解
</a>
</li>
<li class="chapter " data-level="5.2" data-path="search/find-minimum-in-rotated-sorted-array.html">
<a href="../search/find-minimum-in-rotated-sorted-array.html">
<i class="fa fa-check"></i>
<b>5.2.</b>
Find Minimum in Rotated Sorted Array 题解
</a>
</li>
<li class="chapter " data-level="5.3" data-path="search/find-minimum-in-rotated-sorted-array-II.html">
<a href="../search/find-minimum-in-rotated-sorted-array-II.html">
<i class="fa fa-check"></i>
<b>5.3.</b>
Find Minimum in Rotated Sorted Array II 题解
</a>
</li>
<li class="chapter " data-level="5.4" data-path="search/Median-of-Two-Sorted-Arrays.html">
<a href="../search/Median-of-Two-Sorted-Arrays.html">
<i class="fa fa-check"></i>
<b>5.4.</b>
Median of Two Sorted Arrays 题解
</a>
</li>
<li class="chapter " data-level="5.5" data-path="search/Search-Insert-Position.html">
<a href="../search/Search-Insert-Position.html">
<i class="fa fa-check"></i>
<b>5.5.</b>
Search Insert Position 题解
</a>
</li>
<li class="chapter " data-level="5.6" data-path="search/Search-a-2D-Matrix.html">
<a href="../search/Search-a-2D-Matrix.html">
<i class="fa fa-check"></i>
<b>5.6.</b>
Search a 2D Matrix 题解
</a>
</li>
<li class="chapter " data-level="5.7" data-path="search/Search-for-a-Range.html">
<a href="../search/Search-for-a-Range.html">
<i class="fa fa-check"></i>
<b>5.7.</b>
Search for a Range 题解
</a>
</li>
<li class="chapter " data-level="5.8" data-path="search/Search-in-Rotated-Sorted-Array.html">
<a href="../search/Search-in-Rotated-Sorted-Array.html">
<i class="fa fa-check"></i>
<b>5.8.</b>
Search in Rotated Sorted Array 题解
</a>
</li>
<li class="chapter " data-level="5.9" data-path="search/Search-in-Rotated-Sorted-Array-II.html">
<a href="../search/Search-in-Rotated-Sorted-Array-II.html">
<i class="fa fa-check"></i>
<b>5.9.</b>
Search in Rotated Sorted Array II 题解
</a>
</li>
<li class="chapter " data-level="5.10" data-path="search/Single-Number.html">
<a href="../search/Single-Number.html">
<i class="fa fa-check"></i>
<b>5.10.</b>
Single Number 题解
</a>
</li>
<li class="chapter " data-level="5.11" data-path="search/Single-Number-II.html">
<a href="../search/Single-Number-II.html">
<i class="fa fa-check"></i>
<b>5.11.</b>
Single Number II 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="6" data-path="math/README.html">
<a href="../math/README.html">
<i class="fa fa-check"></i>
<b>6.</b>
math, 数学类相关
</a>
<ul class="articles">
<li class="chapter " data-level="6.1" data-path="math/Add-Binary.html">
<a href="../math/Add-Binary.html">
<i class="fa fa-check"></i>
<b>6.1.</b>
Add Binary 题解
</a>
</li>
<li class="chapter " data-level="6.2" data-path="math/Add-Two-Numbers.html">
<a href="../math/Add-Two-Numbers.html">
<i class="fa fa-check"></i>
<b>6.2.</b>
Add Two Numbers 题解
</a>
</li>
<li class="chapter " data-level="6.3" data-path="math/Divide-Two-Integers.html">
<a href="../math/Divide-Two-Integers.html">
<i class="fa fa-check"></i>
<b>6.3.</b>
Divide Two Integers 题解
</a>
</li>
<li class="chapter " data-level="6.4" data-path="math/Gray-Code.html">
<a href="../math/Gray-Code.html">
<i class="fa fa-check"></i>
<b>6.4.</b>
Gray Code 题解
</a>
</li>
<li class="chapter " data-level="6.5" data-path="math/Integer-to-Roman.html">
<a href="../math/Integer-to-Roman.html">
<i class="fa fa-check"></i>
<b>6.5.</b>
Integer to Roman 题解
</a>
</li>
<li class="chapter " data-level="6.6" data-path="math/Multiply-Strings.html">
<a href="../math/Multiply-Strings.html">
<i class="fa fa-check"></i>
<b>6.6.</b>
Multiply Strings 题解
</a>
</li>
<li class="chapter " data-level="6.7" data-path="math/Palindrome-Number.html">
<a href="../math/Palindrome-Number.html">
<i class="fa fa-check"></i>
<b>6.7.</b>
Palindrome Number 题解
</a>
</li>
<li class="chapter " data-level="6.8" data-path="math/Plus-One.html">
<a href="../math/Plus-One.html">
<i class="fa fa-check"></i>
<b>6.8.</b>
Plus One 题解
</a>
</li>
<li class="chapter " data-level="6.9" data-path="math/Pow(x,-n">
<a href="../math/Pow(x,-n">
<i class="fa fa-check"></i>
<b>6.9.</b>
Pow(x, n) 题解
</a>
</li>
<li class="chapter " data-level="6.10" data-path="math/Reverse-Integer.html">
<a href="../math/Reverse-Integer.html">
<i class="fa fa-check"></i>
<b>6.10.</b>
Reverse Integer 题解
</a>
</li>
<li class="chapter " data-level="6.11" data-path="math/Roman-to-Integer.html">
<a href="../math/Roman-to-Integer.html">
<i class="fa fa-check"></i>
<b>6.11.</b>
Roman to Integer 题解
</a>
</li>
<li class="chapter " data-level="6.12" data-path="math/Sqrt(x">
<a href="../math/Sqrt(x">
<i class="fa fa-check"></i>
<b>6.12.</b>
Sqrt(x) 题解
</a>
</li>
<li class="chapter " data-level="6.13" data-path="math/String-to-Integer-(atoi">
<a href="../math/String-to-Integer-(atoi">
<i class="fa fa-check"></i>
<b>6.13.</b>
String to Integer (atoi) 题解
</a>
</li>
<li class="chapter " data-level="6.14" data-path="math/Valid-Number.html">
<a href="../math/Valid-Number.html">
<i class="fa fa-check"></i>
<b>6.14.</b>
Valid Number 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="7" data-path="string/README.html">
<a href="../string/README.html">
<i class="fa fa-check"></i>
<b>7.</b>
string, 字符串处理相关
</a>
<ul class="articles">
<li class="chapter " data-level="7.1" data-path="string/Anagrams.html">
<a href="../string/Anagrams.html">
<i class="fa fa-check"></i>
<b>7.1.</b>
Anagrams 题解
</a>
</li>
<li class="chapter " data-level="7.2" data-path="string/Count-and-Say.html">
<a href="../string/Count-and-Say.html">
<i class="fa fa-check"></i>
<b>7.2.</b>
Count and Say 题解
</a>
</li>
<li class="chapter " data-level="7.3" data-path="string/Evaluate-Reverse-Polish-Notation.html">
<a href="../string/Evaluate-Reverse-Polish-Notation.html">
<i class="fa fa-check"></i>
<b>7.3.</b>
Evaluate Reverse Polish Notation 题解
</a>
</li>
<li class="chapter " data-level="7.4" data-path="string/Implement-strStr(">
<a href="../string/Implement-strStr(">
<i class="fa fa-check"></i>
<b>7.4.</b>
Implement strStr() 题解
</a>
</li>
<li class="chapter " data-level="7.5" data-path="string/Length-of-Last-Word.html">
<a href="../string/Length-of-Last-Word.html">
<i class="fa fa-check"></i>
<b>7.5.</b>
Length of Last Word 题解
</a>
</li>
<li class="chapter " data-level="7.6" data-path="string/Longest-Common-Prefix.html">
<a href="../string/Longest-Common-Prefix.html">
<i class="fa fa-check"></i>
<b>7.6.</b>
Longest Common Prefix 题解
</a>
</li>
<li class="chapter " data-level="7.7" data-path="string/Longest-Palindromic-Substring.html">
<a href="../string/Longest-Palindromic-Substring.html">
<i class="fa fa-check"></i>
<b>7.7.</b>
Longest Palindromic Substring 题解
</a>
</li>
<li class="chapter " data-level="7.8" data-path="string/Longest-Substring-Without-Repeating-Characters.html">
<a href="../string/Longest-Substring-Without-Repeating-Characters.html">
<i class="fa fa-check"></i>
<b>7.8.</b>
Longest Substring Without Repeating Characters 题解
</a>
</li>
<li class="chapter " data-level="7.9" data-path="string/Longest-Valid-Parentheses.html">
<a href="../string/Longest-Valid-Parentheses.html">
<i class="fa fa-check"></i>
<b>7.9.</b>
Longest Valid Parentheses 题解
</a>
</li>
<li class="chapter " data-level="7.10" data-path="string/Minimum-Window-Substring.html">
<a href="../string/Minimum-Window-Substring.html">
<i class="fa fa-check"></i>
<b>7.10.</b>
Minimum Window Substring 题解
</a>
</li>
<li class="chapter " data-level="7.11" data-path="string/Regular-Expression-Matching.html">
<a href="../string/Regular-Expression-Matching.html">
<i class="fa fa-check"></i>
<b>7.11.</b>
Regular Expression Matching 题解
</a>
</li>
<li class="chapter " data-level="7.12" data-path="string/Reverse-Words-in-a-String.html">
<a href="../string/Reverse-Words-in-a-String.html">
<i class="fa fa-check"></i>
<b>7.12.</b>
Reverse Words in a String 题解
</a>
</li>
<li class="chapter " data-level="7.13" data-path="string/Simplify-Path.html">
<a href="../string/Simplify-Path.html">
<i class="fa fa-check"></i>
<b>7.13.</b>
Simplify Path 题解
</a>
</li>
<li class="chapter " data-level="7.14" data-path="string/Text-Justification.html">
<a href="../string/Text-Justification.html">
<i class="fa fa-check"></i>
<b>7.14.</b>
Text Justification 题解
</a>
</li>
<li class="chapter " data-level="7.15" data-path="string/Valid-Parentheses.html">
<a href="../string/Valid-Parentheses.html">
<i class="fa fa-check"></i>
<b>7.15.</b>
Valid Parentheses 题解
</a>
</li>
<li class="chapter " data-level="7.16" data-path="string/Wildcard-Matching.html">
<a href="../string/Wildcard-Matching.html">
<i class="fa fa-check"></i>
<b>7.16.</b>
Wildcard Matching 题解
</a>
</li>
<li class="chapter " data-level="7.17" data-path="string/ZigZag-Conversion.html">
<a href="../string/ZigZag-Conversion.html">
<i class="fa fa-check"></i>
<b>7.17.</b>
ZigZag Conversion 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="8" data-path="combination-permutation/README.html">
<a href="../combination-permutation/README.html">
<i class="fa fa-check"></i>
<b>8.</b>
combination and permutation, 排列组合相关
</a>
<ul class="articles">
<li class="chapter " data-level="8.1" data-path="combination-permutation/Combinations.html">
<a href="../combination-permutation/Combinations.html">
<i class="fa fa-check"></i>
<b>8.1.</b>
Combinations 题解
</a>
</li>
<li class="chapter " data-level="8.2" data-path="combination-permutation/Combination-Sum.html">
<a href="../combination-permutation/Combination-Sum.html">
<i class="fa fa-check"></i>
<b>8.2.</b>
Combination Sum 题解
</a>
</li>
<li class="chapter " data-level="8.3" data-path="combination-permutation/Combination-Sum-II.html">
<a href="../combination-permutation/Combination-Sum-II.html">
<i class="fa fa-check"></i>
<b>8.3.</b>
Combination Sum II 题解
</a>
</li>
<li class="chapter " data-level="8.4" data-path="combination-permutation/Letter-Combinations-of-a-Phone-Number.html">
<a href="../combination-permutation/Letter-Combinations-of-a-Phone-Number.html">
<i class="fa fa-check"></i>
<b>8.4.</b>
Letter Combinations of a Phone Number 题解
</a>
</li>
<li class="chapter " data-level="8.5" data-path="combination-permutation/Next-Permutation.html">
<a href="../combination-permutation/Next-Permutation.html">
<i class="fa fa-check"></i>
<b>8.5.</b>
Next Permutation 题解
</a>
</li>
<li class="chapter " data-level="8.6" data-path="combination-permutation/Palindrome-Partitioning.html">
<a href="../combination-permutation/Palindrome-Partitioning.html">
<i class="fa fa-check"></i>
<b>8.6.</b>
Palindrome Partitioning 题解
</a>
</li>
<li class="chapter " data-level="8.7" data-path="combination-permutation/Permutation-Sequence.html">
<a href="../combination-permutation/Permutation-Sequence.html">
<i class="fa fa-check"></i>
<b>8.7.</b>
Permutation Sequence 题解
</a>
</li>
<li class="chapter " data-level="8.8" data-path="combination-permutation/Permutations.html">
<a href="../combination-permutation/Permutations.html">
<i class="fa fa-check"></i>
<b>8.8.</b>
Permutations 题解
</a>
</li>
<li class="chapter " data-level="8.9" data-path="combination-permutation/Permutations-II.html">
<a href="../combination-permutation/Permutations-II.html">
<i class="fa fa-check"></i>
<b>8.9.</b>
Permutations II 题解
</a>
</li>
<li class="chapter " data-level="8.10" data-path="combination-permutation/Subsets.html">
<a href="../combination-permutation/Subsets.html">
<i class="fa fa-check"></i>
<b>8.10.</b>
Subsets 题解
</a>
</li>
<li class="chapter " data-level="8.11" data-path="combination-permutation/Subsets-II.html">
<a href="../combination-permutation/Subsets-II.html">
<i class="fa fa-check"></i>
<b>8.11.</b>
Subsets II 题解
</a>
</li>
<li class="chapter " data-level="8.12" data-path="combination-permutation/Unique-Paths.html">
<a href="../combination-permutation/Unique-Paths.html">
<i class="fa fa-check"></i>
<b>8.12.</b>
Unique Paths 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="9" data-path="matrix/README.html">
<a href="../matrix/README.html">
<i class="fa fa-check"></i>
<b>9.</b>
matrix, 二维数组, 矩阵相关
</a>
<ul class="articles">
<li class="chapter " data-level="9.1" data-path="matrix/Rotate-Image.html">
<a href="../matrix/Rotate-Image.html">
<i class="fa fa-check"></i>
<b>9.1.</b>
Rotate Image 题解
</a>
</li>
<li class="chapter " data-level="9.2" data-path="matrix/Set-Matrix-Zeroes.html">
<a href="../matrix/Set-Matrix-Zeroes.html">
<i class="fa fa-check"></i>
<b>9.2.</b>
Set Matrix Zeroes 题解
</a>
</li>
<li class="chapter " data-level="9.3" data-path="matrix/Spiral-Matrix.html">
<a href="../matrix/Spiral-Matrix.html">
<i class="fa fa-check"></i>
<b>9.3.</b>
Spiral Matrix 题解
</a>
</li>
<li class="chapter " data-level="9.4" data-path="matrix/Spiral-Matrix-II.html">
<a href="../matrix/Spiral-Matrix-II.html">
<i class="fa fa-check"></i>
<b>9.4.</b>
Spiral Matrix II 题解
</a>
</li>
<li class="chapter " data-level="9.5" data-path="matrix/Maximal-Rectangle.html">
<a href="../matrix/Maximal-Rectangle.html">
<i class="fa fa-check"></i>
<b>9.5.</b>
Maximal Rectangle 题解
</a>
</li>
</ul>
</li>
<li class="chapter active" data-level="10" data-path="backtracking/README.html">
<a href="../backtracking/README.html">
<i class="fa fa-check"></i>
<b>10.</b>
回溯, BFS/DFS
</a>
<ul class="articles">
<li class="chapter " data-level="10.1" data-path="backtracking/Clone-Graph.html">
<a href="../backtracking/Clone-Graph.html">
<i class="fa fa-check"></i>
<b>10.1.</b>
Clone Graph 题解
</a>
</li>
<li class="chapter " data-level="10.2" data-path="backtracking/Generate-Parentheses.html">
<a href="../backtracking/Generate-Parentheses.html">
<i class="fa fa-check"></i>
<b>10.2.</b>
Generate Parentheses 题解
</a>
</li>
<li class="chapter " data-level="10.3" data-path="backtracking/N-Queens.html">
<a href="../backtracking/N-Queens.html">
<i class="fa fa-check"></i>
<b>10.3.</b>
N-Queens 题解
</a>
</li>
<li class="chapter " data-level="10.4" data-path="backtracking/N-Queens-II.html">
<a href="../backtracking/N-Queens-II.html">
<i class="fa fa-check"></i>
<b>10.4.</b>
N-Queens II 题解
</a>
</li>
<li class="chapter " data-level="10.5" data-path="backtracking/Restore-IP-Addresses.html">
<a href="../backtracking/Restore-IP-Addresses.html">
<i class="fa fa-check"></i>
<b>10.5.</b>
Restore IP Addresses 题解
</a>
</li>
<li class="chapter " data-level="10.6" data-path="backtracking/Sudoku-Solver.html">
<a href="../backtracking/Sudoku-Solver.html">
<i class="fa fa-check"></i>
<b>10.6.</b>
Sudoku Solver 题解
</a>
</li>
<li class="chapter " data-level="10.7" data-path="backtracking/Surrounded-Regions.html">
<a href="../backtracking/Surrounded-Regions.html">
<i class="fa fa-check"></i>
<b>10.7.</b>
Surrounded Regions 题解
</a>
</li>
<li class="chapter " data-level="10.8" data-path="backtracking/Word-Ladder.html">
<a href="../backtracking/Word-Ladder.html">
<i class="fa fa-check"></i>
<b>10.8.</b>
Word Ladder 题解
</a>
</li>
<li class="chapter " data-level="10.9" data-path="backtracking/Word-Ladder-II.html">
<a href="../backtracking/Word-Ladder-II.html">
<i class="fa fa-check"></i>
<b>10.9.</b>
Word Ladder II 题解
</a>
</li>
<li class="chapter " data-level="10.10" data-path="backtracking/Word-Search.html">
<a href="../backtracking/Word-Search.html">
<i class="fa fa-check"></i>
<b>10.10.</b>
Word Search 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="11" data-path="greedy/README.html">
<a href="../greedy/README.html">
<i class="fa fa-check"></i>
<b>11.</b>
greedy, 贪心
</a>
<ul class="articles">
<li class="chapter " data-level="11.1" data-path="greedy/Best-Time-to-Buy-and-Sell-Stock-II.html">
<a href="../greedy/Best-Time-to-Buy-and-Sell-Stock-II.html">
<i class="fa fa-check"></i>
<b>11.1.</b>
Best Time to Buy and Sell Stock II 题解
</a>
</li>
<li class="chapter " data-level="11.2" data-path="greedy/Jump-Game.html">
<a href="../greedy/Jump-Game.html">
<i class="fa fa-check"></i>
<b>11.2.</b>
Jump Game 题解
</a>
</li>
<li class="chapter " data-level="11.3" data-path="greedy/Jump-Game-II.html">
<a href="../greedy/Jump-Game-II.html">
<i class="fa fa-check"></i>
<b>11.3.</b>
Jump Game II 题解
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="12" data-path="others/README.html">
<a href="../others/README.html">
<i class="fa fa-check"></i>
<b>12.</b>
其他
</a>
<ul class="articles">
<li class="chapter " data-level="12.1" data-path="others/Candy.html">
<a href="../others/Candy.html">
<i class="fa fa-check"></i>
<b>12.1.</b>
Candy 题解
</a>
</li>
<li class="chapter " data-level="12.2" data-path="others/Container-With-Most-Water.html">
<a href="../others/Container-With-Most-Water.html">
<i class="fa fa-check"></i>
<b>12.2.</b>
Container With Most Water 题解
</a>
</li>
<li class="chapter " data-level="12.3" data-path="others/Gas-Station.html">
<a href="../others/Gas-Station.html">
<i class="fa fa-check"></i>
<b>12.3.</b>
Gas Station 题解
</a>
</li>
<li class="chapter " data-level="12.4" data-path="others/Gray-Code.html">
<a href="../others/Gray-Code.html">
<i class="fa fa-check"></i>
<b>12.4.</b>
Gray Code 题解
</a>
</li>
<li class="chapter " data-level="12.5" data-path="others/Max-Points-on-a-Line.html">
<a href="../others/Max-Points-on-a-Line.html">
<i class="fa fa-check"></i>
<b>12.5.</b>
Max Points on a Line 题解
</a>
</li>
<li class="chapter " data-level="12.6" data-path="others/Pascal's-Triangle.html">
<a href="../others/Pascal's-Triangle.html">
<i class="fa fa-check"></i>
<b>12.6.</b>
Pascal's Triangle 题解
</a>
</li>
<li class="chapter " data-level="12.7" data-path="others/Pascal's-Triangle-II.html">
<a href="../others/Pascal's-Triangle-II.html">
<i class="fa fa-check"></i>
<b>12.7.</b>
Pascal's Triangle II 题解
</a>
</li>
<li class="chapter " data-level="12.8" data-path="others/Remove-Element.html">
<a href="../others/Remove-Element.html">
<i class="fa fa-check"></i>
<b>12.8.</b>
Remove Element 题解
</a>
</li>
<li class="chapter " data-level="12.9" data-path="others/Trapping-Rain-Water.html">
<a href="../others/Trapping-Rain-Water.html">
<i class="fa fa-check"></i>
<b>12.9.</b>
Trapping Rain Water 题解
</a>
</li>
</ul>
</li>
<li class="divider"></li>
<li>
<a href="http://www.gitbook.io/" target="blank" class="gitbook-link">Published using GitBook</a>
</li>
</ul>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header">
<!-- Actions Left -->
<a href="#" class="btn pull-left toggle-summary" aria-label="Toggle summary"><i class="fa fa-align-justify"></i></a>
<a href="#" class="btn pull-left toggle-search" aria-label="Toggle search"><i class="fa fa-search"></i></a>
<div id="font-settings-wrapper" class="dropdown pull-left">
<a href="#" class="btn toggle-dropdown" aria-label="Toggle font settings"><i class="fa fa-font"></i>
</a>
<div class="dropdown-menu font-settings">
<div class="dropdown-caret">
<span class="caret-outer"></span>
<span class="caret-inner"></span>
</div>
<div class="buttons">
<button type="button" id="reduce-font-size" class="button size-2">A</button>
<button type="button" id="enlarge-font-size" class="button size-2">A</button>
</div>
<div class="buttons font-family-list">
<button type="button" data-font="0" class="button">Serif</button>
<button type="button" data-font="1" class="button">Sans</button>
</div>
<div class="buttons color-theme-list">
<button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">White</button>
<button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">Sepia</button>
<button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">Night</button>
</div>
</div>
</div>
<!-- Actions Right -->
<div class="dropdown pull-right">
<a href="#" class="btn toggle-dropdown" aria-label="Toggle share dropdown"><i class="fa fa-share-alt"></i>
</a>
<div class="dropdown-menu font-settings dropdown-left">
<div class="dropdown-caret">
<span class="caret-outer"></span>
<span class="caret-inner"></span>
</div>
<div class="buttons">
<button type="button" data-sharing="twitter" class="button">Twitter</button>
<button type="button" data-sharing="google-plus" class="button">Google</button>
<button type="button" data-sharing="facebook" class="button">Facebook</button>
<button type="button" data-sharing="weibo" class="button">Weibo</button>
<button type="button" data-sharing="instapaper" class="button">Instapaper</button>
</div>
</div>
</div>
<a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Share on Google Plus"><i class="fa fa-google-plus"></i></a>
<a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Share on Facebook"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Share on Twitter"><i class="fa fa-twitter"></i></a>
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="../" >Leetcode Summary</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1">
<div class="page-inner">
<section class="normal" id="section-gitbook_8222">
<h1 id="-bfsdfs">回溯, BFS/DFS</h1>
<ol>
<li><a href="Clone-Graph.html">Clone Graph 题解</a></li>
<li><a href="Generate-Parentheses.html">Generate Parentheses 题解</a></li>
<li><a href="N-Queens.html">N-Queens 题解</a></li>
<li><a href="N-Queens-II.html">N-Queens II 题解</a></li>
<li><a href="Restore-IP-Addresses.html">Restore IP Addresses 题解</a></li>
<li><a href="Sudoku-Solver.html">Sudoku Solver 题解</a></li>
<li><a href="Surrounded-Regions.html">Surrounded Regions 题解</a></li>
<li><a href="Word-Ladder.html">Word Ladder 题解</a></li>
<li><a href="Word-Ladder-II.html">Word Ladder II 题解</a></li>
<li><a href="Word-Search.html">Word Search 题解</a></li>
</ol>
</section>
</div>
</div>
</div>
<a href="../matrix/Maximal-Rectangle.html" class="navigation navigation-prev " aria-label="Previous page: Maximal Rectangle 题解"><i class="fa fa-angle-left"></i></a>
<a href="../backtracking/Clone-Graph.html" class="navigation navigation-next " aria-label="Next page: Clone Graph 题解"><i class="fa fa-angle-right"></i></a>
</div>
</div>
<script src="../gitbook/app.js"></script>
<script src="https://cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="../gitbook/plugins/gitbook-plugin-mathjax/plugin.js"></script>
<script src="../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
<script>
require(["gitbook"], function(gitbook) {
var config = {"fontSettings":{"theme":null,"family":"sans","size":2}};
gitbook.start(config);
});
</script>
</body>
</html>
|
tl3shi/leetcode-summary
|
_book/backtracking/README.html
|
HTML
|
mit
| 88,963 |
package com.github.scribejava.apis.examples;
import com.github.scribejava.apis.UcozApi;
import com.github.scribejava.core.builder.ServiceBuilder;
import com.github.scribejava.core.model.OAuth1AccessToken;
import com.github.scribejava.core.model.OAuth1RequestToken;
import com.github.scribejava.core.model.OAuthRequest;
import com.github.scribejava.core.model.Response;
import com.github.scribejava.core.model.Verb;
import com.github.scribejava.core.oauth.OAuth10aService;
import java.io.IOException;
import java.util.Scanner;
import java.util.concurrent.ExecutionException;
public class UcozExample {
private static final String PROTECTED_RESOURCE_URL = "http://artmurka.com/uapi/shop/request?page=categories";
private UcozExample() {
}
@SuppressWarnings("PMD.SystemPrintln")
public static void main(String... args) throws IOException, InterruptedException, ExecutionException {
final OAuth10aService service = new ServiceBuilder("your_api_key")
.apiSecret("your_api_secret")
.debug()
.build(UcozApi.instance());
final Scanner in = new Scanner(System.in);
final OAuth1RequestToken requestToken = service.getRequestToken();
System.out.println("Got the Request Token!");
System.out.println();
System.out.println("Now go and authorize ScribeJava here:");
System.out.println(service.getAuthorizationUrl(requestToken));
System.out.println("And paste the verifier here");
System.out.print(">>");
final String oauthVerifier = in.nextLine();
System.out.println();
// Trade the Request Token and Verfier for the Access Token
System.out.println("Trading the Request Token for an Access Token...");
final OAuth1AccessToken accessToken = service.getAccessToken(requestToken, oauthVerifier);
System.out.println("Got the Access Token!");
System.out.println("(The raw response looks like this: " + accessToken.getRawResponse() + "')");
System.out.println();
// Now let's go and ask for a protected resource!
System.out.println("Now we're going to access a protected resource...");
final OAuthRequest request = new OAuthRequest(Verb.GET, PROTECTED_RESOURCE_URL);
service.signRequest(accessToken, request);
final Response response = service.execute(request);
System.out.println("Got it! Lets see what we found...");
System.out.println();
System.out.println(response.getCode());
System.out.println(response.getBody());
System.out.println();
System.out.println("Thats it man! Go and build something awesome with ScribeJava! :)");
}
}
|
fernandezpablo85/scribe-java
|
scribejava-apis/src/test/java/com/github/scribejava/apis/examples/UcozExample.java
|
Java
|
mit
| 2,720 |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#include "platform/platform.h"
#include "lighting/shadowMap/shadowMapManager.h"
#include "lighting/shadowMap/shadowMapPass.h"
#include "lighting/shadowMap/lightShadowMap.h"
#include "materials/materialManager.h"
#include "lighting/lightManager.h"
#include "core/util/safeDelete.h"
#include "scene/sceneRenderState.h"
#include "gfx/gfxTextureManager.h"
#include "core/module.h"
#include "console/consoleTypes.h"
GFX_ImplementTextureProfile(ShadowMapTexProfile,
GFXTextureProfile::DiffuseMap,
GFXTextureProfile::PreserveSize | GFXTextureProfile::Dynamic ,
GFXTextureProfile::NONE);
MODULE_BEGIN( ShadowMapManager )
#ifndef TORQUE_BASIC_LIGHTING
MODULE_SHUTDOWN_AFTER(Scene)
#endif
MODULE_INIT
{
ManagedSingleton< ShadowMapManager >::createSingleton();
}
MODULE_SHUTDOWN
{
ManagedSingleton< ShadowMapManager >::deleteSingleton();
}
MODULE_END;
AFTER_MODULE_INIT( Sim )
{
Con::addVariable( "$pref::Shadows::textureScalar",
TypeF32, &LightShadowMap::smShadowTexScalar,
"@brief Used to scale the shadow texture sizes.\n"
"This can reduce the shadow quality and texture memory overhead or increase them.\n"
"@ingroup AdvancedLighting\n" );
Con::NotifyDelegate callabck( &LightShadowMap::releaseAllTextures );
Con::addVariableNotify( "$pref::Shadows::textureScalar", callabck );
Con::addVariable( "$pref::Shadows::disable",
TypeBool, &ShadowMapPass::smDisableShadowsPref,
"Used to disable all shadow rendering.\n"
"@ingroup AdvancedLighting\n" );
Con::addVariable( "$Shadows::disable",
TypeBool, &ShadowMapPass::smDisableShadowsEditor,
"Used by the editor to disable all shadow rendering.\n"
"@ingroup AdvancedLighting\n" );
Con::NotifyDelegate shadowCallback( &ShadowMapManager::updateShadowDisable );
Con::addVariableNotify( "$pref::Shadows::disable", shadowCallback );
Con::addVariableNotify( "$Shadows::disable", shadowCallback );
Con::addVariable("$pref::Shadows::teleportDist",
TypeF32, &ShadowMapPass::smShadowsTeleportDist,
"Minimum distance moved per frame to determine that we are teleporting.\n");
Con::addVariableNotify("$pref::Shadows::teleportDist", shadowCallback);
Con::addVariable("$pref::Shadows::turnRate",
TypeF32, &ShadowMapPass::smShadowsTurnRate,
"Minimum angle moved per frame to determine that we are turning quickly.\n");
Con::addVariableNotify("$pref::Shadows::turnRate", shadowCallback);
}
Signal<void(void)> ShadowMapManager::smShadowDeactivateSignal;
ShadowMapManager::ShadowMapManager()
: mShadowMapPass(NULL),
mCurrentShadowMap(NULL),
mIsActive(false)
{
}
ShadowMapManager::~ShadowMapManager()
{
}
void ShadowMapManager::setLightShadowMapForLight( LightInfo *light )
{
ShadowMapParams *params = light->getExtended<ShadowMapParams>();
if ( params )
{
mCurrentShadowMap = params->getShadowMap();
}
else
{
mCurrentShadowMap = NULL;
}
}
void ShadowMapManager::activate()
{
ShadowManager::activate();
if (!getSceneManager())
{
Con::errorf("This world has no scene manager! Shadow manager not activating!");
return;
}
mShadowMapPass = new ShadowMapPass(LIGHTMGR, this);
getSceneManager()->getPreRenderSignal().notify( this, &ShadowMapManager::_onPreRender, 0.01f );
GFXTextureManager::addEventDelegate( this, &ShadowMapManager::_onTextureEvent );
mIsActive = true;
}
void ShadowMapManager::deactivate()
{
GFXTextureManager::removeEventDelegate( this, &ShadowMapManager::_onTextureEvent );
getSceneManager()->getPreRenderSignal().remove( this, &ShadowMapManager::_onPreRender );
SAFE_DELETE(mShadowMapPass);
mTapRotationTex = NULL;
// Clean up our shadow texture memory.
LightShadowMap::releaseAllTextures();
TEXMGR->cleanupPool();
mIsActive = false;
ShadowManager::deactivate();
}
void ShadowMapManager::_onPreRender( SceneManager *sg, const SceneRenderState *state )
{
if ( mShadowMapPass && state->isDiffusePass() )
mShadowMapPass->render( sg, state, (U32)-1 );
}
void ShadowMapManager::_onTextureEvent( GFXTexCallbackCode code )
{
if ( code == GFXZombify )
mTapRotationTex = NULL;
}
GFXTextureObject* ShadowMapManager::getTapRotationTex()
{
if ( mTapRotationTex.isValid() )
return mTapRotationTex;
mTapRotationTex.set( 64, 64, GFXFormatR8G8B8A8, &ShadowMapTexProfile,
"ShadowMapManager::getTapRotationTex" );
GFXLockedRect *rect = mTapRotationTex.lock();
U8 *f = rect->bits;
F32 angle;
for( U32 i = 0; i < 64*64; i++, f += 4 )
{
// We only pack the rotations into the red
// and green channels... the rest are empty.
angle = M_2PI_F * gRandGen.randF();
f[0] = U8_MAX * ( ( 1.0f + mSin( angle ) ) * 0.5f );
f[1] = U8_MAX * ( ( 1.0f + mCos( angle ) ) * 0.5f );
f[2] = 0;
f[3] = 0;
}
mTapRotationTex.unlock();
return mTapRotationTex;
}
void ShadowMapManager::updateShadowDisable()
{
bool disable = false;
if ( ShadowMapPass::smDisableShadowsEditor || ShadowMapPass::smDisableShadowsPref )
disable = true;
if ( disable != ShadowMapPass::smDisableShadows)
{
ShadowMapPass::smDisableShadows = disable;
smShadowDeactivateSignal.trigger();
}
}
|
Bloodknight/Torque3D
|
Engine/source/lighting/shadowMap/shadowMapManager.cpp
|
C++
|
mit
| 6,687 |
/*
* @(#)DNDFigures.java
*
* Project: JHotdraw - a GUI framework for technical drawings
* http://www.jhotdraw.org
* http://jhotdraw.sourceforge.net
* Copyright: © by the original author(s) and all contributors
* License: Lesser GNU Public License (LGPL)
* http://www.opensource.org/licenses/lgpl-license.html
*/
package CH.ifa.draw.contrib.dnd;
import CH.ifa.draw.framework.FigureEnumeration;
import CH.ifa.draw.standard.FigureEnumerator;
import CH.ifa.draw.util.CollectionsFactory;
import java.awt.Point;
import java.util.List;
/**
* @author C.L.Gilbert <[email protected]>
* @version <$CURRENT_VERSION$>
*/
public class DNDFigures implements java.io.Serializable {
private List figures;
private Point origin;
public DNDFigures(FigureEnumeration fe, Point newOrigin) {
this.figures = CollectionsFactory.current().createList();
// copy figure enumeration because enumerations should not be fields
//the drop operation will serialize and deseralize which I believe is a form of copy!?
while (fe.hasNextFigure()) {
figures.add(fe.nextFigure());
}
origin = newOrigin;
}
public FigureEnumeration getFigures() {
return new FigureEnumerator(figures);
}
public Point getOrigin() {
return origin;
}
}
|
mmohan01/ReFactory
|
data/jhotdraw/jhotdraw-5.4b2/CH/ifa/draw/contrib/dnd/DNDFigures.java
|
Java
|
mit
| 1,261 |
using System;
using System.Linq;
using LinqToTerraServerProvider;
[assembly: CLSCompliant(true)]
namespace ClientApp
{
public sealed class Program
{
static void Main()
{
QueryableTerraServerData<Place> terraPlaces = new QueryableTerraServerData<Place>();
// First query.
var query1 = from place in terraPlaces
where place.Name== "Redmond"
select place.State;
Console.WriteLine("States that have a place named \"Redmond\":");
foreach (string name in query1)
Console.WriteLine(name);
// Second query.
var count = (from place in terraPlaces
where place.Name.StartsWith("Lond")
select place).Count();
Console.WriteLine("\nNumber of places whose names start with \"Lond\": " + count + "\n");
// Third query.
string[] places = { "Johannesburg", "Yachats", "Seattle" };
var query3 = from place in terraPlaces
where places.Contains(place.Name)
orderby place.State
select new { place.Name, place.State };
Console.WriteLine("Places, ordered by state, whose name is either \"Johannesburg\", \"Yachats\", or \"Seattle\":");
foreach (var obj in query3)
Console.WriteLine(obj);
Console.ReadLine();
}
private Program() { }
}
}
|
SiddharthMishraPersonal/StudyMaterials
|
Linq/CSharpSamples/LinqSamples/WebServiceLinqProvider/ClientApp/Program.cs
|
C#
|
mit
| 1,539 |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* ---------------------------------------------------------------------------- */
/* Copyright (c) 2013, Atmel Corporation */
/* */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
/* modification, are permitted provided that the following condition is met: */
/* */
/* - Redistributions of source code must retain the above copyright notice, */
/* this list of conditions and the disclaimer below. */
/* */
/* Atmel's name may not be used to endorse or promote products derived from */
/* this software without specific prior written permission. */
/* */
/* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR */
/* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE */
/* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, */
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
/* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
/* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */
/* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
/* ---------------------------------------------------------------------------- */
#ifndef _SAM4S_MATRIX_INSTANCE_
#define _SAM4S_MATRIX_INSTANCE_
/* ========== Register definition for MATRIX peripheral ========== */
#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
#define REG_MATRIX_MCFG (0x400E0200U) /**< \brief (MATRIX) Master Configuration Register */
#define REG_MATRIX_SCFG (0x400E0240U) /**< \brief (MATRIX) Slave Configuration Register */
#define REG_MATRIX_PRAS0 (0x400E0280U) /**< \brief (MATRIX) Priority Register A for Slave 0 */
#define REG_MATRIX_PRAS1 (0x400E0288U) /**< \brief (MATRIX) Priority Register A for Slave 1 */
#define REG_MATRIX_PRAS2 (0x400E0290U) /**< \brief (MATRIX) Priority Register A for Slave 2 */
#define REG_MATRIX_PRAS3 (0x400E0298U) /**< \brief (MATRIX) Priority Register A for Slave 3 */
#define REG_MATRIX_PRAS4 (0x400E02A0U) /**< \brief (MATRIX) Priority Register A for Slave 4 */
#define REG_CCFG_SYSIO (0x400E0314U) /**< \brief (MATRIX) System I/O Configuration register */
#define REG_CCFG_SMCNFCS (0x400E031CU) /**< \brief (MATRIX) SMC Chip Select NAND Flash Assignment Register */
#define REG_MATRIX_WPMR (0x400E03E4U) /**< \brief (MATRIX) Write Protect Mode Register */
#define REG_MATRIX_WPSR (0x400E03E8U) /**< \brief (MATRIX) Write Protect Status Register */
#else
#define REG_MATRIX_MCFG (*(__IO uint32_t*)0x400E0200U) /**< \brief (MATRIX) Master Configuration Register */
#define REG_MATRIX_SCFG (*(__IO uint32_t*)0x400E0240U) /**< \brief (MATRIX) Slave Configuration Register */
#define REG_MATRIX_PRAS0 (*(__IO uint32_t*)0x400E0280U) /**< \brief (MATRIX) Priority Register A for Slave 0 */
#define REG_MATRIX_PRAS1 (*(__IO uint32_t*)0x400E0288U) /**< \brief (MATRIX) Priority Register A for Slave 1 */
#define REG_MATRIX_PRAS2 (*(__IO uint32_t*)0x400E0290U) /**< \brief (MATRIX) Priority Register A for Slave 2 */
#define REG_MATRIX_PRAS3 (*(__IO uint32_t*)0x400E0298U) /**< \brief (MATRIX) Priority Register A for Slave 3 */
#define REG_MATRIX_PRAS4 (*(__IO uint32_t*)0x400E02A0U) /**< \brief (MATRIX) Priority Register A for Slave 4 */
#define REG_CCFG_SYSIO (*(__IO uint32_t*)0x400E0314U) /**< \brief (MATRIX) System I/O Configuration register */
#define REG_CCFG_SMCNFCS (*(__IO uint32_t*)0x400E031CU) /**< \brief (MATRIX) SMC Chip Select NAND Flash Assignment Register */
#define REG_MATRIX_WPMR (*(__IO uint32_t*)0x400E03E4U) /**< \brief (MATRIX) Write Protect Mode Register */
#define REG_MATRIX_WPSR (*(__I uint32_t*)0x400E03E8U) /**< \brief (MATRIX) Write Protect Status Register */
#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
#endif /* _SAM4S_MATRIX_INSTANCE_ */
|
miragecentury/M2_SE_RTOS_Project
|
Project/LPC1549_Keil/CycloneTCP_SSL_Crypto_Open_1_6_4/demo/common/atmel/devices/sam4s/instance/matrix.h
|
C
|
mit
| 5,153 |
module BusinessesHelper
end
|
karinafraest/dbc_laundry
|
app/helpers/businesses_helper.rb
|
Ruby
|
mit
| 27 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.