rapido-css 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +21 -0
- data/lib/rapido-css.rb +3 -0
- data/stylesheets/_components.scss +24 -0
- data/stylesheets/_default-styles.scss +480 -0
- data/stylesheets/_functions.scss +50 -0
- data/stylesheets/_normalize.scss +513 -0
- data/stylesheets/_rapido.scss +12 -0
- data/stylesheets/_settings.scss +5 -0
- data/stylesheets/_susy.scss +16 -0
- data/stylesheets/_utilities.scss +8 -0
- data/stylesheets/components/_alerts.scss +24 -0
- data/stylesheets/components/_breadcrumbs.scss +15 -0
- data/stylesheets/components/_button-groups.scss +65 -0
- data/stylesheets/components/_buttons.scss +121 -0
- data/stylesheets/components/_captions.scss +54 -0
- data/stylesheets/components/_close.scss +27 -0
- data/stylesheets/components/_dropdowns.scss +190 -0
- data/stylesheets/components/_forms.scss +579 -0
- data/stylesheets/components/_images.scss +0 -0
- data/stylesheets/components/_modals.scss +271 -0
- data/stylesheets/components/_navs.scss +102 -0
- data/stylesheets/components/_pager.scss +56 -0
- data/stylesheets/components/_pagination.scss +90 -0
- data/stylesheets/components/_pills.scss +91 -0
- data/stylesheets/components/_responsive-navs.scss +166 -0
- data/stylesheets/components/_sliders.scss +86 -0
- data/stylesheets/components/_tables.scss +109 -0
- data/stylesheets/components/_tabs.scss +55 -0
- data/stylesheets/components/_type.scss +266 -0
- data/stylesheets/settings/_base.scss +32 -0
- data/stylesheets/settings/_colors.scss +16 -0
- data/stylesheets/settings/_components.scss +45 -0
- data/stylesheets/settings/_dimensions.scss +103 -0
- data/stylesheets/settings/_effects.scss +15 -0
- data/stylesheets/susy/_susy_background.scss +18 -0
- data/stylesheets/susy/_susy_functions.scss +376 -0
- data/stylesheets/susy/_susy_grid.scss +286 -0
- data/stylesheets/susy/_susy_isolation.scss +50 -0
- data/stylesheets/susy/_susy_margin.scss +93 -0
- data/stylesheets/susy/_susy_media.scss +112 -0
- data/stylesheets/susy/_susy_padding.scss +92 -0
- data/stylesheets/susy/_susy_settings.scss +56 -0
- data/stylesheets/susy/_susy_support.scss +198 -0
- data/stylesheets/susy/_susy_units.scss +159 -0
- data/stylesheets/utilities/_animations.scss +672 -0
- data/stylesheets/utilities/_debug.scss +41 -0
- data/stylesheets/utilities/_helper-classes.scss +32 -0
- data/stylesheets/utilities/_icon-fonts.scss +111 -0
- data/stylesheets/utilities/_media-queries.scss +45 -0
- data/stylesheets/utilities/_mixins.scss +372 -0
- data/stylesheets/utilities/_retina-sprites.scss +70 -0
- data/stylesheets/utilities/_sprites.scss +26 -0
- data/templates/project/manifest.rb +2 -0
- data/templates/project/screen.scss +2 -0
- metadata +116 -0
@@ -0,0 +1,166 @@
|
|
1
|
+
@if $responsive-navs {
|
2
|
+
.responsive-nav {
|
3
|
+
position: relative;
|
4
|
+
// max-height: none;
|
5
|
+
ul {margin-left: 0;}
|
6
|
+
}
|
7
|
+
|
8
|
+
|
9
|
+
// Stile navigazione desktop
|
10
|
+
.responsive-nav.notactive {
|
11
|
+
@extend %nav-big !optional;
|
12
|
+
|
13
|
+
ul > .dropdown:hover{
|
14
|
+
@extend .open;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
// Stile navigazione piccola
|
19
|
+
.responsive-nav.active {
|
20
|
+
@extend %nav-small !optional;
|
21
|
+
|
22
|
+
.dropdown-submenu:hover > .dropdown-menu {
|
23
|
+
// @include experimental(animation, 0);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
#nav-toggle {
|
28
|
+
display: none;
|
29
|
+
@extend %nav-toggle !optional;
|
30
|
+
}
|
31
|
+
|
32
|
+
@include media($responsive-nav-breakpoint) {
|
33
|
+
|
34
|
+
// Stili generici per la nav
|
35
|
+
#nav-toggle {
|
36
|
+
display: inline-block;
|
37
|
+
}
|
38
|
+
|
39
|
+
.responsive-nav {
|
40
|
+
// ul, li, a {margin: 0;}
|
41
|
+
|
42
|
+
ul {
|
43
|
+
li {
|
44
|
+
// margin: 0;
|
45
|
+
a {
|
46
|
+
// padding: $input-padding;
|
47
|
+
// &:after { display: none;}
|
48
|
+
}
|
49
|
+
|
50
|
+
// li a {padding-left: $input-padding-side*4;}
|
51
|
+
// li li a {padding-left: $input-padding-side*6 ;}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.dropdown-menu {
|
56
|
+
li a {
|
57
|
+
@include border-radius(0);
|
58
|
+
}
|
59
|
+
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
// SLIDE
|
66
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
67
|
+
@if $responsive-nav-type == slide {
|
68
|
+
.responsive-nav {
|
69
|
+
clip: rect(0 0 0 0);
|
70
|
+
max-height: 0;
|
71
|
+
display: block;
|
72
|
+
overflow: hidden;
|
73
|
+
zoom: 1;
|
74
|
+
|
75
|
+
|
76
|
+
&.opened {max-height: 9999px;}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// DROPDOWN
|
81
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
82
|
+
@if $responsive-nav-type == dropdown {
|
83
|
+
|
84
|
+
#nav-origin {
|
85
|
+
position: relative;
|
86
|
+
}
|
87
|
+
|
88
|
+
#nav-toggle {
|
89
|
+
float: $responsive-nav-dropdown-pos;
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
.responsive-nav {
|
94
|
+
position: absolute;
|
95
|
+
max-height: 0;
|
96
|
+
display: block;
|
97
|
+
overflow: hidden;
|
98
|
+
zoom: 1;
|
99
|
+
top: $responsive-nav-toggle-size;
|
100
|
+
left: 0;
|
101
|
+
right: 0;
|
102
|
+
|
103
|
+
&.opened {max-height: 9999px;}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
// OFFCANVAS
|
108
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
109
|
+
@if $responsive-nav-type == off-canvas {
|
110
|
+
|
111
|
+
// Wrappers
|
112
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
113
|
+
#{$responsive-nav-outside-wrapper},
|
114
|
+
#{$responsive-nav-inside-wrapper} {
|
115
|
+
position: relative;
|
116
|
+
width: 100%;
|
117
|
+
}
|
118
|
+
|
119
|
+
#{$responsive-nav-outside-wrapper} {
|
120
|
+
overflow-x: hidden;
|
121
|
+
}
|
122
|
+
|
123
|
+
// Transitions
|
124
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
125
|
+
#{$responsive-nav-inside-wrapper},
|
126
|
+
.responsive-nav {
|
127
|
+
@include transition(500ms);
|
128
|
+
@include backface-visibility(hidden);
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
// Animations
|
133
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
134
|
+
#{$responsive-nav-inside-wrapper} {
|
135
|
+
@include transform(translate3d(0,0,0));
|
136
|
+
left: 0;
|
137
|
+
}
|
138
|
+
|
139
|
+
.responsive-nav {
|
140
|
+
width: $responsive-nav-offset;
|
141
|
+
position: absolute;
|
142
|
+
height: 100%;
|
143
|
+
bottom: 0;
|
144
|
+
left: 0;
|
145
|
+
top: 0;
|
146
|
+
opacity: 0;
|
147
|
+
@include transform(translate3d(-100%,0,0));
|
148
|
+
// left: -$responsive-nav-offset;
|
149
|
+
}
|
150
|
+
|
151
|
+
.nav-open {
|
152
|
+
#{$responsive-nav-inside-wrapper} {
|
153
|
+
@include transform(translate3d($responsive-nav-offset,0,0));
|
154
|
+
// left: $responsive-nav-offset;
|
155
|
+
}
|
156
|
+
.responsive-nav {
|
157
|
+
@include transform(translate3d(-100%,0,0));
|
158
|
+
opacity: 1;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
}
|
164
|
+
|
165
|
+
}
|
166
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
@if $slider {
|
2
|
+
|
3
|
+
// Wrapper | 1st level
|
4
|
+
.bx-wrapper {
|
5
|
+
position: relative;
|
6
|
+
padding: 0;
|
7
|
+
*zoom: 1;
|
8
|
+
z-index: $zindex-slider;
|
9
|
+
margin-bottom: rhythm();
|
10
|
+
|
11
|
+
img {
|
12
|
+
max-width: 100%;
|
13
|
+
display: block;
|
14
|
+
}
|
15
|
+
|
16
|
+
ul {@extend .list_style_none;}
|
17
|
+
// ul, li {margin: 0;}
|
18
|
+
}
|
19
|
+
|
20
|
+
// Viewport | 2nd level
|
21
|
+
.bx-viewport { }
|
22
|
+
|
23
|
+
|
24
|
+
// Controls | 2nd level
|
25
|
+
// .bx-controls {
|
26
|
+
|
27
|
+
// Directions
|
28
|
+
//--------------------------------
|
29
|
+
.bx-controls-direction {
|
30
|
+
|
31
|
+
a {
|
32
|
+
@extend %slider-btn !optional;
|
33
|
+
@include position(absolute, 50% 0 0 0);
|
34
|
+
|
35
|
+
z-index: 200;
|
36
|
+
|
37
|
+
i {font-style: normal;}
|
38
|
+
span {@include hide-text;}
|
39
|
+
|
40
|
+
&.disabled { display: none; }
|
41
|
+
|
42
|
+
&.bx-prev { left: 0; }
|
43
|
+
&.bx-next { right: 0; }
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
// Pager
|
50
|
+
//--------------------------------
|
51
|
+
.bx-pager {
|
52
|
+
width: 100%;
|
53
|
+
text-align: center;
|
54
|
+
@extend %slider-pager !optional;
|
55
|
+
|
56
|
+
.bx-pager-item {
|
57
|
+
display: inline-block;
|
58
|
+
a {
|
59
|
+
display: inline-block;
|
60
|
+
// @include hide-text;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
// }
|
65
|
+
|
66
|
+
|
67
|
+
// Loading
|
68
|
+
.bx-loading {
|
69
|
+
@include square(100%);
|
70
|
+
@include position(absolute, 0px 0 0 0px);
|
71
|
+
@extend %slider-loading-style;
|
72
|
+
z-index: 2000;
|
73
|
+
}
|
74
|
+
|
75
|
+
.bx-caption {
|
76
|
+
@include position(absolute, 0 0 0px 0px);
|
77
|
+
width: 100%;
|
78
|
+
|
79
|
+
span {
|
80
|
+
display: inline-block;
|
81
|
+
@extend %slider-caption !optional;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
@if $tables {
|
6
|
+
|
7
|
+
// BASE TABLES
|
8
|
+
// -----------------
|
9
|
+
|
10
|
+
table {
|
11
|
+
max-width: 100%;
|
12
|
+
border-collapse: collapse;
|
13
|
+
border-spacing: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// BASELINE STYLES
|
17
|
+
// ---------------
|
18
|
+
|
19
|
+
.table {
|
20
|
+
width: 100%;
|
21
|
+
margin-bottom: rhythm(1);
|
22
|
+
|
23
|
+
th,
|
24
|
+
td {
|
25
|
+
padding: $tables-padding;
|
26
|
+
line-height: rhythm(1);
|
27
|
+
text-align: left;
|
28
|
+
vertical-align: top;
|
29
|
+
}
|
30
|
+
|
31
|
+
th { font-weight: bold; }
|
32
|
+
|
33
|
+
thead th { vertical-align: bottom; }
|
34
|
+
|
35
|
+
caption + thead tr:first-child th,
|
36
|
+
caption + thead tr:first-child td,
|
37
|
+
colgroup + thead tr:first-child th,
|
38
|
+
colgroup + thead tr:first-child td,
|
39
|
+
thead:first-child tr:first-child th,
|
40
|
+
thead:first-child tr:first-child td {
|
41
|
+
border-top: 0;
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
tbody + tbody { border-top: 2px solid $grayLight; }
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
// CONDENSED TABLE W/ HALF PADDING
|
52
|
+
// -------------------------------
|
53
|
+
.table-condensed {
|
54
|
+
th,
|
55
|
+
td { padding: em(4px) em(5px); }
|
56
|
+
}
|
57
|
+
|
58
|
+
// ZEBRA-STRIPING
|
59
|
+
// --------------
|
60
|
+
.table-striped {
|
61
|
+
@extend .table;
|
62
|
+
tbody {
|
63
|
+
> tr:nth-child(odd) > td,
|
64
|
+
> tr:nth-child(odd) > th {
|
65
|
+
@extend %table-striped !optional;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
// BORDERED VERSION
|
72
|
+
// ----------------
|
73
|
+
|
74
|
+
.table-bordered {
|
75
|
+
@extend .table;
|
76
|
+
@extend %table-bordered !optional;
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
// HOVER EFFECT
|
81
|
+
// ------------
|
82
|
+
.table-hover {
|
83
|
+
@extend .table;
|
84
|
+
tbody {
|
85
|
+
tr:hover > td,
|
86
|
+
tr:hover > th {
|
87
|
+
@extend %table-hover !optional;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
// STUPID TABLE
|
93
|
+
// ---------------
|
94
|
+
.table-sortable {
|
95
|
+
@extend .table;
|
96
|
+
@extend %table-sortable !optional;
|
97
|
+
|
98
|
+
thead {
|
99
|
+
th {
|
100
|
+
cursor: pointer;
|
101
|
+
|
102
|
+
&.sorting-asc:after,
|
103
|
+
&.sorting-desc:after {
|
104
|
+
float: right;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
@if $tabs {
|
2
|
+
|
3
|
+
.tab-container {
|
4
|
+
margin-bottom: rhythm();
|
5
|
+
|
6
|
+
.etabs {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
@extend %tab-nav !optional;
|
10
|
+
|
11
|
+
li {
|
12
|
+
display: inline-block;
|
13
|
+
zoom: 1;
|
14
|
+
|
15
|
+
a {
|
16
|
+
line-height: 1em;
|
17
|
+
display: block;
|
18
|
+
padding: $tabs-tab-padding;
|
19
|
+
outline: none;
|
20
|
+
@include border-radius($base-border-radius $base-border-radius 0 0);
|
21
|
+
@extend %tab-btn !optional;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
@extend %tab-btn_hover !optional;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
&.active {
|
29
|
+
a {
|
30
|
+
position: relative;
|
31
|
+
font-weight: bold;
|
32
|
+
@extend %tab-btn_current !optional;
|
33
|
+
|
34
|
+
&:after {
|
35
|
+
@include position(absolute, 0 0px -1px 0px);
|
36
|
+
height: 2px;
|
37
|
+
display: block;
|
38
|
+
content: "";
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
}
|
43
|
+
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.panel-container {
|
48
|
+
@extend %tab-container !optional;
|
49
|
+
@include border-radius(0 $base-border-radius $base-border-radius );
|
50
|
+
> div {padding: $tabs-content-padding;}
|
51
|
+
}
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|
@@ -0,0 +1,266 @@
|
|
1
|
+
// Scaffolding
|
2
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
3
|
+
*, *:before, *:after {@include box-sizing(border-box); outline: none;}
|
4
|
+
|
5
|
+
html {
|
6
|
+
@if $responsive-font-size {
|
7
|
+
|
8
|
+
@each $step in $responsive-font-size {
|
9
|
+
@include media(nth($step, 1)) {
|
10
|
+
font-size: 100% * nth($step, 2) / 16px;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
} @else {
|
15
|
+
font-size: 100% * $base-font-size / 16px;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
body {
|
20
|
+
@include adjust-font-size-to($base-font-size);
|
21
|
+
margin: 0;
|
22
|
+
font-family: $base-font-family;
|
23
|
+
color: $text-color;
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
img {max-width: 100%;}
|
28
|
+
|
29
|
+
a, button, textarea, input { outline: none; }
|
30
|
+
|
31
|
+
|
32
|
+
// Links
|
33
|
+
// -------------------------
|
34
|
+
a {
|
35
|
+
color: $link-color;
|
36
|
+
text-decoration: none;
|
37
|
+
}
|
38
|
+
a:hover,
|
39
|
+
a:focus {
|
40
|
+
color: $link-color-hover;
|
41
|
+
text-decoration: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
// Body text
|
47
|
+
// -------------------------
|
48
|
+
|
49
|
+
p {
|
50
|
+
margin: 0 0 rhythm(1);
|
51
|
+
}
|
52
|
+
|
53
|
+
.lead { @include adjust-font-size-to($h4-size); }
|
54
|
+
|
55
|
+
.muted { color: $gray;}
|
56
|
+
|
57
|
+
.pull-left {float: left;}
|
58
|
+
.pull-right {float: right;}
|
59
|
+
.clearfix { @include clearfix;}
|
60
|
+
|
61
|
+
// Emphasis & misc
|
62
|
+
// -------------------------
|
63
|
+
small { @include adjust-font-size-to($milli-size); }
|
64
|
+
|
65
|
+
strong { font-weight: bold; }
|
66
|
+
em { font-style: italic; }
|
67
|
+
cite { font-style: normal; }
|
68
|
+
|
69
|
+
.text-left { text-align: left; }
|
70
|
+
.text-right { text-align: right; }
|
71
|
+
.text-center { text-align: center; }
|
72
|
+
|
73
|
+
|
74
|
+
// Headings
|
75
|
+
// -------------------------
|
76
|
+
|
77
|
+
h1,
|
78
|
+
h2,
|
79
|
+
h3,
|
80
|
+
h4,
|
81
|
+
h5,
|
82
|
+
h6 {
|
83
|
+
margin: 0 0 1em;
|
84
|
+
text-rendering: optimizelegibility;
|
85
|
+
@if $titles-font-family { font-family: $titles-font-family; }
|
86
|
+
|
87
|
+
small {
|
88
|
+
font-weight: normal;
|
89
|
+
line-height: 1;
|
90
|
+
color: $grayLight;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
h1, .h1 {
|
95
|
+
@include adjust-font-size-to($h1-size);
|
96
|
+
@extend %h1 !optional;
|
97
|
+
}
|
98
|
+
|
99
|
+
h2, .h2 {
|
100
|
+
@include adjust-font-size-to($h2-size);
|
101
|
+
@extend %h2 !optional;
|
102
|
+
}
|
103
|
+
|
104
|
+
h3, .h3 {
|
105
|
+
@include adjust-font-size-to($h3-size);
|
106
|
+
@extend %h3 !optional;
|
107
|
+
}
|
108
|
+
|
109
|
+
h4, .h4 {
|
110
|
+
@include adjust-font-size-to($h4-size);
|
111
|
+
@extend %h4 !optional;
|
112
|
+
}
|
113
|
+
|
114
|
+
h5, .h5 {
|
115
|
+
@include adjust-font-size-to($h5-size);
|
116
|
+
@extend %h5 !optional;
|
117
|
+
}
|
118
|
+
|
119
|
+
h6, .h6 {
|
120
|
+
@include adjust-font-size-to($h6-size);
|
121
|
+
@extend %h6 !optional;
|
122
|
+
}
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
h1 small { @include adjust-font-size-to($h3-size); }
|
127
|
+
h2 small { @include adjust-font-size-to($h4-size); }
|
128
|
+
h3 small { @include adjust-font-size-to($h5-size); }
|
129
|
+
h4 small { @include adjust-font-size-to($h6-size); }
|
130
|
+
|
131
|
+
// Lists
|
132
|
+
// --------------------------------------------------
|
133
|
+
|
134
|
+
.list_style_none, .list-style-none {
|
135
|
+
padding-left: 0;
|
136
|
+
margin-left: 0;
|
137
|
+
list-style: none;
|
138
|
+
}
|
139
|
+
|
140
|
+
// Unordered and Ordered lists
|
141
|
+
ul, ol {
|
142
|
+
padding: 0;
|
143
|
+
margin: 0 0 rhythm(1) 25px;
|
144
|
+
}
|
145
|
+
ul ul,
|
146
|
+
ul ol,
|
147
|
+
ol ol,
|
148
|
+
ol ul {
|
149
|
+
margin-bottom: 0;
|
150
|
+
}
|
151
|
+
li {}
|
152
|
+
|
153
|
+
ul.unstyled,
|
154
|
+
ol.unstyled {
|
155
|
+
margin-left: 0;
|
156
|
+
list-style: none;
|
157
|
+
}
|
158
|
+
|
159
|
+
ul.inline,
|
160
|
+
ol.inline {
|
161
|
+
margin-left: 0;
|
162
|
+
list-style: none;
|
163
|
+
> li {
|
164
|
+
@include inline-block();
|
165
|
+
padding-left: 5px;
|
166
|
+
padding-right: 5px;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
// Description lists
|
171
|
+
|
172
|
+
dl { margin-bottom: rhythm(1); }
|
173
|
+
dt,
|
174
|
+
dd { line-height: rhythm(1); }
|
175
|
+
dt { font-weight: bold; }
|
176
|
+
dd { margin-left: rhythm(.5); }
|
177
|
+
|
178
|
+
|
179
|
+
.dl-horizontal {
|
180
|
+
@extend .clearfix;
|
181
|
+
dt {
|
182
|
+
float: left;
|
183
|
+
width: em($horizontal-offset) - 20;
|
184
|
+
clear: left;
|
185
|
+
text-align: right;
|
186
|
+
@include text-overflow();
|
187
|
+
}
|
188
|
+
|
189
|
+
dd { margin-left: em($horizontal-offset); }
|
190
|
+
}
|
191
|
+
|
192
|
+
// MISC
|
193
|
+
// ----
|
194
|
+
|
195
|
+
hr {
|
196
|
+
margin: rhythm(1) 0;
|
197
|
+
border: 0;
|
198
|
+
border-bottom: 1px solid $gray;
|
199
|
+
}
|
200
|
+
|
201
|
+
// Abbreviations and acronyms
|
202
|
+
abbr[title],
|
203
|
+
abbr[data-original-title] {
|
204
|
+
cursor: help;
|
205
|
+
border-bottom: 1px dotted $grayLight;
|
206
|
+
}
|
207
|
+
abbr.initialism {
|
208
|
+
font-size: 90%;
|
209
|
+
text-transform: uppercase;
|
210
|
+
}
|
211
|
+
|
212
|
+
// Blockquotes
|
213
|
+
blockquote {
|
214
|
+
padding: 0 0 0 rhythm(1);
|
215
|
+
margin: 0;
|
216
|
+
margin: 0 0 rhythm(1);
|
217
|
+
border-left: 5px solid $grayLighter;
|
218
|
+
|
219
|
+
p {
|
220
|
+
margin-bottom: 0;
|
221
|
+
font-weight: 300;
|
222
|
+
}
|
223
|
+
|
224
|
+
small {
|
225
|
+
display: block;
|
226
|
+
color: $grayLight;
|
227
|
+
&:before {
|
228
|
+
content: '\2014 \00A0';
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
// Float right with text-align: right
|
233
|
+
&.pull-right {
|
234
|
+
float: right;
|
235
|
+
padding-right: 15px;
|
236
|
+
padding-left: 0;
|
237
|
+
border-right: 5px solid $grayLighter;
|
238
|
+
border-left: 0;
|
239
|
+
|
240
|
+
p,
|
241
|
+
small {
|
242
|
+
text-align: right;
|
243
|
+
}
|
244
|
+
|
245
|
+
small {
|
246
|
+
&:before { content: ''; }
|
247
|
+
&:after { content: '\00A0 \2014'; }
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
// Quotes
|
253
|
+
q:before,
|
254
|
+
q:after,
|
255
|
+
blockquote:before,
|
256
|
+
blockquote:after {
|
257
|
+
content: "";
|
258
|
+
}
|
259
|
+
|
260
|
+
// Addresses
|
261
|
+
address {
|
262
|
+
display: block;
|
263
|
+
margin-bottom: rhythm(1);
|
264
|
+
font-style: normal;
|
265
|
+
line-height: rhythm(1);
|
266
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
3
|
+
// DEBUG MODE
|
4
|
+
// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
5
|
+
$debug-mode: false !default;
|
6
|
+
$default-styles: true !default;
|
7
|
+
|
8
|
+
// FONTS
|
9
|
+
// --------------------------------------------------------------------------------------------------------------------
|
10
|
+
$base-font-size: 14px !default;
|
11
|
+
$base-line-height: 20px !default;
|
12
|
+
$round-to-nearest-half-line: true !default;
|
13
|
+
|
14
|
+
// Cambia dimension dispositivi
|
15
|
+
// --------------------------------------------------------------------------------------------------------------------
|
16
|
+
$responsive-font-size: lap-and-up $base-font-size, palm 16px !default;
|
17
|
+
|
18
|
+
// Font-families di default
|
19
|
+
// --------------------------------------------------------------------------------------------------------------------
|
20
|
+
$font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
21
|
+
$font-serif: Georgia, "Times New Roman", Times, serif !default;
|
22
|
+
$font-mono: Monaco, Menlo, Consolas, "Courier New", monospace !default;
|
23
|
+
|
24
|
+
$base-font-family: $font-sans !default;
|
25
|
+
$titles-font-family: '' !default;
|
26
|
+
|
27
|
+
// Calcolo EM
|
28
|
+
// --------------------------------------------------------------------------------------------------------------------
|
29
|
+
@function em($to-size, $from-size: $base-font-size) {
|
30
|
+
@return ($to-size / $from-size) + 0em;
|
31
|
+
}
|
32
|
+
|