Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
4f1daa49
Commit
4f1daa49
authored
Nov 04, 2019
by
alexcherman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve styles
parent
c860e2a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
plugin-manager-component.js
src/app/components/plugin-manager-component.js
+7
-5
theme-module.js
src/app/tabs/theme-module.js
+1
-1
No files found.
src/app/components/plugin-manager-component.js
View file @
4f1daa49
...
@@ -31,11 +31,13 @@ const css = csjs`
...
@@ -31,11 +31,13 @@ const css = csjs`
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
margin: 0;
margin: 0;
font-size: 1
1
px;
font-size: 1
3
px;
line-height: 1
2
px;
line-height: 1
6
px;
text-transform: uppercase;
text-transform: uppercase;
}
}
.description {
.description {
font-size: 13px;
line-height: 18px;
text-transform: capitalize;
text-transform: capitalize;
}
}
.row {
.row {
...
@@ -103,7 +105,7 @@ class PluginManagerComponent extends ViewPlugin {
...
@@ -103,7 +105,7 @@ class PluginManagerComponent extends ViewPlugin {
}
}
// Beta
// Beta
if
(
api
.
profile
.
version
&&
api
.
profile
.
version
.
match
(
/
\b(\w
*beta
\w
*
)\b
/g
))
{
if
(
api
.
profile
.
version
&&
api
.
profile
.
version
.
match
(
/
\b(\w
*beta
\w
*
)\b
/g
))
{
versionWarning
=
yo
`<small title="Version Beta" class="
${
css
.
versionWarning
}
">beta</small>`
versionWarning
=
yo
`<small title="Version Beta" class="
${
css
.
versionWarning
}
plugin-version
">beta</small>`
}
}
const
activationButton
=
isActive
const
activationButton
=
isActive
...
@@ -119,13 +121,13 @@ class PluginManagerComponent extends ViewPlugin {
...
@@ -119,13 +121,13 @@ class PluginManagerComponent extends ViewPlugin {
return
yo
`
return
yo
`
<article id="remixPluginManagerListItem_
${
name
}
" class="list-group-item px-2 pt-2 pb-0 plugins-list-group-item" title="
${
displayName
}
" >
<article id="remixPluginManagerListItem_
${
name
}
" class="list-group-item px-2 pt-2 pb-0 plugins-list-group-item" title="
${
displayName
}
" >
<div class="
${
css
.
row
}
justify-content-between align-items-center mb-2">
<div class="
${
css
.
row
}
justify-content-between align-items-center mb-2">
<h6 class="
${
css
.
displayName
}
form-control-label
">
<h6 class="
${
css
.
displayName
}
">
${
displayName
}
${
displayName
}
${
versionWarning
}
${
versionWarning
}
</h6>
</h6>
${
activationButton
}
${
activationButton
}
</div>
</div>
<p class="
${
css
.
description
}
text-body">
${
api
.
profile
.
description
}
</p>
<p class="
${
css
.
description
}
text-body
plugin-text
">
${
api
.
profile
.
description
}
</p>
</article>
</article>
`
`
}
}
...
...
src/app/tabs/theme-module.js
View file @
4f1daa49
...
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
...
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
import
*
as
packageJson
from
'../../../package.json'
import
*
as
packageJson
from
'../../../package.json'
const
themes
=
[
const
themes
=
[
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v157
1151519/custom-dark-theme
.css'
},
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v157
2868094/remix-custom-dark
.css'
},
{
name
:
'Light'
,
quality
:
'light'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572342742/light-theme.css'
},
{
name
:
'Light'
,
quality
:
'light'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572342742/light-theme.css'
},
// switching to the url Todo: remove when the theme is ready
// switching to the url Todo: remove when the theme is ready
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment