3
* Ubuntu Patterns Stylesheet
5
* The CSS file required by Ubuntu patterns page
7
* @project Ubuntu Patterns
8
* @author Web Team at Canonical Ltd
9
* @copyright 2012 Canonical Ltd
14
Color classes that need replacing
21
.quote-grey-bottom-right
22
.quote-orange-bottom-left
23
.quote-orange-bottom-right
34
a.link-cta-download, a.link-cta-homepage {
35
@include rounded_corners(30px);
36
@include box_shadow(0 2px 2px 0 #C2C2C2);
39
@include font_size (16); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */
42
padding: 0 $gutter_width;
45
a.link-cta-homepage , a.link-cta-ubuntu{
46
background: url("../img/patterns/cta-background.png") repeat-x scroll 0 0 $ubuntu_orange;
50
@include font_size (20); /* (20) desired value in px, this is divided by the baseline font-size value to reach the em value */
51
background: url("../img/patterns/cta-background.png") repeat-x scroll left bottom #F25C2C;
52
border: 1px solid #DE4220;
53
padding: 9px 20px 11px;
56
a.link-cta-download:hover {
57
background: url("../img/patterns/cta-background-hover.png") repeat-x scroll left top #F25C2C;
58
text-decoration: none;
64
@include font_size (16); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */
65
@include rounded_corners(4px);
66
color: $canonical_aubergine;
74
background-color: $ubuntu_orange;
78
a.link-cta-ubuntu:hover {
79
text-decoration: none;
82
a.link-cta-canonical, a.link-cta-contact {
83
background-color: #fff;
87
background: url("../img/patterns/background-white-cta.png") repeat-x scroll left bottom #fff;
88
border: 1px solid #DE4220;
93
.link-cta-canonical, .link-cta-contact, link-cta-ubuntu {
95
width: $four_col - ( $gutter_width * 2 );
104
* Global form element styles
109
form .fieldset-1 { background-image: url("../img/patterns/fieldsets-1.png"); }
110
form .fieldset-2 { background-image: url("../img/patterns/fieldsets-2.png"); }
111
form .fieldset-3 { background-image: url("../img/patterns/fieldsets-3.png"); }
112
form .fieldset-4 { background-image: url("../img/patterns/fieldsets-4.png"); }
115
border-bottom: 1px dotted #DFDCD9;
117
padding-bottom: 10px;
120
form fieldset li:first-child { margin-top: 0; }
122
form input[type="text"], form textarea {
123
@include rounded_corners(2px);
124
background: none repeat scroll 0 0 white;
125
border: 1px solid #999999;
127
font: 14px "Ubuntu","Ubuntu Beta",UbuntuBeta,Ubuntu,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif;
133
vertical-align: middle;
137
form input[type="checkbox"], form input[type="radio"] {
142
form input[type="checkbox"] + label,
143
form input[type="radio"] + label{
146
vertical-align: middle;
150
form input[type="submit"] {
151
background: url("../img/patterns/background-ubuntu-cta.png") repeat-x scroll center 0 $ubuntu_orange;
153
@include rounded_corners(4px);
157
@include font_size (16); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */
170
thead th:first-of-type { text-align: left; }
173
background: none repeat scroll 0 0 #E2D4DC;
174
color: $canonical_aubergine;
178
tbody th[rowspan] { background: none repeat scroll 0 0 #F7F2F6; }
179
tfoot th[rowspan] { background: none repeat scroll 0 0 #DFDCD9; }
183
background: none repeat scroll 0 0 #DFDCD9;
189
* @section components
193
border: 1px solid #dfdcd9;
194
padding: 1.333em $gutter_width;
195
@include rounded_corners(4px);
198
.box-dropshadow { @include box_shadow(0 2px 2px 0 #c2c2c2); }
200
.no-border { border: none; }
203
background: $box_solid_grey;
207
.three-feature ul, .four-feature ul { margin-left: 0; }
209
.three-feature li, .four-feature li{
211
list-style: none outside none;
213
margin-right: $gutter_width;
218
.four-feature li { width: $three_col - ( $gutter_width * .5 ); }
219
.three-feature li { width: $four_col - ( $gutter_width * 1.3); }
221
.three-feature li.last, .four-feature li.last { margin-right: 0; }
223
.three-feature li.four-col img {
228
.three-feature h3, .four-feature h3 {
229
@include font_size (15); /* (15) desired value in px, this is divided by the baseline font-size value to reach the em value */
234
.box-feature-list, .box-cta-list {
235
@include rounded_corners(4px);
236
background: $box_solid_grey;
237
border: 1px solid #DFDCD9;
239
padding: 11px ($gutter_width / 3) 6px;
242
body.download .row-box .box { background: #fff; }
244
.box-feature-list h2, .box-cta-list h2 {
245
@include font_size (24); /* (24) desired value in px, this is divided by the baseline font-size value to reach the em value */
252
.box-feature-list div, .box-cta-list div {
253
@include rounded_corners(4px);
256
padding: 15px ($gutter_width / 2) 0;
259
.box-feature-list ul.list {
262
margin-right: $gutter_width / 2;
263
width: $two_col + ($gutter_width * 3.4);
266
.row-box .box-feature-list ul.list { width: $two_col + ($gutter_width * 2.9); }
268
.eight-col .box-feature-list ul.list { width: $three_col - ($gutter_width * 1.99); }
270
.twelve-col .box-feature-list ul.list { width: $six_col - ($gutter_width / 1.7); margin-bottom: 1.533em; }
272
.box-feature-list ul, .box-cta-list ul{
277
.box-feature-list ul.last { margin-right: 0; }
279
.box-feature-list ul.list li {
280
border-bottom: 1px dotted $warm_grey;
281
list-style: none outside none;
285
.box-feature-list ul.list li.last { border: 0; }
287
.box-feature-list ul.list li:last-child{
292
.box-cta-list ul.three-vertical li {
296
list-style: none outside none;
301
list-style-type: none;
306
.box-cta-list ul.three-vertical li a,
307
.box-get-ubuntu li a {
308
background: none no-repeat scroll center -127px transparent;
313
.box-get-ubuntu li a {
314
background: url(../img/pictograms/sprite-pictograms-get-ubuntu-66x772.png) top center no-repeat;
318
.box-get-ubuntu li.cd a { background-position: center -273px; }
319
.box-get-ubuntu li.windows a { background-position: center -546px; }
320
.box-get-ubuntu li.download a { background-position: center -819px; }
322
.box-get-ubuntu li a:hover { background-position: center -141px; }
323
.box-get-ubuntu li.cd a:hover { background-position: center -414px; }
324
.box-get-ubuntu li.windows a:hover { background-position: center -687px; }
325
.box-get-ubuntu li.download a:hover { background-position: center -960px; }
328
background: $canonical_aubergine;
339
background:$ubuntu_orange;
347
.arrow-right, .arrow-up, .arrow-down, .arrow-left {
354
background: url("../img/patterns/arrow-right.png") 0 0 no-repeat;
361
background: url("../img/patterns/arrow-up.png") 0 0 no-repeat;
366
background: url("../img/patterns/arrow-down.png") 0 0 no-repeat;
371
background: url("../img/patterns/arrow-left.png") 0 0 no-repeat;
378
.where-to-find-us ul{
383
.where-to-find-us li{
384
border-top: 1px dotted $warm_grey;
385
list-style-type: none;
396
.where-to-find-us .ask-ubuntu a { background: url("../img/patterns/icon-irc.png") 0 0 no-repeat; }
397
.where-to-find-us .mailing-lists a { background: url("../img/patterns/icon-mail.png") 0 0 no-repeat; }
398
.where-to-find-us .ubuntu-blog a { background: url("../img/patterns/icon-rss.png") 0 0 no-repeat; }
400
.list-divs, .list-arrows, .list-ticks {
405
.list-divs li, .list-arrows li, .list-ticks li {
406
border-bottom: 1px dotted $warm_grey;
410
.list-divs li:first-of-type { padding-top: 0; }
412
.list-divs li:last-of-type {
417
.list-arrows li, .list-ticks li {
418
background: url(http://www.ubuntu.com/sites/www.ubuntu.com/files/active/natty-consumer-pages/css/feats-tick.gif) no-repeat left 10px;
419
padding: .769em 0 .769em 30px;
422
.list-ticks-canonical li{
423
background: url('../img/patterns/purpletick.gif') 0 4px no-repeat;
424
border-bottom: 1px dotted #aea79f;
427
padding: 0 0 10px 25px;
430
.list-arrows li:last-of-type, .list-ticks li.last-item {
436
background: url("../img/patterns/quote-white-360x360.png") no-repeat scroll 20px -160px transparent;
437
color: $canonical_aubergine;
440
padding: 20px 60px 0 60px;
446
.quote p:first-child {
447
@include font_size (16); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */
451
.quote-orange-bottom-right {
452
background: url("../img/patterns/quote-orange-br-287x287.png") no-repeat scroll 0 0 transparent;
455
padding: 60px 40px 60px 40px;
457
right: -($gutter_width * 2);
458
top: -($gutter_width * 4.5);
462
.quote-orange-bottom-left {
463
background: url("../img/patterns/quote-orange-bl-287x287.png") no-repeat scroll 0 0 transparent;
466
padding: 60px 40px 60px 40px;
470
.quote-grey-bottom-right{
471
background: url("../img/patterns/quote-grey-br-211x211.png") no-repeat scroll 0 0 transparent;
481
.quote-grey-bottom-right p:first-child {
482
@include font_size (36); /* (36) desired value in px, this is divided by the baseline font-size value to reach the em value */
486
width: $twelve_col - $five_col;
487
padding-right: $five_col;
491
@include font_size (24); /* (16) desired value in px, this is divided by the baseline font-size value to reach the em value */
496
right: $gutter_width;
497
width: $three_col - $gutter_width;
498
padding: 0 0 0 $two_col;
507
border-bottom: 1px dotted $warm_grey;
508
list-style-type: none;
518
.deep-steps .item-download a,
519
.deep-steps .item-contact a,
520
.deep-steps .item-desktop a,
521
.deep-steps .item-server a{
528
.deep-steps .item-download a{
529
background:url('../img/patterns/pictogram-grey-download.png') no-repeat;
531
.deep-steps .item-contact a{
532
background:url('../img/patterns/pictogram-grey-contact.png') no-repeat;
534
.deep-steps .item-desktop a{
535
background:url('../img/patterns/pictogram-grey-desktop.png') no-repeat;
537
.deep-steps .item-server a{
538
background:url('../img/patterns/pictogram-grey-server.png') no-repeat;
541
.newletter-signup fieldset{
546
.newletter-signup input[type="text"]{
550
.newletter-signup input[type="checkbox"]{
555
.newletter-signup label{
563
.newletter-signup input[type="radio"] {
574
background: $dark_aubergine;
577
.corporate-page .twelve-col {
579
@include rounded_corners(4px);
583
border-bottom: 1px dotted $warm_grey;
596
.enterprise-dot-pattern{
597
background:url('../img/patterns/enterprise-dot-pattern.png')
600
.developer-dot-pattern{
601
background:url('../img/patterns/developer-dot-pattern.png')