compass-ui 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -1
- data/CHANGELOG.md +18 -3
- data/README.md +185 -0
- data/bin/compass-ui +37 -0
- data/compass-ui.gemspec +1 -1
- data/demos/index.html +28 -21
- data/demos/js/demo.js +6 -1
- data/demos/sass/_base.scss +1 -1
- data/demos/sass/_demo.scss +45 -10
- data/lib/compass-ui/version.rb +1 -1
- data/stylesheets/compass-ui/jquery-ui/_theme.scss +4 -2
- data/stylesheets/compass-ui/theme/_absolution.scss +7 -7
- data/stylesheets/compass-ui/theme/_dot-luv.scss +9 -9
- data/stylesheets/compass-ui/theme/_jquery-ui-base.scss +18 -20
- data/stylesheets/compass-ui/theme/_smoothness.scss +6 -6
- data/stylesheets/compass-ui/theme/absolution/_autocomplete.scss +3 -3
- data/stylesheets/compass-ui/theme/absolution/_datepicker.scss +7 -7
- data/stylesheets/compass-ui/theme/absolution/_dialog.scss +1 -1
- data/stylesheets/compass-ui/theme/absolution/_slider.scss +5 -5
- data/stylesheets/compass-ui/theme/absolution/_tabs.scss +3 -3
- data/templates/images/absolution/selector.png +0 -0
- data/templates/images/absolution/ui-icons_222222_256x240.png +0 -0
- data/templates/images/absolution/ui-icons_eeeeee_256x240.png +0 -0
- data/templates/images/absolution/ui-icons_ffffff_256x240.png +0 -0
- data/templates/images/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/templates/images/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/templates/images/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/templates/images/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/templates/images/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/templates/images/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/images/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
- data/templates/images/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/templates/images/dot-luv/ui-icons_00498f_256x240.png +0 -0
- data/templates/images/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
- data/templates/images/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
- data/templates/images/dot-luv/ui-icons_ffffff_256x240.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/images/jquery-ui-base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/images/jquery-ui-base/ui-icons_222222_256x240.png +0 -0
- data/templates/images/jquery-ui-base/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/images/jquery-ui-base/ui-icons_454545_256x240.png +0 -0
- data/templates/images/jquery-ui-base/ui-icons_888888_256x240.png +0 -0
- data/templates/images/jquery-ui-base/ui-icons_cd0a0a_256x240.png +0 -0
- metadata +36 -6
- data/Gemfile.lock +0 -22
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
# Compass-UI Changelog
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### v0.0.4
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- Equating smoothness with jquery-ui-base theme when installing icons
|
|
6
|
+
- Changing default background-type to 'default' from 'flat'
|
|
7
|
+
- Adding compass-ui executable and icon files
|
|
8
|
+
- Removing Gemfile.lock from source control
|
|
9
|
+
- Small updates to demos
|
|
10
|
+
- Fix $ui-focus variables to default to same state as hover variables
|
|
11
|
+
|
|
12
|
+
### v0.0.3 - extracted from the compass-bearing project
|
|
13
|
+
|
|
14
|
+
- Fix for absolution tab borders
|
|
15
|
+
- Adding background color when using background-image in jquery-ui-background
|
|
16
|
+
- Breaking out state-focus into it's own set
|
|
17
|
+
- Adding font-weight variables and reorganizing link-colors
|
|
18
|
+
- Adding extractions from compass-bearing to initialize compass-ui project
|
|
19
|
+
|
|
20
|
+
## v0.0.2 - part of the compass-bearing project
|
|
6
21
|
|
|
7
22
|
- Switch to using image-url and relative theme url, instead of hard-coded images url
|
|
8
23
|
- Made _compass-bearing the default for pulling in a jquery base theme
|
|
@@ -16,7 +31,7 @@
|
|
|
16
31
|
- Changed jQuery UI theme variable naming scheme (from $jquery- variables to $ui-)
|
|
17
32
|
- Moved dependencies from Gemfile to gemspec
|
|
18
33
|
|
|
19
|
-
##
|
|
34
|
+
## v0.0.1 - previously part of the compass-bearing project
|
|
20
35
|
|
|
21
36
|
- Initial release
|
|
22
37
|
- Unstable and no longer supported, please see subsequent versions or pull from the Github repository.
|
data/README.md
CHANGED
|
@@ -26,6 +26,22 @@ Then, include the theme when needed:
|
|
|
26
26
|
@include absolution-theme;
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
## Installing Theme Icons
|
|
30
|
+
|
|
31
|
+
Icon sets and backgrounds for the available themes can be copied to your project using the compass-ui executable.
|
|
32
|
+
|
|
33
|
+
compass-ui help [TASK] # Describe available tasks or one specific task
|
|
34
|
+
compass-ui install THEME [-d DIRECTORY] # Installs the icons from one of the available themes.
|
|
35
|
+
compass-ui list # Lists the available icon themes.
|
|
36
|
+
|
|
37
|
+
By default, they will be copied to an 'images' directory in your current working directory. You can, however, pass a directory option to override the default.
|
|
38
|
+
|
|
39
|
+
E.g. the following command will install the smoothness icons to the 'app/assets/images/smoothness' directory in your current working directory.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
$ compass-ui install smoothness -d "app/assets/images"
|
|
43
|
+
```
|
|
44
|
+
|
|
29
45
|
## Existing Themes
|
|
30
46
|
|
|
31
47
|
* jQuery UI - Base Theme (import with `@import "compass-ui/theme/jquery-ui-base"`).
|
|
@@ -60,6 +76,175 @@ Place this after your variable overrides.
|
|
|
60
76
|
|
|
61
77
|
See the demos for a more detailed example.
|
|
62
78
|
|
|
79
|
+
## jQuery UI Base Variables
|
|
80
|
+
|
|
81
|
+
**A note on background types:**
|
|
82
|
+
|
|
83
|
+
> The *-background-type can currently be set as 'default' or 'image'. If set to 'default', it will use whatever you set the background to as-is. If set to 'image', it will set the `background-color` to the given color and use the compass `background-image` function to create a background-image. For example, when using linear-gradient, you'll want to use the 'image' type, but when explicity setting a background image in the background, you'll want to use the 'default' type.
|
|
84
|
+
|
|
85
|
+
Examples:
|
|
86
|
+
|
|
87
|
+
```sass
|
|
88
|
+
// Using the default background type to explicitly set a background
|
|
89
|
+
$ui-header-background: #cccccc image-url("#{$ui-images-url}ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
|
|
90
|
+
$ui-header-background-type: default;
|
|
91
|
+
|
|
92
|
+
// Using the image background type to create a linear gradient
|
|
93
|
+
$ui-default-background-color: #e6e6e6;
|
|
94
|
+
$ui-default-background: linear-gradient(#ededed,#f1f1f1);
|
|
95
|
+
$ui-default-background-type: image;
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
For convenience, here are the variables that can be overridden to create a new theme:
|
|
99
|
+
|
|
100
|
+
```sass
|
|
101
|
+
// Default Radius
|
|
102
|
+
$ui-border-radius: 5px;
|
|
103
|
+
|
|
104
|
+
// Default Fonts
|
|
105
|
+
$ui-font-family: Verdana, Arial, sans-serif;
|
|
106
|
+
|
|
107
|
+
$ui-fixed-font-family: "andale mono", "lucida console", monospace;
|
|
108
|
+
|
|
109
|
+
$ui-font-size: 1.1em;
|
|
110
|
+
|
|
111
|
+
$ui-widget-font-size: 1em;
|
|
112
|
+
|
|
113
|
+
$ui-form-font-size: 1em;
|
|
114
|
+
|
|
115
|
+
$ui-font-color: #222222;
|
|
116
|
+
|
|
117
|
+
// ------------------------------------------
|
|
118
|
+
// Icon Images
|
|
119
|
+
// ------------------------------------------
|
|
120
|
+
|
|
121
|
+
// Location of the icons and other theme related images. Note that this
|
|
122
|
+
// is relative to the images directory as defined in the compass config.rb file.
|
|
123
|
+
$ui-images-url: "jquery-ui-base/";
|
|
124
|
+
|
|
125
|
+
// Individual icon images that relate to each of the jQuery UI states
|
|
126
|
+
$ui-icons: "ui-icons_222222_256x240.png";
|
|
127
|
+
$ui-icons-content: $ui-icons;
|
|
128
|
+
$ui-icons-header: $ui-icons;
|
|
129
|
+
$ui-icons-default: "ui-icons_888888_256x240.png";
|
|
130
|
+
$ui-icons-hover: "ui-icons_454545_256x240.png";
|
|
131
|
+
$ui-icons-focus: $ui-icons-hover;
|
|
132
|
+
$ui-icons-active: "ui-icons_454545_256x240.png";
|
|
133
|
+
$ui-icons-highlight: "ui-icons_2e83ff_256x240.png";
|
|
134
|
+
$ui-icons-error: "ui-icons_cd0a0a_256x240.png";
|
|
135
|
+
|
|
136
|
+
// ------------------------------------------
|
|
137
|
+
// Color Scheme
|
|
138
|
+
// ------------------------------------------
|
|
139
|
+
|
|
140
|
+
// Content
|
|
141
|
+
$ui-content-border-width: 1px;
|
|
142
|
+
$ui-content-border-style: solid;
|
|
143
|
+
$ui-content-border-color: #aaaaaa;
|
|
144
|
+
$ui-content-color: $ui-font-color;
|
|
145
|
+
$ui-content-background-color: $ui-white;
|
|
146
|
+
$ui-content-background: $ui-white;
|
|
147
|
+
$ui-content-background-type: default;
|
|
148
|
+
$ui-content-link-color: $ui-content-color;
|
|
149
|
+
|
|
150
|
+
// Header
|
|
151
|
+
$ui-header-border-width: 1px;
|
|
152
|
+
$ui-header-border-style: solid;
|
|
153
|
+
$ui-header-border-color: #aaaaaa;
|
|
154
|
+
$ui-header-color: $ui-font-color;
|
|
155
|
+
$ui-header-link-color: $ui-header-color;
|
|
156
|
+
$ui-header-font-weight: bold;
|
|
157
|
+
$ui-header-background-color: #cccccc;
|
|
158
|
+
$ui-header-background: linear-gradient(#e2e2e2,#cccccc);
|
|
159
|
+
$ui-header-background-type: image;
|
|
160
|
+
|
|
161
|
+
// State-Default
|
|
162
|
+
$ui-default-border-width: 1px;
|
|
163
|
+
$ui-default-border-style: solid;
|
|
164
|
+
$ui-default-border-color: #d3d3d3;
|
|
165
|
+
$ui-default-color: #555555;
|
|
166
|
+
$ui-default-link-color: $ui-default-color;
|
|
167
|
+
$ui-default-font-weight: normal;
|
|
168
|
+
$ui-default-background-color: #e6e6e6;
|
|
169
|
+
$ui-default-background: linear-gradient(#ededed,#f1f1f1);
|
|
170
|
+
$ui-default-background-type: image;
|
|
171
|
+
|
|
172
|
+
// State-Hover
|
|
173
|
+
$ui-hover-border-width: 1px;
|
|
174
|
+
$ui-hover-border-style: solid;
|
|
175
|
+
$ui-hover-border-color: #999999;
|
|
176
|
+
$ui-hover-color: #212121;
|
|
177
|
+
$ui-hover-link-color: $ui-hover-color;
|
|
178
|
+
$ui-hover-font-weight: normal;
|
|
179
|
+
$ui-hover-background-color: #dadada;
|
|
180
|
+
$ui-hover-background: linear-gradient(#e4e4e4,#eaeaea);
|
|
181
|
+
$ui-hover-background-type: image;
|
|
182
|
+
|
|
183
|
+
// State-Focus
|
|
184
|
+
$ui-focus-border-width: $ui-hover-border-width;
|
|
185
|
+
$ui-focus-border-style: $ui-hover-border-style;
|
|
186
|
+
$ui-focus-border-color: $ui-hover-border-color;
|
|
187
|
+
$ui-focus-color: $ui-hover-color;
|
|
188
|
+
$ui-focus-link-color: $ui-hover-color;
|
|
189
|
+
$ui-focus-font-weight: $ui-hover-font-weight;
|
|
190
|
+
$ui-focus-background-color: $ui-hover-background-color;
|
|
191
|
+
$ui-focus-background: $ui-hover-background;
|
|
192
|
+
$ui-focus-background-type: $ui-hover-background-type;
|
|
193
|
+
|
|
194
|
+
// State-Active
|
|
195
|
+
$ui-active-border-width: 1px;
|
|
196
|
+
$ui-active-border-style: solid;
|
|
197
|
+
$ui-active-border-color: #aaaaaa;
|
|
198
|
+
$ui-active-color: #212121;
|
|
199
|
+
$ui-active-link-color: $ui-active-color;
|
|
200
|
+
$ui-active-font-weight: normal;
|
|
201
|
+
$ui-active-background-color: #ffffff;
|
|
202
|
+
$ui-active-background: linear-gradient(#fefefe,#ffffff);
|
|
203
|
+
$ui-active-background-type: image;
|
|
204
|
+
|
|
205
|
+
// State-Highlight
|
|
206
|
+
$ui-highlight-border-width: 1px;
|
|
207
|
+
$ui-highlight-border-style: solid;
|
|
208
|
+
$ui-highlight-border-color: #fcefa1;
|
|
209
|
+
$ui-highlight-color: #363636;
|
|
210
|
+
$ui-highlight-link-color: $ui-highlight-color;
|
|
211
|
+
$ui-highlight-background-color: #fbf9ee;
|
|
212
|
+
$ui-highlight-background: linear-gradient(#fcfaf1, #fbfaf3);
|
|
213
|
+
$ui-highlight-background-type: image;
|
|
214
|
+
|
|
215
|
+
// State-Error
|
|
216
|
+
$ui-error-border-width: 1px;
|
|
217
|
+
$ui-error-border-style: solid;
|
|
218
|
+
$ui-error-border-color: #cd0a0a;
|
|
219
|
+
$ui-error-color: #cd0a0a;
|
|
220
|
+
$ui-error-link-color: $ui-default-color;
|
|
221
|
+
$ui-error-background-color: #fef1ec;
|
|
222
|
+
$ui-error-background: linear-gradient(#fef6f3, #fef8f6);
|
|
223
|
+
$ui-error-background-type: image;
|
|
224
|
+
|
|
225
|
+
// State-Primary
|
|
226
|
+
$ui-priority-font-weight: bold;
|
|
227
|
+
|
|
228
|
+
// Priority-Secondary
|
|
229
|
+
$ui-priority-secondary-opacity: .7;
|
|
230
|
+
$ui-priority-secondary-font-weight: normal;
|
|
231
|
+
|
|
232
|
+
// State-Disabled
|
|
233
|
+
$ui-disabled-opacity: .35;
|
|
234
|
+
|
|
235
|
+
// Overlay
|
|
236
|
+
$ui-overlay-opacity: .3;
|
|
237
|
+
$ui-overlay-background-color: #aaaaaa;
|
|
238
|
+
$ui-overlay-background: $ui-overlay-background-color;
|
|
239
|
+
$ui-overlay-background-type: default;
|
|
240
|
+
|
|
241
|
+
// Shadow
|
|
242
|
+
$ui-shadow-opacity: .3;
|
|
243
|
+
$ui-shadow-background-color: #aaaaaa;
|
|
244
|
+
$ui-shadow-background: $ui-shadow-background-color;
|
|
245
|
+
$ui-shadow-background-type: default;
|
|
246
|
+
```
|
|
247
|
+
|
|
63
248
|
## Attribution
|
|
64
249
|
Absolution Theme, Copyright 2010, [Michael Vanderheeren][mvan]
|
|
65
250
|
|
data/bin/compass-ui
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
require 'thor'
|
|
3
|
+
|
|
4
|
+
class CompassUI < Thor
|
|
5
|
+
include Thor::Actions
|
|
6
|
+
|
|
7
|
+
def self.source_root
|
|
8
|
+
File.join(File.dirname(__FILE__), '..', 'templates', 'images')
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
desc "install THEME [-d DIRECTORY]", "Installs the icons from one of the available themes."
|
|
12
|
+
method_options %w(directory -d) => :string
|
|
13
|
+
def install(theme)
|
|
14
|
+
# smoothness and jquery-ui use the same set
|
|
15
|
+
theme_name = theme
|
|
16
|
+
theme = (theme == 'smoothness' ? 'jquery-ui-base' : theme)
|
|
17
|
+
install_dir = options[:directory]
|
|
18
|
+
install_dir ||= 'images'
|
|
19
|
+
source_dir = File.join(CompassUI.source_root, theme)
|
|
20
|
+
if File.exists?(source_dir) and File.directory?(source_dir)
|
|
21
|
+
directory(theme, File.join(install_dir, theme_name))
|
|
22
|
+
else
|
|
23
|
+
say "Unable to find theme: #{theme}!", Thor::Shell::Color::RED
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
desc "list", "Lists the available icon themes."
|
|
28
|
+
def list
|
|
29
|
+
say 'Available icon themes:', Thor::Shell::Color::CYAN
|
|
30
|
+
Dir.foreach(CompassUI.source_root) do |dir|
|
|
31
|
+
next if ['.','..'].include?(dir)
|
|
32
|
+
say dir unless !File.directory?(File.join(CompassUI.source_root, dir))
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
CompassUI.start
|
data/compass-ui.gemspec
CHANGED
data/demos/index.html
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
4
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
5
6
|
<meta http-equiv="Cache-Control" content="no-cache" />
|
|
7
|
+
|
|
6
8
|
<title>Compass-UI</title>
|
|
7
9
|
<link type="text/css" href="stylesheets/default.css" rel="stylesheet" />
|
|
8
10
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
|
@@ -14,6 +16,32 @@
|
|
|
14
16
|
<div id="header">
|
|
15
17
|
<h1>Compass-UI Theme Tests</h1>
|
|
16
18
|
</div>
|
|
19
|
+
<div id="sidebar">
|
|
20
|
+
<h2 id="showing">
|
|
21
|
+
Currently Showing:
|
|
22
|
+
<span>jQuery-UI Base Theme</span>
|
|
23
|
+
</h2>
|
|
24
|
+
|
|
25
|
+
<div id="toggle-css">
|
|
26
|
+
<strong>Choose a theme to test:</strong>
|
|
27
|
+
<a href="#" rel="stylesheets/default.css"
|
|
28
|
+
data-summary="The jQuery UI Base Theme from Compass-UI">jQuery Base Theme</a>
|
|
29
|
+
<a href="#" rel="stylesheets/absolution.css"
|
|
30
|
+
data-summary="The Absolution Theme from Michaël Vanderheeren">Absolution Theme</a>
|
|
31
|
+
<a href="#" rel="stylesheets/smoothness.css"
|
|
32
|
+
data-summary="The Smoothness Theme from the jQuery UI Themeroller">Smoothness Theme</a>
|
|
33
|
+
<a href="#" rel="stylesheets/dot-luv.css"
|
|
34
|
+
data-summary="The gaudy Dot Luv Theme from the jQuery UI Themeroller">Dot Luv Theme</a>
|
|
35
|
+
<a href="#" rel="stylesheets/color-test.css"
|
|
36
|
+
data-summary="An external color test to demonstrate working with Compass-UI outside the gem itself">Color Test</a>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<p>
|
|
40
|
+
<strong>Resources:</strong>
|
|
41
|
+
<a href="https://github.com/patrickward/compass-ui">Github Project</a>
|
|
42
|
+
</p>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
17
45
|
<div id="content">
|
|
18
46
|
<p>
|
|
19
47
|
Compass-UI is a jQuery UI theme builder for the Compass CSS authoring framework.
|
|
@@ -38,27 +66,6 @@
|
|
|
38
66
|
<div id="demo-combinations">Loading...</div>
|
|
39
67
|
<div id="demo-form">Loading...</div>
|
|
40
68
|
</div>
|
|
41
|
-
<div id="sidebar">
|
|
42
|
-
<h2 id="showing">
|
|
43
|
-
Currently Showing: <br>
|
|
44
|
-
<span>jQuery-UI Base Theme</span>
|
|
45
|
-
</h2>
|
|
46
|
-
|
|
47
|
-
<div id="toggle-css">
|
|
48
|
-
<strong>Choose a theme to test:</strong>
|
|
49
|
-
<a href="#" rel="stylesheets/default.css">jQuery Base Theme</a>
|
|
50
|
-
<a href="#" rel="stylesheets/absolution.css">Absolution Theme</a>
|
|
51
|
-
<a href="#" rel="stylesheets/smoothness.css">Smoothness Theme</a>
|
|
52
|
-
<a href="#" rel="stylesheets/dot-luv.css">Dot Luv Theme</a>
|
|
53
|
-
<a href="#" rel="stylesheets/color-test.css">Color Test</a>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<p>
|
|
57
|
-
<strong>Resources:</strong>
|
|
58
|
-
<a href="https://github.com/patrickward/compass-ui">Github Project</a>
|
|
59
|
-
</p>
|
|
60
|
-
|
|
61
|
-
</div>
|
|
62
69
|
</div>
|
|
63
70
|
</body>
|
|
64
71
|
</html>
|
data/demos/js/demo.js
CHANGED
|
@@ -176,14 +176,19 @@ $(function(){
|
|
|
176
176
|
// Switch styles
|
|
177
177
|
$('#toggle-css a').click(function() {
|
|
178
178
|
var name = $(this).html();
|
|
179
|
+
var summary = $(this).attr('data-summary');
|
|
180
|
+
summary = name + '<br><span class="summary">' + summary + '</span>';
|
|
179
181
|
$('link[rel=stylesheet]').attr({href: $(this).attr('rel') + '?' + Date.now() });
|
|
180
182
|
$('h2#showing span')
|
|
181
183
|
.fadeOut('slow', function() {
|
|
182
184
|
$(this)
|
|
183
|
-
.html(
|
|
185
|
+
.html(summary)
|
|
184
186
|
.fadeIn('slow');
|
|
185
187
|
});
|
|
186
188
|
});
|
|
187
189
|
|
|
190
|
+
// trigger a click on the first theme choice
|
|
191
|
+
$('#toggle-css a:first').click();
|
|
192
|
+
|
|
188
193
|
});
|
|
189
194
|
|
data/demos/sass/_base.scss
CHANGED
data/demos/sass/_demo.scss
CHANGED
|
@@ -6,18 +6,29 @@ $test-blue-dark: #0064CD;
|
|
|
6
6
|
$test-red: #9D261D;
|
|
7
7
|
$test-orange: #F89406;
|
|
8
8
|
$test-green: #46A546;
|
|
9
|
+
$test-green-light: lighten($test-green, 45%);
|
|
10
|
+
$test-green-medium: lighten($test-green, 30%);
|
|
11
|
+
$test-green-dark: darken($test-green, 18%);
|
|
9
12
|
|
|
10
13
|
body{
|
|
11
|
-
font: 62.5%
|
|
12
|
-
|
|
14
|
+
font: 62.5% "Trebuchet MS", Helvetica, Arial, sans-serif;
|
|
15
|
+
// font: 100% "Trebuchet MS", Helvetica, sans-serif;
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
#container {
|
|
17
|
-
@include container;
|
|
20
|
+
// @include container;
|
|
21
|
+
margin: 20px auto;
|
|
22
|
+
// width: 60%;
|
|
23
|
+
width: 90%;
|
|
24
|
+
max-width: 960px;
|
|
18
25
|
|
|
19
26
|
#header, #footer {
|
|
20
|
-
@include column(24, true);
|
|
27
|
+
// @include column(24, true);
|
|
28
|
+
margin: 0 auto 20px;
|
|
29
|
+
// width: 93.75%; /* 900px / 960px */
|
|
30
|
+
width: 100%;
|
|
31
|
+
|
|
21
32
|
background-color: $test-blue-dark;
|
|
22
33
|
@include background-image(linear-gradient($test-blue, $test-blue-dark));
|
|
23
34
|
@include border-radius(5px);
|
|
@@ -29,6 +40,7 @@ body{
|
|
|
29
40
|
color: white;
|
|
30
41
|
margin: 6px;
|
|
31
42
|
padding: 10px 0;
|
|
43
|
+
text-transform: uppercase;
|
|
32
44
|
}
|
|
33
45
|
|
|
34
46
|
}
|
|
@@ -41,12 +53,16 @@ body{
|
|
|
41
53
|
// }
|
|
42
54
|
|
|
43
55
|
#content {
|
|
44
|
-
@include column(18);
|
|
56
|
+
// @include column(18);
|
|
45
57
|
padding-top: 10px;
|
|
58
|
+
float: left;
|
|
59
|
+
width: 80%; /* 566px / 900px */
|
|
46
60
|
}
|
|
47
61
|
|
|
48
62
|
#sidebar {
|
|
49
|
-
@include column(6, true);
|
|
63
|
+
// @include column(6, true);
|
|
64
|
+
float: right;
|
|
65
|
+
width: 20%; /* 331px / 900px */
|
|
50
66
|
|
|
51
67
|
a {
|
|
52
68
|
display: block;
|
|
@@ -65,6 +81,21 @@ body{
|
|
|
65
81
|
}
|
|
66
82
|
}
|
|
67
83
|
|
|
84
|
+
// media queries
|
|
85
|
+
|
|
86
|
+
@media screen and (max-width: 768px) {
|
|
87
|
+
#container {
|
|
88
|
+
margin: 20px;
|
|
89
|
+
width: auto;
|
|
90
|
+
|
|
91
|
+
#sidebar, #content, #header, #footer {
|
|
92
|
+
margin: 0 0 20px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
68
99
|
.demoHeaders {
|
|
69
100
|
margin-top: 2em;
|
|
70
101
|
margin-bottom: 1em;
|
|
@@ -102,14 +133,18 @@ h2 {
|
|
|
102
133
|
|
|
103
134
|
h2#showing {
|
|
104
135
|
@include border-radius(5px);
|
|
105
|
-
// @include background-image(linear-gradient($test-blue, $test-blue-dark));
|
|
106
|
-
// @include background-image(linear-gradient(lighten($test-orange, 20%), $test-orange));
|
|
107
136
|
background-color: $test-green;
|
|
108
|
-
@include background-image(linear-gradient(
|
|
109
|
-
color:
|
|
137
|
+
@include background-image(linear-gradient($test-green-medium, $test-green));
|
|
138
|
+
color: $test-green-dark;
|
|
110
139
|
padding: 0.9em;
|
|
111
140
|
span {
|
|
112
141
|
color: white;
|
|
142
|
+
display: block;
|
|
143
|
+
}
|
|
144
|
+
span.summary {
|
|
145
|
+
font-size: 0.7em;
|
|
146
|
+
color: #ffffff;
|
|
147
|
+
padding-top: 6px;
|
|
113
148
|
}
|
|
114
149
|
}
|
|
115
150
|
|
data/lib/compass-ui/version.rb
CHANGED
|
@@ -36,8 +36,10 @@
|
|
|
36
36
|
@include jquery-ui-overlays;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
@mixin jquery-ui-background($background-color, $background, $type:
|
|
40
|
-
@if $type ==
|
|
39
|
+
@mixin jquery-ui-background($background-color, $background, $type: default) {
|
|
40
|
+
@if $type == default {
|
|
41
|
+
background: $background;
|
|
42
|
+
} @else if $type == flat {
|
|
41
43
|
background: $background;
|
|
42
44
|
} @else {
|
|
43
45
|
background: $background-color;
|
|
@@ -73,10 +73,10 @@ $ui-content-border-color: #a9a9a9;
|
|
|
73
73
|
$ui-content-color: #333333;
|
|
74
74
|
$ui-content-link-color: $ui-content-color;
|
|
75
75
|
$ui-content-background-color: #fdfdfd;
|
|
76
|
-
// If the background is
|
|
76
|
+
// If the background is default, add a full background description:
|
|
77
77
|
// $ui-content-background: #ffffff url(...);
|
|
78
78
|
$ui-content-background: linear-gradient($ui-content-background-color,#ececec);
|
|
79
|
-
$ui-content-background-type:
|
|
79
|
+
$ui-content-background-type: image;
|
|
80
80
|
|
|
81
81
|
// header
|
|
82
82
|
$ui-header-border-color: $ui-content-border-color;
|
|
@@ -89,7 +89,7 @@ $ui-header-background: $ui-content-background;
|
|
|
89
89
|
$ui-titlebar-color: #ffffff;
|
|
90
90
|
$ui-titlebar-background-color: #4c4c4e;
|
|
91
91
|
$ui-titlebar-background: linear-gradient($ui-titlebar-background-color, #282425);
|
|
92
|
-
$ui-titlebar-background-type:
|
|
92
|
+
$ui-titlebar-background-type: image;
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
// state-default
|
|
@@ -118,7 +118,7 @@ $ui-highlight-border-color: #8b9fc2;
|
|
|
118
118
|
$ui-highlight-color: #363636;
|
|
119
119
|
$ui-highlight-background-color: #7cc5e3;
|
|
120
120
|
$ui-highlight-background: $ui-highlight-background-color;
|
|
121
|
-
$ui-highlight-background-type:
|
|
121
|
+
$ui-highlight-background-type: default;
|
|
122
122
|
$ui-highlight-link-color: $ui-highlight-color;
|
|
123
123
|
|
|
124
124
|
// state-error
|
|
@@ -126,7 +126,7 @@ $ui-error-border-color: #953737;
|
|
|
126
126
|
$ui-error-color: #363636;
|
|
127
127
|
$ui-error-background-color: #f35757;
|
|
128
128
|
$ui-error-background: $ui-error-background-color;
|
|
129
|
-
$ui-error-background-type:
|
|
129
|
+
$ui-error-background-type: default;
|
|
130
130
|
$ui-error-link-color: $ui-error-color;
|
|
131
131
|
|
|
132
132
|
// state-primary
|
|
@@ -141,11 +141,11 @@ $ui-disabled-opacity: .35;
|
|
|
141
141
|
$ui-overlay-opacity: .3;
|
|
142
142
|
$ui-overlay-background-color: #aaaaaa;
|
|
143
143
|
$ui-overlay-background: linear-gradient($ui-overlay-background-color,adjust-lightness($ui-overlay-background-color, -5));
|
|
144
|
-
$ui-overlay-background-type:
|
|
144
|
+
$ui-overlay-background-type: image;
|
|
145
145
|
|
|
146
146
|
// shadow
|
|
147
147
|
$ui-shadow-opacity: .3;
|
|
148
148
|
$ui-shadow-background-color: #aaaaaa;
|
|
149
149
|
$ui-shadow-background: linear-gradient($ui-shadow-background-color,adjust-lightness($ui-shadow-background-color, -5));
|
|
150
|
-
$ui-shadow-background-type:
|
|
150
|
+
$ui-shadow-background-type: image;
|
|
151
151
|
|
|
@@ -42,7 +42,7 @@ $ui-content-border-color: #000000;
|
|
|
42
42
|
$ui-content-color: $ui-font-color;
|
|
43
43
|
$ui-content-background-color: #111111;
|
|
44
44
|
$ui-content-background: #111111 image-url("#{$ui-images-url}ui-bg_gloss-wave_20_111111_500x100.png") 50% top repeat-x;
|
|
45
|
-
$ui-content-background-type:
|
|
45
|
+
$ui-content-background-type: default;
|
|
46
46
|
$ui-content-link-color: $ui-content-color;
|
|
47
47
|
|
|
48
48
|
// Header
|
|
@@ -50,7 +50,7 @@ $ui-header-border-color: #0b3e6f;
|
|
|
50
50
|
$ui-header-color: #f6f6f6;
|
|
51
51
|
$ui-header-background-color: #0b3e6f;
|
|
52
52
|
$ui-header-background: #0b3e6f image-url("#{$ui-images-url}ui-bg_diagonals-thick_15_0b3e6f_40x40.png") 50% 50% repeat;
|
|
53
|
-
$ui-header-background-type:
|
|
53
|
+
$ui-header-background-type: default;
|
|
54
54
|
$ui-header-link-color: $ui-header-color;
|
|
55
55
|
|
|
56
56
|
// State-Default
|
|
@@ -58,7 +58,7 @@ $ui-default-border-color: #333333;
|
|
|
58
58
|
$ui-default-color: #ffffff;
|
|
59
59
|
$ui-default-background-color: #333333;
|
|
60
60
|
$ui-default-background: #333333 image-url("#{$ui-images-url}ui-bg_dots-small_20_333333_2x2.png") 50% 50% repeat;
|
|
61
|
-
$ui-default-background-type:
|
|
61
|
+
$ui-default-background-type: default;
|
|
62
62
|
$ui-default-link-color: $ui-default-color;
|
|
63
63
|
|
|
64
64
|
// State-Hover
|
|
@@ -66,7 +66,7 @@ $ui-hover-border-color: #222222;
|
|
|
66
66
|
$ui-hover-color: #ffffff;
|
|
67
67
|
$ui-hover-background-color: #00498f;
|
|
68
68
|
$ui-hover-background: #00498f image-url("#{$ui-images-url}ui-bg_dots-small_40_00498f_2x2.png") 50% 50% repeat;
|
|
69
|
-
$ui-hover-background-type:
|
|
69
|
+
$ui-hover-background-type: default;
|
|
70
70
|
$ui-hover-link-color: $ui-hover-color;
|
|
71
71
|
|
|
72
72
|
// State-Active
|
|
@@ -74,7 +74,7 @@ $ui-active-border-color: #096ac8;
|
|
|
74
74
|
$ui-active-color: #75abff;
|
|
75
75
|
$ui-active-background-color: #292929;
|
|
76
76
|
$ui-active-background: #292929 image-url("#{$ui-images-url}ui-bg_flat_40_292929_40x100.png") 50% 50% repeat-x;
|
|
77
|
-
$ui-active-background-type:
|
|
77
|
+
$ui-active-background-type: default;
|
|
78
78
|
$ui-active-link-color: $ui-active-color;
|
|
79
79
|
|
|
80
80
|
// State-Highlight
|
|
@@ -82,7 +82,7 @@ $ui-highlight-border-color: #052f57;
|
|
|
82
82
|
$ui-highlight-color: #ffffff;
|
|
83
83
|
$ui-highlight-background-color: #0b58a2;
|
|
84
84
|
$ui-highlight-background: #0b58a2 image-url("#{$ui-images-url}ui-bg_dots-medium_30_0b58a2_4x4.png") 50% 50% repeat;
|
|
85
|
-
$ui-highlight-background-type:
|
|
85
|
+
$ui-highlight-background-type: default;
|
|
86
86
|
$ui-highlight-link-color: $ui-highlight-color;
|
|
87
87
|
|
|
88
88
|
// State-Error
|
|
@@ -90,7 +90,7 @@ $ui-error-border-color: #cd0a0a;
|
|
|
90
90
|
$ui-error-color: #ffffff;
|
|
91
91
|
$ui-error-background-color: #a32d00;
|
|
92
92
|
$ui-error-background: #a32d00 image-url("#{$ui-images-url}ui-bg_dots-small_30_a32d00_2x2.png") 50% 50% repeat;
|
|
93
|
-
$ui-error-background-type:
|
|
93
|
+
$ui-error-background-type: default;
|
|
94
94
|
$ui-error-link-color: $ui-default-color;
|
|
95
95
|
|
|
96
96
|
// State-Primary
|
|
@@ -105,11 +105,11 @@ $ui-disabled-opacity: .35;
|
|
|
105
105
|
$ui-overlay-opacity: .3;
|
|
106
106
|
$ui-overlay-background-color: #aaaaaa;
|
|
107
107
|
$ui-overlay-background: $ui-overlay-background-color;
|
|
108
|
-
$ui-overlay-background-type:
|
|
108
|
+
$ui-overlay-background-type: default;
|
|
109
109
|
|
|
110
110
|
// Shadow
|
|
111
111
|
$ui-shadow-opacity: .3;
|
|
112
112
|
$ui-shadow-background-color: #aaaaaa;
|
|
113
113
|
$ui-shadow-background: $ui-shadow-background-color;
|
|
114
|
-
$ui-shadow-background-type:
|
|
114
|
+
$ui-shadow-background-type: default;
|
|
115
115
|
|
|
@@ -23,14 +23,13 @@ $ui-widget-font-size: 1em !default;
|
|
|
23
23
|
|
|
24
24
|
$ui-form-font-size: 1em !default;
|
|
25
25
|
|
|
26
|
-
|
|
27
26
|
$ui-font-color: #222222 !default;
|
|
28
27
|
|
|
29
28
|
// ------------------------------------------
|
|
30
29
|
// Icon Images
|
|
31
30
|
// ------------------------------------------
|
|
32
31
|
|
|
33
|
-
// Location of the icons and other
|
|
32
|
+
// Location of the icons and other theme related images. Note that this
|
|
34
33
|
// is relative to the images directory as defined in the compass config.rb file.
|
|
35
34
|
$ui-images-url: "jquery-ui-base/" !default;
|
|
36
35
|
|
|
@@ -49,7 +48,6 @@ $ui-icons-error: "ui-icons_cd0a0a_256x240.png" !default;
|
|
|
49
48
|
// Color Scheme
|
|
50
49
|
// ------------------------------------------
|
|
51
50
|
|
|
52
|
-
|
|
53
51
|
// Content
|
|
54
52
|
$ui-content-border-width: 1px !default;
|
|
55
53
|
$ui-content-border-style: solid !default;
|
|
@@ -57,7 +55,7 @@ $ui-content-border-color: #aaaaaa !default;
|
|
|
57
55
|
$ui-content-color: $ui-font-color !default;
|
|
58
56
|
$ui-content-background-color: $ui-white !default;
|
|
59
57
|
$ui-content-background: $ui-white !default;
|
|
60
|
-
$ui-content-background-type:
|
|
58
|
+
$ui-content-background-type: default !default;
|
|
61
59
|
$ui-content-link-color: $ui-content-color !default;
|
|
62
60
|
|
|
63
61
|
// Header
|
|
@@ -69,7 +67,7 @@ $ui-header-link-color: $ui-header-color !default;
|
|
|
69
67
|
$ui-header-font-weight: bold !default;
|
|
70
68
|
$ui-header-background-color: #cccccc !default;
|
|
71
69
|
$ui-header-background: linear-gradient(#e2e2e2,#cccccc) !default;
|
|
72
|
-
$ui-header-background-type:
|
|
70
|
+
$ui-header-background-type: image !default;
|
|
73
71
|
|
|
74
72
|
// State-Default
|
|
75
73
|
$ui-default-border-width: 1px !default;
|
|
@@ -80,7 +78,7 @@ $ui-default-link-color: $ui-default-color !default;
|
|
|
80
78
|
$ui-default-font-weight: normal !default;
|
|
81
79
|
$ui-default-background-color: #e6e6e6 !default;
|
|
82
80
|
$ui-default-background: linear-gradient(#ededed,#f1f1f1) !default;
|
|
83
|
-
$ui-default-background-type:
|
|
81
|
+
$ui-default-background-type: image !default;
|
|
84
82
|
|
|
85
83
|
// State-Hover
|
|
86
84
|
$ui-hover-border-width: 1px !default;
|
|
@@ -91,18 +89,18 @@ $ui-hover-link-color: $ui-hover-color !default;
|
|
|
91
89
|
$ui-hover-font-weight: normal !default;
|
|
92
90
|
$ui-hover-background-color: #dadada !default;
|
|
93
91
|
$ui-hover-background: linear-gradient(#e4e4e4,#eaeaea) !default;
|
|
94
|
-
$ui-hover-background-type:
|
|
92
|
+
$ui-hover-background-type: image !default;
|
|
95
93
|
|
|
96
94
|
// State-Focus
|
|
97
|
-
$ui-focus-border-width:
|
|
98
|
-
$ui-focus-border-style:
|
|
99
|
-
$ui-focus-border-color:
|
|
100
|
-
$ui-focus-color:
|
|
95
|
+
$ui-focus-border-width: $ui-hover-border-width !default;
|
|
96
|
+
$ui-focus-border-style: $ui-hover-border-style !default;
|
|
97
|
+
$ui-focus-border-color: $ui-hover-border-color !default;
|
|
98
|
+
$ui-focus-color: $ui-hover-color !default;
|
|
101
99
|
$ui-focus-link-color: $ui-hover-color !default;
|
|
102
|
-
$ui-focus-font-weight:
|
|
103
|
-
$ui-focus-background-color:
|
|
104
|
-
$ui-focus-background:
|
|
105
|
-
$ui-focus-background-type:
|
|
100
|
+
$ui-focus-font-weight: $ui-hover-font-weight !default;
|
|
101
|
+
$ui-focus-background-color: $ui-hover-background-color !default;
|
|
102
|
+
$ui-focus-background: $ui-hover-background !default;
|
|
103
|
+
$ui-focus-background-type: $ui-hover-background-type !default;
|
|
106
104
|
|
|
107
105
|
// State-Active
|
|
108
106
|
$ui-active-border-width: 1px !default;
|
|
@@ -113,7 +111,7 @@ $ui-active-link-color: $ui-active-color !default;
|
|
|
113
111
|
$ui-active-font-weight: normal !default;
|
|
114
112
|
$ui-active-background-color: #ffffff !default;
|
|
115
113
|
$ui-active-background: linear-gradient(#fefefe,#ffffff) !default;
|
|
116
|
-
$ui-active-background-type:
|
|
114
|
+
$ui-active-background-type: image !default;
|
|
117
115
|
|
|
118
116
|
// State-Highlight
|
|
119
117
|
$ui-highlight-border-width: 1px !default;
|
|
@@ -123,7 +121,7 @@ $ui-highlight-color: #363636 !default;
|
|
|
123
121
|
$ui-highlight-link-color: $ui-highlight-color !default;
|
|
124
122
|
$ui-highlight-background-color: #fbf9ee !default;
|
|
125
123
|
$ui-highlight-background: linear-gradient(#fcfaf1, #fbfaf3) !default;
|
|
126
|
-
$ui-highlight-background-type:
|
|
124
|
+
$ui-highlight-background-type: image !default;
|
|
127
125
|
|
|
128
126
|
// State-Error
|
|
129
127
|
$ui-error-border-width: 1px !default;
|
|
@@ -133,7 +131,7 @@ $ui-error-color: #cd0a0a !default;
|
|
|
133
131
|
$ui-error-link-color: $ui-default-color !default;
|
|
134
132
|
$ui-error-background-color: #fef1ec !default;
|
|
135
133
|
$ui-error-background: linear-gradient(#fef6f3, #fef8f6) !default;
|
|
136
|
-
$ui-error-background-type:
|
|
134
|
+
$ui-error-background-type: image !default;
|
|
137
135
|
|
|
138
136
|
// State-Primary
|
|
139
137
|
$ui-priority-font-weight: bold !default;
|
|
@@ -149,12 +147,12 @@ $ui-disabled-opacity: .35 !default;
|
|
|
149
147
|
$ui-overlay-opacity: .3 !default;
|
|
150
148
|
$ui-overlay-background-color: #aaaaaa !default;
|
|
151
149
|
$ui-overlay-background: $ui-overlay-background-color !default;
|
|
152
|
-
$ui-overlay-background-type:
|
|
150
|
+
$ui-overlay-background-type: default !default;
|
|
153
151
|
|
|
154
152
|
// Shadow
|
|
155
153
|
$ui-shadow-opacity: .3 !default;
|
|
156
154
|
$ui-shadow-background-color: #aaaaaa !default;
|
|
157
155
|
$ui-shadow-background: $ui-shadow-background-color !default;
|
|
158
|
-
$ui-shadow-background-type:
|
|
156
|
+
$ui-shadow-background-type: default !default;
|
|
159
157
|
|
|
160
158
|
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
|
|
12
12
|
// // Header
|
|
13
13
|
$ui-header-background: #cccccc image-url("#{$ui-images-url}ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
|
|
14
|
-
$ui-header-background-type:
|
|
14
|
+
$ui-header-background-type: default;
|
|
15
15
|
|
|
16
16
|
// State-Default
|
|
17
17
|
$ui-default-background: $ui-default-background-color image-url("#{$ui-images-url}ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
|
|
18
|
-
$ui-default-background-type:
|
|
18
|
+
$ui-default-background-type: default;
|
|
19
19
|
|
|
20
20
|
// State-Hover
|
|
21
21
|
$ui-hover-background: $ui-hover-background-color image-url("#{$ui-images-url}ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
|
|
22
|
-
$ui-hover-background-type:
|
|
22
|
+
$ui-hover-background-type: default;
|
|
23
23
|
|
|
24
24
|
// State-Active
|
|
25
25
|
$ui-active-background: #ffffff image-url("#{$ui-images-url}ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
|
|
26
|
-
$ui-active-background-type:
|
|
26
|
+
$ui-active-background-type: default;
|
|
27
27
|
|
|
28
28
|
// State-Highlight
|
|
29
29
|
$ui-highlight-background: #fbf9ee image-url("#{$ui-images-url}ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
|
|
30
|
-
$ui-highlight-background-type:
|
|
30
|
+
$ui-highlight-background-type: default;
|
|
31
31
|
|
|
32
32
|
// State-Error
|
|
33
33
|
$ui-error-background: #fef1ec image-url("#{$ui-images-url}ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
|
|
34
|
-
$ui-error-background-type:
|
|
34
|
+
$ui-error-background-type: default;
|
|
35
35
|
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
border: 1px solid #a9a9a9;
|
|
24
24
|
|
|
25
25
|
@include border-radius(5px);
|
|
26
|
-
@include jquery-ui-background(#eff0f0, linear-gradient(#eff0f0, #ffffff),
|
|
26
|
+
@include jquery-ui-background(#eff0f0, linear-gradient(#eff0f0, #ffffff), image);
|
|
27
27
|
&:hover,
|
|
28
28
|
&:focus {
|
|
29
|
-
@include jquery-ui-background(#dfe0e1, linear-gradient(#dfe0e1, #ffffff),
|
|
29
|
+
@include jquery-ui-background(#dfe0e1, linear-gradient(#dfe0e1, #ffffff), image);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
border-width: $ui-default-border-width;
|
|
36
36
|
border-style: $ui-default-border-style;
|
|
37
37
|
border-color: $ui-default-border-color;
|
|
38
|
-
@include jquery-ui-background($ui-default-background-color, $ui-default-background,
|
|
38
|
+
@include jquery-ui-background($ui-default-background-color, $ui-default-background, image);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
}
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
top: 4px;
|
|
21
21
|
border: 1px solid #000000;
|
|
22
22
|
cursor: pointer;
|
|
23
|
-
@include jquery-ui-background(#6a6b6e, linear-gradient(#6a6b6e, #3e3e3e),
|
|
23
|
+
@include jquery-ui-background(#6a6b6e, linear-gradient(#6a6b6e, #3e3e3e), image);
|
|
24
24
|
color: #ffffff;
|
|
25
25
|
&:hover {
|
|
26
26
|
color: $ui-hover-color;
|
|
27
27
|
border-width: $ui-hover-border-width;
|
|
28
28
|
border-style: $ui-hover-border-style;
|
|
29
29
|
border-color: $ui-hover-border-color;
|
|
30
|
-
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background,
|
|
30
|
+
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background, image);
|
|
31
31
|
}
|
|
32
32
|
&:active {
|
|
33
33
|
color: $ui-active-color;
|
|
34
34
|
border-color: $ui-active-border-color;
|
|
35
|
-
@include jquery-ui-background($ui-active-background-color, $ui-active-background,
|
|
35
|
+
@include jquery-ui-background($ui-active-background-color, $ui-active-background, image);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
border-color: $ui-default-border-color;
|
|
59
59
|
@include border-radius(5px);
|
|
60
60
|
color: $ui-default-color;
|
|
61
|
-
@include jquery-ui-background($ui-default-background-color, $ui-default-background,
|
|
61
|
+
@include jquery-ui-background($ui-default-background-color, $ui-default-background, image);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ui-state-focus,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
border-color: $ui-default-border-color;
|
|
68
68
|
@include border-radius(5px);
|
|
69
69
|
color: $ui-default-color;
|
|
70
|
-
@include jquery-ui-background($ui-default-background-color, $ui-default-background,
|
|
70
|
+
@include jquery-ui-background($ui-default-background-color, $ui-default-background, image);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.ui-state-hover,
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
border-color: $ui-hover-border-color;
|
|
77
77
|
@include border-radius(5px);
|
|
78
78
|
color: $ui-hover-color;
|
|
79
|
-
@include jquery-ui-background($ui-default-background-color, $ui-hover-background,
|
|
79
|
+
@include jquery-ui-background($ui-default-background-color, $ui-hover-background, image);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.ui-state-active,
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
border-color: $ui-active-border-color;
|
|
86
86
|
@include border-radius(5px);
|
|
87
87
|
color: $ui-active-color;
|
|
88
|
-
@include jquery-ui-background($ui-default-background-color, $ui-active-background,
|
|
88
|
+
@include jquery-ui-background($ui-default-background-color, $ui-active-background, image);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
.ui-dialog-titlebar-close {
|
|
43
43
|
border-color: #000000;
|
|
44
|
-
@include jquery-ui-background(#6a6b6e, linear-gradient(#6a6b6e, #3e3e3e),
|
|
44
|
+
@include jquery-ui-background(#6a6b6e, linear-gradient(#6a6b6e, #3e3e3e), image);
|
|
45
45
|
color: $ui-titlebar-color;
|
|
46
46
|
|
|
47
47
|
.ui-icon {
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
color: $ui-default-color;
|
|
5
5
|
border-color: $ui-default-border-color;
|
|
6
6
|
|
|
7
|
-
@include jquery-ui-background($ui-default-background-color, $ui-default-background,
|
|
7
|
+
@include jquery-ui-background($ui-default-background-color, $ui-default-background, image);
|
|
8
8
|
|
|
9
9
|
&:hover {
|
|
10
10
|
border-color: #b8b8b8;
|
|
11
|
-
@include jquery-ui-background(#ffffff, linear-gradient(#ffffff, #cacbcc),
|
|
11
|
+
@include jquery-ui-background(#ffffff, linear-gradient(#ffffff, #cacbcc), image);
|
|
12
12
|
}
|
|
13
13
|
&:hover {
|
|
14
14
|
border-color: #b8b8b8;
|
|
15
|
-
@include jquery-ui-background(#cacbcc, linear-gradient(#cacbcc, #ffffff),
|
|
15
|
+
@include jquery-ui-background(#cacbcc, linear-gradient(#cacbcc, #ffffff), image);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
.ui-widget-header {
|
|
27
27
|
color: #ffffff;
|
|
28
|
-
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background,
|
|
28
|
+
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background, image);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.ui-widget-header { font-weight: bold; }
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
.ui-widget-header {
|
|
41
41
|
color: #ffffff;
|
|
42
|
-
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background,
|
|
42
|
+
@include jquery-ui-background($ui-hover-background-color, $ui-hover-background, image);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.ui-widget-header { font-weight: bold; }
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
&.ui-state-hover {
|
|
36
36
|
color: inherit;
|
|
37
|
-
@include jquery-ui-background(#dadada, linear-gradient(#dadada, #b0b0b0),
|
|
37
|
+
@include jquery-ui-background(#dadada, linear-gradient(#dadada, #b0b0b0), image);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&.ui-state-active,
|
|
41
41
|
&.ui-tabs-selected {
|
|
42
42
|
color: inherit;
|
|
43
|
-
@include jquery-ui-background(#bcbcbc, linear-gradient(#bcbcbc, #e4e4e4),
|
|
43
|
+
@include jquery-ui-background(#bcbcbc, linear-gradient(#bcbcbc, #e4e4e4), image);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
border-width: $ui-default-border-width;
|
|
56
56
|
border-style: $ui-default-border-style;
|
|
57
57
|
border-color: $ui-default-border-color;
|
|
58
|
-
@include jquery-ui-background($ui-default-background-color, $ui-default-background,
|
|
58
|
+
@include jquery-ui-background($ui-default-background-color, $ui-default-background, image);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: compass-ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-09-
|
|
12
|
+
date: 2011-09-05 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: compass
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2153205300 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,21 +21,22 @@ dependencies:
|
|
|
21
21
|
version: 0.11.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *2153205300
|
|
25
25
|
description: Compass-UI is a jQuery UI theme builder for the Compass CSS Authoring
|
|
26
26
|
Framework.
|
|
27
27
|
email:
|
|
28
28
|
- oss@patrickward.com
|
|
29
|
-
executables:
|
|
29
|
+
executables:
|
|
30
|
+
- compass-ui
|
|
30
31
|
extensions: []
|
|
31
32
|
extra_rdoc_files: []
|
|
32
33
|
files:
|
|
33
34
|
- .gitignore
|
|
34
35
|
- CHANGELOG.md
|
|
35
36
|
- Gemfile
|
|
36
|
-
- Gemfile.lock
|
|
37
37
|
- LICENSE.md
|
|
38
38
|
- README.md
|
|
39
|
+
- bin/compass-ui
|
|
39
40
|
- compass-ui.gemspec
|
|
40
41
|
- demos/config.rb
|
|
41
42
|
- demos/images/absolution/selector.png
|
|
@@ -121,6 +122,35 @@ files:
|
|
|
121
122
|
- stylesheets/compass-ui/theme/absolution/_progressbar.scss
|
|
122
123
|
- stylesheets/compass-ui/theme/absolution/_slider.scss
|
|
123
124
|
- stylesheets/compass-ui/theme/absolution/_tabs.scss
|
|
125
|
+
- templates/images/absolution/selector.png
|
|
126
|
+
- templates/images/absolution/ui-icons_222222_256x240.png
|
|
127
|
+
- templates/images/absolution/ui-icons_eeeeee_256x240.png
|
|
128
|
+
- templates/images/absolution/ui-icons_ffffff_256x240.png
|
|
129
|
+
- templates/images/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png
|
|
130
|
+
- templates/images/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png
|
|
131
|
+
- templates/images/dot-luv/ui-bg_dots-small_20_333333_2x2.png
|
|
132
|
+
- templates/images/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png
|
|
133
|
+
- templates/images/dot-luv/ui-bg_dots-small_40_00498f_2x2.png
|
|
134
|
+
- templates/images/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png
|
|
135
|
+
- templates/images/dot-luv/ui-bg_flat_40_292929_40x100.png
|
|
136
|
+
- templates/images/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png
|
|
137
|
+
- templates/images/dot-luv/ui-icons_00498f_256x240.png
|
|
138
|
+
- templates/images/dot-luv/ui-icons_98d2fb_256x240.png
|
|
139
|
+
- templates/images/dot-luv/ui-icons_9ccdfc_256x240.png
|
|
140
|
+
- templates/images/dot-luv/ui-icons_ffffff_256x240.png
|
|
141
|
+
- templates/images/jquery-ui-base/ui-bg_flat_0_aaaaaa_40x100.png
|
|
142
|
+
- templates/images/jquery-ui-base/ui-bg_flat_75_ffffff_40x100.png
|
|
143
|
+
- templates/images/jquery-ui-base/ui-bg_glass_55_fbf9ee_1x400.png
|
|
144
|
+
- templates/images/jquery-ui-base/ui-bg_glass_65_ffffff_1x400.png
|
|
145
|
+
- templates/images/jquery-ui-base/ui-bg_glass_75_dadada_1x400.png
|
|
146
|
+
- templates/images/jquery-ui-base/ui-bg_glass_75_e6e6e6_1x400.png
|
|
147
|
+
- templates/images/jquery-ui-base/ui-bg_glass_95_fef1ec_1x400.png
|
|
148
|
+
- templates/images/jquery-ui-base/ui-bg_highlight-soft_75_cccccc_1x100.png
|
|
149
|
+
- templates/images/jquery-ui-base/ui-icons_222222_256x240.png
|
|
150
|
+
- templates/images/jquery-ui-base/ui-icons_2e83ff_256x240.png
|
|
151
|
+
- templates/images/jquery-ui-base/ui-icons_454545_256x240.png
|
|
152
|
+
- templates/images/jquery-ui-base/ui-icons_888888_256x240.png
|
|
153
|
+
- templates/images/jquery-ui-base/ui-icons_cd0a0a_256x240.png
|
|
124
154
|
- templates/project/_compass-ui.scss
|
|
125
155
|
- templates/project/manifest.rb
|
|
126
156
|
homepage: https://github.com/patrickward/compass-ui
|
data/Gemfile.lock
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
compass-ui (0.0.1)
|
|
5
|
-
compass (>= 0.11.1)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: http://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
chunky_png (1.2.1)
|
|
11
|
-
compass (0.11.5)
|
|
12
|
-
chunky_png (~> 1.2)
|
|
13
|
-
fssm (>= 0.2.7)
|
|
14
|
-
sass (~> 3.1)
|
|
15
|
-
fssm (0.2.7)
|
|
16
|
-
sass (3.1.7)
|
|
17
|
-
|
|
18
|
-
PLATFORMS
|
|
19
|
-
ruby
|
|
20
|
-
|
|
21
|
-
DEPENDENCIES
|
|
22
|
-
compass-ui!
|