compass_radix 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -0
- data/lib/compass_radix.rb +3 -0
- data/stylesheets/_compass_radix.scss +43 -0
- data/stylesheets/compass_radix/_contrib.scss +10 -0
- data/stylesheets/compass_radix/_font.scss +4 -0
- data/stylesheets/compass_radix/_form.scss +194 -0
- data/stylesheets/compass_radix/_layout.scss +30 -0
- data/stylesheets/compass_radix/_maintenance.scss +5 -0
- data/stylesheets/compass_radix/_menu.scss +217 -0
- data/stylesheets/compass_radix/_mixin.scss +25 -0
- data/stylesheets/compass_radix/_navbar.scss +299 -0
- data/stylesheets/compass_radix/_node.scss +53 -0
- data/stylesheets/compass_radix/_page.scss +3 -0
- data/stylesheets/compass_radix/_panel.scss +42 -0
- data/stylesheets/compass_radix/_structure.scss +394 -0
- data/stylesheets/compass_radix/_user.scss +4 -0
- data/stylesheets/compass_radix/_variable.scss +300 -0
- data/stylesheets/compass_radix/_view.scss +3 -0
- data/templates/project/_compass_radix.scss +3 -0
- data/templates/project/manifest.rb +7 -0
- metadata +80 -0
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
// @file
|
2
|
+
// SCSS partials import
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// COMPASS Imports
|
6
|
+
// --------------------------------------------------
|
7
|
+
@import "compass";
|
8
|
+
@include global-reset;
|
9
|
+
@include reset-html5;
|
10
|
+
|
11
|
+
// Radix Variables and Mixins
|
12
|
+
// --------------------------------------------------
|
13
|
+
@import "compass_radix/variable";
|
14
|
+
@import "compass_radix/mixin";
|
15
|
+
|
16
|
+
// Compass plugin for Twitter Bootstrap
|
17
|
+
// @see https://github.com/vwall/compass-twitter-bootstrap
|
18
|
+
// --------------------------------------------------
|
19
|
+
@import "compass_twitter_bootstrap";
|
20
|
+
@import "compass_twitter_bootstrap_awesome";
|
21
|
+
@import "compass_twitter_bootstrap_responsive";
|
22
|
+
|
23
|
+
// Contrib
|
24
|
+
// --------------------------------------------------
|
25
|
+
@import "compass_radix/contrib";
|
26
|
+
|
27
|
+
// Radix Theme CSS
|
28
|
+
// --------------------------------------------------
|
29
|
+
@import "compass_radix/font";
|
30
|
+
@import "compass_radix/layout";
|
31
|
+
@import "compass_radix/structure";
|
32
|
+
@import "compass_radix/menu";
|
33
|
+
@import "compass_radix/navbar";
|
34
|
+
@import "compass_radix/page";
|
35
|
+
@import "compass_radix/panel";
|
36
|
+
@import "compass_radix/view";
|
37
|
+
@import "compass_radix/form";
|
38
|
+
@import "compass_radix/user";
|
39
|
+
@import "compass_radix/node";
|
40
|
+
|
41
|
+
// Other
|
42
|
+
// --------------------------------------------------
|
43
|
+
@import "compass_radix/maintenance";
|
@@ -0,0 +1,10 @@
|
|
1
|
+
//
|
2
|
+
// Contrib
|
3
|
+
// Some extra config for Drupal contrib
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
// Navbar (Drupal)
|
7
|
+
// @see http://drupal.org/project/navbar
|
8
|
+
// -------------------------
|
9
|
+
$drupalNavbarBackground: #2B2C30;
|
10
|
+
$drupalNavbarLinkColor: $linkColor !default;
|
@@ -0,0 +1,194 @@
|
|
1
|
+
//
|
2
|
+
// Layout
|
3
|
+
// Styles for Forms
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
// General
|
7
|
+
// --------------------------------------------------
|
8
|
+
form {
|
9
|
+
fieldset {
|
10
|
+
min-height: 50px;
|
11
|
+
legend {
|
12
|
+
font-size: 18px;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
.form-actions {
|
16
|
+
.btn {
|
17
|
+
margin-right: 10px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.field-type-datetime {
|
21
|
+
select {
|
22
|
+
width: 80px;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.format-toggle {
|
26
|
+
float: none;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@media (max-width: 767px) {
|
31
|
+
form {
|
32
|
+
.btn {
|
33
|
+
width: 100%;
|
34
|
+
display: block;
|
35
|
+
clear: both;
|
36
|
+
margin: 0 0 5px;
|
37
|
+
}
|
38
|
+
input.form-text,
|
39
|
+
textarea,
|
40
|
+
select {
|
41
|
+
width: 94%;
|
42
|
+
}
|
43
|
+
fieldset {
|
44
|
+
legend {
|
45
|
+
font-size: 18px;
|
46
|
+
line-height: 24px;
|
47
|
+
padding-bottom: 5px;
|
48
|
+
margin-top: 10px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
.confirm-parent,
|
52
|
+
.password-parent,
|
53
|
+
.password-suggestions {
|
54
|
+
width: auto !important;
|
55
|
+
}
|
56
|
+
.password-parent {
|
57
|
+
div.password-strength {
|
58
|
+
width: 150px;
|
59
|
+
float: right;
|
60
|
+
margin-top: 0;
|
61
|
+
font-size: 10px;
|
62
|
+
margin-bottom: 5px;
|
63
|
+
margin-top: -5px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
.confirm-parent {
|
67
|
+
div.password-confirm {
|
68
|
+
width: 110px;
|
69
|
+
float: right;
|
70
|
+
margin-top: 0;
|
71
|
+
font-size: 10px;
|
72
|
+
margin-bottom: 5px;
|
73
|
+
margin-top: -5px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
// Node Edit Form
|
80
|
+
// --------------------------------------------------
|
81
|
+
#node-edit {
|
82
|
+
#edit-title {
|
83
|
+
font-size: 1.6em;
|
84
|
+
line-height: 1.6em;
|
85
|
+
height: 45px;
|
86
|
+
width: 90%;
|
87
|
+
}
|
88
|
+
.form-item-path-alias {
|
89
|
+
@include clearfix();
|
90
|
+
label, input {
|
91
|
+
display: inline;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
.burr-flipped-sidebar {
|
95
|
+
.panel-pane {
|
96
|
+
@include well();
|
97
|
+
padding: 10px;
|
98
|
+
.pane-title {
|
99
|
+
margin-top: 0;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
.pane-node-form-buttons {
|
103
|
+
background: none;
|
104
|
+
padding: inherit;
|
105
|
+
.form-actions {
|
106
|
+
margin: 0;
|
107
|
+
border-top: 0;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.filter-wrapper {
|
114
|
+
@include well();
|
115
|
+
margin-top: 10px;
|
116
|
+
.filter-guidelines {
|
117
|
+
padding: 0;
|
118
|
+
.tips {
|
119
|
+
margin-left: 0;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
// Search Form
|
125
|
+
// --------------------------------------------------
|
126
|
+
.navbar {
|
127
|
+
.search-form {
|
128
|
+
.container-inline {
|
129
|
+
padding-top: 0;
|
130
|
+
}
|
131
|
+
input {
|
132
|
+
&.form-submit {
|
133
|
+
display: none;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
@media (max-width: 979px) {
|
140
|
+
.navbar {
|
141
|
+
.search-form {
|
142
|
+
border: 0 !important;
|
143
|
+
padding: 5px 0 10px;
|
144
|
+
margin: 0;
|
145
|
+
@include box-shadow(none);
|
146
|
+
.container-inline {
|
147
|
+
padding-top: 0;
|
148
|
+
margin: 0;
|
149
|
+
display: block;
|
150
|
+
width: 100%;
|
151
|
+
.form-item {
|
152
|
+
width: 100%;
|
153
|
+
display: block;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
input {
|
157
|
+
margin: 0 auto;
|
158
|
+
display: block;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
// Field Overview
|
165
|
+
// --------------------------------------------------
|
166
|
+
.page-admin {
|
167
|
+
form {
|
168
|
+
table {
|
169
|
+
select,
|
170
|
+
input.form-text {
|
171
|
+
width: 150px;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
// Features
|
178
|
+
// --------------------------------------------------
|
179
|
+
#features-export-form {
|
180
|
+
.features-export-parent {
|
181
|
+
margin: 0 0 20px;
|
182
|
+
fieldset.collapsed {
|
183
|
+
min-height: 43px !important;
|
184
|
+
background: none;
|
185
|
+
}
|
186
|
+
.features-export-list {
|
187
|
+
padding: 10px;
|
188
|
+
.form-item {
|
189
|
+
float: none !important;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
//
|
2
|
+
// Layout
|
3
|
+
// Styles for main layout
|
4
|
+
// --------------------------------------------------
|
5
|
+
.show-grid .panel-display .row {
|
6
|
+
margin-top: 10px;
|
7
|
+
margin-bottom: 20px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.show-grid .panel-display .row [class*="span"] {
|
11
|
+
background-color: #eee;
|
12
|
+
text-align: center;
|
13
|
+
min-height: 40px;
|
14
|
+
line-height: 40px;
|
15
|
+
@include border-radius(4px);
|
16
|
+
}
|
17
|
+
|
18
|
+
.container {
|
19
|
+
.container {
|
20
|
+
width: auto;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
body {
|
25
|
+
#header {
|
26
|
+
#navigation {
|
27
|
+
margin-top: 20px;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,217 @@
|
|
1
|
+
// Menu
|
2
|
+
// Styles for Menus and Navs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// General
|
6
|
+
// --------------------------------------------------
|
7
|
+
.navbar {
|
8
|
+
.btn-navbar-search {
|
9
|
+
padding: 4px 11px 3px;
|
10
|
+
span {
|
11
|
+
line-height: 1.1em;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// Main Menu
|
17
|
+
// --------------------------------------------------
|
18
|
+
#main-menu {
|
19
|
+
> ul.menu {
|
20
|
+
margin: 0;
|
21
|
+
padding: 0;
|
22
|
+
@include clearfix();
|
23
|
+
overflow: visible;
|
24
|
+
> li {
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
position: relative;
|
28
|
+
float: left;
|
29
|
+
list-style: none outside none;
|
30
|
+
position: relative;
|
31
|
+
> a {
|
32
|
+
float: none;
|
33
|
+
padding: 10px 15px 10px;
|
34
|
+
color: $navbarLinkColor;
|
35
|
+
text-decoration: none;
|
36
|
+
text-shadow: 0 1px 0 white;
|
37
|
+
display: block;
|
38
|
+
&:hover {
|
39
|
+
color: $navbarLinkColorHover;
|
40
|
+
text-decoration: none;
|
41
|
+
background-color: $navbarLinkBackgroundHover;
|
42
|
+
}
|
43
|
+
&:focus,
|
44
|
+
&.active {
|
45
|
+
color: $navbarLinkColorActive;
|
46
|
+
text-decoration: none;
|
47
|
+
background-color: $navbarLinkBackgroundActive;
|
48
|
+
@include box-shadow(inset 0 3px 8px rgba(0, 0, 0, 0.125));
|
49
|
+
}
|
50
|
+
}
|
51
|
+
> ul.menu {
|
52
|
+
position: absolute;
|
53
|
+
top: 100%;
|
54
|
+
left: 0;
|
55
|
+
z-index: 1000;
|
56
|
+
display: none;
|
57
|
+
float: left;
|
58
|
+
min-width: 160px;
|
59
|
+
padding: 5px 0;
|
60
|
+
margin: 2px 0 0;
|
61
|
+
list-style: none;
|
62
|
+
background-color: $dropdownBackground;
|
63
|
+
border: 1px solid $dropdownBorder;
|
64
|
+
@include border-radius(6px 6px 6px 6px);
|
65
|
+
@include box-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
|
66
|
+
li {
|
67
|
+
list-style: none outside none;
|
68
|
+
margin: 0;
|
69
|
+
padding: 0;
|
70
|
+
a {
|
71
|
+
display: block;
|
72
|
+
padding: 3px 20px;
|
73
|
+
clear: both;
|
74
|
+
font-weight: normal;
|
75
|
+
line-height: 20px;
|
76
|
+
color: $dropdownLinkColor;
|
77
|
+
white-space: nowrap;
|
78
|
+
&:focus, &:hover {
|
79
|
+
color: $dropdownLinkColorHover;
|
80
|
+
text-decoration: none;
|
81
|
+
outline: 0;
|
82
|
+
background-color: $dropdownLinkBackgroundActive;
|
83
|
+
@include ctb-gradient-vertical($dropdownLinkBackgroundActive, darken($dropdownLinkBackgroundActive, 5%));
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
&:before {
|
88
|
+
position: absolute;
|
89
|
+
top: -7px;
|
90
|
+
left: 9px;
|
91
|
+
display: inline-block;
|
92
|
+
border-right: 7px solid transparent;
|
93
|
+
border-bottom: 7px solid #CCC;
|
94
|
+
border-left: 7px solid transparent;
|
95
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
96
|
+
content: '';
|
97
|
+
}
|
98
|
+
&:after {
|
99
|
+
position: absolute;
|
100
|
+
top: -6px;
|
101
|
+
left: 10px;
|
102
|
+
display: inline-block;
|
103
|
+
border-right: 6px solid transparent;
|
104
|
+
border-bottom: 6px solid white;
|
105
|
+
border-left: 6px solid transparent;
|
106
|
+
content: '';
|
107
|
+
}
|
108
|
+
}
|
109
|
+
&.open {
|
110
|
+
> a {
|
111
|
+
color: #555;
|
112
|
+
background-color: #E5E5E5;
|
113
|
+
}
|
114
|
+
ul.menu {
|
115
|
+
display: block;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
|
123
|
+
@media (max-width: 979px) {
|
124
|
+
#main-menu {
|
125
|
+
float: none;
|
126
|
+
> ul.menu {
|
127
|
+
li {
|
128
|
+
display: block;
|
129
|
+
float: none;
|
130
|
+
margin-bottom: 2px;
|
131
|
+
a {
|
132
|
+
display: block;
|
133
|
+
padding: 9px 15px;
|
134
|
+
font-weight: bold;
|
135
|
+
color: #777777;
|
136
|
+
@include border-radius(3px);
|
137
|
+
&:hover {
|
138
|
+
background-color: #f2f2f2;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
&.open {
|
142
|
+
ul.menu {
|
143
|
+
display: none !important;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
@media (min-width: 980px) {
|
152
|
+
.nav-collapse.collapse {
|
153
|
+
height: auto !important;
|
154
|
+
overflow: visible !important;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
// Pane Menu Tree
|
159
|
+
// --------------------------------------------------
|
160
|
+
.pane-menu-tree {
|
161
|
+
padding: 0;
|
162
|
+
background-color: #fff;
|
163
|
+
margin: 0 0 30px;
|
164
|
+
@include border-radius(6px);
|
165
|
+
@include box-shadow(0 1px 4px rgba(0, 0, 0, 0.065));
|
166
|
+
.pane-title {
|
167
|
+
padding: 8px 14px;
|
168
|
+
margin: 0 0 -1px;
|
169
|
+
border: 1px solid #e5e5e5;
|
170
|
+
}
|
171
|
+
.pane-content {
|
172
|
+
ul.menu {
|
173
|
+
margin: 0;
|
174
|
+
padding: 0;
|
175
|
+
li {
|
176
|
+
list-style: none outside none;
|
177
|
+
margin: 0;
|
178
|
+
padding: 0;
|
179
|
+
a {
|
180
|
+
display: block;
|
181
|
+
margin: 0 0 -1px;
|
182
|
+
padding: 8px 14px;
|
183
|
+
border: 1px solid #e5e5e5;
|
184
|
+
&:hover {
|
185
|
+
background-color: #f5f5f5;
|
186
|
+
text-decoration: none;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
&.active-trail {
|
190
|
+
> a {
|
191
|
+
color: #ffffff;
|
192
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
193
|
+
background-color: #0088cc;
|
194
|
+
}
|
195
|
+
> ul.menu {
|
196
|
+
display: block;
|
197
|
+
li {
|
198
|
+
a {
|
199
|
+
padding-left: 30px;
|
200
|
+
}
|
201
|
+
&.active-trail {
|
202
|
+
> a {
|
203
|
+
background-color: #F5F5F5;
|
204
|
+
color: #0088CC;
|
205
|
+
text-shadow: none;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
ul.menu {
|
213
|
+
display: none;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|