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
8327ad40
Commit
8327ad40
authored
Aug 10, 2017
by
Benjamin Fischer
Browse files
FileManager: modified icons text line size
parent
9a42df3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
vispa/extensions/file2/static/css/style.css
View file @
8327ad40
...
...
@@ -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
7
5em
;
padding
:
.2
5
em
;
border-radius
:
.
62
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
4
5em
;
padding
:
.2
3
em
;
border-radius
:
.
57
5em
}
.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.
87
5em
;
position
:
relative
;
text-align
:
center
;
padding
:
.3
7
5em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
i
{
font-size
:
3.12
5em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
{
height
:
3.
56
5em
;
position
:
relative
;
text-align
:
center
;
padding
:
.3
4
5em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
i
{
font-size
:
2.87
5em
}
.file2.browser
>
.item-container.icons
>
.items
>
.item
>
.icon
>
input
{
width
:
1.25em
;
height
:
1.25em
;
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.
7
5em
;
margin
:
0
auto
;
line-height
:
1.
2
5em
;
-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.
4
5em
;
margin
:
.15em
;
line-height
:
1.
1
5em
;
-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 @
8327ad40
...
...
@@ -7,7 +7,7 @@
@icons-max-lines: 3;
@icons-icon-padding: 0.3;
@icons-icon-lines: 2.5;
@icons-line-height: 1.
2
5em;
@icons-line-height: 1.
1
5em;
@icons-select-size: 1.25em;
@navbar-height: 30px;
...
...
@@ -323,7 +323,7 @@
display: -webkit-box;
// max-width: 100%;
max-height: @icons-line-height * @icons-max-lines;
margin: 0
auto
;
margin: 0
.15em
;
line-height: @icons-line-height;
-webkit-line-clamp: @icons-max-lines;
-webkit-box-orient: vertical;
...
...
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