Skip to content

Commit 0714c15

Browse files
Merge pull request plotly#246 from plotly/dash-object-detection
change Dash logo and update Dash to 1.0.0 (Dash Object Detection)
2 parents 3388c62 + f81befe commit 0714c15

8 files changed

Lines changed: 31 additions & 12 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ vv/
33
*.DS_Store
44
venv/
55
.idea/
6-
.Rproj.user
6+
.DS_Store
7+
.Rproj.user

apps/.DS_Store

-6 KB
Binary file not shown.

apps/dash-object-detection/app.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ def markdown_popup():
122122
className="eight columns",
123123
children=[
124124
html.Img(
125-
id="logo-mobile",
126-
src=app.get_asset_url("dash-logo-stripe.png"),
125+
id="logo-mobile", src=app.get_asset_url("dash-logo.png")
127126
),
128127
html.Div(
129128
id="header-section",
@@ -278,8 +277,7 @@ def markdown_popup():
278277
html.Div(
279278
className="img-container",
280279
children=html.Img(
281-
id="logo-web",
282-
src=app.get_asset_url("dash-logo-stripe.png"),
280+
id="logo-web", src=app.get_asset_url("dash-logo.png")
283281
),
284282
),
285283
html.Div(id="div-visual-mode"),

apps/dash-object-detection/assets/base.css

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,16 +399,36 @@ there.
399399

400400

401401
/* Larger than mobile */
402-
@media (min-width: 400px) {}
402+
@media (min-width: 300px) {
403+
#logo-mobile {
404+
margin: 0 auto;
405+
}
406+
}
403407

404408
/* Larger than phablet (also point when grid becomes active) */
405-
@media (min-width: 550px) {}
409+
@media (min-width: 550px) {
410+
#logo-mobile {
411+
margin: 0 auto;
412+
}
413+
}
406414

407415
/* Larger than tablet */
408-
@media (min-width: 750px) {}
416+
@media (min-width: 750px) {
417+
#logo-mobile {
418+
margin: 0 auto;
419+
}
420+
}
409421

410422
/* Larger than desktop */
411-
@media (min-width: 1000px) {}
423+
@media (min-width: 1000px) {
424+
#logo-mobile {
425+
margin: 0 auto;
426+
}
427+
}
412428

413429
/* Larger than Desktop HD */
414-
@media (min-width: 1200px) {}
430+
@media (min-width: 1200px) {
431+
#logo-mobile {
432+
margin: 0 auto;
433+
}
434+
}
-3.75 KB
Binary file not shown.
9 KB
Loading

apps/dash-object-detection/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dash==0.43.0
1+
dash==1.0.0
22
gunicorn==19.9.0
33
pillow==5.4.1
44
scipy==1.2.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.6.6
1+
python-3.7.2

0 commit comments

Comments
 (0)