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
9aed0fb0
Commit
9aed0fb0
authored
Oct 04, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
6f830b63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
58 deletions
+58
-58
style-guide.js
src/ui/styles/style-guide.js
+58
-58
No files found.
src/ui/styles/style-guide.js
View file @
9aed0fb0
...
...
@@ -203,76 +203,76 @@ function styleGuide () {
uiElements
:
{
solidBorderBox
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
border : 1px solid
${
opts
.
BorderColor
}
color :
${
opts
.
Color
}
border-radius :
${
cssProperties
.
borders
.
primary_borderRadius
}
font-size : 12px
padding : 10px 15px
line-height : 20px
overflow : hidden
word-break : break-word
width : 100%
background-color :
${
opts
.
BackgroundColor
}
;
border : 1px solid
${
opts
.
BorderColor
}
;
color :
${
opts
.
Color
}
;
border-radius :
${
cssProperties
.
borders
.
primary_borderRadius
}
;
font-size : 12px
;
padding : 10px 15px
;
line-height : 20px
;
overflow : hidden
;
word-break : break-word
;
width : 100%
;
`
,
dottedBorderBox
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
border : .2em dotted
${
opts
.
BorderColor
}
color :
${
opts
.
Color
}
border-radius :
${
cssProperties
.
borders
.
secondary_borderRadius
}
line-height : 20px
padding : 8px 15px
margin-bottom : 1em
overflow : hidden
word-break : break-word
background-color :
${
opts
.
BackgroundColor
}
;
border : .2em dotted
${
opts
.
BorderColor
}
;
color :
${
opts
.
Color
}
;
border-radius :
${
cssProperties
.
borders
.
secondary_borderRadius
}
;
line-height : 20px
;
padding : 8px 15px
;
margin-bottom : 1em
;
overflow : hidden
;
word-break : break-word
;
`
,
inputField
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
border : 1px solid
${
opts
.
BorderColor
}
color :
${
opts
.
Color
}
border-radius :
${
cssProperties
.
borders
.
secondary_borderRadius
}
height : 25px
width : 250px
padding : 0 8px
overflow : hidden
word-break : normal
background-color :
${
opts
.
BackgroundColor
}
;
border : 1px solid
${
opts
.
BorderColor
}
;
color :
${
opts
.
Color
}
;
border-radius :
${
cssProperties
.
borders
.
secondary_borderRadius
}
;
height : 25px
;
width : 250px
;
padding : 0 8px
;
overflow : hidden
;
word-break : normal
;
`
,
dropdown
:
(
opts
=
{})
=>
`
background-color :
${
opts
.
BackgroundColor
}
border : 1px solid
${
opts
.
BorderColor
}
color :
${
opts
.
Color
}
font-size : 12px
font-weight : bold
padding : 0 8px
text-decoration : none
cursor : pointer
border-radius : 3px
height : 25px
width : 250px
text-align : center
overflow : hidden
word-break : normal
background-color :
${
opts
.
BackgroundColor
}
;
border : 1px solid
${
opts
.
BorderColor
}
;
color :
${
opts
.
Color
}
;
font-size : 12px
;
font-weight : bold
;
padding : 0 8px
;
text-decoration : none
;
cursor : pointer
;
border-radius : 3px
;
height : 25px
;
width : 250px
;
text-align : center
;
overflow : hidden
;
word-break : normal
;
`
,
button
:
(
opts
=
{})
=>
`
margin : 1px
background-color :
${
opts
.
BackgroundColor
}
border : .3px solid
${
opts
.
BorderColor
}
color :
${
opts
.
Color
}
display : flex
align-items : center
justify-content : center
border-radius : 3px
cursor : pointer
min-height : 25px
max-height : 25px
width : 70px
min-width : 70px
font-size : 12px
overflow : hidden
word-break : normal
margin : 1px
;
background-color :
${
opts
.
BackgroundColor
}
;
border : .3px solid
${
opts
.
BorderColor
}
;
color :
${
opts
.
Color
}
;
display : flex
;
align-items : center
;
justify-content : center
;
border-radius : 3px
;
cursor : pointer
;
min-height : 25px
;
max-height : 25px
;
width : 70px
;
min-width : 70px
;
font-size : 12px
;
overflow : hidden
;
word-break : normal
;
`
}
}
...
...
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