Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Typing Monkey
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Experiments Labs
Typing Monkey
Commits
e6f21c79
Commit
e6f21c79
authored
Aug 15, 2019
by
Manuel Tancoigne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move styles in external stylesheets
parent
a38807c8
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
183 additions
and
180 deletions
+183
-180
src/App.vue
src/App.vue
+1
-3
src/components/Logo.vue
src/components/Logo.vue
+0
-43
src/components/TemplateListItem.vue
src/components/TemplateListItem.vue
+0
-22
src/components/template_renderer/Block.vue
src/components/template_renderer/Block.vue
+0
-8
src/stylesheets/app.scss
src/stylesheets/app.scss
+11
-0
src/stylesheets/app/_alert.scss
src/stylesheets/app/_alert.scss
+3
-0
src/stylesheets/app/_code.scss
src/stylesheets/app/_code.scss
+62
-0
src/stylesheets/app/_html.scss
src/stylesheets/app/_html.scss
+7
-0
src/stylesheets/app/_layout.scss
src/stylesheets/app/_layout.scss
+4
-0
src/stylesheets/app/_lists.scss
src/stylesheets/app/_lists.scss
+19
-0
src/stylesheets/app/_renderer.scss
src/stylesheets/app/_renderer.scss
+27
-0
src/stylesheets/app/elements/_block.scss
src/stylesheets/app/elements/_block.scss
+6
-0
src/stylesheets/app/elements/_logo.scss
src/stylesheets/app/elements/_logo.scss
+43
-0
src/views/Help.vue
src/views/Help.vue
+0
-69
src/views/Renderer.vue
src/views/Renderer.vue
+0
-35
No files found.
src/App.vue
View file @
e6f21c79
...
...
@@ -53,7 +53,5 @@ export default {
</
script
>
<
style
lang=
"scss"
>
html
{
background-color
:
#F8F9FA
;
}
@import
"stylesheets/app"
;
</
style
>
src/components/Logo.vue
View file @
e6f21c79
...
...
@@ -33,46 +33,3 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
>
$logo-size-navbar
:
2rem
;
.logo
{
&
_background
{
fill
:
transparent
;
}
&
_computer
,
&
_monkey
,
&
_interrogation
{
fill
:
whitesmoke
;
}
&
_interrogation
{
display
:
none
;
}
&
--navbar
{
vertical-align
:
middle
;
height
:
$logo-size-navbar
;
width
:
$logo-size-navbar
;
}
&
--home
{
width
:
100%
;
height
:
auto
;
.logo_computer
,
.logo_monkey
{
fill
:
#EEE
;
}
}
&
--404
{
.logo_interrogation
{
display
:
block
;
}
.logo_computer
{
display
:
none
;
}
}
}
</
style
>
src/components/TemplateListItem.vue
View file @
e6f21c79
...
...
@@ -25,25 +25,3 @@ export default {
}
,
}
<
/script
>
<
style
lang
=
"
scss
"
>
dl
.
infos
{
margin
:
0
;
&--
inline
{
dt
{
margin
-
right
:
.
5
rem
;
}
dd
{
margin
:
0
;
}
dt
,
dd
{
display
:
inline
-
block
;
padding
:
0
;
}
}
}
<
/style
>
src/components/template_renderer/Block.vue
View file @
e6f21c79
...
...
@@ -36,11 +36,3 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
>
.block
{
>
.block
{
margin-left
:
1em
;
}
}
</
style
>
src/stylesheets/app.scss
0 → 100644
View file @
e6f21c79
// Base
@import
"app/alert"
;
@import
"app/code"
;
@import
"app/html"
;
@import
"app/layout"
;
@import
"app/lists"
;
@import
"app/renderer"
;
// Components
@import
"app/elements/block"
;
@import
"app/elements/logo"
;
// Other libs
src/stylesheets/app/_alert.scss
0 → 100644
View file @
e6f21c79
.alert
{
margin-bottom
:
1rem
;
}
src/stylesheets/app/_code.scss
0 → 100644
View file @
e6f21c79
.code
{
&
-content
{
color
:
lighten
(
#333
,
40%
);
}
&
-block
{
$color
:
#796036
;
color
:
$color
;
&
-name
{
color
:
lighten
(
$color
,
20%
);
}
&
-description
{
color
:
lighten
(
$color
,
40%
);
}
}
&
-var
{
$color
:
#594f79
;
color
:
$color
;
&
-name
{
color
:
lighten
(
$color
,
20%
);
}
&
-description
{
color
:
lighten
(
$color
,
40%
);
}
&
type
{
color
:
$color
}
}
&
-condition
{
$color
:
#407935
;
color
:
$color
;
&
-type
{
color
:
lighten
(
$color
,
20%
);
}
&
-block
{
color
:
lighten
(
$color
,
40%
);
}
}
&
-number
{
$color
:
#436fce
;
color
:
$color
;
}
&
-shortcode
{
$color
:
#ce485b
;
color
:
#ce485b
;
&
-name
{
color
:
lighten
(
$color
,
30%
)
}
}
}
src/stylesheets/app/_html.scss
0 → 100644
View file @
e6f21c79
html
{
background-color
:
#F8F9FA
;
}
table
{
width
:
100%
;
}
src/stylesheets/app/_layout.scss
0 → 100644
View file @
e6f21c79
#app
{
height
:
100vh
;
overflow
:
hidden
;
}
src/stylesheets/app/_lists.scss
0 → 100644
View file @
e6f21c79
dl
.infos
{
margin
:
0
;
&
--inline
{
dt
{
margin-right
:
.5rem
;
}
dd
{
margin
:
0
;
}
dt
,
dd
{
display
:
inline-block
;
padding
:
0
;
}
}
}
src/stylesheets/app/_renderer.scss
0 → 100644
View file @
e6f21c79
.render-page
{
&
__raw
pre
{
font-size
:
.8em
;
background
:
#CCC
;
padding
:
1rem
;
}
&
__render
{
box-shadow
:
0
0
6px
0
rgba
(
#333
,
.3
);
padding
:
1rem
;
}
&
__main-content
{
max-height
:
calc
(
100vh
-
13rem
);
overflow-y
:
auto
;
}
&
__aside
{
width
:
20rem
!
important
;
background-color
:
whitesmoke
!
important
;
margin-top
:
-1rem
;
margin-bottom
:
-1rem
;
padding-top
:
1rem
;
padding-bottom
:
1rem
;
}
}
src/stylesheets/app/elements/_block.scss
0 → 100644
View file @
e6f21c79
// Used in aside of the renderer to display sections
.block
{
>
.block
{
margin-left
:
1em
;
}
}
src/stylesheets/app/elements/_logo.scss
0 → 100644
View file @
e6f21c79
$logo-size-navbar
:
2rem
;
.logo
{
&
_background
{
fill
:
transparent
;
}
&
_computer
,
&
_monkey
,
&
_interrogation
{
fill
:
whitesmoke
;
}
&
_interrogation
{
display
:
none
;
}
&
--navbar
{
vertical-align
:
middle
;
height
:
$logo-size-navbar
;
width
:
$logo-size-navbar
;
}
&
--home
{
width
:
100%
;
height
:
auto
;
.logo_computer
,
.logo_monkey
{
fill
:
#EEE
;
}
}
&
--404
{
.logo_interrogation
{
display
:
block
;
}
.logo_computer
{
display
:
none
;
}
}
}
src/views/Help.vue
View file @
e6f21c79
...
...
@@ -183,72 +183,3 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
>
.alert
{
margin-bottom
:
1rem
;
}
.code
{
&
-content
{
color
:
lighten
(
#333
,
40%
);
}
&
-block
{
$color
:
#796036
;
color
:
$color
;
&
-name
{
color
:
lighten
(
$color
,
20%
);
}
&
-description
{
color
:
lighten
(
$color
,
40%
);
}
}
&
-var
{
$color
:
#594f79
;
color
:
$color
;
&
-name
{
color
:
lighten
(
$color
,
20%
);
}
&
-description
{
color
:
lighten
(
$color
,
40%
);
}
&
type
{
color
:
$color
}
}
&
-condition
{
$color
:
#407935
;
color
:
$color
;
&
-type
{
color
:
lighten
(
$color
,
20%
);
}
&
-block
{
color
:
lighten
(
$color
,
40%
);
}
}
&
-number
{
$color
:
#436fce
;
color
:
$color
;
}
&
-shortcode
{
$color
:
#ce485b
;
color
:
#ce485b
;
&
-name
{
color
:
lighten
(
$color
,
30%
)
}
}
}
</
style
>
src/views/Renderer.vue
View file @
e6f21c79
...
...
@@ -134,38 +134,3 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
>
.source
{
display
:
none
;
}
.raw
pre
{
font-size
:
.8em
;
background
:
#CCC
;
padding
:
1rem
;
}
.render
{
box-shadow
:
0
0
6px
0
rgba
(
#333
,
.3
);
padding
:
1rem
;
}
.main-content
{
max-height
:
calc
(
100vh
-
13rem
);
overflow-y
:
auto
;
}
.aside
{
width
:
20rem
!
important
;
background-color
:
whitesmoke
!
important
;
margin-top
:
-1rem
;
margin-bottom
:
-1rem
;
padding-top
:
1rem
;
padding-bottom
:
1rem
;
}
table
{
width
:
100%
;
}
</
style
>
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