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
721dcd9c
Commit
721dcd9c
authored
Sep 26, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix standard
parent
dc3b9224
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
42 deletions
+42
-42
basicStyles.js
src/ui/styles/basicStyles.js
+15
-15
style-guide.js
src/ui/styles/style-guide.js
+27
-27
No files found.
src/ui/styles/basicStyles.js
View file @
721dcd9c
...
...
@@ -65,20 +65,20 @@ module.exports = {
'margin-bottom'
:
'10px'
},
button
:
{
'border-color'
:
'transparent'
,
'border-radius'
:
'3px'
,
'border'
:
'.3px solid ${colors.veryLightGrey}'
,
'cursor'
:
'pointer'
,
'min-height'
:
'25px'
,
'max-height'
:
'25px'
,
'padding'
:
'3px'
,
'min-width'
:
'100px'
,
'font-size'
:
'12px'
,
'overflow'
:
'hidden'
,
'word-break'
:
'normal'
,
'background-color'
:
'hsla(0, 0%, 40%, .2)'
,
'color'
:
'hsla(0, 0%, 40%, 1)'
,
'margin'
:
'3px'
,
'text-decoration'
:
'none'
'border-color'
:
'transparent'
,
'border-radius'
:
'3px'
,
'border'
:
'.3px solid ${colors.veryLightGrey}'
,
'cursor'
:
'pointer'
,
'min-height'
:
'25px'
,
'max-height'
:
'25px'
,
'padding'
:
'3px'
,
'min-width'
:
'100px'
,
'font-size'
:
'12px'
,
'overflow'
:
'hidden'
,
'word-break'
:
'normal'
,
'background-color'
:
'hsla(0, 0%, 40%, .2)'
,
'color'
:
'hsla(0, 0%, 40%, 1)'
,
'margin'
:
'3px'
,
'text-decoration'
:
'none'
}
}
src/ui/styles/style-guide.js
View file @
721dcd9c
var
csjs
=
require
(
'csjs-inject'
)
//
var csjs = require('csjs-inject')
module
.
exports
=
styleGuide
...
...
@@ -40,32 +40,32 @@ function styleGuide () {
FONTS
-------------------------------------------------------------------------- */
var
texts
=
{
'title-XL'
:
`
font-size : 2em;
font-weight : 700;
letter-spacing : .05em;
`
,
'title-L'
:
`
font-size : 1em;
font-weight : 600;
`
,
'title-M'
:
`
font-size : 1em;
font-weight : 400;
`
,
'title-S'
:
`
font-size : .8em;
font-weight : 300;
`
,
'text'
:
`
font-size : .8em;
`
}
var
texts
=
{
'title-XL'
:
`
font-size : 2em;
font-weight : 700;
letter-spacing : .05em;
`
,
'title-L'
:
`
font-size : 1em;
font-weight : 600;
`
,
'title-M'
:
`
font-size : 1em;
font-weight : 400;
`
,
'title-S'
:
`
font-size : .8em;
font-weight : 300;
`
,
'text'
:
`
font-size : .8em;
`
}
/* --------------------------------------------------------------------------
TEXT-BOXES
...
...
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