publish_my_data 1.3.9 → 1.3.10
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/app/assets/stylesheets/publish_my_data/core/0500-icon-font.scss +14 -0
- data/app/assets/stylesheets/publish_my_data/core/1500-icons.scss +0 -11
- data/app/assets/stylesheets/publish_my_data/core/2000-elements.scss +1 -2
- data/app/assets/stylesheets/publish_my_data/facades/bootstrap.scss +13 -3
- data/app/assets/stylesheets/publish_my_data.scss +52 -18
- data/lib/publish_my_data/version.rb +1 -1
- metadata +3 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
§0500 - ICONS (via icomoon)
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'pmd';
|
|
7
|
+
src:url('pmd.eot?ba8fya');
|
|
8
|
+
src:url('pmd.eot?#iefixba8fya') format('embedded-opentype'),
|
|
9
|
+
url('pmd.woff?ba8fya') format('woff'),
|
|
10
|
+
url('pmd.ttf?ba8fya') format('truetype'),
|
|
11
|
+
url('pmd.svg?ba8fya#pmd') format('svg');
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
}
|
|
@@ -2,17 +2,6 @@
|
|
|
2
2
|
§1500 - ICONS (via icomoon)
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
@font-face {
|
|
6
|
-
font-family: 'pmd';
|
|
7
|
-
src:url('pmd.eot?ba8fya');
|
|
8
|
-
src:url('pmd.eot?#iefixba8fya') format('embedded-opentype'),
|
|
9
|
-
url('pmd.woff?ba8fya') format('woff'),
|
|
10
|
-
url('pmd.ttf?ba8fya') format('truetype'),
|
|
11
|
-
url('pmd.svg?ba8fya#pmd') format('svg');
|
|
12
|
-
font-weight: normal;
|
|
13
|
-
font-style: normal;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
5
|
[class^="icon-"], [class*=" icon-"] {
|
|
17
6
|
@extend .icon;
|
|
18
7
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
§3000 - HTML ELEMENT LEVEL (aka resetting the reset)
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
// TODO - consider scoping these only to inside of PMD section to play more nicely when shared
|
|
6
5
|
|
|
7
6
|
article,
|
|
8
7
|
aside,
|
|
@@ -115,4 +114,4 @@ header h2 {
|
|
|
115
114
|
|
|
116
115
|
table h3 {
|
|
117
116
|
margin-top: 0;
|
|
118
|
-
}
|
|
117
|
+
}
|
|
@@ -13,13 +13,23 @@ $font-family-sans-serif: $pmdconfig_typeface_bodycopy;
|
|
|
13
13
|
$font-family-base: $pmdconfig_typeface_bodycopy;
|
|
14
14
|
$font-family-monospace: $pmdconfig_typeface_monospace;
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// these styles are scoped to the body in bootstrap, so need scoping to pmd
|
|
17
|
+
@if $pmdconfig_scope_global != true {
|
|
18
|
+
.pmd {
|
|
19
|
+
font-family: $font-family-base;
|
|
20
|
+
font-size: $font-size-base;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
#{$scope}{
|
|
25
|
+
@import "vendor/bootstrap/bootstrap";
|
|
26
|
+
}
|
|
17
27
|
|
|
18
28
|
// Responsive breakpoints
|
|
19
29
|
// ========================================================================== */
|
|
20
30
|
|
|
21
31
|
// in pixels, the width above which we switch from single into multi-column view;
|
|
22
|
-
$pmd_breakpoint_mobile: $screen-md;
|
|
32
|
+
$pmd_breakpoint_mobile: 992px; // bootstrap's default $screen-md;
|
|
23
33
|
|
|
24
34
|
// Grid
|
|
25
35
|
// ========================================================================== */
|
|
@@ -50,4 +60,4 @@ $pmd_breakpoint_mobile: $screen-md;
|
|
|
50
60
|
}
|
|
51
61
|
.pmd_box_sidebar{
|
|
52
62
|
@extend .col-md-3;
|
|
53
|
-
}
|
|
63
|
+
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
____ __ ______ __ _________ __ __
|
|
4
4
|
/ __ \/ / / / __ )/ / / _/ ___// / / /
|
|
5
|
-
/ /_/ / / / / __ / / / / \__ \/ /_/ /
|
|
6
|
-
/ ____/ /_/ / /_/ / /____/ / ___/ / __ /
|
|
7
|
-
/_/ \____/_____/_____/___//____/_/ /_/
|
|
5
|
+
/ /_/ / / / / __ / / / / \__ \/ /_/ /
|
|
6
|
+
/ ____/ /_/ / /_/ / /____/ / ___/ / __ /
|
|
7
|
+
/_/ \____/_____/_____/___//____/_/ /_/
|
|
8
8
|
|
|
9
9
|
__ _____ __
|
|
10
10
|
/ |/ /\ \/ /
|
|
11
|
-
/ /|_/ / \ /
|
|
12
|
-
/ / / / / /
|
|
13
|
-
/_/ /_/ /_/
|
|
11
|
+
/ /|_/ / \ /
|
|
12
|
+
/ / / / / /
|
|
13
|
+
/_/ /_/ /_/
|
|
14
14
|
|
|
15
|
-
____ ___ _________
|
|
15
|
+
____ ___ _________
|
|
16
16
|
/ __ \/ |/_ __/ |
|
|
17
17
|
/ / / / /| | / / / /| |
|
|
18
18
|
/ /_/ / ___ |/ / / ___ |
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
****************************************************************************/
|
|
24
24
|
|
|
25
25
|
// NB - including stylsheet should specify @charset "UTF-8" to support icons
|
|
26
|
-
|
|
26
|
+
|
|
27
27
|
// ==========================================================================
|
|
28
28
|
// DEFAULTS (override these in your application .scss)
|
|
29
29
|
// ==========================================================================
|
|
@@ -82,6 +82,36 @@ $pmdconfig_colour_slickgrid_alternate_row_bg: #fcfcfc !default;
|
|
|
82
82
|
$pmdconfig_colour_slickgrid_content_links: $pmdconfig_colour_link !default;
|
|
83
83
|
$pmdconfig_colour_slickgrid_content_links_hover: $pmdconfig_colour_link_hover !default;
|
|
84
84
|
|
|
85
|
+
// ==========================================================================
|
|
86
|
+
// SCOPE - just style PMD, or style whole page
|
|
87
|
+
// ==========================================================================
|
|
88
|
+
|
|
89
|
+
// if $pmdconfig_scope_control is true, pmd styles will be scoped inside the
|
|
90
|
+
// class, otherwise, they will be in global scope.
|
|
91
|
+
|
|
92
|
+
// STOMP on global styles
|
|
93
|
+
// set $pmdconfig_scope_global: true...
|
|
94
|
+
// when you want the framework and/or html reset to spill out
|
|
95
|
+
//
|
|
96
|
+
// ie when you're not providing another stylesheet and want to use pmd
|
|
97
|
+
// as the basis of the whole site's styles without reimcluding the framework
|
|
98
|
+
|
|
99
|
+
// NOSTOMP on global styles
|
|
100
|
+
// set $pmdconfig_scope_global: false...
|
|
101
|
+
// when you are including a sitewide stylesheet
|
|
102
|
+
//
|
|
103
|
+
// eg when re-using a pre-existing navigation and its styles (read: Wordpress skin)
|
|
104
|
+
// so the framework and reset don't stomp on the site's styling
|
|
105
|
+
|
|
106
|
+
$pmdconfig_scope_global: false !default;
|
|
107
|
+
$scope: "";
|
|
108
|
+
|
|
109
|
+
@if $pmdconfig_scope_global{
|
|
110
|
+
$scope: "html";
|
|
111
|
+
} @else {
|
|
112
|
+
$scope: ".pmd"
|
|
113
|
+
}
|
|
114
|
+
|
|
85
115
|
// ==========================================================================
|
|
86
116
|
// FRAMEWORK (add a facade to sit PMD on your favorite css framework)
|
|
87
117
|
// ==========================================================================
|
|
@@ -92,19 +122,23 @@ $pmdconfig_colour_slickgrid_content_links_hover: $pmdconfig_colour_link_hover !d
|
|
|
92
122
|
// REQUIRED PMD STYLING COMPONENTS
|
|
93
123
|
// ==========================================================================
|
|
94
124
|
|
|
95
|
-
@import "publish_my_data/core/
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
@import "publish_my_data/core/
|
|
99
|
-
@import "publish_my_data/core/
|
|
100
|
-
@import "publish_my_data/core/
|
|
101
|
-
@import "publish_my_data/core/
|
|
102
|
-
@import "publish_my_data/core/
|
|
103
|
-
@import "publish_my_data/core/
|
|
125
|
+
@import "publish_my_data/core/0500-icon-font";
|
|
126
|
+
|
|
127
|
+
#{$scope}{
|
|
128
|
+
@import "publish_my_data/core/1000-utilities";
|
|
129
|
+
@import "publish_my_data/core/1500-icons";
|
|
130
|
+
@import "publish_my_data/core/2000-elements";
|
|
131
|
+
@import "publish_my_data/core/4000-layout";
|
|
132
|
+
@import "publish_my_data/core/5000-styling";
|
|
133
|
+
@import "publish_my_data/core/6000-datagrid";
|
|
134
|
+
@import "publish_my_data/core/6200-sparqlconsole";
|
|
135
|
+
@import "publish_my_data/core/7000-experimental";
|
|
136
|
+
@import "publish_my_data/core/8000-colour";
|
|
137
|
+
}
|
|
104
138
|
|
|
105
139
|
// ==========================================================================
|
|
106
140
|
// TODO list
|
|
107
141
|
// ==========================================================================
|
|
108
142
|
//
|
|
109
143
|
// consolidate error styles
|
|
110
|
-
// consolidate the different types of code, kbd, uri etc
|
|
144
|
+
// consolidate the different types of code, kbd, uri etc
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: publish_my_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.10
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -257,6 +257,7 @@ files:
|
|
|
257
257
|
- app/assets/javascripts/slick_grid/30_slick-grid.js
|
|
258
258
|
- app/assets/javascripts/vendor/codemirror/codemirror.js
|
|
259
259
|
- app/assets/javascripts/vendor/codemirror/sparql.js
|
|
260
|
+
- app/assets/stylesheets/publish_my_data/core/0500-icon-font.scss
|
|
260
261
|
- app/assets/stylesheets/publish_my_data/core/1000-utilities.scss
|
|
261
262
|
- app/assets/stylesheets/publish_my_data/core/1500-icons.scss
|
|
262
263
|
- app/assets/stylesheets/publish_my_data/core/2000-elements.scss
|
|
@@ -541,7 +542,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
541
542
|
version: '0'
|
|
542
543
|
segments:
|
|
543
544
|
- 0
|
|
544
|
-
hash:
|
|
545
|
+
hash: 455891400002228453
|
|
545
546
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
546
547
|
none: false
|
|
547
548
|
requirements:
|