Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7055471
styles.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
9 KB
Referenced Files
None
Subscribers
None
styles.less
View Options
/**
* Roundcube Webmail styles for the Elastic skin
*
* Copyright (c) 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 authors in the README.md file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
@
import
"global"
;
@
import
"layout"
;
@
import
"widgets/common"
;
@
import
"widgets/buttons"
;
@
import
"widgets/jqueryui"
;
@
import
"widgets/dialogs"
;
@
import
"widgets/menu"
;
@
import
"widgets/messages"
;
@
import
"widgets/lists"
;
@
import
"widgets/forms"
;
@
import
"widgets/editor"
;
/*** Login form ***/
.
task-login
{
#layout-content
{
text-align
:
center
;
width
:
100
%
;
display
:
block
;
}
#
logo
{
display
:
inline-block
;
position
:
relative
;
top
:
16
vh
;
max-height
:
100
px
;
}
}
#
login-form
{
margin
:
0
auto
;
top
:
20
vh
;
width
:
95
%
;
max-width
:
320
px
;
position
:
relative
;
//
Fixes
table
width
in
IE11
table,
tbody
{
display
:
block
;
}
//
Fixes
input
width
in
IE11
.
row
{
margin-right
:
0
;
margin-left
:
0
;
}
.
oauthlogin
{
margin-top
:
1
em
;
padding-top
:
1
em
;
}
.
formbuttons
+
.
oauthlogin
{
border-top
:
1
px
solid
#ccc
;
}
}
#
rcmloginsubmit
{
&:before
{
display
:
none
!important
;
}
}
#
login-footer
{
flex
:
1
;
color
:
@
color
-
black
-
shade-text
;
&
>
div
{
margin-top
:
1
rem
;
padding
:
1
rem
;
background
:
@
color
-
black
-
shade-bg
;
border-radius
:
.3
rem
;
}
}
#
login-addon
{
position
:
absolute
;
bottom
:
0
;
max-height
:
30
%
;
margin
:
1
rem
!important
;
width
:
auto
!important
;
overflow
:
auto
;
@media
screen
and
(
min-width
:
(
@
screen
-
width
-
small
+
1
px
))
{
max-width
:
@
screen
-
width
-
small
;
margin
:
auto
!important
;
bottom
:
1
rem
;
left
:
0
;
right
:
0
;
}
}
body
.
task-error-login
#
layout
{
#layout-menu,
#layout-content
>
.header
{
display
:
none
;
}
}
/*** Addressbook UI ***/
#
contactpic
{
width
:
@
layout-contact-icon-width
;
height
:
@
layout-contact-icon-height
;
border-radius
:
.5
rem
;
overflow
:
hidden
;
display
:
table-cell
;
vertical-align
:
middle
;
text-align
:
center
;
background-color
:
@
color
-
image-upload-background
;
img
{
max-width
:
@
layout-contact-icon-width
;
max-height
:
@
layout-contact-icon-height
;
}
}
#
contacthead
{
.names
{
margin-bottom
:
.5
rem
;
span.namefield
{
font-size
:
1.5
rem
;
font-weight
:
bold
;
line-height
:
1.2
;
}
}
&
.
readonly
{
.source.row
{
color
:
@
color
-
form-hint
;
font-size
:
90
%
;
margin-bottom
:
.25
rem
;
}
}
}
/*** Mail UI ***/
#
message-header
{
margin-bottom
:
1
rem
;
&
>
.subject
{
font-size
:
1.5
rem
;
font-weight
:
bold
;
body.status-flagged
&:before
{
&:extend(.font-icon-class)
;
display
:
inline
;
float
:
none
;
content
:
@
fa-var-flag
;
font-size
:
1
em
;
color
:
@
color
-
error
;
}
a
.
extwin
{
text-decoration
:
none
;
&:before
{
&:extend(.font-icon-class)
;
float
:
none
;
display
:
inline-block
;
font-size
:
75
%
;
line-height
:
1.5
;
margin
:
0
;
content
:
@
fa-var-external-link-square-alt
;
}
}
span
.
inner
{
display
:
none
;
}
}
&
>
.
header
{
display
:
flex
;
img.contactphoto
{
margin
:
0
1
rem
0
0
;
border-radius
:
50
%
;
width
:
@
mail-header-photo-height
;
height
:
@
mail-header-photo-height
;
object-fit
:
cover
;
background
:
@
color
-
image-upload-background
;
}
}
.
header-content
{
min-height
:
@
mail-header-photo-height
;
flex
:
1
;
&.details-view
{
.header-summary
{
display
:
none
;
}
.
header-headers
{
display
:
initial
;
}
}
}
.
header-summary
{
margin-top
:
.25
rem
;
&
>
span
{
display
:
inline-block
;
}
}
.
header-headers
{
display
:
none
;
.header-title
{
white-space
:
nowrap
;
color
:
@
color
-
black
-
shade-text
;
font-weight
:
bold
;
padding-right
:
1
rem
;
vertical-align
:
top
;
}
}
.
header-links
{
margin-top
:
.25
rem
;
a
{
font-size
:
90
%
;
margin-right
:
.5
rem
;
text-decoration
:
none
;
white-space
:
nowrap
;
display
:
inline-block
;
&:before
{
&:extend(.font-icon-class)
;
height
:
1.5
rem
;
line-height
:
1.3
;
}
&
.
headers-details
:
before
{
content
:
@
fa-var-envelope
;
}
&
.
headers-summary
:
before
{
.font-icon-regular(@fa-var-envelope)
;
}
&
.
headers-all
:
before
{
content
:
@
fa-var-info-circle
;
}
&
.
html
:
before
{
content
:
@
fa-var-image
;
}
&
.
plain
:
before
{
content
:
@
fa-var-align-justify
;
}
&
.
zipdownload
:
before
{
content
:
@
fa-var-download
;
}
}
}
}
.
message-partheaders
{
padding
:
.25
rem
.5
rem
;
margin
:
.5
rem
0
-.5
rem
0
;
border-top
:
1
px
solid
@
color
-
messagepart-border
;
background-color
:
@
color
-
messagepart-background
;
table.headers-table
{
font-size
:
90
%
;
color
:
@
color
-
mail-headers
;
.header-title
{
.overflow-ellipsis()
;
white-space
:
nowrap
;
max-width
:
8
em
;
font-weight
:
bold
;
padding-right
:
1
rem
;
vertical-align
:
top
;
}
.
subject
{
font-weight
:
bold
;
}
&
+
.
message-part
,
&
+
.
message-htmlpart
{
border-top
:
0
;
margin
:
0
;
}
}
}
#
message-content
{
.
attachmentslist
:
not
(
:
empty
)
{
margin-bottom
:
1
rem
;
}
}
#
messagebody
{
&.mailvelope
{
iframe
{
min-height
:
75
vh
;
}
}
}
.
message-part
,
.
message-htmlpart
{
padding-top
:
.5
rem
;
//
Fixes
absolute
positioned
mail
message
content
position
:
relative
;
&:not(:first-child)
{
border-top
:
1
px
solid
@
color
-
messagepart-border
;
margin-top
:
.5
rem
;
}
&
:
last-child
{
margin-bottom
:
.5
rem
;
}
div
.
rcmBody
{
//
Remove
margins
that
can
be
set
by
the
mail
message
styles
margin
:
0
auto
!important
;
}
blockquote
{
.overflow-ellipsis()
;
color
:
@
color
-
blockquote-0
;
border-left
:
2
px
solid
@
color
-
blockquote-0-border
;
border-right
:
2
px
solid
@
color
-
blockquote-0-border
;
background-color
:
@
color
-
blockquote-background
;
margin
:
2
px
0
;
padding
:
0
.4
em
;
blockquote
{
color
:
@
color
-
blockquote-1
;
border-left
:
2
px
solid
@
color
-
blockquote-1-border
;
border-right
:
2
px
solid
@
color
-
blockquote-1-border
;
blockquote
{
color
:
@
color
-
blockquote-2
;
border-left
:
2
px
solid
@
color
-
blockquote-2-border
;
border-right
:
2
px
solid
@
color
-
blockquote-2-border
;
}
}
span
.
blockquote-link
{
top
:
0
;
cursor
:
pointer
;
right
:
.5
rem
;
min-width
:
4
rem
;
padding
:
.2
rem
.25
rem
.2
rem
.5
rem
;
font-size
:
90
%
;
text-align
:
center
;
color
:
@
color
-
black
-
shade-text
;
background
:
@
color
-
black
-
shade-bg
;
border
:
1
px
solid
@
color
-
black
-
shade-border
;
border-radius
:
.3
rem
;
line-height
:
1
;
.font-family()
;
//
don't
inherit
monospace
font
&:after
{
&:extend(.font-icon-class)
;
content
:
@
fa-var-angle-down
;
display
:
inline-block
;
float
:
none
;
margin
:
0
;
font-size
:
90
%
;
}
&
.
collapsed
:
after
{
content
:
@
fa-var-angle-up
;
}
}
&
.
blockquote-header
{
text-overflow
:
ellipsis
!important
;
padding-right
:
5
rem
!important
;
}
}
}
.
message-part
{
span.sig
{
color
:
@
color
-
mail-signature
;
}
div
.
pre
{
font-family
:
monospace
;
font-size
:
13
px
;
}
}
#
compose-attachments
{
margin
:
1
rem
1
rem
0
1
rem
;
}
#
composestatusbar
{
opacity
:
.3
;
right
:
2.5
rem
;
@media
screen
and
(
min-width
:
(
@
screen
-
width
-
small
+
1
px
))
{
display
:
none
;
}
a
.
button
{
display
:
inline-block
;
&:before
{
line-height
:
@
layout-touch-header-height
;
font-size
:
1.25
rem
!important
;
}
}
}
/*** Settings UI ***/
//
A
default
icon
for
settings
menu
entries
added
by
plugins
.
settings-default-icon
{
tr
>
td.
section
:
:
before
,
li
>
a
:
before
{
content
:
@
fa-var-cog
;
}
}
&
when
(
@
dark-mode-enabled
=
true
)
{
@
import
"dark"
;
}
@
import
(
optional
)
"_styles"
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 12, 3:02 AM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
903970
Default Alt Text
styles.less (9 KB)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment