@charset "UTF-8"; /** * Ubuntu Patterns Stylesheet * * The CSS file required by Ubuntu patterns page * * @project Ubuntu Patterns * @author Web Team at Canonical Ltd * @copyright 2012 Canonical Ltd * */ /** * Links * * @section links */ html { /* same colour as the footer background for if there is a short page */ background: $light_grey; } p.intro { @include font_size (23); line-height: 1.4; } header.banner { background: $ubuntu_orange; position: relative; z-index: 2; width: 100%; margin-bottom: 20px; display: inline-block; border-top: 0; -moz-box-shadow: inset 0 2px 2px -2px #777, 2px 1px #fff; -webkit-box-shadow: inset 0 2px 2px -2px #777, 2px 1px #fff; box-shadow: inset 0 2px 2px -2px #777, 2px 1px #fff; } header.banner .nav-primary { border: 0; margin: 0 auto; overflow: hidden; width: 984px; /* 980px / 15px (baseline font); 980px + (60px x 2) = 1100px */ } header.banner .nav-primary ul { border-right: 1px solid lighten($ubuntu_orange, 10%); float: left; margin: 0; position: relative; } header.banner .nav-primary li { border-left: 1px solid darken($ubuntu_orange, 5%); float: left; list-style-image: none; margin: 0; text-indent: 0; vertical-align: bottom; } header.banner .nav-primary ul li:last-child { border-right: 1px solid darken($ubuntu_orange, 5%); } header.banner .nav-primary li a:link, header.banner .nav-primary li a:visited{ font-size: 14px; border-left: 1px solid lighten($ubuntu_orange, 7%); color: #fff; display: block; margin-bottom: 0; padding: 12px 14px 14px; position: relative; text-align: center; text-decoration: none; -webkit-font-smoothing: subpixel-antialiased; -moz-font-smoothing: subpixel-antialiased; -o-font-smoothing: subpixel-antialiased; font-smoothing: subpixel-antialiased; } header.banner .nav-primary a.active { background: #B83A10; border-left: 1px solid lighten($ubuntu_orange, 7%); } header.banner .nav-primary li a:hover { background: #e1662f; border-top: 0; -moz-box-shadow: inset 0 2px 2px -2px #777; -webkit-box-shadow: inset 0 2px 2px -2px #777; box-shadow: inset 0 2px 2px -2px #777; } /* nav-secondary */ .nav-secondary { border-bottom: 1px solid #dfdcd9; margin-bottom: 0; ul { float: left; margin-bottom: 10px; margin-left: 2px; li { float: left; margin-top: 16px; font-size: 14px; margin-right: 15px; a:link, a:visited { color: #333; font-size: 14px; float: left; } a:hover, a:active { color: $ubuntu_orange; text-decoration: none; } } li, li.active a:link, li.active a:visited { color: $ubuntu_orange; text-decoration: none; } } ul.breadcrumb { margin-left: 20px; li, li a:link, li a:visited { color: $warm_grey; margin-right: 8px; } li.active a:link, li.active a:visited { color: $ubuntu_orange; } } } header.banner h2 { @include font_size (25); display: block; left: 4px; margin-bottom:0; position: relative; text-transform: lowercase; top: 14px; } header.banner h2 a:link, header.banner h2 a:visited, header.banner a { color: #fff; float: left; text-decoration:none; } header.banner { .logo { border-left: 0; float: left; height: 48px; overflow: hidden; } .logo-ubuntu { background: url("/sites/ubuntu/latest/u/img/ubuntu-logo.png") no-repeat scroll 0 10px transparent; font-size: 18px; margin-bottom: 0; position: relative; text-transform: lowercase; float: left; margin: 0; display: inline-block; height: 32px; min-width: 128px; margin-right: -20px; padding: 7px 14px 9px 0; img { margin-right: 8px; position: absolute; left: -999em; } span { float: left; font-size: 23px; padding-left: 122px; padding-right: 20px; position: relative; top: 5px; } } .nav-primary.nav-left { .logo-ubuntu { float: right; } } .nav-primary.nav-right { .logo-ubuntu { float: left; } } } /* Footer */ footer.global { -moz-box-shadow: inset 0 2px 2px -2px #d3d3d3; -webkit-box-shadow: inset 0 2px 2px -2px #d3d3d3; background: $light_grey; border-top: 0; box-shadow: inset 0 2px 2px -1px #d3d3d3; clear: both; display: block; padding: 30px 0 20px; position: relative; width: 100%; .footer-a { border-bottom: 1px solid #d8d8d8; clear: both; padding-bottom: 20px; margin-bottom: 20px; div { padding-bottom: 10px; } ul { border-collapse: collapse; display: table; float: none; margin-left: -15px; padding-bottom: 0; width: 100%; } ul li { border-right: 1px dotted $warm_grey; display: table-cell; float: none; margin-left: 15px; padding-bottom: 5px; padding-left: 15px; padding-right: 5px; width: auto; width: 124px; } ul li.secondary-desktop { width: 128px; } ul li.secondary-server { width: 118px; } ul li.secondary-tablet { width: 123px; } ul li.secondary-cloud { width: 115px; } ul li.secondary-tv { width: 115px; } ul li.secondary-management { width: 143px; } ul li:last-child, ul li.last-item { border: 0; padding-right: 0; } ul ul { margin-left: 0; display: block; } li li { margin-left: 0; float: none; width: auto; display: block; min-height: 0; border: 0; margin-bottom: 2px; padding-left: 0; padding-bottom: inherit; background: none; } li li:last-child { margin-bottom: 0; } li li a { display: block; } }/* end footer-a */ nav div.footer-a div, .inline-lists ul, .legal { margin: 0 auto; width: 984px; /* 980px / 15px (baseline font); 980px + (60px x 2) = 1100px */ } .legal { background: url("/sites/ubuntu/latest/u/img/logos/logo-ubuntu-grey.png") 100% 0 no-repeat; position: relative; clear: both; min-height: 40px; } h2 { @include font_size (12); line-height: 1.4; margin-bottom: 0; padding-bottom: 0.5em; } h2, h2 a:link, h2 a:visited { color: $cool_grey; font-weight: normal; } nav ul li h2 a:after { content: ""; } ul { margin: 0; } nav ul li.two-col { display: inline-block; min-height: 10em; vertical-align: top; } nav ul li li { @include font_size (12); margin-bottom: 0; } ul li li a:link, ul li li a:visited { color: $cool_grey; margin-bottom: 0; } ul li li a:hover, ul li li a:active, h2 a:hover, h2 a:active { color: $ubuntu_orange; text-decoration: underline; } p, ul.inline li a { color: $cool_grey; font-size: 12px; margin-bottom: 0; } ul.inline li a:hover { color: $ubuntu_orange; } ul.inline li:after { color: $warm_grey; content: "•"; vertical-align: middle; margin: 0 5px; } ul.inline li:last-child { width: 120px; } ul.inline li:last-child:after { content: ""; } .footer-b { border-bottom: 1px solid #d8d8d8; padding: 0 0 20px; margin: 0 auto 20px; ul ul, ul li, ul ul, h2, h2 a { margin: 0; padding: 0; line-height: 2; width: auto; float: none; } h2 { float: left; margin-right: 6px; display: inline; } li { width: 100%; display: block; clear: both; overflow: hidden; } li li { width: auto; background: 0; float: left; clear: none; } li li:last-child { width: 200px; } li li:after { content: "|"; padding-left: 6px; padding-right: 6px; position: relative; } li h2 a:after, li li:last-child:after { content: ""; } }/* end footer-b */ } /* End footer.global */ /* contextualised footers */ #context-footer { @include font_size (14); border-bottom: 0; padding-bottom: 1px; padding-top: 0; width: 100%; } #context-footer hr { background: $ubuntu_orange; height: 14px; margin: 0 -40px 40px; border: 0; -moz-box-shadow: inset 0 2px 2px -2px #333; -webkit-box-shadow: inset 0 2px 2px -2px #333; box-shadow: inset 0 2px 2px -2px #333; clear: both; } #context-footer div.twelve-col { display: table; float: none; margin-bottom: 7px; } #context-footer div div { display: table-cell; float: none; padding-left: 20px; margin-bottom: 0; } #context-footer div div div { display: block; padding-left: 0; margin-bottom: 0; } #context-footer div div.feature-one { padding-left: 0; } #context-footer div div.feature-four { margin-right: 0; } #context-footer ul { margin-bottom: 5px; } #context-footer li.active { display: none; } #context-footer h3 { @include font_size (16); font-weight: normal; } #context-footer .list a:after { content: "\0000a0›"; } /* * CTA Buttons */ a.link-cta-ubuntu, a.link-cta-canonical, a.link-cta-inverted, button.cta-ubuntu, button.cta-canonical, form button[type="submit"], form input[type="submit"] { @include font_size (16); @include rounded_corners(4px); @include gradient($ubuntu_orange, #c03f11); color: #fff; text-decoration:none; display: inline-block; margin: 0; padding: 8px 14px; font-family: Ubuntu, Arial, "libra sans", sans-serif; font-weight: 300; -webkit-font-smoothing: subpixel-antialiased; -moz-font-smoothing: subpixel-antialiased; -o-font-smoothing: subpixel-antialiased; font-smoothing: subpixel-antialiased; padding: 8px 14px; } a.cta-large, button.cta-large { @include font_size (18); padding: 10px 20px; } a.link-cta-canonical, button.cta-canonical, form button.cta-canonical[type="submit"], form input.cta-canonical[type="submit"] { @include gradient($canonical_aubergine, #5f193e); color: #fff; } a.link-cta-inverted, button.cta-inverted { background: #fff; color: $cool_grey; } .row-enterprise a.link-cta-canonical, .row -enterprise button.link-cta-canonical { background: #fff; color: $canonical_aubergine; } a.link-cta-ubuntu:hover, a.link-cta-ubuntu:hover, button.cta-ubuntu:hover, form button[type="submit"]:hover, form input[type="submit"]:hover { text-decoration: none; background: $ubuntu_orange; } a.link-cta-canonical:hover, button.cta-canonical:hover, { text-decoration: none; background: $canonical_aubergine; } a.link-cta-inverted:hover, .row-enterprise a.link-cta-canonical:hover, button.cta-inverted:hover, .row-enterprise button.cta-canonical:hover { text-decoration: underline; background: #fff; } a.cta-deactivated, a.cta-deactivated:hover, button.cta-deactivated, button.cta-deactivated:hover { color: #fff; background: $box_solid_grey; cursor: not-allowed; } /* * End CTA Buttons */ .four-col p:last-child { margin-bottom: 0; } /** * Forms * * Global form element styles * * @section forms */ form .fieldset-1 { background-image: url("/sites/ubuntu/latest/u/img/patterns/fieldsets-1.png"); } form .fieldset-2 { background-image: url("/sites/ubuntu/latest/u/img/patterns/fieldsets-2.png"); } form .fieldset-3 { background-image: url("/sites/ubuntu/latest/u/img/patterns/fieldsets-3.png"); } form .fieldset-4 { background-image: url("/sites/ubuntu/latest/u/img/patterns/fieldsets-4.png"); } form .fieldset-submit ul { margin-bottom: 0px; } form fieldset .mktError, form .errMsg { color: $error; } .reqMark { color: $error; } form fieldset .mktFormMsg { clear: both; display: block; } .donation-button { margin-bottom: 1em; } .mktFormText, .mktFormTextarea { width: 83%; } /** * Components * * @section components */ .wrapper { @include box_sizing; background: #fff; margin: 0 auto; text-align: left; width: 984px; position: relative; } .inner-wrapper { @include box_shadow(0 0 3px #c9c9c9); @include box_sizing; @include rounded_corners(4px); background: #fff; clear: both; display: block; float: left; width: 100%; margin: 10px 0 30px; padding-bottom: 20px; position:relative; z-index:1; } #main-content .row-hero { margin-top: 40px; padding-top: 0; } .row-feature { background: none; border: 1px solid #dfdcd9; padding-bottom: 20px; } .row-grey { background: $light_grey; } .box, .box-grey { @include rounded_corners(4px); padding: 1.333em $gutter_width; } .box { background: #fff; border: 1px solid #dfdcd9; } .box-grey { background: $light_grey; color: $cool_grey; } .box-orange { background: $ubuntu_orange; color: #fff; } .box-highlight { @include box_shadow(0 2px 2px 0 #c2c2c2); border: 1px solid $light_grey; } .box-textured { @include box_shadow(0 2px 2px 0 #c2c2c2); background: url("/sites/ubuntu/latest/u/img/patterns/grey-textured-background.jpg"); border: 0; } .box-padded { @include rounded_corners(4px); background: $box_solid_grey; border: 0; margin-bottom: 20px; padding: 6px 5px 6px; h3 { @include font_size(19.5); margin-left: ($gutter_width / 4); margin-top: 5px; } li h3 { /* this happens in 'Further reading' /cloud/insights */ @include font_size(19.5); margin: 0; } div { @include rounded_corners(4px); background: #fff; overflow: hidden; padding: 8px 8px 2px; } } .box-padded-feature { @include rounded_corners(4px); background: url("/sites/ubuntu/latest/u/img/patterns/soft-centre-bkg.gif") repeat scroll 0 0 #A09F9F; border: 0; margin-bottom: 20px; padding: 11px 5px 6px; h3 { color: #fff; margin-left: ($gutter_width / 4); @include font_size(19.5); } h4 { @include font_size(16); font-weight: normal; } > div { @include rounded_corners(4px); background: #fff; overflow: hidden; padding: 20px 8px 0; } div div { margin-bottom: 0; } .inline-icons { display: table; width: 100%; margin: 0 0 $gutter_width 0; } .inline-icons li { display: table-cell; text-align: left; float: none; } } /* * Arrows for the pointing boxes component */ .arrow-right, .arrow-up, .arrow-down, .arrow-left { height: 11px; position: absolute; width: 18px; } .arrow-right{ background: url("/sites/ubuntu/latest/u/img/patterns/arrow-right.png") 0 0 no-repeat; height: 18px; right: -11px; top: 20px; width: 11px; } .arrow-up{ background: url("/sites/ubuntu/latest/u/img/patterns/arrow-up.png") 0 0 no-repeat; left: 20px; top: -11px; } .arrow-down{ background: url("/sites/ubuntu/latest/u/img/patterns/arrow-down.png") 0 0 no-repeat; bottom: -11px; right: 20px; } .arrow-left{ background: url("/sites/ubuntu/latest/u/img/patterns/arrow-left.png") 0 0 no-repeat; bottom: 20px; height: 18px; left: -11px; width: 11px; } div > .arrow-left { left: -10px; } /* * Lists */ .list, .list-ubuntu, .list-canonical { list-style: none; margin-left: 0; li { border-bottom: 1px dotted $warm_grey; margin-bottom: 0; padding: 10px 0; } li:last-of-type, li.last-item { border: 0; padding-bottom: 0; } } nav .list a { display: block; } .list-ubuntu li, .list-canonical li { background-repeat: no-repeat; background-position: 0 15px; padding-left: 25px; } .list-ubuntu li { background-image: url("/sites/ubuntu/latest/u/img/patterns/tick-orange.png"); } .list-canonical li { background-image: url("/sites/ubuntu/latest/u/img/patterns/tick-aubergine.png"); } blockquote.pull-quote p { margin-left: 0.4em; text-indent: -0.4em; font-size: 30px; line-height: 1.3; color: #aea79f; } blockquote.pull-quote p cite { margin: 10px 0 0 0.8em; font-size: 16px; font-weight: 300; display: block; } blockquote.quote-canonical, blockquote.quote-canonical-white{ @include font_size (16); background: url("/sites/ubuntu/latest/u/img/patterns/quote-white-360x360.png") no-repeat 20px -130px; color: $canonical_aubergine; float: right; height: 215px; margin-top: 0; padding: 20px 60px 0 60px; position: relative; width: 236px; } blockquote.quote-canonical-white{ background: url("/sites/ubuntu/latest/u/img/patterns/quote-aubergine-345x345.png") no-repeat 0 0; color: #fff; padding: 80px 60px 0 60px; height: 265px; } blockquote.quote p:first-child { @include font_size (18); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */ line-height: 1.3; text-indent: -7px; } blockquote.quote-right-bottom p { color: #fff; } blockquote.quote-right-bottom { background: url("/sites/ubuntu/latest/u/img/patterns/quote-orange-br-287x287.png") no-repeat; color: #fff; height: 167px; padding: 60px 40px; position: absolute; right: -($gutter_width * 2); top: -($gutter_width * 4.5); width: 207px; } blockquote.quote-grey { @include font_size (36); background: url("/sites/ubuntu/latest/u/img/patterns/quote-grey-br-211x211.png") no-repeat scroll 0 0 transparent; color: #FFFFFF; height: 152px; line-height: 40px; margin-left: 20px; padding: 60px 0 0; text-align: center; width: 211px; } blockquote.quote-bottom-left { background: url("/sites/ubuntu/latest/u/img/patterns/quote-orange-bl-287x287.png") no-repeat; color: #fff; height: 167px; padding: 55px 40px 70px 45px; width: 225px; } .row-quote { @include rounded_corners(0); blockquote { @include font_size (24); @include rounded_corners(4px); margin: 0; padding: 0 80px 20px; text-indent: -10px; p { @include font_size (16); margin-bottom: 0.75em; line-height: 1.3; color: $cool_grey; } cite { @include font_size (12); color: $cool_grey; font-style: normal; margin-bottom: 0; } } .quote-twitter { background: #fcece7 url("/sites/ubuntu/latest/u/img/pictograms/pictogram-twitter-115x139.png") $gutter_width bottom no-repeat; padding: $gutter_width $gutter_width $gutter_width $three_col; } .quote-twitter-small { background: #fcece7 url("/sites/ubuntu/latest/u/img/pictograms/pictogram-twitter-54x63.png") 99% bottom no-repeat; padding: $gutter_width $gutter_width $gutter_width 80px; p { margin: 0; padding: 0; } } } .pull-wrap { padding-right: $five_col; width: $seven_col; margin-bottom: 20px; } .pull-quote { @include font_size (30); color: $warm_grey; line-height: 1.4; right: 0; text-indent: -0.4em; } .pull-quote.js { padding-left: $gutter_width*3; display: table-cell; } blockquote.pull-quote { text-indent: 0; } .row-box-feature { background: url("/sites/ubuntu/latest/u/img/patterns/grey-textured-background.jpg"); padding-top: $gutter_width; } .tabbed-menu { @include box_sizing; @include rounded_corners(4px 4px 0 0); @include box_shadow(0 -1px 10px #cfcfcf inset); background: none repeat scroll 0 0 $light_grey; position: relative; padding-top: $gutter_width; padding-bottom: $gutter_width; ul { @include box_sizing; margin-bottom: 0; display: table; width: 100%; table-layout: fixed; position: relative; padding: 0; } li { text-align: center; display: table-cell; } a { color: #666; display: block; outline: none; } a:hover { text-decoration: none; } a.active { color: $canonical_aubergine; text-decoration: none; } .arrow { position: absolute; bottom: 0; } } .tabbed-content { @include clearfix(); padding: $gutter_width $gutter_width*2 0; .row { padding-left: 0; padding-right: 0; } } .tabbed-content .main-content { padding-bottom: 40px; } html.yui3-js-enabled .tabbed-content.hide { display: none; opacity: 0; } .tabbed-content-bg { @include box_sizing; background: #fff; margin-left: 20px; margin-right: 20px; } .tabbed-content-bg .row-box { padding-left: 0; padding-right: 0; } .slider { @include rounded_corners(4px); background: $light_grey; padding-top: $gutter_width * 2; .slide-window { overflow: hidden; position: relative; height: 450px; -moz-transition: left 1s; -webkit-transition: left 1s; -o-transition: left 1s; transition: left 1s; } .slide-container { position: absolute; width: (700 * 4)px; -moz-transition: left 1s; -webkit-transition: left 1s; -o-transition: left 1s; transition: left 1s; left: 0; } .slider-dots { ul { position: absolute; top: 550px; left: 220px; z-index: 5; } li { background: url("/sites/ubuntu/latest/u/img/patterns/sprite-pager.png") no-repeat; list-style-type: none; float: left; text-indent: -9999em; width: 7px; height: 7px; margin-right: 0.75em; background-position: 0 -8px; } li.active { background-position: 0 0; } a { display:block; outline: 0; } } .slide { float: right; width: 700px; h3{ margin-top:65px; display: inline-block; } p { width: 350px; } } .arrow-prev, .arrow-next { font-size: 5em; margin-top: 150px; display: block; color: $warm_grey; outline: 0; } .arrow-prev:hover, .arrow-next:hover { text-decoration: none; color: $cool_grey; } .arrow-prev:active, .arrow-next:active { padding-top:1px; text-decoration: none; } .arrow-prev:focus, .arrow-next:focus { text-decoration: none; } } /** * Helper classes * * @section helper */ .no-bullets { list-style: none; margin-left:0; } .inline { margin-left: 0; li { display: inline; list-style: none; margin-left: 0; float:left; } } .inline-icons { margin: 0 0 $gutter_width 0; } .inline-icons li { margin-right: 20px; margin-bottom: 20px; text-align: left; display: inline-block; } .inline-icons.no-margin-bottom li { margin-bottom: 0; } .inline-icons li.last-item { margin-right: 0; } .inline-icons img { vertical-align: middle; } .left { float: left; } .right { float: right; } .accessibility-aid, .off-left { position: absolute; left: -999em; } .text-center { text-align: center; } .text-right { text-align: right; } .text-left { text-align: left; } .middle { display: inline-block; vertical-align: middle; text-align: center; } .no-margin { margin: 0; } .no-margin-bottom { margin-bottom: 0; } .no-padding-bottom { padding-bottom: 0; } .note { @include font_size (13); color: $warm_grey; } .pull-left-20 { margin-left: -20px; } .pull-right-20 { margin-right: -20px; } .pull-left-40 { margin-left: -40px; } .pull-right-40 { margin-right: -41px; } .no-border { border: none; } .no-indent { text-indent: 0; } .extra-gap div.last { padding-left: 1.25em; } .boxed { @include rounded_corners(4px); background-color: $light_grey; margin-bottom: 1.538em; } .link-top { @include font_size (14); clear: both; margin-bottom: 40px; margin-top: -40px; a { background: white; margin-right: 10px; margin-top: -17px; padding: 5px; float: right; } } .pull-bottom-right { position: absolute; right: 0; bottom: 0; left: auto; } .box .pull-bottom-right { @include rounded_corners(0 0 4px 0); } .pull-bottom-left { margin-left: -20px; margin-bottom: -21px; } .pull-top-right { margin-right: -20px; margin-top: -21px; } .pull-top-right { margin-left: -20px; margin-top: -21px; } .row.vertical-divider { padding-bottom: 40px; } .vertical-divider { > div, > li { border-right: 1px dotted $warm_grey; margin-right: 0; padding-right: 20px; padding-left: 20px; float: none; display: table-cell; vertical-align: top; } > div:last-child, > li:last-child, > div.last-col, > li.last-col, > div:last-of-type, > li:last-of-type { border-right: 0; padding-right: 0; } > div:first-child, > li:first-child, > div.first-col, > li.first-col, > div:first-of-type, > li:first-of-type { padding-left: 0; } } .vertical-divider-full { padding-bottom: 0; > div { padding-bottom: 40px; } } .row.vertical-divider-full { padding-bottom: 0; } div.warning { @include rounded_corners(4px); background-color: #fdffdc; color: #333; p { padding: $gutter_width; margin: 0; } } .row-box.row-image-centered { display: table; padding-top: 20px; padding-bottom: 20px; } .row.row-image-centered { display: table; padding-top: 40px; padding-bottom: 40px; } .row-hero.row-image-centered { padding-top: 0; } div.box-image-centered { width: 100%; clear: both; position: relative; } div.row-image-centered, div.box-image-centered { @include box_sizing; padding-top: 0; display: table; div { float: none; display: table-cell; position: relative; p, h2, h3 { display: block; width: 100%; float: left; } } span { display: table-cell; text-align: center; vertical-align: middle; float: none; position: relative; top: 0; } span img { padding-right: 20px; /* if image is on the left hand side */ } div + span img { /* if image is on the right hand side */ padding-right: 0; margin-right: -20px; } } div.box-image-centered { padding-top: 20px; } .yui3-tooltip-hidden { display: none; } .yui3-tooltip-content { @include box_shadow(0px 2px 8px hsla(0, 0%, 0%, .20)); position: relative; max-width: 520px; _width: 520px; /* IE6 */ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid $box_solid_grey; color: $cool_grey; background: url("/sites/ubuntu/latest/u/img/patterns/grey-textured-background.jpg") repeat scroll 0 0 transparent; margin-top: -30px; } .yui3-tooltip .yui3-widget-bd { padding: 20px; width: 320px; } .yui3-tooltip .yui3-widget-bd * { max-width: 100%; } .yui3-tooltip .yui3-widget-bd h5 { margin-bottom: 10px; font-size: 22px; font-weight: 300; } .yui3-tooltip .yui3-widget-bd img { float: left; margin-right: 10px; } .yui3-tooltip .yui3-widget-bd q { margin-top: 20px; margin-bottom: 0; padding: 10px 0; display: block; font-size: 13px; border-top: 1px dotted $warm_grey; border-bottom: 1px dotted $warm_grey; font-style: italic; } .yui3-tooltip .yui3-widget-bd p:last-child { margin-bottom: 0; } .yui3-tooltip .yui3-widget-ft, .yui3-tooltip .yui3-widget-ft div { *display: none; /* IE6, IE7 */ position: absolute; width: 0; height: 0; border-style: solid; line-height: 0; font-size: 0; } .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft, .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft div { top: -10px; left: 50%; margin: 0 0 0 -10px; border-width: 0 10px 10px 10px; border-color: $box_solid_grey transparent; } .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft div { top: 0; border-color: $box_solid_grey transparent; } .tooltip-label { @include rounded_corners(4px); @include box_shadow(3px 3px 6px rgba(0, 0, 0, 0.3)); display:none; background: #fff; padding: 6px 5px; border: 1px solid #DFDCD9; position:absolute; top: -20px; z-index: 1000; font-size: 13px; line-height: 1; white-space: nowrap; margin: 0; } /* share this */ .share-this { margin-top: 10px; float: left; } #box-search { float: right; margin-bottom: 0; padding-bottom: 5px; padding-top: 7px; border-right: 0; padding-right: 0; form input[type="text"] { @include rounded_corners(6px); @include font_size (13); width: 86px; height: 24px; border-bottom: 1px solid #de6532; border-left: 0; border-right: 0; border-top: 0; margin-bottom: 0; background: #be3d00; background: url("/sites/ubuntu/latest/u/img/icons/icon-search.png") no-repeat scroll 5px center, none repeat scroll 0 0 #BE3D00; -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); -moz-transition: all .5s; -webkit-transition: all .5s; transition: all .5s; -webkit-appearance: none; padding-left: 30px; color: #fff; } form input[type="text"]:focus { width: 160px; background:#a63603; background: url("/sites/ubuntu/latest/u/img/icons/icon-search.png") no-repeat 5px center,#a63603; } form button { display: none; } } .lt-ie8 { #box-search { margin-right: 0; padding-top: 9px; } body #box-search form .form-text { width: 158px !important; } } /* * * Popover styles * * Example: * Ubuntu * */ .yui3-tooltip-hidden { display: none; } .yui3-tooltip-content { @include box_shadow(0px 2px 8px hsla(0, 0%, 0%, .20)); position: relative; max-width: 520px; _width: 520px; /* IE6 */ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid #e3e3e3; color: #333; background: $light_grey; /* Fallback */ } .yui3-tooltip .yui3-widget-bd { padding: 20px; } .yui3-tooltip .yui3-widget-bd * { max-width: 100%; } .yui3-tooltip .yui3-widget-bd h5 { margin-bottom: 10px; font-size: 22px; font-weight: 300; } .yui3-tooltip .yui3-widget-bd q { margin-top: 20px; margin-bottom: 0; padding: 10px 0; display: block; font-size: 16px; border-top: 1px dotted $warm_grey; border-bottom: 1px dotted $warm_grey; font-style: italic; } .yui3-tooltip .yui3-widget-bd p:last-child { margin-bottom: 0; } .yui3-tooltip .yui3-widget-ft, .yui3-tooltip .yui3-widget-ft div { *display: none; /* IE6, IE7 */ position: absolute; width: 0; height: 0; border-style: solid; line-height: 0; font-size: 0; } .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft, .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft div { top: -10px; left: 50%; margin: 0 0 0 -10px; border-width: 0 10px 10px 10px; border-color: #e3e3e3 transparent; } .yui3-tooltip .yui3-tooltip-align-bottom .yui3-widget-ft div { top: 1px; border-color: $light_grey transparent; } /* @section ie7 specific -------------------------------------------------------------- */ html.lt-ie8 { footer.global .footer-a ul li { float: left; min-height: 200px; } footer.global .footer-a ul ul li { min-height: auto; float: none; } } html.lt-ie8 { .vertical-divider > div, .vertical-divider > li { display: inline; float: left; border: 0; padding-left: 0; } * { zoom: 1; } .one-col { width: 6.3053%; } .two-col { width: 14.823%; } .three-col { width: 23.3407%; } .four-col { width: 28%; } .five-col { width: 40.3761%; } .six-col { width: 48.8938%; } .seven-col { width: 57.4115%; } .eight-col { width: 65.9292%; } .nine-col { width: 74.4469%; } .ten-col { width: 82.9646%; } .eleven-col { width: 91.4823%; } .inline-icons { margin-left: -10px; } .inline-icons li { display: inline; float: left; text-align: center; margin-left: 10px; } .box-padded-feature .six-col { width: px; } .feature-list-four .six-col { width: 42.8%; } header.banner { margin-bottom: 20px; } .nav-secondary { padding-bottom: 15px; padding-left: 20px; margin-top: -5px; } .row-box { overflow: hidden; } a.link-cta-ubuntu { color: #fff; } .wrapper { overflow: hidden; border: 1px solid #e9e9e9; /* to make up for the lack of box-shadow */ border-width: 0 1px; } .inner-wrapper { border-bottom: 1px solid #c7c6c5; /* to make up for the lack of box-shadow */ padding-bottom: $gutter_width; width: 984px; } header.banner .logo-ubuntu { background: url("/sites/ubuntu/latest/u/img/ie/logo.gif") no-repeat; width: 140px; height: 27px; display: block; text-indent: -999em; top: 8px; left: 20px; } #box-search { float: none; position: relative; right: 0; top: 0; } #box-search input.form-text { background: #f12d00; border: 1px solid #ce2600 !important; width: 140px !important; right: -10px; top: -2px; position: relative; } footer { margin-top: 40px; } footer.global .footer-a ul li { width: 120px; display: inline; height: 15em; padding-left: 0; } footer.global .footer-a ul li li { height: auto; } footer.global .footer-b ul li li { padding-right: 6px; } /* homepage */ body.homepage .box a.link-cta-download { color: #fff; } body.homepage header.banner .nav-secondary ul { background: none; } /* ubuntu */ .row-do-more { padding-left: 0; } .row-do-more .six-col { display: inline; width: $six_col/* - ($gutter_width / 2)*/; } .quote-right-top { background: none; top: 0; padding: 0; } .quote-right-top p { color: $ubuntu_orange; } .ubuntu-why-use-ubuntu .quote-right-right { position: absolute; left: -999em; } .ubuntu-why-use-ubuntu .row-free .article .quote-right-alt { height: 207px; top: -($gutter_width * 3.1); padding-top: 20px; } body.ubuntu-why-is-it-free .quote-right { background: none; top: -($gutter_width * 3); right: -( 2 * $gutter_width ); width: 220px; } body.ubuntu-why-is-it-free .quote-right p { color: $ubuntu_orange; } /* business */ body.business .row-hero p.strip { background: none; } body.business .row-hero-business, body.business-desktop-remix .row-hero { left: 18px; } .row-ubuntu-advantage li { width: 46.6938%; } body.business-desktop .row-ubuntu-advantage li.first { height: 32.25em; } body.business-desktop .packages h2 { padding: 50px 47px 50px 140px; } body.business-desktop .packages dl { width: 175px; } body.business .row-enterprise .six-col { overflow: hidden; } body.business .row-enterprise .quote-canonical { background: #fff; height: auto; margin-top: $gutter_width; padding-bottom: 0; } body.business .row-community { padding-bottom: $gutter_width; } body.business .row-community .nine-col { padding-left: $three_col; width: $nine_col - $four_col; } /* cloud */ .row-cloud-guest .eight-col, .row-consultancy .eight-col { border-right: 1px solid $warm_grey; width: $eight_col/* - ( 4 * $gutter_width)*/; } .row-providers .six-col { width: $six_col/* - ( 2 * $gutter_width)*/; } /* @subsection download > desktop/server & cloud -------------------------------------------------------------- */ body.download .row-hero { width: 100% - (20/$base); } body.download .row-hero .intro { padding-right: 0; width: $six_col/* - (200/$base)/*/; } body.download .row-hero .intro p { padding-right: 20px; } #download-help { background: $light_grey; width: $eight_col/* - ( 8 * $gutter_width )/*/; } #download-help li span { margin-left: -(180/36)em; overflow: hidden; position: absolute; } /* min-height fixes */ footer nav ul li.two-col { height: 10em; } body.download .row-hero .intro { height: 10em; } .one-col, .two-col, .three-col, .four-col, .five-col, .six-col, .seven-col, .eight-col, .nine-col, .ten-col, .eleven-col, .twelve-col { display: inline; } body.project .equal-height .box, body.support .equal-height .box { background: #fff; } body.partners .box { border: none; } .row { width: 904px; float: left; padding-left: 40px; clear: both; } .row-box { width: 904px; float: left; margin-left: 20px; clear: both; } .row-image-centered span img { position: absolute; left: -999em; } body.devices-phone { .row-interlinks .navigation li a { padding-bottom: 0px; } .edge-magic-content { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; } .meet-us { border: 0; background: #ececec url("/sites/ubuntu/latest/u/img/patterns/grey-textured-background.jpg"); } } .ubuntu .box-get-ubuntu { div { height: 210px; } li { width: 24.5%; } } body.community-stay-connected { .social-list li { width: 100%; } } /* body.download */ body.download button { cursor: pointer; } body.download-home .row-list-download .four-col { width: 27.2%; } body.download #download-other .box { min-height: 200px; width: 41.3221%; } .download-cloud #download-other .cloud { background-image: none; } body.download-cloud #download-other .cloud .box { margin-bottom: 0; width: 64.4%; } body.download-help #download-help { width: 600px; } body.download-help .sidebar { width: 280px; display: inline; } body.download-arm .link-cta-ubuntu { width: 100%; } /* body.devices */ body.devices { .edge-magic-animation .screen { background: url("/sites/ubuntu/latest/u/img/devices/phone-3-edge-magic-twitter.png") no-repeat; z-index: 999; } } #context-footer div div { background: none; display: inline; float: left; padding-left: 0; width: 199px; } /* body.business */ body.business .row-hero-business { margin-left: 2px; } } /* end html.lt-ie8 */ /* @section ie6 specific -------------------------------------------------------------- */ html.lt-ie7 { font-size: 16px; a.link-cta-ubuntu { color: #fff; } div { zoom: 1; } /* stops the shit hitting the fan */ .wrapper { overflow: hidden; border: 1px solid #e9e9e9; /* to make up for the lack of box-shadow */ border-width: 1px; } .inner-wrapper { border: 0; padding: 0; } header.banner .logo-ubuntu { background: url("/sites/ubuntu/latest/u/img/ie/logo.gif") no-repeat; width: 140px; height: 27px; display: block; text-indent: -999em; top: 8px; left: 20px; } #box-search { float: none; position: relative; right: 0; top: 0; } #box-search input.form-text { background: #f12d00; border: 1px solid #ce2600 !important; width: 150px !important; right: -10px; top: 2px; position: relative; } #context-footer div div { background: none; display: inline; float: left; width: 200px; } .no-border { border: 0 !important; } .nav-secondary { padding-bottom: 15px; margin-top: -5px; } footer { margin-top: 40px; } footer.global .footer-a ul li { width: 100px; display: inline; height: 15em; } footer.global .footer-a ul li li { height: auto; } footer.global .footer-b ul li li { padding-right: 6px; } /* homepage */ body.homepage .box a.link-cta-download { color: #fff; } body.homepage header.banner .nav-secondary ul { background: none; } /* ubuntu */ .row-do-more .six-col { display: inline; width: $six_col/* - ($gutter_width / 2)*/; } .quote-right-top { background: none; top: 0; padding: 0; } .quote-right-top p { color: $ubuntu_orange; } .ubuntu-why-use-ubuntu .quote-right-right { position: absolute; left: -999em; } .ubuntu-why-use-ubuntu .row-free .article .quote-right-alt { height: 207px; top: -($gutter_width * 3.1); padding-top: 20px; } body.ubuntu-why-is-it-free .quote-right { background: none; top: -($gutter_width * 3); right: -( 2 * $gutter_width ); width: 220px; } body.ubuntu-why-is-it-free .quote-right p { color: $ubuntu_orange; } /* business */ body.business .row-hero-business, body.business-desktop-remix .row-hero, .row-ubuntu-advantage { left: 18px; } body.business .row-enterprise .six-col { overflow: hidden; } body.business .row-enterprise .quote-canonical { background: #fff; height: 0; margin-top: $gutter_width; padding-bottom: 0; } body.business .row-community { padding-bottom: $gutter_width; } body.business .row-community .nine-col { padding-left: $three_col; width: $nine_col - $four_col; } /* cloud */ .row-cloud-guest .eight-col, .row-consultancy .eight-col { border-right: 1px solid $warm_grey; width: $eight_col/* - ( 4 * $gutter_width)*/; } .row-providers .six-col { width: $six_col/* - ( 2 * $gutter_width)*/; } /* @subsection download > desktop/server & cloud -------------------------------------------------------------- */ body.download .row-hero { width: 100% - (20/$base); } body.download .row-hero .intro { padding-right: 0; width: $six_col - (200/$base); } body.download .row-hero .intro p { padding-right: 20px; } #download-help { background: $light_grey; width: $eight_col/* - ( 8 * $gutter_width )*/; } #download-help li span { margin-left: -(180/36)em; overflow: hidden; position: absolute; } /* cloud */ .row-home .intro { background: none; padding: 0 19px $gutter_width 0; width: $eight_col; } .row-home .box-openstack-cloud { background: none; padding-top: 0; } .row-menu h3 { display: block; float: left; clear: both; width: $three_col/* - ( 1.5 * $gutter_width)*/; margin-bottom: 0; } .row-features .list-features-content li .list-feature-footer { bottom: -90px; margin-left: -30px; width: 673px; } .nav-list-features li { margin-top: 13px; } .row-cloud-services div { padding-right: 0; width: $three_col/* + (2 * $gutter_width)*/; } /* min-height fixes */ footer nav ul li.two-col { height: 10em; } body.download .row-hero .intro { height: 10em; } } /* end html.lt-ie7 */