[gnome] Update extensions for version 48
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,15 @@
|
||||
{
|
||||
"_generated": "Generated by SweetTooth, do not edit",
|
||||
"description": "A new Onscreen Keyboard built using GNOME JS",
|
||||
"gettext-domain": "gjsosk@vishram1123.com",
|
||||
"name": "GJS OSK",
|
||||
"settings-schema": "org.gnome.shell.extensions.gjsosk",
|
||||
"shell-version": [
|
||||
"45",
|
||||
"46",
|
||||
"47"
|
||||
],
|
||||
"url": "https://github.com/Vishram1123/gjs-osk",
|
||||
"uuid": "gjsosk@vishram1123.com",
|
||||
"version": 27
|
||||
"description": "A new Onscreen Keyboard built using GNOME JS",
|
||||
"gettext-domain": "gjsosk@vishram1123.com",
|
||||
"name": "GJS OSK",
|
||||
"settings-schema": "org.gnome.shell.extensions.gjsosk",
|
||||
"shell-version": [
|
||||
"45",
|
||||
"46",
|
||||
"47",
|
||||
"48"
|
||||
],
|
||||
"url": "https://github.com/Vishram1123/gjs-osk",
|
||||
"uuid": "gjsosk@vishram1123.com",
|
||||
"version": 100000
|
||||
}
|
||||
|
||||
@ -69,5 +69,23 @@
|
||||
[{"key":"CAPS", "width":2}, {"key":"AC01"}, {"key":"AC02"}, {"key":"AC03"}, {"key":"AC04"}, {"key":"AC05"}, {"split":true}, {"key":"AC06"}, {"key":"AC07"}, {"key":"AC08"}, {"key":"AC09"}, {"key":"AC10"}, {"key":"AC11"}, {"key": "RTRN", "width": 1.5}],
|
||||
[{"key":"LFSH", "width":2}, {"key":"LSGT"}, {"key":"AB01"}, {"key":"AB02"}, {"key":"AB03"}, {"key":"AB04"}, {"split":true}, {"key":"AB05"}, {"key":"AB06"}, {"key":"AB07"}, {"key":"AB08"}, {"key":"AB09"}, {"key":"AB10"}, {"key":"RTSH", "width": 1.5}],
|
||||
[{"key":"LCTL"}, {"key":"LWIN"}, {"key":"LALT"}, {"key":"SPCE", "width":4}, {"split":true}, {"key":"SPCE", "width":2.5}, {"key":"RALT"}, {"key":"RCTL"}, {"key":"LEFT"}, [{"key":"UP", "height": 0.5}, {"key":"DOWN", "height": 0.5}], {"key":"RGHT"}]
|
||||
],
|
||||
|
||||
"Mobile": [
|
||||
[{"key":"TLDE", "width": 2}, {"key":"TAB", "width": 2}, {"key":"ESC", "width": 2}, {"key":"FK01", "width": 2}, {"key":"FK02", "width": 2}, {"key":"FK03", "width": 2}, {"key":"FK04", "width": 2}, {"key":"FK05", "width": 2}, {"key":"FK06", "width": 2}, {"key":"FK07", "width": 2}, {"key":"FK08", "width": 2}, {"key":"FK09", "width": 2}, {"key":"FK10", "width": 2}, {"key":"FK11", "width": 2}, {"key":"FK12", "width": 2}, {"key":"PRSC", "width": 2}, {"key":"DELE", "width": 2}, {"key":"BKSL", "width": 2}],
|
||||
[{"key":"AE11", "width": 3}, {"key":"AE01", "width": 3}, {"key":"AE02", "width": 3}, {"key":"AE03", "width": 3}, {"key":"AE04", "width": 3}, {"key":"AE05", "width": 3}, {"key":"AE06", "width": 3}, {"key":"AE07", "width": 3}, {"key":"AE08", "width": 3}, {"key":"AE09", "width": 3}, {"key":"AE10", "width": 3}, {"key":"AE12", "width": 3}],
|
||||
[{"key":"AD11", "width": 3}, {"key":"AD01", "width": 3}, {"key":"AD02", "width": 3}, {"key":"AD03", "width": 3}, {"key":"AD04", "width": 3}, {"key":"AD05", "width": 3}, {"key":"AD06", "width": 3}, {"key":"AD07", "width": 3}, {"key":"AD08", "width": 3}, {"key":"AD09", "width": 3}, {"key":"AD10", "width": 3}, {"key":"AD12", "width": 3}],
|
||||
[{"width": 1.5}, {"key":"AC10", "width": 3}, {"key":"AC01", "width": 3}, {"key":"AC02", "width": 3}, {"key":"AC03", "width": 3}, {"key":"AC04", "width": 3}, {"key":"AC05", "width": 3}, {"key":"AC06", "width": 3}, {"key":"AC07", "width": 3}, {"key":"AC08", "width": 3}, {"key":"AC09", "width": 3}, {"key":"AC11", "width": 3}],
|
||||
[{"key":"LFSH", "width": 2.5}, {"key":"LSGT", "width": 2}, {"key":"AB08", "width": 3}, {"key":"AB01", "width": 3}, {"key":"AB02", "width": 3}, {"key":"AB03", "width": 3}, {"key":"AB04", "width": 3}, {"key":"AB05", "width": 3}, {"key":"AB06", "width": 3}, {"key":"AB07", "width": 3}, {"key":"AB09", "width": 3}, {"key":"AB10", "width": 2}, {"key": "BKSP", "width": 2.5}],
|
||||
[{"key":"CAPS", "width": 2.5}, {"key":"LCTL", "width": 2.5}, {"key":"LWIN", "width": 2.5}, {"key":"LALT", "width": 2.5}, {"key":"SPCE", "width":10}, {"key":"RALT", "width": 2.5}, {"key":"RCTL", "width": 2.5}, {"key":"LEFT", "width": 2.5}, [{"key":"UP", "width": 2.5, "height": 0.5}, {"key":"DOWN", "width": 2.5, "height": 0.5}], {"key":"RGHT", "width": 2.5}, {"key":"RTRN", "width": 3.5}]
|
||||
],
|
||||
|
||||
"Split Mobile": [
|
||||
[{"key":"TLDE", "width": 2}, {"key":"TAB", "width": 2}, {"key":"ESC", "width": 2}, {"key":"FK01", "width": 2}, {"key":"FK02", "width": 2}, {"key":"FK03", "width": 2}, {"key":"FK04", "width": 2}, {"key":"FK05", "width": 2}, {"key":"FK06", "width": 2}, {"split":true}, {"key":"FK07", "width": 2}, {"key":"FK08", "width": 2}, {"key":"FK09", "width": 2}, {"key":"FK10", "width": 2}, {"key":"FK11", "width": 2}, {"key":"FK12", "width": 2}, {"key":"PRSC", "width": 2}, {"key":"DELE", "width": 3}, {"key":"BKSL", "width": 2.5}],
|
||||
[{"key":"AE11", "width": 3}, {"key":"AE01", "width": 3}, {"key":"AE02", "width": 3}, {"key":"AE03", "width": 3}, {"key":"AE04", "width": 3}, {"key":"AE05", "width": 3}, {"split":true}, {"key":"AE06", "width": 3}, {"key":"AE07", "width": 3}, {"key":"AE08", "width": 3}, {"key":"AE09", "width": 3}, {"key":"AE10", "width": 3}, {"key":"AE12", "width": 4.5}],
|
||||
[{"key":"AD11", "width": 3}, {"key":"AD01", "width": 3}, {"key":"AD02", "width": 3}, {"key":"AD03", "width": 3}, {"key":"AD04", "width": 3}, {"key":"AD05", "width": 3}, {"split":true}, {"key":"AD06", "width": 3}, {"key":"AD07", "width": 3}, {"key":"AD08", "width": 3}, {"key":"AD09", "width": 3}, {"key":"AD10", "width": 3}, {"key":"AD12", "width": 4.5}],
|
||||
[{"key":"AC10", "width": 3}, {"key":"AC01", "width": 3}, {"key":"AC02", "width": 3}, {"key":"AC03", "width": 3}, {"key":"AC04", "width": 3}, {"key":"AC05", "width": 3}, {"split":true}, {"key":"AC05", "width": 3}, {"key":"AC06", "width": 3}, {"key":"AC07", "width": 3}, {"key":"AC08", "width": 3}, {"key":"AC09", "width": 3}, {"key":"AC11", "width": 4.5}],
|
||||
[{"key":"LFSH", "width": 2}, {"key":"LSGT", "width": 2}, {"key":"AB08", "width": 2}, {"key":"AB01", "width": 3}, {"key":"AB02", "width": 3}, {"key":"AB03", "width": 3}, {"key":"AB04", "width": 3}, {"split":true}, {"key":"AB04", "width": 3}, {"key":"AB05", "width": 3}, {"key":"AB06", "width": 3}, {"key":"AB07", "width": 3}, {"key":"AB09", "width": 3}, {"key":"AB10", "width": 2}, {"key": "BKSP", "width": 2.5}],
|
||||
[{"key":"CAPS", "width": 2.5}, {"key":"LCTL", "width": 2.5}, {"key":"LWIN", "width": 2.5}, {"key":"LALT", "width": 2.5}, {"key":"SPCE", "width":8}, {"split":true}, {"key":"SPCE", "width":4}, {"key":"RALT", "width": 2.5}, {"key":"RCTL", "width": 2.5}, {"key":"LEFT", "width": 2.5}, [{"key":"UP", "width": 2.5, "height": 0.5}, {"key":"DOWN", "width": 2.5, "height": 0.5}], {"key":"RGHT", "width": 2.5}, {"key":"RTRN", "width": 3}]
|
||||
]
|
||||
}
|
||||
@ -3,9 +3,11 @@
|
||||
import Adw from 'gi://Adw';
|
||||
import Gtk from 'gi://Gtk';
|
||||
import Gdk from 'gi://Gdk';
|
||||
import GLib from 'gi://GLib';
|
||||
|
||||
import { ExtensionPreferences, gettext as _ } from 'resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js';
|
||||
|
||||
import * as Config from 'resource:///org/gnome/Shell/Extensions/js/misc/config.js'
|
||||
const [major, minor] = Config.PACKAGE_VERSION.split('.').map(s => Number(s));
|
||||
|
||||
export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
fillPreferencesWindow(window) {
|
||||
@ -25,18 +27,41 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
});
|
||||
page1.add(behaviorGroup);
|
||||
|
||||
const layoutRow = new Adw.ActionRow({
|
||||
const layoutRow = new Adw.ExpanderRow({
|
||||
title: _('Layout')
|
||||
});
|
||||
behaviorGroup.add(layoutRow);
|
||||
|
||||
let layoutList = ["Full Sized International", "Full Sized US", "Tenkeyless International", "Tenkeyless US", "Compact International", "Compact US", "Split International", "Split US"];
|
||||
let layoutDrop = Gtk.DropDown.new_from_strings(layoutList);
|
||||
layoutDrop.valign = Gtk.Align.CENTER;
|
||||
layoutDrop.selected = settings.get_int("layout");
|
||||
const layoutLandscapeRow = new Adw.ActionRow({
|
||||
title: _('Landscape Layout')
|
||||
});
|
||||
layoutRow.add_row(layoutLandscapeRow);
|
||||
|
||||
layoutRow.add_suffix(layoutDrop);
|
||||
layoutRow.activatable_widget = layoutDrop;
|
||||
let layouts;
|
||||
let [okL, contentsL] = GLib.file_get_contents(this.path + '/physicalLayouts.json');
|
||||
if (okL) {
|
||||
layouts = JSON.parse(contentsL);
|
||||
}
|
||||
|
||||
let layoutList = Object.keys(layouts);
|
||||
let layoutLandscapeDrop = Gtk.DropDown.new_from_strings(layoutList);
|
||||
layoutLandscapeDrop.valign = Gtk.Align.CENTER;
|
||||
layoutLandscapeDrop.selected = settings.get_int("layout-landscape");
|
||||
|
||||
layoutLandscapeRow.add_suffix(layoutLandscapeDrop);
|
||||
layoutLandscapeRow.activatable_widget = layoutLandscapeDrop;
|
||||
|
||||
const layoutPortraitRow = new Adw.ActionRow({
|
||||
title: _('Portrait Layout')
|
||||
});
|
||||
layoutRow.add_row(layoutPortraitRow);
|
||||
|
||||
let layoutPortraitDrop = Gtk.DropDown.new_from_strings(layoutList);
|
||||
layoutPortraitDrop.valign = Gtk.Align.CENTER;
|
||||
layoutPortraitDrop.selected = settings.get_int("layout-portrait");
|
||||
|
||||
layoutPortraitRow.add_suffix(layoutPortraitDrop);
|
||||
layoutPortraitRow.activatable_widget = layoutPortraitDrop;
|
||||
|
||||
const enableDragRow = new Adw.ActionRow({
|
||||
title: _('Enable Dragging')
|
||||
@ -132,6 +157,49 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
landscapeSizing.add_row(lW);
|
||||
landscapeSizing.add_row(lH);
|
||||
|
||||
const defaultMonitor = new Adw.ActionRow({
|
||||
title: _('Default Monitor')
|
||||
})
|
||||
behaviorGroup.add(defaultMonitor);
|
||||
|
||||
let monitors = [];
|
||||
|
||||
const display = Gdk.Display.get_default();
|
||||
if (display && "get_monitors" in display) {
|
||||
const monitorsAvailable = display.get_monitors();
|
||||
|
||||
for (let idx = 0; idx < monitorsAvailable.get_n_items(); idx++) {
|
||||
const monitor = monitorsAvailable.get_item(idx);
|
||||
monitors.push(monitor);
|
||||
}
|
||||
}
|
||||
let monitorDrop = Gtk.DropDown.new_from_strings(monitors.map(m => m.get_model()))
|
||||
monitorDrop.valign = Gtk.Align.CENTER;
|
||||
let currentMonitorMap = {};
|
||||
let currentMonitors;
|
||||
if (settings.get_string("default-monitor").includes(";")) {
|
||||
currentMonitors = settings.get_string("default-monitor").split(";")
|
||||
} else {
|
||||
currentMonitors = [("1:" + monitors[0].get_connector())]
|
||||
}
|
||||
|
||||
for (var i of currentMonitors) {
|
||||
let tmp = i.split(":");
|
||||
currentMonitorMap[tmp[0]] = tmp[1] + "";
|
||||
}
|
||||
if (!Object.keys(currentMonitorMap).includes(monitors.length + "")) {
|
||||
let allConfigs = Object.keys(currentMonitorMap).map(Number.parseInt).sort();
|
||||
currentMonitorMap[monitors.length + ""] = allConfigs[allConfigs.length - 1];
|
||||
}
|
||||
let index = monitors.map(m => { return m.get_connector() }).indexOf(currentMonitorMap[monitors.length + ""]);
|
||||
if (index == -1) {
|
||||
index = 0
|
||||
}
|
||||
monitorDrop.selected = index;
|
||||
|
||||
defaultMonitor.add_suffix(monitorDrop);
|
||||
defaultMonitor.activatable_widget = monitorDrop;
|
||||
|
||||
const defaultPosition = new Adw.ActionRow({
|
||||
title: _('Default Position')
|
||||
});
|
||||
@ -203,6 +271,23 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
darkCol.add_suffix(colorButton_d);
|
||||
darkCol.activatable_widget = colorButton_d;
|
||||
|
||||
const systemAccCol = new Adw.ActionRow({
|
||||
title: _("Use System Accent Color")
|
||||
})
|
||||
colorRow.add_row(systemAccCol)
|
||||
|
||||
const systemAccColEnabled = new Gtk.Switch({
|
||||
active: settings.get_boolean("system-accent-col"),
|
||||
valign: Gtk.Align.CENTER
|
||||
})
|
||||
|
||||
systemAccCol.add_suffix(systemAccColEnabled)
|
||||
systemAccCol.activatable_widget = systemAccColEnabled
|
||||
|
||||
systemAccCol.set_sensitive(major >= 47)
|
||||
lightCol.set_sensitive(!settings.get_boolean("system-accent-col"));
|
||||
darkCol.set_sensitive(!settings.get_boolean("system-accent-col"));
|
||||
|
||||
let fontSize = new Adw.ActionRow({
|
||||
title: _('Font Size (px)')
|
||||
});
|
||||
@ -211,7 +296,7 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
let numChanger_font = Gtk.SpinButton.new_with_range(0, 100, 1);
|
||||
numChanger_font.value = settings.get_int('font-size-px');
|
||||
numChanger_font.valign = Gtk.Align.CENTER;
|
||||
|
||||
|
||||
fontSize.add_suffix(numChanger_font);
|
||||
fontSize.activatable_widget = numChanger_font;
|
||||
|
||||
@ -239,6 +324,17 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
borderSpacing.add_suffix(numChanger_bord);
|
||||
borderSpacing.activatable_widget = numChanger_bord;
|
||||
|
||||
let outerSpacing = new Adw.ActionRow({
|
||||
title: _('Outer Spacing (px)')
|
||||
});
|
||||
appearanceGroup.add(outerSpacing);
|
||||
|
||||
let numChanger_outer = Gtk.SpinButton.new_with_range(0, 30, 1);
|
||||
numChanger_outer.value = settings.get_int('outer-spacing-px');
|
||||
numChanger_outer.valign = Gtk.Align.CENTER;
|
||||
outerSpacing.add_suffix(numChanger_outer);
|
||||
outerSpacing.activatable_widget = numChanger_outer;
|
||||
|
||||
let snapSpacing = new Adw.ActionRow({
|
||||
title: _('Drag snap spacing (px)')
|
||||
});
|
||||
@ -309,7 +405,7 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
context.add_class("title-1");
|
||||
|
||||
let another_label = new Gtk.Label({
|
||||
label: _("Autorelease ") + `fab8e97`
|
||||
label: _("Autorelease ") + `776e35f`
|
||||
});
|
||||
|
||||
let links_pref_group = new Adw.PreferencesGroup();
|
||||
@ -348,8 +444,9 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
page2.add(links_pref_group);
|
||||
|
||||
window.add(page2);
|
||||
|
||||
settings.bind("layout", layoutDrop, "selected", 0);
|
||||
|
||||
settings.bind("layout-landscape", layoutLandscapeDrop, "selected", 0);
|
||||
settings.bind("layout-portrait", layoutPortraitDrop, "selected", 0);
|
||||
settings.bind("enable-drag", dragEnableDT, "active", 0);
|
||||
settings.bind("enable-tap-gesture", dragOpt, "selected", 0);
|
||||
settings.bind("indicator-enabled", indEnabled, "active", 0);
|
||||
@ -372,14 +469,29 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
settings.bind("font-size-px", numChanger_font, "value", 0);
|
||||
settings.bind("font-bold", fontBoldEnabled, "active", 0)
|
||||
settings.bind("border-spacing-px", numChanger_bord, "value", 0);
|
||||
settings.bind("outer-spacing-px", numChanger_outer, "value", 0);
|
||||
settings.bind("snap-spacing-px", numChanger_snap, "value", 0)
|
||||
settings.bind("round-key-corners", roundKeyCDT, "active", 0);
|
||||
settings.bind("play-sound", soundPlayDT, "active", 0);
|
||||
settings.bind("show-icons", showIconDT, "active", 0)
|
||||
settings.bind("default-snap", snapDrop, "selected", 0);
|
||||
monitorDrop.connect("notify::selected", () => {
|
||||
currentMonitorMap[monitors.length + ""] = monitors.map(m => { return m.get_connector() })[monitorDrop.selected];
|
||||
let representation = [];
|
||||
for (var k of Object.keys(currentMonitorMap)) {
|
||||
representation.push(k + ":" + currentMonitorMap[k])
|
||||
}
|
||||
settings.set_string("default-monitor", representation.join(";"))
|
||||
})
|
||||
systemAccColEnabled.connect("state-set", () => {
|
||||
settings.set_boolean("system-accent-col", systemAccColEnabled.active)
|
||||
lightCol.set_sensitive(!settings.get_boolean("system-accent-col"));
|
||||
darkCol.set_sensitive(!settings.get_boolean("system-accent-col"));
|
||||
})
|
||||
|
||||
window.connect("close-request", () => {
|
||||
settings.set_int("layout", layoutDrop.selected);
|
||||
settings.set_int("layout-landscape", layoutLandscapeDrop.selected);
|
||||
settings.set_int("layout-portrait", layoutPortraitDrop.selected);
|
||||
settings.set_boolean("enable-drag", dragEnableDT.active);
|
||||
settings.set_int("enable-tap-gesture", dragOpt.selected);
|
||||
settings.set_boolean("indicator-enabled", indEnabled.active);
|
||||
@ -398,11 +510,19 @@ export default class GjsOskPreferences extends ExtensionPreferences {
|
||||
settings.set_int("font-size-px", numChanger_font.value);
|
||||
settings.set_boolean("font-bold", fontBoldEnabled.active)
|
||||
settings.set_int("border-spacing-px", numChanger_bord.value);
|
||||
settings.set_int("outer-spacing-px", numChanger_outer.value);
|
||||
settings.set_int("snap-spacing-px", numChanger_snap.value)
|
||||
settings.set_boolean("round-key-corners", roundKeyCDT.active);
|
||||
settings.set_boolean("play-sound", soundPlayDT.active);
|
||||
settings.set_boolean("show-icons", showIconDT.active)
|
||||
settings.set_int("default-snap", snapDrop.selected);
|
||||
currentMonitorMap[monitors.length + ""] = monitors.map(m => { return m.get_connector() })[monitorDrop.selected];
|
||||
let representation = [];
|
||||
for (var k of Object.keys(currentMonitorMap)) {
|
||||
representation.push(k + ":" + currentMonitorMap[k])
|
||||
}
|
||||
settings.set_string("default-monitor", representation.join(";"))
|
||||
settings.set_boolean("system-accent-col", systemAccColEnabled.active)
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist>
|
||||
<schema id="org.gnome.shell.extensions.gjsosk" path="/org/gnome/shell/extensions/gjsosk/">
|
||||
<key name="layout" type="i">
|
||||
<key name="layout-landscape" type="i">
|
||||
<default>0</default>
|
||||
</key>
|
||||
<key name="layout-portrait" type="i">
|
||||
<default>0</default>
|
||||
</key>
|
||||
<key name="portrait-width-percent" type="i">
|
||||
@ -43,6 +46,9 @@
|
||||
<key name="background-a-dark" type="d">
|
||||
<default>1</default>
|
||||
</key>
|
||||
<key name="system-accent-col" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="font-size-px" type="i">
|
||||
<default>14</default>
|
||||
</key>
|
||||
@ -52,6 +58,9 @@
|
||||
<key name="border-spacing-px" type="i">
|
||||
<default>2</default>
|
||||
</key>
|
||||
<key name="outer-spacing-px" type="i">
|
||||
<default>20</default>
|
||||
</key>
|
||||
<key name="snap-spacing-px" type="i">
|
||||
<default>25</default>
|
||||
</key>
|
||||
@ -61,6 +70,9 @@
|
||||
<key name="default-snap" type="i">
|
||||
<default>7</default>
|
||||
</key>
|
||||
<key name="default-monitor" type="s">
|
||||
<default>""</default>
|
||||
</key>
|
||||
<key name="enable-tap-gesture" type="i">
|
||||
<default>1</default>
|
||||
</key>
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
.regular:pressed {
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
color: white;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.inverted:pressed {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
color: black;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.regular {
|
||||
@ -17,12 +19,16 @@
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
color: black;
|
||||
}
|
||||
.key, .moveHandle {
|
||||
border: 0;
|
||||
|
||||
.key,
|
||||
.moveHandle {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-clip: padding-box;
|
||||
box-sizing: border-box;
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/transparent.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.dr-b {
|
||||
@ -34,6 +40,7 @@
|
||||
|
||||
.close_btn,
|
||||
.settings_btn,
|
||||
/* [insert styles handwriting 1] */
|
||||
.backspace_btn,
|
||||
.tab_btn,
|
||||
.capslock_btn,
|
||||
@ -51,11 +58,13 @@
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.close_btn.regular, .close_btn.selected.inverted {
|
||||
.close_btn.regular,
|
||||
.close_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/close.svg);
|
||||
}
|
||||
|
||||
.close_btn.inverted, .close_btn.selected.regular {
|
||||
.close_btn.inverted,
|
||||
.close_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/close-dark.svg);
|
||||
}
|
||||
|
||||
@ -67,107 +76,135 @@
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/settings-dark.svg);
|
||||
}
|
||||
|
||||
.backspace_btn.regular, .backspace_btn.selected.inverted {
|
||||
/* [insert styles handwriting 2] */
|
||||
|
||||
.backspace_btn.regular,
|
||||
.backspace_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/backspace.svg);
|
||||
}
|
||||
|
||||
.backspace_btn.inverted, .backspace_btn.selected.regular {
|
||||
.backspace_btn.inverted,
|
||||
.backspace_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/backspace-dark.svg);
|
||||
}
|
||||
|
||||
.tab_btn.regular, .tab_btn.selected.inverted {
|
||||
.tab_btn.regular,
|
||||
.tab_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/tab.svg);
|
||||
}
|
||||
|
||||
.tab_btn.inverted, .tab_btn.selected.regular {
|
||||
.tab_btn.inverted,
|
||||
.tab_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/tab-dark.svg);
|
||||
}
|
||||
|
||||
.capslock_btn.regular, .capslock_btn.selected.inverted {
|
||||
.capslock_btn.regular,
|
||||
.capslock_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/capslock.svg);
|
||||
}
|
||||
|
||||
.capslock_btn.inverted, .capslock_btn.selected.regular {
|
||||
.capslock_btn.inverted,
|
||||
.capslock_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/capslock-dark.svg);
|
||||
}
|
||||
|
||||
.shift_btn.regular, .shift_btn.selected.inverted {
|
||||
.shift_btn.regular,
|
||||
.shift_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/shift.svg);
|
||||
}
|
||||
|
||||
.shift_btn.inverted, .shift_btn.selected.regular {
|
||||
.shift_btn.inverted,
|
||||
.shift_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/shift-dark.svg);
|
||||
}
|
||||
|
||||
.enter_btn.regular, .enter_btn.selected.inverted {
|
||||
.enter_btn.regular,
|
||||
.enter_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/enter.svg);
|
||||
}
|
||||
|
||||
.enter_btn.inverted, .enter_btn.selected.regular {
|
||||
.enter_btn.inverted,
|
||||
.enter_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/enter-dark.svg);
|
||||
}
|
||||
|
||||
.ctrl_btn.regular, .ctrl_btn.selected.inverted {
|
||||
.ctrl_btn.regular,
|
||||
.ctrl_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/ctrl.svg);
|
||||
}
|
||||
|
||||
.ctrl_btn.inverted, .ctrl_btn.selected.regular {
|
||||
.ctrl_btn.inverted,
|
||||
.ctrl_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/ctrl-dark.svg);
|
||||
}
|
||||
|
||||
.super_btn.regular, .super_btn.selected.inverted {
|
||||
.super_btn.regular,
|
||||
.super_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/super.svg);
|
||||
}
|
||||
|
||||
.super_btn.inverted, .super_btn.selected.regular {
|
||||
.super_btn.inverted,
|
||||
.super_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/super-dark.svg);
|
||||
}
|
||||
|
||||
.alt_btn.regular, .alt_btn.selected.inverted {
|
||||
.alt_btn.regular,
|
||||
.alt_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/alt.svg);
|
||||
}
|
||||
|
||||
.alt_btn.inverted, .alt_btn.selected.regular {
|
||||
.alt_btn.inverted,
|
||||
.alt_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/alt-dark.svg);
|
||||
}
|
||||
|
||||
.space_btn.regular, .space_btn.selected.inverted {
|
||||
.space_btn.regular,
|
||||
.space_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/space.svg);
|
||||
}
|
||||
|
||||
.space_btn.inverted, .space_btn.selected.regular {
|
||||
.space_btn.inverted,
|
||||
.space_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/space-dark.svg);
|
||||
}
|
||||
|
||||
.left_btn.regular, .left_btn.selected.inverted {
|
||||
.left_btn.regular,
|
||||
.left_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/left.svg);
|
||||
}
|
||||
|
||||
.left_btn.inverted, .left_btn.selected.regular {
|
||||
.left_btn.inverted,
|
||||
.left_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/left-dark.svg);
|
||||
}
|
||||
|
||||
.up_btn.regular, .up_btn.selected.inverted {
|
||||
.up_btn.regular,
|
||||
.up_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/up.svg);
|
||||
}
|
||||
|
||||
.up_btn.inverted, .up_btn.selected.regular {
|
||||
.up_btn.inverted,
|
||||
.up_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/up-dark.svg);
|
||||
}
|
||||
|
||||
.down_btn.regular, .down_btn.selected.inverted {
|
||||
.down_btn.regular,
|
||||
.down_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/down.svg);
|
||||
}
|
||||
|
||||
.down_btn.inverted, .down_btn.selected.regular {
|
||||
.down_btn.inverted,
|
||||
.down_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/down-dark.svg);
|
||||
}
|
||||
|
||||
.right_btn.regular, .right_btn.selected.inverted {
|
||||
.right_btn.regular,
|
||||
.right_btn.selected.inverted {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/right.svg);
|
||||
}
|
||||
|
||||
.right_btn.inverted, .right_btn.selected.regular {
|
||||
.right_btn.inverted,
|
||||
.right_btn.selected.regular {
|
||||
background-image: url(ui/icons/hicolor/scalable/actions/right-dark.svg);
|
||||
}
|
||||
|
||||
@ -196,6 +233,5 @@
|
||||
}
|
||||
|
||||
.boxLay {
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"></svg>
|
||||
|
After Width: | Height: | Size: 86 B |
Reference in New Issue
Block a user