mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-21 21:51:48 +00:00
update electron window
This commit is contained in:
59
electron_src/styles/_popup.styl
Normal file
59
electron_src/styles/_popup.styl
Normal file
@@ -0,0 +1,59 @@
|
||||
.popup-body
|
||||
.search-block
|
||||
padding: 5px
|
||||
height:44px
|
||||
position:absolute
|
||||
top: 0
|
||||
width: 100%
|
||||
|
||||
.result-block
|
||||
position:absolute
|
||||
top: 44px
|
||||
bottom: 0
|
||||
width: 100%
|
||||
overflow: hidden
|
||||
.left-pane
|
||||
margin: 0
|
||||
position: absolute
|
||||
left: 0
|
||||
top: 0
|
||||
bottom: 0
|
||||
width: 40%
|
||||
overflow-y: auto
|
||||
overflow-x: hidden
|
||||
.result-list
|
||||
list-style:none
|
||||
padding: 0
|
||||
border-right: 1px solid $border-color
|
||||
li
|
||||
&:nth-child(even)
|
||||
background-color $baseBackgroundColor
|
||||
&:nth-child(odd)
|
||||
background-color lighten($baseBackgroundColor, 2%)
|
||||
&.active
|
||||
color: $textColorSelected
|
||||
background-color: $btnPrimary
|
||||
a
|
||||
display:block
|
||||
padding: 5px 10px
|
||||
border-bottom 1px solid $baseBorderColor
|
||||
|
||||
.right-pane
|
||||
position: absolute
|
||||
left: 40%
|
||||
top: 0
|
||||
bottom: 0
|
||||
width: 60%
|
||||
overflow-y: auto
|
||||
overflow-x: hidden
|
||||
.result-detail-control
|
||||
position: absolute
|
||||
top: 0
|
||||
width: 100%
|
||||
height: 34px
|
||||
|
||||
.result-detail-content
|
||||
position: absolute
|
||||
top: 34px
|
||||
bottom: 0
|
||||
width: 100%
|
||||
13
electron_src/styles/main.styl
Normal file
13
electron_src/styles/main.styl
Normal file
@@ -0,0 +1,13 @@
|
||||
@import '../../src/styles/_vars'
|
||||
@import '../../src/styles/mixins/*'
|
||||
|
||||
@import '../../src/styles/_bootstrap'
|
||||
|
||||
@import '../../src/styles/_index'
|
||||
@import '../../src/styles/_shared'
|
||||
|
||||
@import '../../src/styles/modals/*'
|
||||
@import '../../src/styles/directives/*'
|
||||
@import '../../src/styles/states/*'
|
||||
|
||||
@import '_popup'
|
||||
Reference in New Issue
Block a user