Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
brittney allen
purr-data
Commits
5d18b4c6
Commit
5d18b4c6
authored
9 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
add c64 css style
parent
0b033e39
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pd/nw/css/c64.css
+354
-0
354 additions, 0 deletions
pd/nw/css/c64.css
pd/nw/dialog_prefs.html
+1
-1
1 addition, 1 deletion
pd/nw/dialog_prefs.html
pd/nw/locales/en/translation.json
+2
-2
2 additions, 2 deletions
pd/nw/locales/en/translation.json
with
357 additions
and
3 deletions
pd/nw/css/c64.css
0 → 100644
+
354
−
0
View file @
5d18b4c6
/* Global CSS */
@font-face
{
font-family
:
"DejaVu Sans Mono"
;
src
:
url("../DejaVuSansMono.ttf")
;
}
.noselect
{
-webkit-touch-callout
:
none
;
-webkit-user-select
:
none
;
-khtml-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
}
::selection
{
background
:
#a49aea
;
color
:
#3e32a2
;
}
/* The main Pd Window */
#console_body
{
margin
:
0px
;
}
#console_controls
{
background-color
:
LightGray
;
height
:
50px
;
}
#control_frame
{
padding
:
12px
;
}
#printout
{
margin
:
8px
;
}
#console_bottom
{
position
:
absolute
;
top
:
50px
;
left
:
0px
;
right
:
0px
;
bottom
:
0px
;
overflow-y
:
scroll
;
}
/* Pure Data Patch Window (aka canvas) */
/* patch font and background color. (Note: margin needs to stay at zero.) */
#patch_body
{
margin
:
0px
;
font-family
:
"DejaVu Sans Mono"
;
background-color
:
#3e32a2
;
}
#selection_rectangle
{
stroke
:
#7c71da
;
}
.cord.signal
{
stroke-width
:
2
;
stroke
:
#7569d7
;
}
.cord.control
{
stroke-width
:
1
;
stroke
:
#7569d7
;
}
#cord_inspector_rect
{
fill
:
black
;
stroke
:
black
;
}
#cord_inspector_text
{
fill
:
white
;
}
#cord_inspector_text
.flash
{
fill
:
#e87216
;
}
#new_object_textentry
{
/* max-width: 10ch; */
min-width
:
3ch
;
position
:
absolute
;
display
:
table-cell
;
padding
:
3px
2px
3px
2px
;
/* box-shadow: inset 1px 0px 0px 1px #000; */
background-color
:
white
;
white-space
:
normal
;
word-wrap
:
break-word
;
-webkit-margin-before
:
0px
;
}
#new_object_textentry
.obj
{
outline
:
1px
solid
blue
;
}
#new_object_textentry
.msg
{
outline
:
0px
solid
transparent
;
background-image
:
url(../msg-box.svg)
;
}
p
.msg
::after
{
content
:
""
;
height
:
100%
;
width
:
5px
;
background-image
:
url(../msg-box-flag.svg)
;
position
:
absolute
;
top
:
0%
;
left
:
100%
;
}
/* not sure what this is doing here... */
text
{
//
fill
:
red
;
cursor
:
default
;
}
/* not sure if this is still needed */
.selected_border
{
stroke
:
blue
;
stroke-dasharray
:
none
;
stroke-width
:
1
;
}
.msg
.border
{
stroke
:
#7569d7
;
fill
:
#3e32a2
;
}
/* state of msg box when clicking it */
.msg.flashed
.border
{
stroke-width
:
4
;
}
/* atom box */
.atom
.border
{
stroke
:
#7569d7
;
fill
:
#3e32a2
;
}
.obj
.border
{
fill
:
#7569d7
;
stroke
:
#3e32a2
;
}
/* A little hack for special canvas of [cnv].
All other iemguis have a black border, but
[cnv] sets its selection rectangle to the
user-supplied fill color when the object
isn't selected */
.iemgui
.border
:not
(
.mycanvas_border
)
{
stroke
:
#7569d7
;
}
.graph
.border
{
stroke
:
#777
;
fill
:
none
;
}
/* border color for selected objects
* an element with the class 'border'
* the element is contained within a parent element of class 'selected'
* that parent element is not in class 'gop'
in plain English:
This lets us highlight an objects border, unless it is inside a gop
canvas.
*/
:not
(
.gop
)
.selected
.border
{
stroke
:
#cc9933
;
display
:
inline
;
}
/* selected connection between objects */
.selected_line
{
stroke
:
blue
;
}
/* for an object that didn't create */
.obj
.border.broken_border
{
fill
:
#3e32a2
;
stroke
:
#ff9933
;
stroke-dasharray
:
3
2
;
}
/* control inlet */
.xlet_control
{
stroke
:
#7c71da
;
fill
:
#7c71da
;
//
stroke-width
:
1
;
}
/* signal inlet */
.xlet_signal
{
stroke
:
#7569d7
;
fill
:
#7569d7
;
stroke-width
:
1
;
}
/* iemgui inlet or outlet */
.xlet_iemgui
{
stroke
:
#7569d7
;
fill
:
#7569d7
;
stroke-width
:
1
;
}
/* text label for an iemgui */
.iemgui_label_selected
{
fill
:
blue
;
}
/* test of xlet hover animation... this should
probably use the web animation API instead. That
way the animation won't get cut off when you
move off the object */
@-webkit-keyframes
fizzle
{
0
%
{
stroke-width
:
1
;
stroke-opacity
:
1
;
x
:
0
;
rx
:
1
;
ry
:
1
;
}
100
%
{
stroke-width
:
20
;
stroke-opacity
:
0.2
;
x
:
100
;
rx
:
50
;
ry
:
50
;
}
}
/* can't remember why this was tagged !important */
.xlet_selected
{
stroke
:
purple
!important
;
-webkit-animation
:
fizzle
0.5s
linear
1
;
}
/* Common to all dialogs */
.submit_buttons
{
text-align
:
center
;
padding
:
8px
;
}
fieldset
{
font-family
:
Georgia
;
background-color
:
#eeeeee
;
border-radius
:
3px
;
border
:
2px
solid
black
;
margin-left
:
auto
;
margin-right
:
auto
;
padding
:
10px
;
}
.hidden
{
display
:
none
;
}
.container
{
display
:
none
;
}
/* Iemgui dialog */
#iemgui_dialog_body
{
font-family
:
Verdana
;
margin
:
0px
;
}
input
[
type
=
"text"
]
{
width
:
3em
;
}
input
[
type
=
"number"
]
{
width
:
3em
;
}
label
{
text-align
:
right
;
}
/* Pair of properties that are related */
.pair
{
width
:
75%
;
text-align
:
left
;
align
:
left
;
}
.item1
{
width
:
50%
;
}
.item2
{
width
:
50%
;
}
input
[
name
=
"x-offset"
]
{
width
:
2em
;
}
input
[
name
=
"y-offset"
]
{
width
:
2em
;
}
input
[
name
=
"send-symbol"
]
{
width
:
8em
;
}
input
[
name
=
"receive-symbol"
]
{
width
:
8em
;
}
input
[
name
=
"label"
]
{
width
:
8em
;
}
input
[
name
=
"font-size"
]
{
width
:
3em
;
}
/* Canvas dialog */
div
.x-scale
{
padding
:
3px
;
text-align
:
center
;
}
div
.gop-range
{
}
div
.y1
{
text-align
:
center
;
padding
:
3px
;
}
div
.x1
{
text-align
:
center
;
padding
:
3px
;
}
div
.y2
{
text-align
:
center
;
padding
:
3px
;
}
.disabled
{
color
:
#aaa
;
}
This diff is collapsed.
Click to expand it.
pd/nw/dialog_prefs.html
+
1
−
1
View file @
5d18b4c6
...
...
@@ -226,7 +226,7 @@
</option>
<option
data-i18n=
"prefs.gui.presets.extended"
value=
"extended"
>
</option>
<option
data-i18n=
"prefs.gui.presets.
l2ork
"
value=
"
l2ork
"
>
<option
data-i18n=
"prefs.gui.presets.
c64
"
value=
"
c64
"
>
</option>
</select>
...
...
This diff is collapsed.
Click to expand it.
pd/nw/locales/en/translation.json
+
2
−
2
View file @
5d18b4c6
...
...
@@ -302,8 +302,8 @@
"vanilla"
:
"Vanilla"
,
"vanilla_inverted"
:
"Vanilla (Inverted)"
,
"extended"
:
"Pd-Extended"
,
"
l2ork"
:
"Pd-L2ork
"
,
"
inverted"
:
"Inverted
"
"
inverted"
:
"Inverted
"
,
"
c64"
:
"C64
"
}
},
"audio"
:
{
...
...
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