2018-08-31 14:26:42 +02:00
|
|
|
// Bootstrap variables and utilities.
|
|
|
|
@import "../../node_modules/bootstrap/scss/functions"
|
|
|
|
@import "../../node_modules/bootstrap/scss/variables"
|
|
|
|
@import "../../node_modules/bootstrap/scss/mixins"
|
|
|
|
|
2016-08-19 09:19:06 +02:00
|
|
|
@import _config
|
|
|
|
@import _utils
|
|
|
|
|
2018-08-31 14:26:42 +02:00
|
|
|
// Bootstrap components.
|
|
|
|
@import "../../node_modules/bootstrap/scss/root"
|
|
|
|
@import "../../node_modules/bootstrap/scss/reboot"
|
|
|
|
|
|
|
|
@import "../../node_modules/bootstrap/scss/type"
|
|
|
|
@import "../../node_modules/bootstrap/scss/images"
|
|
|
|
|
|
|
|
@import "../../node_modules/bootstrap/scss/code"
|
|
|
|
@import "../../node_modules/bootstrap/scss/grid"
|
|
|
|
@import "../../node_modules/bootstrap/scss/buttons"
|
|
|
|
@import "../../node_modules/bootstrap/scss/dropdown"
|
|
|
|
@import "../../node_modules/bootstrap/scss/custom-forms"
|
|
|
|
|
|
|
|
@import "../../node_modules/bootstrap/scss/nav"
|
|
|
|
@import "../../node_modules/bootstrap/scss/navbar"
|
|
|
|
|
2018-09-15 21:32:54 +02:00
|
|
|
@import "../../node_modules/bootstrap/scss/card"
|
2018-08-31 14:26:42 +02:00
|
|
|
@import "../../node_modules/bootstrap/scss/jumbotron"
|
|
|
|
@import "../../node_modules/bootstrap/scss/media"
|
|
|
|
@import "../../node_modules/bootstrap/scss/close"
|
|
|
|
@import "../../node_modules/bootstrap/scss/modal"
|
|
|
|
@import "../../node_modules/bootstrap/scss/tooltip"
|
|
|
|
|
|
|
|
@import "../../node_modules/bootstrap/scss/utilities"
|
|
|
|
|
|
|
|
// Pillar components.
|
|
|
|
@import "apps_base"
|
|
|
|
@import "components/base"
|
|
|
|
|
2018-09-15 21:32:54 +02:00
|
|
|
@import "components/card"
|
2018-08-31 14:26:42 +02:00
|
|
|
@import "components/jumbotron"
|
|
|
|
@import "components/navbar"
|
|
|
|
@import "components/dropdown"
|
|
|
|
@import "components/footer"
|
|
|
|
@import "components/shortcode"
|
|
|
|
@import "components/flyout"
|
|
|
|
@import "components/buttons"
|
|
|
|
@import "components/tooltip"
|
|
|
|
@import "components/overlay"
|
|
|
|
|
2016-08-19 09:19:06 +02:00
|
|
|
@import _comments
|
2018-09-14 17:29:13 +02:00
|
|
|
@import _notifications
|
2018-08-27 17:01:08 +02:00
|
|
|
|
2016-08-19 09:19:06 +02:00
|
|
|
#blog_container
|
2017-10-25 16:01:53 +02:00
|
|
|
+media-xs
|
|
|
|
flex-direction: column
|
|
|
|
padding-top: 0
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2018-01-17 15:55:25 +01:00
|
|
|
video
|
|
|
|
max-width: 100%
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
#blog_post-edit-form
|
|
|
|
padding: 20px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group
|
|
|
|
input, textarea, select
|
|
|
|
+input-generic
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&#fileupload
|
|
|
|
color: $color-info
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&.tags .select2-container
|
|
|
|
.select2-selection
|
|
|
|
+input-generic
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
select
|
|
|
|
text-transform: capitalize
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
label
|
|
|
|
+label-generic
|
|
|
|
text-transform: capitalize
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&.error
|
|
|
|
color: $color-danger
|
|
|
|
background-color: $color-background-light
|
|
|
|
padding: 10px 15px
|
|
|
|
border: thin solid lighten($color-danger, 10%)
|
|
|
|
border-top: 2px solid $color-danger
|
|
|
|
border-bottom-left-radius: 3px
|
|
|
|
border-bottom-right-radius: 3px
|
2016-08-19 09:19:06 +02:00
|
|
|
label
|
|
|
|
color: $color-danger
|
2017-10-25 16:01:53 +02:00
|
|
|
font-weight: 500
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&.file
|
|
|
|
background-color: $color-background-light
|
|
|
|
padding: 10px 15px
|
|
|
|
border: thin solid $color-background
|
|
|
|
border-top: 2px solid $color-info
|
|
|
|
border-bottom-left-radius: 3px
|
|
|
|
border-bottom-right-radius: 3px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-upload-progress
|
|
|
|
.form-upload-progress-bar
|
|
|
|
margin-top: 5px
|
|
|
|
background-color: $color-success
|
|
|
|
height: 5px
|
|
|
|
min-width: 0
|
|
|
|
border-radius: 3px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group
|
|
|
|
.node-preview-thumbnail
|
|
|
|
display: block
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&.attachments
|
|
|
|
+clearfix
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-control
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
|
|
|
border: none
|
|
|
|
list-style-type: none
|
|
|
|
+clearfix
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
label[for^='attachments-']
|
|
|
|
margin-top: 15px
|
|
|
|
font-weight: 400
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
div[id^='attachments-']
|
|
|
|
margin-bottom: 15px
|
|
|
|
border-top: thin solid $color-text-dark-hint
|
2016-08-19 09:19:06 +02:00
|
|
|
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group.description,
|
|
|
|
.form-group.summary,
|
|
|
|
.form-group.content
|
|
|
|
position: relative
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
textarea
|
|
|
|
width: 100%
|
|
|
|
min-height: 220px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
line-height: 1.5em
|
|
|
|
border: 1px solid $color-background-dark
|
|
|
|
border-radius: 3px
|
|
|
|
margin: 0 auto 10px auto
|
|
|
|
padding: 10px
|
|
|
|
color: $color-text-dark
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
transition: all 300ms ease-in-out
|
|
|
|
resize: vertical
|
2016-08-19 09:19:06 +02:00
|
|
|
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&:focus
|
|
|
|
border: 1px solid $color-info
|
|
|
|
outline: none
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&.field-error
|
|
|
|
border-color: $color-danger
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.md-preview-loading
|
|
|
|
position: absolute
|
|
|
|
left: 85px
|
|
|
|
padding-top: 5px
|
|
|
|
font-size: .9em
|
|
|
|
color: $color-text-dark-secondary
|
|
|
|
display: none
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.node-edit-form-md-preview
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
+markdown-preview-container
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&:before
|
|
|
|
content: 'Live Preview'
|
|
|
|
position: absolute
|
|
|
|
top: -25px
|
|
|
|
left: 20px
|
|
|
|
font-size: .7em
|
|
|
|
color: $color-text-dark-secondary
|
|
|
|
transition: color 150ms ease-in-out
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&:after
|
|
|
|
content: 'Markdown Supported'
|
|
|
|
position: absolute
|
|
|
|
top: -25px
|
|
|
|
right: 20px
|
|
|
|
font-size: .7em
|
|
|
|
color: $color-text-dark-hint
|
|
|
|
transition: color 150ms ease-in-out
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
&:empty
|
2016-08-19 09:19:06 +02:00
|
|
|
color: transparent
|
|
|
|
margin: 0 auto
|
|
|
|
padding: 0 10px
|
|
|
|
|
|
|
|
&:before, &:after
|
|
|
|
content: ''
|
|
|
|
color: transparent
|
|
|
|
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
#blog_post-create-container,
|
|
|
|
#blog_post-edit-container
|
|
|
|
padding: 25px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2018-09-06 12:11:18 +02:00
|
|
|
.blog_index-item
|
|
|
|
.item-picture
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
|
|
|
max-height: 350px
|
|
|
|
min-height: 200px
|
|
|
|
height: auto
|
|
|
|
overflow: hidden
|
|
|
|
border-top-left-radius: 3px
|
|
|
|
border-top-right-radius: 3px
|
|
|
|
+clearfix
|
|
|
|
|
|
|
|
img
|
|
|
|
+position-center-translate
|
|
|
|
width: 100%
|
|
|
|
border-top-left-radius: 3px
|
|
|
|
border-top-right-radius: 3px
|
|
|
|
|
|
|
|
+media-xs
|
|
|
|
min-height: 150px
|
|
|
|
+media-sm
|
|
|
|
min-height: 150px
|
|
|
|
+media-md
|
|
|
|
min-height: 250px
|
|
|
|
+media-lg
|
|
|
|
min-height: 250px
|
|
|
|
|
|
|
|
.item-content
|
|
|
|
+node-details-description
|
|
|
|
|
|
|
|
+media-xs
|
|
|
|
padding:
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
|
|
|
|
img
|
|
|
|
display: block
|
|
|
|
margin: 0 auto
|
|
|
|
|
|
|
|
.item-meta
|
|
|
|
color: $color-text-dark-secondary
|
|
|
|
padding:
|
|
|
|
left: 25px
|
|
|
|
right: 25px
|
|
|
|
|
|
|
|
+media-xs
|
|
|
|
padding:
|
|
|
|
left: 10px
|
|
|
|
right: 10px
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
#blog_index-container,
|
|
|
|
#blog_post-create-container,
|
|
|
|
#blog_post-edit-container
|
|
|
|
+container-box
|
|
|
|
width: 75%
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
+media-xs
|
|
|
|
border-radius: 0
|
|
|
|
width: 100%
|
|
|
|
clear: both
|
|
|
|
display: block
|
|
|
|
+media-sm
|
2018-04-16 14:33:38 +02:00
|
|
|
width: 100%
|
2017-10-25 16:01:53 +02:00
|
|
|
+media-md
|
2018-04-16 14:33:38 +02:00
|
|
|
width: 100%
|
2017-10-25 16:01:53 +02:00
|
|
|
+media-lg
|
2018-04-16 14:33:38 +02:00
|
|
|
width: 100%
|
2016-08-19 09:19:06 +02:00
|
|
|
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.item-picture+.button-back+.button-edit
|
|
|
|
right: 20px
|
|
|
|
top: 20px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
#blog_post-edit-form
|
|
|
|
padding: 0
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group
|
|
|
|
label
|
|
|
|
text-transform: capitalize
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group.content
|
|
|
|
.form-control
|
|
|
|
min-height: 350px
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group.url
|
|
|
|
label
|
|
|
|
text-transform: uppercase
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-group.picture
|
|
|
|
+text-overflow-ellipsis
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
img
|
|
|
|
display: block
|
|
|
|
max-width: 100%
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
a
|
|
|
|
display: block
|
|
|
|
padding: 10px 0
|
|
|
|
text-align: right
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.original a
|
|
|
|
color: $color-info
|
|
|
|
.delete a
|
|
|
|
color: $color-danger
|
2016-08-19 09:19:06 +02:00
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
.form-upload-file-meta
|
|
|
|
width: initial
|
2016-08-19 09:19:06 +02:00
|
|
|
|
|
|
|
#blog_post-edit-title
|
|
|
|
padding: 0
|
|
|
|
color: $color-text
|
|
|
|
font:
|
|
|
|
size: 1.8em
|
|
|
|
weight: 300
|
|
|
|
margin: 0 20px 15px 0
|
|
|
|
|
|
|
|
#blog_index-sidebar
|
|
|
|
width: 25%
|
|
|
|
padding: 0 15px
|
|
|
|
|
|
|
|
+media-xs
|
|
|
|
width: 100%
|
|
|
|
clear: both
|
|
|
|
display: block
|
|
|
|
margin-top: 25px
|
|
|
|
+media-sm
|
|
|
|
width: 40%
|
|
|
|
+media-md
|
|
|
|
width: 30%
|
|
|
|
+media-lg
|
|
|
|
width: 25%
|
|
|
|
|
|
|
|
.button-back
|
2017-10-25 16:01:53 +02:00
|
|
|
+button($color-info, 6px, true)
|
2016-08-19 09:19:06 +02:00
|
|
|
display: block
|
|
|
|
width: 100%
|
|
|
|
margin: 15px 0 0 0
|
|
|
|
|
|
|
|
#blog_post-edit-form
|
|
|
|
.form-group
|
|
|
|
.form-control
|
|
|
|
background-color: white
|
|
|
|
|
|
|
|
.blog_index-sidebar,
|
|
|
|
.blog_project-sidebar
|
|
|
|
+container-box
|
|
|
|
background-color: lighten($color-background, 5%)
|
|
|
|
padding: 20px
|
|
|
|
|
|
|
|
.blog_project-card
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
|
|
|
border-radius: 3px
|
|
|
|
overflow: hidden
|
|
|
|
background-color: white
|
|
|
|
color: lighten($color-text, 10%)
|
|
|
|
box-shadow: 0 0 30px rgba(black, .2)
|
|
|
|
|
|
|
|
margin:
|
|
|
|
top: 0
|
|
|
|
bottom: 15px
|
|
|
|
left: auto
|
|
|
|
right: auto
|
|
|
|
|
|
|
|
|
|
|
|
a.item-header
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
|
|
|
height: 100px
|
|
|
|
display: block
|
|
|
|
background-size: 100% 100%
|
|
|
|
|
|
|
|
overflow: hidden
|
|
|
|
|
|
|
|
.overlay
|
|
|
|
z-index: 1
|
|
|
|
width: 100%
|
|
|
|
height: 100px
|
|
|
|
@include overlay(transparent, 0%, white, 100%)
|
|
|
|
|
|
|
|
|
|
|
|
img.background
|
|
|
|
width: 100%
|
|
|
|
transform: scale(1.4)
|
|
|
|
|
|
|
|
.card-thumbnail
|
|
|
|
position: absolute
|
|
|
|
z-index: 2
|
|
|
|
height: 90px
|
|
|
|
width: 90px
|
|
|
|
display: block
|
|
|
|
top: 35px
|
|
|
|
left: 50%
|
|
|
|
transform: translateX(-50%)
|
|
|
|
background-color: white
|
|
|
|
border-radius: 3px
|
|
|
|
overflow: hidden
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
img.thumb
|
|
|
|
opacity: .9
|
|
|
|
|
|
|
|
img.thumb
|
|
|
|
width: 100%
|
|
|
|
border-radius: 3px
|
|
|
|
transition: opacity 150ms ease-in-out
|
|
|
|
+position-center-translate
|
|
|
|
|
|
|
|
.item-info
|
|
|
|
padding: 10px 20px
|
|
|
|
background-color: white
|
|
|
|
border-bottom-left-radius: 3px
|
|
|
|
border-bottom-right-radius: 3px
|
|
|
|
|
|
|
|
a.item-title
|
|
|
|
display: inline-block
|
|
|
|
width: 100%
|
|
|
|
padding: 30px 0 15px 0
|
|
|
|
color: $color-text-dark
|
|
|
|
text-align: center
|
|
|
|
font:
|
|
|
|
size: 1.6em
|
|
|
|
weight: 300
|
|
|
|
|
|
|
|
transition: color 150ms ease-in-out
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
color: $color-primary
|
|
|
|
|
2017-10-25 15:48:30 +02:00
|
|
|
|
2018-09-06 12:11:18 +02:00
|
|
|
// Specific tweaks for blogs in the context of a project.
|
2017-10-25 16:01:53 +02:00
|
|
|
#project_context
|
|
|
|
.blog_index-item
|
|
|
|
+media-xs
|
|
|
|
margin-left: 0
|
|
|
|
padding: 0
|
|
|
|
margin-left: 10px
|
|
|
|
|
2017-10-25 17:45:46 +02:00
|
|
|
&.list
|
|
|
|
margin-left: 35px !important
|
|
|
|
|
|
|
|
.item-title,
|
|
|
|
.item-info
|
2017-10-25 18:43:19 +02:00
|
|
|
+media-xs
|
|
|
|
padding-left: 0
|
2017-10-25 17:45:46 +02:00
|
|
|
padding-left: 25px
|
|
|
|
|
2017-10-25 16:01:53 +02:00
|
|
|
#blog_container
|
|
|
|
.comments-container
|
2017-10-25 18:43:19 +02:00
|
|
|
+media-sm
|
|
|
|
margin-left: 10px
|
2017-10-25 16:01:53 +02:00
|
|
|
margin-left: 30px
|
2017-10-25 17:45:46 +02:00
|
|
|
|
|
|
|
.blog-archive-navigation
|
|
|
|
margin-left: 35px
|