/** * 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 authors in the README.md file. * See http://creativecommons.org/licenses/by-sa/3.0/ for details. */ @import (reference) "fontawesome"; @import (reference) "colors"; @import (reference) "mixins"; /*** Fonts ***/ @font-face { font-family: 'Icons'; src: url("../fonts/fontawesome.woff2") format('woff2'), url("../fonts/fontawesome.woff") format('woff'); font-style: normal; font-weight: normal; font-variant: normal; text-decoration: inherit; text-transform: none; } /* roboto-regular - greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* roboto-italic - greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic */ @font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; src: local('Roboto Italic'), local('Roboto-Italic'), url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* roboto-700 - greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* roboto-700italic - greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic */ @font-face { font-family: 'Roboto'; font-style: italic; font-weight: 700; src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-v15-greek-ext_greek_latin_cyrillic-ext_latin-ext_cyrillic-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* E.g. for animated 'loading' icon */ @-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } /* Reset some Bootstrap style */ body, button, input, optgroup, select, textarea { font-family: Roboto, sans-serif; } button, input, select, textarea { line-height: initial; } input { vertical-align: middle; } a { color: @color-link; } a:hover { color: @color-link-hover; } @import "layout"; /*** Widgets ***/ @import "widgets/common"; @import "widgets/buttons"; @import "widgets/jqueryui"; @import "widgets/dialogs"; @import "widgets/taskmenu"; @import "widgets/messages"; @import "widgets/toolbar"; @import "widgets/searchbar"; @import "widgets/lists"; @import "widgets/forms"; @import "widgets/mail"; /*** Login form ***/ .task-login #layout > .content { text-align: center; width: 100%; background: url(../images/watermark.jpg) center -20px no-repeat; } #login-form { margin: auto; width: 95%; max-width: 280px; /* Fixes input width and position in IE11 */ .row { max-width: 280px; margin-right: 0; margin-left: 0; } } /*** Addressbook UI ***/ #contactpic { /* TODO: merge with file-upload? */ min-width: 112px; min-height: 112px; text-align: center; border-radius: 5px; overflow: hidden; img { max-width: 112px; max-height: 135px; } } #contacthead { .names { margin-bottom: .5rem; span.namefield { font-size: 1.5rem; font-weight: bold; line-height: 1.2; } } }