Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F6064798
forms.less
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
5 KB
Referenced Files
None
Subscribers
None
forms.less
View Options
/**
* Roundcube webmail styles for the Elastic skin
*
* Copyright (c) 2017, The Roundcube Dev Team
*
* The contents are subject to the Creative Commons Attribution-ShareAlike
* License. It is allowed to copy, distribute, transmit and to adapt the work
* by keeping credits to the original autors in the README file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
/*** Common form elements ***/
#
uploadform
{
display
:
none
;
}
form
.
smart-upload
,
input
.
smart-upload
{
visibility
:
hidden
;
width
:
1
px
;
height
:
1
px
;
opacity
:
0
;
}
/* TODO: review when decided what css framework to use */
.
propform
:
not
(
.
popupmenu
)
{
width
:
100
%
;
}
/* Forms fixes for IE and Edge */
html
.
ms
.
propform
{
.
row
:
not
(
.
form
-check
)
>
td
{
display
:
flex
;
}
@
media
screen
and
(
min-width
:
576px
)
{
.
row
.
form-check
>
td
{
display
:
flex
;
}
}
@
media
screen
and
(
max-width
:
575px
)
{
.
row
{
display
:
block
;
}
}
}
.
formcontent
{
padding
:
1
em
;
.row
{
margin-right
:
0
;
/* without these the form is too wide causing horizontal scrollbar appearence */
margin-left
:
0
;
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9
{
/* overwrite Bootstrap's redundant padding */
padding-right
:
0
;
padding-left
:
0
;
}
}
.
row
.
form-check
{
padding-right
:
0
;
/* without these e.g. inputs in compose screen are not aligned properly */
@media
screen
and
(
min-width
:
576
px
)
{
display
:
flex
;
/* https://github.com/twbs/bootstrap/issues/22348 */
}
/* fixed checkbox vertical alignment */
td
:
not
(
.
col-form-label
)
{
padding-top
:
~
"calc(.5rem - 1px * 2)"
;
padding-bottom
:
~
"calc(.5rem - 1px * 2)"
;
}
.
form-check-input
{
margin-left
:
0
;
/* fixes checkbox alignment with other inputs in a form */
}
}
td
.
form-control-plaintext
{
padding-top
:
~
"calc(1rem - 1px * 2)"
;
padding-bottom
:
~
"calc(1rem - 1px * 2)"
;
}
}
.
formbuttons
{
padding
:
0
1
em
1
em
1
em
;
}
/* Some common icons for "iconized inputs" */
.
input-group-addon
.
icon
{
text-decoration
:
none
;
&:before
{
&:extend(.font-icon-class)
;
margin
:
0
;
line-height
:
1
;
}
&
.
user
:
before
{
content
:
@
fa-var-user
;
}
&
.
pass
:
before
{
content
:
@
fa-var-lock
;
}
&
.
host
:
before
{
content
:
@
fa-var-home
;
}
&
.
cancel
:
before
{
content
:
@
fa-var-close
;
}
&
.
edit
:
before
{
content
:
@
fa-var-pencil
;
}
&
.
add
:
before
{
content
:
@
fa-var-plus
;
}
.
inner
{
display
:
none
;
}
}
td
.
editfield
{
width
:
99
%
;
/* TODO */
}
/*** Forms in popups ***/
.
popupmenu
.
form
{
margin
:
0.5
rem
;
ul
{
list-style-type
:
none
;
padding
:
0
;
}
.
buttons
{
text-align
:
center
;
}
}
/*** Files upload widget with list of files, upload form and drop area ***/
.
file-upload
{
/* TODO */
padding
:
1
em
1
em
12
em
;
margin
:
1
em
;
background-color
:
#f4f4f4
;
.upload-form
{
text-align
:
center
;
padding-bottom
:
1
em
;
}
.
hint
{
margin-bottom
:
.5
rem
;
}
.
attachmentslist
{
padding
:
0
;
list-style
:
none
;
li
{
display
:
block
;
padding-bottom
:
.5
em
;
}
}
&
.
droptarget
{
&.hover
{
}
&
.
active
{
}
}
}
/*** Smart recipient input field ***/
.
recipient-input
{
display
:
block
!important
;
/* overwrites Bootstrap */
min-height
:
2.4
em
;
overflow
:
hidden
;
/* padding: 0.2em 0.5em; */
.recipient
{
border
:
1
px
solid
#ddd
;
/* TODO */
background-color
:
#f4f4f4
;
/* TODO */
border-radius
:
0.25
em
;
padding
:
0
0.25
em
;
margin-right
:
0.2
em
;
display
:
inline-block
;
white-space
:
nowrap
;
}
.
name
{
max-width
:
25
em
;
display
:
inline-block
;
line-height
:
1.1
;
padding
:
0.25
em
;
vertical-align
:
middle
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.
email
{
text-indent
:
-5000
rem
;
display
:
inline-block
;
width
:
0
;
}
.
quotes
{
position
:
absolute
;
width
:
0
;
opacity
:
0
;
}
a
.
button
.
icon
{
font-size
:
0.8
em
;
cursor
:
pointer
;
&:before
{
float
:
none
;
display
:
inline-block
;
width
:
1
em
;
margin
:
0
;
}
}
}
/*** Skin selection widget ***/
.
skinselection
{
white-space
:
nowrap
;
display
:
table-row
;
&
>
span
{
display
:
table-cell
;
vertical-align
:
middle
;
padding
:
0.1
em
0.5
em
;
white-space
:
normal
;
&:last-child
{
padding-right
:
0
;
}
}
.
skinname
{
font-weight
:
bold
;
}
.
skinlicense
,
.
skinlicense
a
{
font-style
:
italic
;
text-decoration
:
none
;
}
.
skinlicense
a
:
hover
{
text-decoration
:
underline
;
}
.
skinthumbnail
{
width
:
64
px
;
height
:
64
px
;
border
:
1
px
solid
#ccc
;
/* TODO */
background
:
#fff
;
border-radius
:
4
px
;
}
}
/*** Image upload widget ***/
.
image-upload
{
position
:
relative
;
overflow
:
hidden
;
cursor
:
pointer
;
a.button
{
display
:
none
;
position
:
absolute
;
left
:
0
;
right
:
0
;
background-color
:
rgba
(
255
,
255
,
255
,
0.85
);
border-radius
:
5
px
;
width
:
2.5
em
;
padding
:
0.5
em
;
margin
:
0.5
em
;
}
&
.
changed
a
.
button
{
display
:
inline
;
}
}
/*** TinyMCE editor ***/
.
mce-tinymce
.
mce-container
.
mce-panel
{
border-radius
:
0.25
rem
;
overflow
:
hidden
;
}
File Metadata
Details
Attached
Mime Type
text/x-asm
Expires
Fri, May 22, 4:27 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
783037
Default Alt Text
forms.less (5 KB)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment