rbbt-rest 1.1.5 → 1.2.0
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.
- checksums.yaml +8 -8
- data/lib/rbbt/rest/common/cache.rb +33 -14
- data/lib/rbbt/rest/common/locate.rb +8 -6
- data/lib/rbbt/rest/common/misc.rb +4 -0
- data/lib/rbbt/rest/common/render.rb +14 -4
- data/lib/rbbt/rest/common/resources.rb +1 -1
- data/lib/rbbt/rest/common/table.rb +37 -7
- data/lib/rbbt/rest/entity.rb +5 -3
- data/lib/rbbt/rest/entity/favourites.rb +4 -1
- data/lib/rbbt/rest/entity/helpers.rb +12 -0
- data/lib/rbbt/rest/entity/rest.rb +6 -2
- data/lib/rbbt/rest/helpers.rb +7 -0
- data/lib/rbbt/rest/knowledge_base.rb +338 -0
- data/lib/rbbt/rest/knowledge_base/helpers.rb +57 -0
- data/lib/rbbt/rest/main.rb +16 -3
- data/share/views/compass/_rbbt.sass +11 -0
- data/share/views/compass/actions.sass +48 -24
- data/share/views/compass/app.sass +72 -50
- data/share/views/compass/colors.sass +3 -229
- data/share/views/compass/entity_card.sass +44 -108
- data/share/views/compass/favourites.sass +17 -72
- data/share/views/compass/finder.sass +30 -0
- data/share/views/compass/foundation.sass +79 -0
- data/share/views/compass/functions.sass +27 -0
- data/share/views/compass/help.sass +3 -0
- data/share/views/compass/layout.sass +132 -0
- data/share/views/compass/rbbt/form.sass +84 -0
- data/share/views/compass/rbbt/fragment.sass +7 -0
- data/share/views/compass/rbbt/menu.sass +189 -0
- data/share/views/compass/rbbt/reveal.sass +46 -0
- data/share/views/compass/rbbt/table.sass +169 -0
- data/share/views/compass/skeleton.sass +2 -0
- data/share/views/compass/skeleton/_dependencies.sass +151 -0
- data/share/views/compass/skeleton/_functions.sass +4 -0
- data/share/views/compass/skeleton/_mixins.sass +25 -0
- data/share/views/compass/skeleton/_vars.sass +72 -0
- data/share/views/compass/skeleton/base.sass +333 -0
- data/share/views/compass/skeleton/layout.sass +51 -0
- data/share/views/compass/skeleton/skeleton.sass +105 -0
- data/share/views/compass/solarized.sass +56 -0
- data/share/views/compass/style.sass +2 -116
- data/share/views/compass/theme.sass +57 -44
- data/share/views/compass/top_menu.sass +121 -0
- data/share/views/compass/user.sass +7 -0
- data/share/views/compass/variables.sass +7 -0
- data/share/views/compass/workflow.sass +6 -14
- data/share/views/entity_partials/action_controller.haml +7 -4
- data/share/views/entity_partials/entity_card.haml +10 -5
- data/share/views/entity_partials/entity_list.haml +4 -7
- data/share/views/entity_partials/entity_list_card.haml +10 -3
- data/share/views/entity_partials/entity_map_card.haml +2 -2
- data/share/views/entity_partials/list_container.haml +31 -26
- data/share/views/error.haml +5 -7
- data/share/views/help.haml +75 -31
- data/share/views/help/entity.haml +191 -193
- data/share/views/help/workflow.haml +59 -63
- data/share/views/job_result.haml +23 -26
- data/share/views/layout.haml +41 -61
- data/share/views/layout/top_menu.haml +19 -0
- data/share/views/layout/top_menu/favourites.haml +45 -0
- data/share/views/layout/top_menu/finder.haml +4 -0
- data/share/views/layout/top_menu/user.haml +15 -0
- data/share/views/public/js/_ajax_replace.js +17 -5
- data/share/views/public/js/_ellipsis.js +7 -9
- data/share/views/public/js/app.js +50 -2
- data/share/views/public/js/foundation/foundation.abide.js +194 -0
- data/share/views/public/js/foundation/foundation.alerts.js +52 -0
- data/share/views/public/js/foundation/foundation.clearing.js +516 -0
- data/share/views/public/js/foundation/foundation.cookie.js +74 -0
- data/share/views/public/js/foundation/foundation.dropdown.js +177 -0
- data/share/views/public/js/foundation/foundation.forms.js +533 -0
- data/share/views/public/js/foundation/foundation.interchange.js +280 -0
- data/share/views/public/js/foundation/foundation.joyride.js +850 -0
- data/share/views/public/js/foundation/foundation.js +440 -0
- data/share/views/public/js/foundation/foundation.magellan.js +135 -0
- data/share/views/public/js/foundation/foundation.orbit.js +412 -0
- data/share/views/public/js/foundation/foundation.placeholder.js +179 -0
- data/share/views/public/js/foundation/foundation.reveal.js +330 -0
- data/share/views/public/js/foundation/foundation.section.js +400 -0
- data/share/views/public/js/foundation/foundation.tooltips.js +208 -0
- data/share/views/public/js/foundation/foundation.topbar.js +300 -0
- data/share/views/public/js/foundation/index.js +18 -0
- data/share/views/public/js/helpers.js +33 -2
- data/share/views/public/js/jquery-ui.js +313 -0
- data/share/views/public/js/rbbt/actions.js +264 -0
- data/share/views/public/js/{_dom_update.js → rbbt/dom_update.js} +0 -0
- data/share/views/public/js/rbbt/favourites.js +425 -0
- data/share/views/public/js/rbbt/fragment.js +13 -0
- data/share/views/public/js/rbbt/hide.js +60 -0
- data/share/views/public/js/rbbt/list.js +117 -0
- data/share/views/public/js/{maps.js → rbbt/map.js} +3 -2
- data/share/views/public/js/rbbt/menu.js +22 -0
- data/share/views/public/js/rbbt/modal.js +96 -0
- data/share/views/public/js/{entities.js → rbbt/page_type.js} +12 -9
- data/share/views/public/js/rbbt/reveal.js +19 -0
- data/share/views/public/js/rbbt/table.js +283 -0
- data/share/views/public/js/{workflow.js → rbbt/workflow.js} +0 -0
- data/share/views/tasks.haml +14 -15
- data/share/views/wait.haml +11 -12
- metadata +62 -33
- data/share/views/compass/_foundation_setup.sass +0 -74
- data/share/views/compass/dom.sass +0 -32
- data/share/views/compass/footer.sass +0 -4
- data/share/views/compass/form.sass +0 -41
- data/share/views/compass/fragment.sass +0 -8
- data/share/views/compass/list_container.sass +0 -34
- data/share/views/compass/lists.sass +0 -33
- data/share/views/compass/offcanvas.sass +0 -66
- data/share/views/compass/responsive_table.sass +0 -80
- data/share/views/compass/reveal.sass +0 -31
- data/share/views/compass/style_mixins.sass +0 -42
- data/share/views/compass/table.sass +0 -63
- data/share/views/compass/tabs.sass +0 -81
- data/share/views/compass/topbar.sass +0 -25
- data/share/views/compass/web-fonts.sass +0 -77
- data/share/views/layout/favourites.haml +0 -46
- data/share/views/layout/header.haml +0 -44
- data/share/views/public/js/_fix_tablesorter_science.js +0 -38
- data/share/views/public/js/_foundation.js +0 -42
- data/share/views/public/js/actions.js +0 -108
- data/share/views/public/js/base.js +0 -121
- data/share/views/public/js/favourites.js +0 -441
- data/share/views/public/js/lists.js +0 -117
- data/share/views/public/js/offcanvas.js +0 -35
- data/share/views/public/js/reveal.js +0 -48
- data/share/views/public/js/tables.js +0 -314
- data/share/views/public/js/tabs.js +0 -7
@@ -0,0 +1,151 @@
|
|
1
|
+
// See skeleton file for copyright info
|
2
|
+
|
3
|
+
// This file is not ment to be tampered with. This file contains the background operations
|
4
|
+
// that are interesting but you don't really need to see. Feel free to poke around and edit
|
5
|
+
// various functions and mixins if you wish! Note that altering this file may cause
|
6
|
+
// undesired results!
|
7
|
+
|
8
|
+
// ---------- MIXIN DEPENDENCIES
|
9
|
+
// _fluidGrid ( number $colCount, [ string $unit: "%" ] )
|
10
|
+
=_fluidGrid($colCount, $unit: "%")
|
11
|
+
// generate the fluid grid
|
12
|
+
// override only for fluid
|
13
|
+
.container
|
14
|
+
.column,
|
15
|
+
.columns
|
16
|
+
margin:
|
17
|
+
left: 1%
|
18
|
+
right: 1%
|
19
|
+
/* The Grid
|
20
|
+
.container
|
21
|
+
@for $i from 1 through $colCount
|
22
|
+
@if $i == 1
|
23
|
+
.#{numToString($i)}.column,
|
24
|
+
.#{numToString($i)}.columns
|
25
|
+
width: 100 * $i / $colCount - 2#{$unit}
|
26
|
+
@else
|
27
|
+
.#{numToString($i)}.columns
|
28
|
+
width: 100 * $i / $colCount - 2#{$unit}
|
29
|
+
+_offset($unit, $colCount, false)
|
30
|
+
|
31
|
+
// _fixedGrid ( number $width, number $colWidth, number $gutterWidth, number $colCount )
|
32
|
+
=_fixedGrid($width, $colWidth, $gutterWidth, $colCount)
|
33
|
+
.container
|
34
|
+
.column,
|
35
|
+
.columns
|
36
|
+
margin:
|
37
|
+
left: $gutterWidth / 2
|
38
|
+
right: $gutterWidth / 2
|
39
|
+
/* The Grid
|
40
|
+
.container
|
41
|
+
@for $i from 1 through $colCount
|
42
|
+
@if $i == 1
|
43
|
+
.#{numToString($i)}.column,
|
44
|
+
.#{numToString($i)}.columns
|
45
|
+
width: $colWidth
|
46
|
+
@else
|
47
|
+
.#{numToString($i)}.columns
|
48
|
+
width: $colWidth + ($colWidth + $gutterWidth) * ($i - 1)
|
49
|
+
.one-third.column
|
50
|
+
width: $width / 3 - 20
|
51
|
+
.two-thirds.column
|
52
|
+
width: $width * 2 / 3 - 20
|
53
|
+
+_offset("px", $colCount, $colWidth)
|
54
|
+
|
55
|
+
// _offset ( string $unit, number $colCount, number $colWidth )
|
56
|
+
=_offset($unit, $colCount, $colWidth)
|
57
|
+
@if $unit == "%"
|
58
|
+
@for $i from 1 through $colCount - 1
|
59
|
+
.offset-by-#{numToString($i)}
|
60
|
+
padding-left: 100 * $i / $colCount#{$unit}
|
61
|
+
@else
|
62
|
+
@for $i from 1 through $colCount - 1
|
63
|
+
.offset-by-#{numToString($i)}
|
64
|
+
padding-left: ($colWidth + 20) * $i
|
65
|
+
|
66
|
+
// _mobileGrid ( number $width, number $colCount )
|
67
|
+
=_mobileGrid($width, $colCount)
|
68
|
+
.container
|
69
|
+
width: $width
|
70
|
+
.column,
|
71
|
+
.columns
|
72
|
+
// fixes https://github.com/atomicpages/skeleton-sass/issues/9
|
73
|
+
margin:
|
74
|
+
left: 0
|
75
|
+
right: 0
|
76
|
+
@for $i from 1 through $colCount
|
77
|
+
@if $i == 1
|
78
|
+
.#{numToString($i)}.column
|
79
|
+
width: $width
|
80
|
+
@else
|
81
|
+
// .#{numToString($i)}.columns { width: $width; }
|
82
|
+
+_group($colCount, ".columns", "after")
|
83
|
+
width: $width
|
84
|
+
|
85
|
+
.one-third.column
|
86
|
+
width: $width
|
87
|
+
.two-thirds.column
|
88
|
+
width: $width
|
89
|
+
+_mobileOffset($colCount)
|
90
|
+
|
91
|
+
// _mobileOffset ( number $colCount )
|
92
|
+
=_mobileOffset($colCount)
|
93
|
+
+_group($colCount - 1, "offset-by-")
|
94
|
+
padding-left: 0
|
95
|
+
|
96
|
+
// _group ( number $stop, string $selector, [ string $pos: "before" ] )
|
97
|
+
=_group($stop, $selector, $pos: "before")
|
98
|
+
$store: ""
|
99
|
+
@if type-of($stop) != "number"
|
100
|
+
@warn "Stop must be a number! #{type-of($stop)} was provided."
|
101
|
+
@if $pos == "after"
|
102
|
+
@for $i from 1 through $stop
|
103
|
+
$store: $store + "." + numToString($i) + $selector + ","
|
104
|
+
@else
|
105
|
+
@for $i from 1 through $stop
|
106
|
+
$store: $store + "." + $selector + numToString($i) + ","
|
107
|
+
#{$store}
|
108
|
+
@content
|
109
|
+
|
110
|
+
// ---------- FUNCTION DEPENDENCIES
|
111
|
+
|
112
|
+
// addresses https://github.com/nex3/sass/issues/533
|
113
|
+
// number strip-units ( number $number )
|
114
|
+
@function strip-units($number)
|
115
|
+
@return $number / ($number * 0 + 1)
|
116
|
+
|
117
|
+
// Converts a number from 0 to 100 to the English word
|
118
|
+
// string numToString ( number $int )
|
119
|
+
@function numToString($int)
|
120
|
+
// set up lists
|
121
|
+
$ones: "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"
|
122
|
+
$teens: "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen"
|
123
|
+
$tens: "", "twenty", "thirty", "fourty", "fifty", "sixty", "seventy", "eighty", "nintey"
|
124
|
+
$int: abs($int)
|
125
|
+
// no nonnegative numbers
|
126
|
+
$number: ""
|
127
|
+
$temp: $int / 10
|
128
|
+
$temp: floor($temp)
|
129
|
+
@if $int >= 1 and $int <= 100
|
130
|
+
@if $temp < 1
|
131
|
+
// it's a one!
|
132
|
+
$number: nth($ones, $int % 10)
|
133
|
+
@if $temp == 1
|
134
|
+
// in the teen range
|
135
|
+
@if $int % 10 == 0
|
136
|
+
$number: "ten"
|
137
|
+
@else
|
138
|
+
$number: nth($teens, $int % 10)
|
139
|
+
@if $temp >= 2 and $temp <= 9
|
140
|
+
// more than our teens
|
141
|
+
@if $int % 10 == 0
|
142
|
+
// means it's a number evenly divisible by 10
|
143
|
+
$number: nth($tens, $int / 10)
|
144
|
+
@else
|
145
|
+
$number: "#{nth($tens, floor($int / 10))}-#{nth($ones, $int % 10)}"
|
146
|
+
@if $temp == 10
|
147
|
+
// this is the end...
|
148
|
+
$number: "one-hundred"
|
149
|
+
@else
|
150
|
+
$number: "Invalid parameter passed. Number must be between 1 and 100."
|
151
|
+
@return $number
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// See skeleton file for copyright info
|
2
|
+
|
3
|
+
@import dependencies
|
4
|
+
|
5
|
+
// don't remove me
|
6
|
+
@import functions
|
7
|
+
|
8
|
+
// your custom functions
|
9
|
+
|
10
|
+
// ---------- ADD CUSTOM MIXINS BELOW HERE
|
11
|
+
// @mixin myMixin() { }
|
12
|
+
|
13
|
+
// grid ( [ number $width: 960px, [ bool $fluid: false, [ number $gutterWidth: 20px, [ number $colCount: 16 ] ] ] ] )
|
14
|
+
=grid($width: $baseWidth, $fluid: $isFluid, $gutterWidth: $baseGutterWidth, $colCount: $baseColCount)
|
15
|
+
@if $fluid == true
|
16
|
+
+_fluidGrid($colCount)
|
17
|
+
@else
|
18
|
+
// we no longer need to set a value for $colWdith because it is generated dynamically right here!
|
19
|
+
// @see https://github.com/atomicpages/skeleton-sass/issues/7
|
20
|
+
$colWidth: $width / $colCount - $gutterWidth
|
21
|
+
+_fixedGrid($width, $colWidth, $gutterWidth, $colCount)
|
22
|
+
|
23
|
+
// mobileGrid ( [ number $width: 960px, [ number $colCount: 16 ] ] )
|
24
|
+
=mobileGrid($width: $baseWidth, $colCount: $baseColCount)
|
25
|
+
+_mobileGrid($width, $colCount)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
// GLOBAL VARIABLES - include your variables here or alter the predefined vars
|
2
|
+
// See skeleton file for copyright info
|
3
|
+
|
4
|
+
// MY VARIABLES
|
5
|
+
// $foo: "bar";
|
6
|
+
|
7
|
+
// background vars
|
8
|
+
$backgroundColor: white
|
9
|
+
|
10
|
+
// default background information
|
11
|
+
|
12
|
+
// font vars
|
13
|
+
$fontSize: 14px
|
14
|
+
|
15
|
+
// default font size. Change here will adjust sizes across the board.
|
16
|
+
$fontFamily: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif
|
17
|
+
|
18
|
+
// default fonts
|
19
|
+
$fontColor: #444444
|
20
|
+
|
21
|
+
// default font color
|
22
|
+
|
23
|
+
// form vars
|
24
|
+
$formFont: $fontFamily
|
25
|
+
|
26
|
+
// default font font
|
27
|
+
|
28
|
+
// link vars
|
29
|
+
$linkColor: #333333
|
30
|
+
|
31
|
+
// default link INERT color
|
32
|
+
$linkHoverColor: black
|
33
|
+
|
34
|
+
// default link HOVER color
|
35
|
+
$linkDecoration: underline
|
36
|
+
|
37
|
+
// default link decoration
|
38
|
+
|
39
|
+
// heading vars
|
40
|
+
$headingFamily: "Georgia", "Times New Roman", serif
|
41
|
+
|
42
|
+
// default heading font
|
43
|
+
$headingColor: #181818
|
44
|
+
|
45
|
+
// default heading color
|
46
|
+
|
47
|
+
// grid variables
|
48
|
+
$baseWidth: 960px
|
49
|
+
|
50
|
+
// change this to alter the overall width of the grid
|
51
|
+
$baseWidthMQ: 960px
|
52
|
+
|
53
|
+
// base width for media query calculations in layout file
|
54
|
+
$baseColWidth: 40px
|
55
|
+
|
56
|
+
// change this the alter the grid calculation, see _mixins file for more details
|
57
|
+
$baseGutterWidth: 20px
|
58
|
+
|
59
|
+
// calculation has changed, this is mainly here for consistency with 960.gs
|
60
|
+
$isFluid: false
|
61
|
+
|
62
|
+
// want a fluid grid by default?
|
63
|
+
|
64
|
+
// ------ CHANGE MAY CAUSE UNDESIRED RESULTS
|
65
|
+
$baseColCount: 16
|
66
|
+
|
67
|
+
// number of cols to generate
|
68
|
+
|
69
|
+
// media query dimensions
|
70
|
+
$tabletWidth: 768px
|
71
|
+
$mobilePortraitWidth: 300px
|
72
|
+
$mobileLandscapeWidth: 420px
|
@@ -0,0 +1,333 @@
|
|
1
|
+
/**
|
2
|
+
* SASS/SCSS/Compass Transcription of Skeleton Responsive Grid
|
3
|
+
* originally authored by Dave Gamache. This translation offers
|
4
|
+
* mixins that support fluid and as well as fixed grids to supplement
|
5
|
+
* the work that Dave Gamache has done.
|
6
|
+
* @author Dennis Thompson <http://www.atomicpages.net>
|
7
|
+
* @copyright Copyright (c) 2013 AtomicPages LLC
|
8
|
+
* @license MIT
|
9
|
+
* @version 1.5.1
|
10
|
+
|
11
|
+
// IMPORTS
|
12
|
+
@import compass/css3
|
13
|
+
@import vars
|
14
|
+
|
15
|
+
// import _vars
|
16
|
+
@import mixins
|
17
|
+
|
18
|
+
// import _mixins
|
19
|
+
|
20
|
+
/* RESET & BASICS (Inspired by E. Meyers)
|
21
|
+
* ------------------------------------------------
|
22
|
+
@import compass/reset
|
23
|
+
|
24
|
+
/* BASIC STYLES
|
25
|
+
* ------------------------------------------------
|
26
|
+
body
|
27
|
+
background: $backgroundColor
|
28
|
+
font:
|
29
|
+
size: $fontSize
|
30
|
+
family: $fontFamily
|
31
|
+
weight: normal
|
32
|
+
style: normal
|
33
|
+
line-height: $fontSize * 1.5
|
34
|
+
color: $fontColor
|
35
|
+
-webkit-font-smoothing: antialiased
|
36
|
+
/* Fix for webkit rendering
|
37
|
+
-webkit-text-size-adjust: 100%
|
38
|
+
|
39
|
+
/* TYPOGRAPHY
|
40
|
+
* ------------------------------------------------
|
41
|
+
h1, h2, h3, h4, h5, h6
|
42
|
+
color: $headingColor
|
43
|
+
font:
|
44
|
+
family: $headingFamily
|
45
|
+
weight: normal
|
46
|
+
|
47
|
+
h1, h2, h3,
|
48
|
+
h4, h5, h6
|
49
|
+
a
|
50
|
+
font-weight: inherit
|
51
|
+
|
52
|
+
h1
|
53
|
+
font-size: round($fontSize * 3.8333)
|
54
|
+
line-height: round($fontSize * 4.1666)
|
55
|
+
margin-bottom: round($fontSize * 1.1666)
|
56
|
+
|
57
|
+
h2
|
58
|
+
font-size: round($fontSize * 2.9166)
|
59
|
+
line-height: round($fontSize * 3.333)
|
60
|
+
margin-bottom: round($fontSize * 0.833)
|
61
|
+
|
62
|
+
h3
|
63
|
+
font-size: round($fontSize * 2.333)
|
64
|
+
line-height: round($fontSize * 2.833)
|
65
|
+
margin-bottom: round($fontSize * 0.666)
|
66
|
+
|
67
|
+
h4
|
68
|
+
font-size: round($fontSize * 1.75)
|
69
|
+
line-height: round($fontSize * 2.5)
|
70
|
+
margin-bottom: round($fontSize * 0.333)
|
71
|
+
|
72
|
+
h5
|
73
|
+
font-size: round($fontSize * 1.4166)
|
74
|
+
line-height: $fontSize * 2
|
75
|
+
|
76
|
+
h6
|
77
|
+
font-size: round($fontSize * 1.1666)
|
78
|
+
line-height: round($fontSize * 1.75)
|
79
|
+
|
80
|
+
.subheader
|
81
|
+
color: #777
|
82
|
+
|
83
|
+
p
|
84
|
+
margin: 0 0 20px 0
|
85
|
+
img
|
86
|
+
margin: 0
|
87
|
+
&.lead
|
88
|
+
font-size: round($fontSize * 1.75)
|
89
|
+
line-height: round($fontSize * 2.25)
|
90
|
+
color: #777
|
91
|
+
|
92
|
+
em, i
|
93
|
+
font-style: italic
|
94
|
+
|
95
|
+
strong, b
|
96
|
+
font-weight: bold
|
97
|
+
color: #333
|
98
|
+
|
99
|
+
u
|
100
|
+
text-decoration: underline
|
101
|
+
|
102
|
+
small
|
103
|
+
font-size: 80%
|
104
|
+
|
105
|
+
/* Blockquotes
|
106
|
+
blockquote, blockquote p
|
107
|
+
font-size: round($fontSize * 1.4166)
|
108
|
+
line-height: $fontSize * 2
|
109
|
+
color: #777
|
110
|
+
font-style: italic
|
111
|
+
|
112
|
+
blockquote
|
113
|
+
margin: 0 0 20px
|
114
|
+
padding: 9px 20px 0 19px
|
115
|
+
border-left: 1px solid #ddd
|
116
|
+
|
117
|
+
blockquote cite
|
118
|
+
display: block
|
119
|
+
font-size: $fontSize
|
120
|
+
color: #555
|
121
|
+
&:before
|
122
|
+
content: "\2014 \0020"
|
123
|
+
a, a:visited
|
124
|
+
color: #555
|
125
|
+
|
126
|
+
hr
|
127
|
+
border:
|
128
|
+
style: solid
|
129
|
+
color: #ddd
|
130
|
+
width: 1px 0 0
|
131
|
+
clear: both
|
132
|
+
margin: 10px 0 30px
|
133
|
+
height: 0
|
134
|
+
|
135
|
+
/* LINKS
|
136
|
+
* ------------------------------------------------
|
137
|
+
a, a:visited
|
138
|
+
color: $linkColor
|
139
|
+
text-decoration: $linkDecoration
|
140
|
+
outline: 0
|
141
|
+
|
142
|
+
a:hover, a:focus, a:active
|
143
|
+
color: $linkHoverColor
|
144
|
+
|
145
|
+
p a, p a:visited
|
146
|
+
line-height: inherit
|
147
|
+
|
148
|
+
/* LISTS
|
149
|
+
* ------------------------------------------------
|
150
|
+
|
151
|
+
ul,
|
152
|
+
ol
|
153
|
+
margin-bottom: 20px
|
154
|
+
|
155
|
+
ul
|
156
|
+
list-style: none outside
|
157
|
+
|
158
|
+
ol
|
159
|
+
list-style: decimal
|
160
|
+
|
161
|
+
ol, ul.square,
|
162
|
+
ul.circle, ul.disc
|
163
|
+
margin-left: 30px
|
164
|
+
|
165
|
+
ul.square
|
166
|
+
list-style: square outside
|
167
|
+
|
168
|
+
ul.circle
|
169
|
+
list-style: circle outside
|
170
|
+
|
171
|
+
ul.disc
|
172
|
+
list-style: disc outside
|
173
|
+
|
174
|
+
ul ul, ul ol,
|
175
|
+
ol ol, ol ul
|
176
|
+
margin:
|
177
|
+
top: 4px
|
178
|
+
right: 0
|
179
|
+
bottom: 5px
|
180
|
+
left: 30px
|
181
|
+
font-size: 90%
|
182
|
+
|
183
|
+
ul ul li, ul ol li,
|
184
|
+
ol ol li, ol ul li
|
185
|
+
margin-bottom: 6px
|
186
|
+
|
187
|
+
li
|
188
|
+
line-height: 18px
|
189
|
+
margin-bottom: 12px
|
190
|
+
|
191
|
+
ul.large li
|
192
|
+
line-height: 21px
|
193
|
+
|
194
|
+
li p
|
195
|
+
line-height: 21px
|
196
|
+
|
197
|
+
/* IMAGES
|
198
|
+
* ------------------------------------------------
|
199
|
+
img.scale-with-grid
|
200
|
+
max-width: 100%
|
201
|
+
height: auto
|
202
|
+
|
203
|
+
/* BUTTONS
|
204
|
+
* ------------------------------------------------
|
205
|
+
|
206
|
+
.button,
|
207
|
+
button,
|
208
|
+
input[type="submit"],
|
209
|
+
input[type="reset"],
|
210
|
+
input[type="button"]
|
211
|
+
+background(#eeeeee linear-gradient(top, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%))
|
212
|
+
border: 1px solid #aaa
|
213
|
+
border:
|
214
|
+
top: 1px solid #ccc
|
215
|
+
left: 1px solid #ccc
|
216
|
+
+border-radius(3px)
|
217
|
+
color: #444
|
218
|
+
display: inline-block
|
219
|
+
font:
|
220
|
+
size: $fontSize - 1
|
221
|
+
weight: bold
|
222
|
+
family: $formFont
|
223
|
+
text-decoration: none
|
224
|
+
+text-shadow(0 1px rgba(255, 255, 255, 0.75))
|
225
|
+
cursor: pointer
|
226
|
+
line-height: normal
|
227
|
+
padding: 8px 10px
|
228
|
+
&:hover
|
229
|
+
color: #222
|
230
|
+
+background(#dddddd linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%))
|
231
|
+
border: 1px solid #888
|
232
|
+
border:
|
233
|
+
top: 1px solid #aaa
|
234
|
+
left: 1px solid #aaa
|
235
|
+
&:active
|
236
|
+
border: 1px solid #666
|
237
|
+
+background(#cccccc linear-gradient(top, rgba(255, 255, 255, 0.35) 0%, rgba(10, 10, 10, 0.4) 100%))
|
238
|
+
&.full-width
|
239
|
+
width: 100%
|
240
|
+
padding-left: 0 !important
|
241
|
+
padding-right: 0 !important
|
242
|
+
text-align: center
|
243
|
+
&.smaller
|
244
|
+
font-size: $fontSize - 2
|
245
|
+
padding: 4px 5px
|
246
|
+
&.larger
|
247
|
+
font-size: $fontSize + 2
|
248
|
+
padding: 10px 18px
|
249
|
+
|
250
|
+
/* Fix for odd Mozilla border & padding issues
|
251
|
+
|
252
|
+
button,
|
253
|
+
input
|
254
|
+
&::-moz-focus-inner
|
255
|
+
border: 0
|
256
|
+
padding: 0
|
257
|
+
|
258
|
+
/* FORMS
|
259
|
+
* ------------------------------------------------
|
260
|
+
form
|
261
|
+
margin-bottom: 20px
|
262
|
+
|
263
|
+
fieldset
|
264
|
+
margin-bottom: 20px
|
265
|
+
|
266
|
+
input[type="text"],
|
267
|
+
input[type="password"],
|
268
|
+
input[type="email"],
|
269
|
+
input[type="search"],
|
270
|
+
input[type="url"],
|
271
|
+
input[type="tel"],
|
272
|
+
textarea,
|
273
|
+
select
|
274
|
+
background: #fff
|
275
|
+
border: 1px solid #ccc
|
276
|
+
padding: 6px 4px
|
277
|
+
outline: none
|
278
|
+
+border-radius(2px)
|
279
|
+
font:
|
280
|
+
size: $fontSize + 1
|
281
|
+
family: $formFont
|
282
|
+
color: #777
|
283
|
+
margin: 0 0 20px
|
284
|
+
width: 210px
|
285
|
+
max-width: 100%
|
286
|
+
display: block
|
287
|
+
&:hover, &:focus
|
288
|
+
border: 1px solid #aaa
|
289
|
+
color: #444
|
290
|
+
+box-shadow(0 0 3px rgba(0, 0, 0, 0.2))
|
291
|
+
&:active
|
292
|
+
border: 1px solid darken(#aaaaaa, 10%)
|
293
|
+
+box-shadow(0 0 3px rgba(0, 0, 0, 0.3))
|
294
|
+
|
295
|
+
select
|
296
|
+
padding: 0
|
297
|
+
|
298
|
+
textarea
|
299
|
+
min-height: 60px
|
300
|
+
|
301
|
+
label,
|
302
|
+
legend
|
303
|
+
display: block
|
304
|
+
font:
|
305
|
+
size: $fontSize + 1
|
306
|
+
weight: bold
|
307
|
+
|
308
|
+
select
|
309
|
+
width: 220px
|
310
|
+
|
311
|
+
input[type="checkbox"]
|
312
|
+
display: inline
|
313
|
+
|
314
|
+
label span,
|
315
|
+
legend span
|
316
|
+
font:
|
317
|
+
size: $fontSize + 1
|
318
|
+
weight: normal
|
319
|
+
color: #444
|
320
|
+
|
321
|
+
/* MISC
|
322
|
+
* ------------------------------------------------
|
323
|
+
.subtract-bottom
|
324
|
+
margin-bottom: -20px !important
|
325
|
+
|
326
|
+
.remove-bottom
|
327
|
+
margin-bottom: 0 !important
|
328
|
+
|
329
|
+
.half-bottom
|
330
|
+
margin-bottom: 10px !important
|
331
|
+
|
332
|
+
.add-bottom
|
333
|
+
margin-bottom: 20px !important
|