Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
e9a8e1b1
Commit
e9a8e1b1
authored
Aug 09, 2017
by
Benjamin Fischer
Browse files
FileManager: increased line height in icons view
parent
f49de5c0
Changes
2
Show whitespace changes
Inline
Side-by-side
vispa/extensions/file2/static/css/style.css
View file @
e9a8e1b1
...
...
@@ -60,15 +60,15 @@
.file2.browser
>
.item-container.icons.dropok
{
background-color
:
#bf6
!important
}
.file2.browser
>
.item-container.icons.dropok
>
.items
>
.item
{
background
:
0
0
}
.file2.browser
>
.item-container.icons
>
.items
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-flex-flow
:
row
wrap
;
-ms-flex-flow
:
row
wrap
;
flex-flow
:
row
wrap
;
-webkit-box-pack
:
start
;
-webkit-justify-content
:
flex-start
;
-ms-flex-pack
:
start
;
justify-content
:
flex-start
;
-webkit-box-align
:
stretch
;
-webkit-align-items
:
stretch
;
-ms-flex-align
:
stretch
;
align-items
:
stretch
;
-webkit-align-content
:
flex-start
;
-ms-flex-line-pack
:
start
;
align-content
:
flex-start
;
padding
:
.5em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
{
-webkit-box-flex
:
7.5em
;
-webkit-flex
:
7.5em
0
0
;
-ms-flex
:
7.5em
0
0
;
flex
:
7.5em
0
0
;
max-width
:
7.5em
;
margin
:
.3
6
em
;
padding
:
.2
4
em
;
border-radius
:
.6em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
{
-webkit-box-flex
:
7.5em
;
-webkit-flex
:
7.5em
0
0
;
-ms-flex
:
7.5em
0
0
;
flex
:
7.5em
0
0
;
max-width
:
7.5em
;
margin
:
.3
75
em
;
padding
:
.2
5
em
;
border-radius
:
.6
25
em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
:hover
{
background-color
:
#fafafa
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
:hover
>
.icon
>
input
{
opacity
:
.7
}
.file2.browser
>
.item-container.icons
>
.items
>
.item.selected
{
background-color
:
#ccf
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
{
height
:
3.
72
em
;
position
:
relative
;
text-align
:
center
;
padding
:
.3
6
em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
i
{
font-size
:
3em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
input
{
width
:
1.2em
;
height
:
1.2em
;
position
:
absolute
;
top
:
0
;
left
:
0
;
margin
:
0
;
opacity
:
.2
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
{
height
:
3.
875
em
;
position
:
relative
;
text-align
:
center
;
padding
:
.3
75
em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
i
{
font-size
:
3
.125
em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
input
{
width
:
1.2
5
em
;
height
:
1.2
5
em
;
position
:
absolute
;
top
:
0
;
left
:
0
;
margin
:
0
;
opacity
:
.2
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
input
:checked
{
opacity
:
1
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.name
{
text-align
:
center
;
overflow-wrap
:
break-word
;
display
:
block
;
display
:
-webkit-box
;
max-height
:
3.
6
em
;
margin
:
0
auto
;
line-height
:
1.2em
;
-webkit-line-clamp
:
3
;
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.name
{
text-align
:
center
;
overflow-wrap
:
break-word
;
display
:
block
;
display
:
-webkit-box
;
max-height
:
3.
75
em
;
margin
:
0
auto
;
line-height
:
1.2
5
em
;
-webkit-line-clamp
:
3
;
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.file2.browser
>
.filter
{
position
:
absolute
;
background
:
#fff
;
z-index
:
25
;
bottom
:
0
;
left
:
25px
;
border
:
1px
solid
#000
;
border-radius
:
3px
3px
0
0
;
border-bottom
:
0
;
padding
:
2px
}
.file2.browser
>
.filter
>
.count
{
display
:
inline-block
;
min-width
:
35px
;
padding
:
0
1px
}
.file2.browser
>
.filter
>
.count
>
i
{
margin
:
0
2px
}
...
...
vispa/extensions/file2/static/css/style.less
View file @
e9a8e1b1
...
...
@@ -7,8 +7,8 @@
@icons-max-lines: 3;
@icons-icon-padding: 0.3;
@icons-icon-lines: 2.5;
@icons-line-height: 1.2em;
@icons-select-size: 1.2em;
@icons-line-height: 1.2
5
em;
@icons-select-size: 1.2
5
em;
@navbar-height: 30px;
@item-color-base: #ffffff;
...
...
Write
Preview
Supports
Markdown
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