Skip to content

Commit

Permalink
Fixed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Apr 26, 2020
1 parent 4d5be33 commit 83ebad8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ Menu.main.section.appearance = {
header: {
type: 'folder',
label: 'header',
class: ['satus-folder--header'],
class: 'satus-folder--header',

section: {
type: 'section',
Expand Down Expand Up @@ -1305,7 +1305,7 @@ Menu.main.section.appearance = {
player: {
type: 'folder',
label: 'player',
class: ['satus-folder--player'],
class: 'satus-folder--player',

section: {
type: 'section',
Expand Down Expand Up @@ -1458,7 +1458,7 @@ Menu.main.section.appearance = {
details: {
type: 'folder',
label: 'details',
class: ['satus-folder--details'],
class: 'satus-folder--details',

section: {
type: 'section',
Expand Down Expand Up @@ -1518,7 +1518,7 @@ Menu.main.section.appearance = {
sidebar: {
type: 'folder',
label: 'sidebar',
class: ['satus-folder--sidebar'],
class: 'satus-folder--sidebar',

section: {
type: 'section',
Expand Down Expand Up @@ -1574,7 +1574,7 @@ Menu.main.section.appearance = {
comments: {
type: 'folder',
label: 'comments',
class: ['satus-folder--comments'],
class: 'satus-folder--comments',

section: {
type: 'section',
Expand All @@ -1599,7 +1599,7 @@ Menu.main.section.appearance = {
footer: {
type: 'folder',
label: 'footer',
class: ['satus-folder--footer'],
class: 'satus-folder--footer',

section: {
type: 'section',
Expand Down Expand Up @@ -1909,7 +1909,7 @@ Menu.main.section.themes = {
default_dark_theme: {
type: 'switch',
label: 'dark',
class: ['satus-switch--dark'],
class: 'satus-switch--dark',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -1926,7 +1926,7 @@ Menu.main.section.themes = {
night_theme: {
type: 'switch',
label: 'night',
class: ['satus-switch--night'],
class: 'satus-switch--night',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -1943,7 +1943,7 @@ Menu.main.section.themes = {
dawn_theme: {
type: 'switch',
label: 'dawn',
class: ['satus-switch--dawn'],
class: 'satus-switch--dawn',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -1960,7 +1960,7 @@ Menu.main.section.themes = {
sunset_theme: {
type: 'switch',
label: 'sunset',
class: ['satus-switch--sunset'],
class: 'satus-switch--sunset',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -1977,7 +1977,7 @@ Menu.main.section.themes = {
desert_theme: {
type: 'switch',
label: 'desert',
class: ['satus-switch--desert'],
class: 'satus-switch--desert',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -1994,7 +1994,7 @@ Menu.main.section.themes = {
plain_theme: {
type: 'switch',
label: 'plain',
class: ['satus-switch--plain'],
class: 'satus-switch--plain',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -2011,7 +2011,7 @@ Menu.main.section.themes = {
black_theme: {
type: 'switch',
label: 'black',
class: ['satus-switch--black'],
class: 'satus-switch--black',

onchange: function(name, value, component) {
if (value == 'true') {
Expand Down Expand Up @@ -2621,7 +2621,7 @@ Menu.main.section.blacklist = {
list[item] = {
type: 'section',
label: title.length > 20 ? title.substr(0, 20) + '...' : title,
class: ['satus-section--blacklist'],
class: 'satus-section--blacklist',
style: {
'background-image': 'url(' + Satus.storage.blacklist.channels[item].preview + ')',
'background-color': '#000'
Expand Down Expand Up @@ -2692,7 +2692,7 @@ Menu.main.section.blacklist = {
list[item] = {
type: 'section',
label: title.length > 20 ? title.substr(0, 20) + '...' : title,
class: ['satus-section--blacklist'],
class: 'satus-section--blacklist',
style: {
'background-image': 'url(https://img.youtube.com/vi/' + item + '/0.jpg)'
},
Expand Down
12 changes: 6 additions & 6 deletions src/template/js/template-parts/appearance.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Menu.main.section.appearance = {
header: {
type: 'folder',
label: 'header',
class: ['satus-folder--header'],
class: 'satus-folder--header',

section: {
type: 'section',
Expand Down Expand Up @@ -52,7 +52,7 @@ Menu.main.section.appearance = {
player: {
type: 'folder',
label: 'player',
class: ['satus-folder--player'],
class: 'satus-folder--player',

section: {
type: 'section',
Expand Down Expand Up @@ -205,7 +205,7 @@ Menu.main.section.appearance = {
details: {
type: 'folder',
label: 'details',
class: ['satus-folder--details'],
class: 'satus-folder--details',

section: {
type: 'section',
Expand Down Expand Up @@ -265,7 +265,7 @@ Menu.main.section.appearance = {
sidebar: {
type: 'folder',
label: 'sidebar',
class: ['satus-folder--sidebar'],
class: 'satus-folder--sidebar',

section: {
type: 'section',
Expand Down Expand Up @@ -321,7 +321,7 @@ Menu.main.section.appearance = {
comments: {
type: 'folder',
label: 'comments',
class: ['satus-folder--comments'],
class: 'satus-folder--comments',

section: {
type: 'section',
Expand All @@ -346,7 +346,7 @@ Menu.main.section.appearance = {
footer: {
type: 'folder',
label: 'footer',
class: ['satus-folder--footer'],
class: 'satus-folder--footer',

section: {
type: 'section',
Expand Down
4 changes: 2 additions & 2 deletions src/template/js/template-parts/blacklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Menu.main.section.blacklist = {
list[item] = {
type: 'section',
label: title.length > 20 ? title.substr(0, 20) + '...' : title,
class: ['satus-section--blacklist'],
class: 'satus-section--blacklist',
style: {
'background-image': 'url(' + Satus.storage.blacklist.channels[item].preview + ')',
'background-color': '#000'
Expand Down Expand Up @@ -104,7 +104,7 @@ Menu.main.section.blacklist = {
list[item] = {
type: 'section',
label: title.length > 20 ? title.substr(0, 20) + '...' : title,
class: ['satus-section--blacklist'],
class: 'satus-section--blacklist',
style: {
'background-image': 'url(https://img.youtube.com/vi/' + item + '/0.jpg)'
},
Expand Down
14 changes: 7 additions & 7 deletions src/template/js/template-parts/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Menu.main.section.themes = {
default_dark_theme: {
type: 'switch',
label: 'dark',
class: ['satus-switch--dark'],
class: 'satus-switch--dark',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -312,7 +312,7 @@ Menu.main.section.themes = {
night_theme: {
type: 'switch',
label: 'night',
class: ['satus-switch--night'],
class: 'satus-switch--night',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -329,7 +329,7 @@ Menu.main.section.themes = {
dawn_theme: {
type: 'switch',
label: 'dawn',
class: ['satus-switch--dawn'],
class: 'satus-switch--dawn',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -346,7 +346,7 @@ Menu.main.section.themes = {
sunset_theme: {
type: 'switch',
label: 'sunset',
class: ['satus-switch--sunset'],
class: 'satus-switch--sunset',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -363,7 +363,7 @@ Menu.main.section.themes = {
desert_theme: {
type: 'switch',
label: 'desert',
class: ['satus-switch--desert'],
class: 'satus-switch--desert',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -380,7 +380,7 @@ Menu.main.section.themes = {
plain_theme: {
type: 'switch',
label: 'plain',
class: ['satus-switch--plain'],
class: 'satus-switch--plain',

onchange: function(name, value, component) {
if (value == 'true') {
Expand All @@ -397,7 +397,7 @@ Menu.main.section.themes = {
black_theme: {
type: 'switch',
label: 'black',
class: ['satus-switch--black'],
class: 'satus-switch--black',

onchange: function(name, value, component) {
if (value == 'true') {
Expand Down

0 comments on commit 83ebad8

Please sign in to comment.