Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
0c264076
Commit
0c264076
authored
Nov 07, 2014
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FEATURE] DC css to static.
parent
208d9a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
228 additions
and
4 deletions
+228
-4
dc.css
static/css/dc.css
+225
-0
corpus.html
templates/corpus.html
+3
-4
No files found.
static/css/dc.css
0 → 100644
View file @
0c264076
.dc-chart
{
float
:
left
;
}
.dc-chart
rect
.bar
{
stroke
:
none
;
fill
:
steelblue
;
}
.dc-chart
rect
.bar
:hover
{
fill-opacity
:
.5
;
}
.dc-chart
rect
.stack1
{
stroke
:
none
;
fill
:
red
;
}
.dc-chart
rect
.stack2
{
stroke
:
none
;
fill
:
green
;
}
.dc-chart
rect
.deselected
{
stroke
:
none
;
fill
:
#ccc
;
}
.dc-chart
.sub
.bar
{
stroke
:
none
;
fill
:
#ccc
;
}
.dc-chart
.pie-slice
{
fill
:
white
;
font-size
:
12px
;
cursor
:
pointer
;
}
.dc-chart
.pie-slice
:hover
{
fill-opacity
:
.8
;
}
.dc-chart
.selected
path
{
stroke-width
:
3
;
stroke
:
#ccc
;
fill-opacity
:
1
;
}
.dc-chart
.deselected
path
{
strok
:
none
;
fill-opacity
:
.5
;
fill
:
#ccc
;
}
.dc-chart
.axis
path
,
.axis
line
{
fill
:
none
;
stroke
:
#000
;
shape-rendering
:
crispEdges
;
}
.dc-chart
.axis
text
{
font
:
10px
sans-serif
;
}
.dc-chart
.grid-line
line
{
fill
:
none
;
stroke
:
#ccc
;
opacity
:
.5
;
shape-rendering
:
crispEdges
;
}
.dc-chart
.brush
rect
.background
{
z-index
:
-999
;
}
.dc-chart
.brush
rect
.extent
{
fill
:
steelblue
;
fill-opacity
:
.125
;
}
.dc-chart
.brush
.resize
path
{
fill
:
#eee
;
stroke
:
#666
;
}
.dc-chart
path
.line
{
fill
:
none
;
stroke
:
steelblue
;
stroke-width
:
1.5px
;
}
.dc-chart
circle
.dot
{
fill
:
steelblue
;
}
.dc-chart
g
.stack1
path
.line
{
stroke
:
green
;
}
.dc-chart
g
.stack1
circle
.dot
{
fill
:
green
;
}
.dc-chart
g
.stack2
path
.line
{
stroke
:
red
;
}
.dc-chart
g
.stack2
circle
.dot
{
fill
:
red
;
}
.dc-chart
g
.dc-tooltip
path
{
fill
:
none
;
stroke
:
grey
;
stroke-opacity
:
.8
;
}
.dc-chart
path
.area
{
fill
:
steelblue
;
fill-opacity
:
.3
;
stroke
:
none
;
}
.dc-chart
g
.stack1
path
.area
{
fill
:
green
;
}
.dc-chart
g
.stack2
path
.area
{
fill
:
red
;
}
.dc-chart
.node
{
font-size
:
0.7em
;
cursor
:
pointer
;
}
.dc-chart
.node
:hover
{
fill-opacity
:
.8
;
}
.dc-chart
.selected
circle
{
stroke-width
:
3
;
stroke
:
#ccc
;
fill-opacity
:
1
;
}
.dc-chart
.deselected
circle
{
strok
:
none
;
fill-opacity
:
.5
;
fill
:
#ccc
;
}
.dc-chart
.bubble
{
stroke
:
none
;
fill-opacity
:
0.6
;
}
.dc-data-count
{
float
:
right
;
margin-top
:
15px
;
margin-right
:
15px
;
}
.dc-data-count
.filter-count
{
color
:
#3182bd
;
font-weight
:
bold
;
}
.dc-data-count
.total-count
{
color
:
#3182bd
;
font-weight
:
bold
;
}
.dc-data-table
{}
.dc-chart
g
.state
{
cursor
:
pointer
;
}
.dc-chart
g
.state
:hover
{
fill-opacity
:
.8
;
}
.dc-chart
g
.state
path
{
stroke
:
white
;
}
.dc-chart
g
.selected
path
{
}
.dc-chart
g
.deselected
path
{
fill
:
grey
;
}
.dc-chart
g
.selected
text
{
}
.dc-chart
g
.deselected
text
{
display
:
none
;
}
.dc-chart
g
.county
path
{
stroke
:
white
;
fill
:
none
;
}
.dc-chart
g
.debug
rect
{
fill
:
blue
;
fill-opacity
:
.2
;
}
.dc-chart
g
.row
rect
{
fill-opacity
:
0.8
;
cursor
:
pointer
;
}
.dc-chart
g
.row
rect
:hover
{
fill-opacity
:
0.6
;
}
.dc-chart
g
.row
text
{
fill
:
white
;
font-size
:
12px
;
}
templates/corpus.html
View file @
0c264076
...
...
@@ -9,8 +9,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
morris
.
css
"
%}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
jquery
.
easy-pie-chart
.
css
"%}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http://jun9.github.io/dc.js/css/dc.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
dc
.
css
"%}"
/>
<script
type=
"text/javascript"
src=
"{% static "
js
/
charts
/
d3
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
charts
/
crossfilter
.
js
"%}"
></script>
...
...
@@ -115,8 +114,8 @@
</div>
<script
src=
"{% static "
js
/
charts
/
jquery-latest
.
js
"%}"
></script>
<script
src=
"{% static "
js
/
charts
/
bootstrap
.
min
.
js
"
%}
></script>
<script
src=
"{% static "
js
/
charts
/
jquery-latest
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
charts
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
d3
/
DC
.
js
"%}"
></script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment