Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drawing-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sweng-group-15
drawing-app
Commits
aa79c4c8
Commit
aa79c4c8
authored
5 years ago
by
Yuriy Maksymets
Browse files
Options
Downloads
Patches
Plain Diff
Added a stylesheet
parent
9ca38327
No related branches found
Branches containing commit
No related tags found
1 merge request
!28
Rooms and frontend
Pipeline
#101496
passed
5 years ago
Stage: fetch
Stage: deps
Stage: check
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/index.html
+2
-6
2 additions, 6 deletions
public/index.html
public/styles.css
+9
-0
9 additions, 0 deletions
public/styles.css
with
11 additions
and
6 deletions
public/index.html
+
2
−
6
View file @
aa79c4c8
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<meta
charset=
"UTF-8"
/>
<meta
charset=
"UTF-8"
/>
<link
rel=
"manifest"
href=
"manifest.json"
/>
<link
rel=
"manifest"
href=
"manifest.json"
/>
<link
rel=
"shortcut icon"
href=
"logo.png"
/>
<link
rel=
"shortcut icon"
href=
"logo.png"
/>
<link
rel=
"stylesheet"
href=
"styles.css"
/>
<script>
<script>
if
(
navigator
.
serviceWorker
)
{
if
(
navigator
.
serviceWorker
)
{
navigator
.
serviceWorker
navigator
.
serviceWorker
...
@@ -18,11 +19,6 @@
...
@@ -18,11 +19,6 @@
)
)
}
}
</script>
</script>
<style>
button
.selected
{
background-color
:
lightgray
;
}
</style>
</head>
</head>
<body>
<body>
<div>
<div>
...
@@ -39,7 +35,7 @@
...
@@ -39,7 +35,7 @@
<button
id=
"pen-tool"
class=
"selected"
>
Pen
</button>
<button
id=
"pen-tool"
class=
"selected"
>
Pen
</button>
<button
id=
"eraser-tool"
>
Eraser
</button>
<button
id=
"eraser-tool"
>
Eraser
</button>
<svg
id=
"canvas"
width=
"100%"
height=
"100%"
style=
"position: fixed"
>
<svg
id=
"canvas"
>
<defs>
<defs>
<marker
<marker
id=
"dot"
id=
"dot"
...
...
This diff is collapsed.
Click to expand it.
public/styles.css
0 → 100644
+
9
−
0
View file @
aa79c4c8
#canvas
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
}
button
.selected
{
background-color
:
lightgray
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment