Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
boytacean
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
João Magalhães
boytacean
Commits
57c3c71e
Verified
Commit
57c3c71e
authored
2 years ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
fix: magnify button
parent
766d6cf2
No related branches found
No related tags found
1 merge request
!9
Version 0.4.0 🍾
Pipeline
#1405
passed
2 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/web/index.css
+0
-42
0 additions, 42 deletions
examples/web/index.css
examples/web/react/app.tsx
+13
-12
13 additions, 12 deletions
examples/web/react/app.tsx
examples/web/react/components/display/display.css
+29
-0
29 additions, 0 deletions
examples/web/react/components/display/display.css
with
42 additions
and
54 deletions
examples/web/index.css
+
0
−
42
View file @
57c3c71e
...
@@ -110,45 +110,3 @@ p {
...
@@ -110,45 +110,3 @@ p {
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
}
}
.button-area
{
user-select
:
none
;
-o-user-select
:
none
;
-ms-user-select
:
none
;
-moz-user-select
:
none
;
-khtml-user-select
:
none
;
-webkit-user-select
:
none
;
}
.button-area
>
*
{
margin-bottom
:
12px
;
}
.magnify-button
{
cursor
:
pointer
;
display
:
inline-block
;
transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-o-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-ms-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-moz-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-khtml-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-webkit-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
}
.magnify-button
:hover
{
transform
:
scale
(
1.3
,
1.3
);
-o-transform
:
scale
(
1.3
,
1.3
);
-ms-transform
:
scale
(
1.3
,
1.3
);
-moz-transform
:
scale
(
1.3
,
1.3
);
-khtml-transform
:
scale
(
1.3
,
1.3
);
-webkit-transform
:
scale
(
1.3
,
1.3
);
}
.magnify-button
:active
{
transform
:
scale
(
1.0
,
1.0
);
-o-transform
:
scale
(
1.0
,
1.0
);
-ms-transform
:
scale
(
1.0
,
1.0
);
-moz-transform
:
scale
(
1.0
,
1.0
);
-khtml-transform
:
scale
(
1.0
,
1.0
);
-webkit-transform
:
scale
(
1.0
,
1.0
);
}
This diff is collapsed.
Click to expand it.
examples/web/react/app.tsx
+
13
−
12
View file @
57c3c71e
...
@@ -501,18 +501,6 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
...
@@ -501,18 +501,6 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
/>
/>
}
}
/>
/>
<
Pair
key
=
"button-frequency"
name
=
{
"
CPU Frequency
"
}
valueNode
=
{
<
ButtonIncrement
value
=
{
200
}
delta
=
{
100
}
min
=
{
0
}
suffix
=
{
"
Hz
"
}
/>
}
/>
<
Pair
<
Pair
key
=
"rom"
key
=
"rom"
name
=
{
"
ROM
"
}
name
=
{
"
ROM
"
}
...
@@ -523,6 +511,19 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
...
@@ -523,6 +511,19 @@ export const App: FC<AppProps> = ({ emulator, backgrounds = ["264653"] }) => {
name
=
{
"
ROM Size
"
}
name
=
{
"
ROM Size
"
}
value
=
{
romInfo
.
name
?
`
${
romInfo
.
size
}
bytes`
:
"
-
"
}
value
=
{
romInfo
.
name
?
`
${
romInfo
.
size
}
bytes`
:
"
-
"
}
/>
/>
<
Pair
key
=
"button-frequency"
name
=
{
"
CPU Frequency
"
}
valueNode
=
{
<
ButtonIncrement
value
=
{
4.19
}
delta
=
{
0.1
}
min
=
{
0
}
suffix
=
{
"
MHz
"
}
/>
}
/>
<
Pair
<
Pair
key
=
"rom-type"
key
=
"rom-type"
name
=
{
"
ROM Type
"
}
name
=
{
"
ROM Type
"
}
...
...
This diff is collapsed.
Click to expand it.
examples/web/react/components/display/display.css
+
29
−
0
View file @
57c3c71e
...
@@ -15,6 +15,35 @@
...
@@ -15,6 +15,35 @@
z-index
:
6
;
z-index
:
6
;
}
}
.display
>
.magnify-button
{
cursor
:
pointer
;
display
:
inline-block
;
transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-o-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-ms-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-moz-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-khtml-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
-webkit-transition
:
transform
0.35s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
}
.display
>
.magnify-button
:hover
{
transform
:
scale
(
1.3
,
1.3
);
-o-transform
:
scale
(
1.3
,
1.3
);
-ms-transform
:
scale
(
1.3
,
1.3
);
-moz-transform
:
scale
(
1.3
,
1.3
);
-khtml-transform
:
scale
(
1.3
,
1.3
);
-webkit-transform
:
scale
(
1.3
,
1.3
);
}
.display
>
.magnify-button
:active
{
transform
:
scale
(
1.0
,
1.0
);
-o-transform
:
scale
(
1.0
,
1.0
);
-ms-transform
:
scale
(
1.0
,
1.0
);
-moz-transform
:
scale
(
1.0
,
1.0
);
-khtml-transform
:
scale
(
1.0
,
1.0
);
-webkit-transform
:
scale
(
1.0
,
1.0
);
}
.display
>
.display-minimize
{
.display
>
.display-minimize
{
bottom
:
22px
;
bottom
:
22px
;
display
:
none
;
display
:
none
;
...
...
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