Path: blob/master/apps/candlestick-patterns/assets/default.css
1073 views
/* Table of contents1––––––––––––––––––––––––––––––––––––––––––––––––––2- Plotly.js3- Grid4- Base Styles5- Typography6- Links7- Buttons8- Forms9- Lists10- Code11- Tables12- Spacing13- Utilities14- Clearing15- Media Queries16*/1718/* PLotly.js19–––––––––––––––––––––––––––––––––––––––––––––––––– */20/* plotly.js's modebar's z-index is 1001 by default21* https://github.com/plotly/plotly.js/blob/7e4d8ab164258f6bd48be56589dacd9bdd7fded2/src/css/_modebar.scss#L522* In case a dropdown is above the graph, the dropdown's options23* will be rendered below the modebar24* Increase the select option's z-index25*/2627/* This was actually not quite right -28dropdowns were overlapping each other (edited October 26)2930.Select {31z-index: 1002;32}*/3334/* Grid35–––––––––––––––––––––––––––––––––––––––––––––––––– */36.container {37position: relative;38width: 100%;39max-width: 960px;40margin: 0 auto;41padding: 0 20px;42box-sizing: border-box;43}4445.column,46.columns {47width: 100%;48float: left;49box-sizing: border-box;50}5152/* For devices larger than 400px */53@media (min-width: 400px) {54.container {55width: 85%;56padding: 0;57}58}5960/* For devices larger than 550px */61@media (min-width: 550px) {62.container {63width: 80%;64}6566.column,67.columns {68margin-left: 2%;69}7071.column:first-child,72.columns:first-child {73margin-left: 2%;74}7576.one.column,77.one.columns {78width: 4.66666666667%;79}8081.two.columns {82width: 13.3333333333%;83}8485.three.columns {86width: 22%;87}8889.four.columns {90width: 30.6666666667%;91}9293.five.columns {94width: 39.3333333333%;95}9697.six.columns {98width: 48%;99}100101.seven.columns {102width: 56.6666666667%;103}104105.eight.columns {106width: 65.3333333333%;107}108109.nine.columns {110width: 74.0%;111}112113.ten.columns {114width: 82.6666666667%;115}116117.eleven.columns {118width: 91.3333333333%;119}120121.twelve.columns {122width: 100%;123margin-left: 0;124}125126.one-third.column {127width: 30.6666666667%;128}129130.two-thirds.column {131width: 65.3333333333%;132}133134.one-half.column {135width: 48%;136}137138/* Offsets */139.offset-by-one.column,140.offset-by-one.columns {141margin-left: 8.66666666667%;142}143144.offset-by-two.column,145.offset-by-two.columns {146margin-left: 17.3333333333%;147}148149.offset-by-three.column,150.offset-by-three.columns {151margin-left: 26%;152}153154.offset-by-four.column,155.offset-by-four.columns {156margin-left: 34.6666666667%;157}158159.offset-by-five.column,160.offset-by-five.columns {161margin-left: 43.3333333333%;162}163164.offset-by-six.column,165.offset-by-six.columns {166margin-left: 52%;167}168169.offset-by-seven.column,170.offset-by-seven.columns {171margin-left: 60.6666666667%;172}173174.offset-by-eight.column,175.offset-by-eight.columns {176margin-left: 69.3333333333%;177}178179.offset-by-nine.column,180.offset-by-nine.columns {181margin-left: 78.0%;182}183184.offset-by-ten.column,185.offset-by-ten.columns {186margin-left: 86.6666666667%;187}188189.offset-by-eleven.column,190.offset-by-eleven.columns {191margin-left: 95.3333333333%;192}193194.offset-by-one-third.column,195.offset-by-one-third.columns {196margin-left: 34.6666666667%;197}198199.offset-by-two-thirds.column,200.offset-by-two-thirds.columns {201margin-left: 69.3333333333%;202}203204.offset-by-one-half.column,205.offset-by-one-half.columns {206margin-left: 52%;207}208209}210211212/* Base Styles213–––––––––––––––––––––––––––––––––––––––––––––––––– */214/* NOTE215html is set to 62.5% so that all the REM measurements throughout Skeleton216are based on 10px sizing. So basically 1.5rem = 15px :) */217html {218font-size: 62.5%;219}220221body {222font-size: 1.5em;223/* currently ems cause chrome bug misinterpreting rems on body element */224line-height: 1.6;225font-weight: 400;226font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;227color: rgb(50, 50, 50);228}229230231/* Typography232–––––––––––––––––––––––––––––––––––––––––––––––––– */233h1,234h2,235h3,236h4,237h5,238h6 {239margin-top: 0;240margin-bottom: 0;241font-weight: 300;242}243244h1 {245font-size: 4.5rem;246line-height: 1.2;247letter-spacing: -.1rem;248margin-bottom: 2rem;249}250251h2 {252font-size: 3.6rem;253line-height: 1.25;254letter-spacing: -.1rem;255margin-bottom: 1.8rem;256margin-top: 1.8rem;257}258259h3 {260font-size: 3.0rem;261line-height: 1.3;262letter-spacing: -.1rem;263margin-bottom: 1.5rem;264margin-top: 1.5rem;265}266267h4 {268font-size: 2.6rem;269line-height: 1.35;270letter-spacing: -.08rem;271margin-bottom: 1.2rem;272margin-top: 1.2rem;273}274275h5 {276font-size: 2.2rem;277line-height: 1.5;278letter-spacing: -.05rem;279margin-bottom: 0.6rem;280margin-top: 0.6rem;281}282283h6 {284font-size: 2.0rem;285line-height: 1.6;286letter-spacing: 0;287margin-bottom: 0.75rem;288margin-top: 0.75rem;289}290291p {292margin-top: 0;293}294295296/* Blockquotes297–––––––––––––––––––––––––––––––––––––––––––––––––– */298blockquote {299border-left: 4px lightgrey solid;300padding-left: 1rem;301margin-top: 2rem;302margin-bottom: 2rem;303margin-left: 0rem;304}305306307/* Links308–––––––––––––––––––––––––––––––––––––––––––––––––– */309a {310color: #1EAEDB;311text-decoration: underline;312cursor: pointer;313}314315a:hover {316color: #0FA0CE;317}318319320/* Buttons321–––––––––––––––––––––––––––––––––––––––––––––––––– */322.button,323button,324input[type="submit"],325input[type="reset"],326input[type="button"] {327display: inline-block;328height: 38px;329padding: 0 30px;330color: #555;331text-align: center;332font-size: 11px;333font-weight: 600;334line-height: 38px;335letter-spacing: .1rem;336text-transform: uppercase;337text-decoration: none;338white-space: nowrap;339background-color: transparent;340border-radius: 4px;341border: 1px solid #bbb;342cursor: pointer;343box-sizing: border-box;344}345346.button:hover,347button:hover,348input[type="submit"]:hover,349input[type="reset"]:hover,350input[type="button"]:hover,351.button:focus,352button:focus,353input[type="submit"]:focus,354input[type="reset"]:focus,355input[type="button"]:focus {356color: #333;357border-color: #888;358outline: 0;359}360361.button.button-primary,362button.button-primary,363input[type="submit"].button-primary,364input[type="reset"].button-primary,365input[type="button"].button-primary {366color: #FFF;367background-color: #33C3F0;368border-color: #33C3F0;369}370371.button.button-primary:hover,372button.button-primary:hover,373input[type="submit"].button-primary:hover,374input[type="reset"].button-primary:hover,375input[type="button"].button-primary:hover,376.button.button-primary:focus,377button.button-primary:focus,378input[type="submit"].button-primary:focus,379input[type="reset"].button-primary:focus,380input[type="button"].button-primary:focus {381color: #FFF;382background-color: #1EAEDB;383border-color: #1EAEDB;384}385386387/* Forms388–––––––––––––––––––––––––––––––––––––––––––––––––– */389input[type="email"],390input[type="number"],391input[type="search"],392input[type="text"],393input[type="tel"],394input[type="url"],395input[type="password"],396textarea,397select {398height: 38px;399padding: 6px 10px;400/* The 6px vertically centers text on FF, ignored by Webkit */401background-color: #fff;402border: 1px solid #D1D1D1;403border-radius: 4px;404box-shadow: none;405box-sizing: border-box;406font-family: inherit;407font-size: inherit;408/*https://stackoverflow.com/questions/6080413/why-doesnt-input-inherit-the-font-from-body*/409}410411/* Removes awkward default styles on some inputs for iOS */412input[type="email"],413input[type="number"],414input[type="search"],415input[type="text"],416input[type="tel"],417input[type="url"],418input[type="password"],419textarea {420-webkit-appearance: none;421-moz-appearance: none;422appearance: none;423}424425textarea {426min-height: 65px;427padding-top: 6px;428padding-bottom: 6px;429}430431input[type="email"]:focus,432input[type="number"]:focus,433input[type="search"]:focus,434input[type="text"]:focus,435input[type="tel"]:focus,436input[type="url"]:focus,437input[type="password"]:focus,438textarea:focus,439/*select:focus {*/440/* border: 1px solid #33C3F0;*/441/* outline: 0; }*/442label,443legend {444display: block;445margin-bottom: 0px;446}447448fieldset {449padding: 0;450border-width: 0;451}452453input[type="checkbox"],454input[type="radio"] {455display: inline;456}457458label>.label-body {459display: inline-block;460margin-left: .5rem;461font-weight: normal;462}463464465/* Lists466–––––––––––––––––––––––––––––––––––––––––––––––––– */467ul {468list-style: circle inside;469}470471ol {472list-style: decimal inside;473}474475ol,476ul {477padding-left: 0;478margin-top: 0;479}480481ul ul,482ul ol,483ol ol,484ol ul {485margin: 1.5rem 0 1.5rem 3rem;486font-size: 90%;487}488489li {490margin-bottom: 1rem;491}492493494/* Tables495–––––––––––––––––––––––––––––––––––––––––––––––––– */496table {497border-collapse: collapse;498}499500th,501td {502padding: 12px 15px;503text-align: left;504border-bottom: 1px solid #E1E1E1;505}506507th:first-child,508td:first-child {509padding-left: 0;510}511512th:last-child,513td:last-child {514padding-right: 0;515}516517518/* Spacing519–––––––––––––––––––––––––––––––––––––––––––––––––– */520button,521.button {522margin-bottom: 0rem;523}524525input,526textarea,527select,528fieldset {529margin-bottom: 0rem;530}531532pre,533dl,534figure,535table,536form {537margin-bottom: 0rem;538}539540p,541ul,542ol {543margin-bottom: 0.75rem;544}545546/* Utilities547–––––––––––––––––––––––––––––––––––––––––––––––––– */548.u-full-width {549width: 100%;550box-sizing: border-box;551}552553.u-max-full-width {554max-width: 100%;555box-sizing: border-box;556}557558.u-pull-right {559float: right;560}561562.u-pull-left {563float: left;564}565566567/* Misc568–––––––––––––––––––––––––––––––––––––––––––––––––– */569hr {570margin-top: 3rem;571margin-bottom: 3.5rem;572border-width: 0;573border-top: 1px solid #E1E1E1;574}575576577/* Clearing578–––––––––––––––––––––––––––––––––––––––––––––––––– */579580/* Self Clearing Goodness */581.container:after,582.row:after,583.u-cf {584content: "";585display: table;586clear: both;587}588589590/* Media Queries591–––––––––––––––––––––––––––––––––––––––––––––––––– */592/*593Note: The best way to structure the use of media queries is to create the queries594near the relevant code. For example, if you wanted to change the styles for buttons595on small devices, paste the mobile query code up in the buttons section and style it596there.597*/598599600/* Larger than mobile */601@media (min-width: 400px) {}602603/* Larger than phablet (also point when grid becomes active) */604@media (min-width: 550px) {}605606/* Larger than tablet */607@media (min-width: 750px) {}608609/* Larger than desktop */610@media (min-width: 1000px) {}611612/* Larger than Desktop HD */613@media (min-width: 1200px) {}614615