mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 23:51:23 +00:00
Style the plain-text Mail editor
Style Contacts Style Contact editor (buggy) Change postcss config
This commit is contained in:
committed by
Francis Lachapelle
parent
79a0a3684c
commit
4185cc37fe
@@ -1,352 +1,424 @@
|
||||
<?xml version='1.0' standalone='yes'?>
|
||||
<container xmlns="http://www.w3.org/1999/xhtml" xmlns:var="http://www.skyrix.com/od/binding" xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label">
|
||||
|
||||
<md-content md-scroll-y="true">
|
||||
<md-content md-scroll-y="true" class="md-padding">
|
||||
<div class="editor md-padding" style="padding-bottom: 72px">
|
||||
<hgroup class="header">
|
||||
<h1 data-ng-bind-html="card.$fullname()"><!-- fullname --></h1>
|
||||
<h1 class="sg-md-display-1" data-ng-bind-html="card.$fullname()"><!-- fullname --></h1>
|
||||
<h6>{{card.$description()}}
|
||||
<span class="label radius" data-ng-repeat="category in card.categories">{{category.value}}</span>
|
||||
</h6>
|
||||
</hgroup>
|
||||
<form name="cardForm" data-ng-show="card.$isCard()" data-ng-submit="save(cardForm)">
|
||||
<md-input-container>
|
||||
<var:entity const:name="nbsp" />
|
||||
<label>
|
||||
<var:string label:value="Display" />
|
||||
</label>
|
||||
<input type="text" ng-maxlength="30" data-ng-model="card.fn" />
|
||||
</md-input-container>
|
||||
<md-input-container>
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<label class="">
|
||||
<var:string label:value="Firstname" />
|
||||
</label>
|
||||
<input type="text" data-ng-model="card.givenname" />
|
||||
</md-input-container>
|
||||
<md-input-container>
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<label class="right inline">
|
||||
<var:string label:value="Lastname" />
|
||||
</label>
|
||||
<input type="text" data-ng-model="card.sn" />
|
||||
</md-input-container>
|
||||
<md-input-container>
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<label class="right inline">
|
||||
<var:string label:value="Nickname" />
|
||||
</label>
|
||||
<input type="text" data-ng-model="card.nickname" />
|
||||
</md-input-container>
|
||||
<md-input-container>
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<label class="right inline">
|
||||
<var:string label:value="Organization" />
|
||||
</label>
|
||||
<input type="text" data-ng-model="card.org" />
|
||||
</md-input-container>
|
||||
<md-input-container>
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<label class="right inline">
|
||||
<var:string label:value="Title" />
|
||||
</label>
|
||||
<input type="text" data-ng-model="card.title" />
|
||||
</md-input-container>
|
||||
<form name="cardForm" data-ng-show="card.$isCard()" data-ng-submit="save(cardForm)">
|
||||
<div class="PseudoField">
|
||||
<var:entity const:name="nbsp"/>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Display"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" ng-maxlength="30" data-ng-model="card.fn"/>
|
||||
</p>
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Firstname"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="card.givenname"/>
|
||||
</p>
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Lastname"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="card.sn"/>
|
||||
</p>
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Nickname"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="card.nickname"/>
|
||||
</p>
|
||||
|
||||
<!-- org units -->
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Organization"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="card.org"/>
|
||||
</p>
|
||||
|
||||
<fieldset class="section">
|
||||
<div class="attr" data-ng-repeat="unit in card.orgUnits">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('orgUnits', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<md-input-container>
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Organization Unit" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" label:placeholder="unit" data-ng-model="unit.value" data-sg-focus-on="orgUnit_{{$index}}" />
|
||||
</div>
|
||||
</md-input-container>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addOrgUnit()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="Add Organizational Unit" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- birthday -->
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Title"/>
|
||||
</label>
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="card.title"/>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- org units -->
|
||||
<div class="PseudoField">
|
||||
<div class="attr" data-ng-repeat="unit in card.orgUnits">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('orgUnits', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="PseudoField">
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Birthday" />
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Organization Unit"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" data-ng-model="card.birthday" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- categories -->
|
||||
<div class="section">
|
||||
<!-- if there's some categories, here they are (this is sort of a template) -->
|
||||
<div class="attr" data-ng-repeat="category in card.categories">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="unit" data-ng-model="unit.value"
|
||||
data-sg-focus-on="orgUnit_{{$index}}"/>
|
||||
</p>
|
||||
|
||||
<md-input-container>
|
||||
<fieldset class="bgroup" layout="row">
|
||||
<b class="md-icon-remove-circle md-flex" data-ng-click="card.$delete('categories', $index)">
|
||||
<!-- remove --></b>
|
||||
<!--<div class="key">-->
|
||||
<label class="md-flex">
|
||||
<var:string label:value="Category" />
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<!--</div>--><!--<div class="value">-->
|
||||
<input type="text" label:placeholder="category" data-ng-model="category.value" data-sg-focus-on="category_{{$index}}" data-typeahead="cat for cat in card.allCategories | filter:$viewValue" />
|
||||
</md-input-container>
|
||||
|
||||
<!--</div>-->
|
||||
</div>
|
||||
<!-- New category button-group -->
|
||||
<div class="attr">
|
||||
<!--<div class="value single">-->
|
||||
<span class="button secondary outline tiny" data-ng-click="addCategory()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="New Category" />
|
||||
</span>
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!-- emails -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="email in card.emails">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('emails', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="email.type" data-ng-options="type for type in allEmailTypes">
|
||||
<!-- email types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="email" label:placeholder="email address" data-ng-model="email.value" data-sg-focus-on="email_{{$index}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addEmail()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="New Email Address" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- phones -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="phone in card.phones">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('phones', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="phone.type" data-ng-options="type for type in allTelTypes">
|
||||
<!-- phone types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" label:placeholder="phone number" data-ng-model="phone.value" data-sg-focus-on="phone_{{$index}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addPhone()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="New Phone Number" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- urls -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="url in card.urls">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('urls', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="url.type" data-ng-options="type for type in allUrlTypes">
|
||||
<!-- url types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="url" label:placeholder="URL" data-ng-model="url.value" data-sg-focus-on="url_{{$index}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addUrl()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="New URL" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- addresses -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="address in card.addresses">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('addresses', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="address.type" data-ng-options="type for type in allAddressTypes">
|
||||
<!-- address types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value compact">
|
||||
<input type="text" label:placeholder="street" data-ng-model="address.street" data-sg-focus-on="address_{{$index}}" />
|
||||
<input type="text" data-ng-model="address.street2" />
|
||||
<input type="text" label:placeholder="Postoffice" data-ng-model="address.postoffice" />
|
||||
<input type="text" label:placeholder="City" data-ng-model="address.locality" />
|
||||
<input type="text" label:placeholder="Region" data-ng-model="address.region" />
|
||||
<input type="text" label:placeholder="Country" data-ng-model="address.country" />
|
||||
<input type="text" label:placeholder="Postal Code" data-ng-model="address.postalcode" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addAddress()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="New Address" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- note -->
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Note" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<textarea data-ng-model="card.note"><!-- note --></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="sg-buttongroup">
|
||||
<span class="button tiny radius secondary" data-ng-click="cancel()">
|
||||
<i class="icon-arrow-left"><!-- cancel --></i>
|
||||
<var:string label:value="Cancel" />
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addOrgUnit()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="Add Organizational Unit"/>
|
||||
</span>
|
||||
<span class="button tiny radius secondary" data-ng-click="reset()">
|
||||
<i class="icon-undo"><!-- reset --></i>
|
||||
<var:string label:value="Reset" />
|
||||
</span>
|
||||
<md-button class="button tiny radius" type="submit">
|
||||
<i class="icon-checkmark"><!-- save --></i>
|
||||
<var:string label:value="Save" />
|
||||
</md-button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<form name="listForm" data-ng-show="card.$isList()" data-ng-submit="save(listForm)">
|
||||
<div class="buttonsToolbar">
|
||||
<span class="button tiny radius secondary" data-ng-click="cancel()">
|
||||
<i class="icon-arrow-left"><!-- cancel --></i>
|
||||
<var:string label:value="Cancel" />
|
||||
</span>
|
||||
<span class="button tiny radius secondary" data-ng-click="reset()">
|
||||
<i class="icon-undo"><!-- reset --></i>
|
||||
<var:string label:value="Reset" />
|
||||
</span>
|
||||
<button class="button tiny radius" type="submit">
|
||||
<i class="icon-checkmark"><!-- save --></i>
|
||||
<var:string label:value="Save" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Display" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" data-ng-model="card.fn" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp" />
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Nickname" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" data-ng-model="card.nickname" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- list members -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="ref in card.refs">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('refs', $index)">
|
||||
<i class="icon-minus"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="right inline">
|
||||
<var:string label:value="Member" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" label:placeholder="email address" data-ng-model="ref.email" data-sg-focus-on="ref_{{$index}}" data-typeahead="card.$preferredEmail($viewValue) as card.$shortFormat($viewValue) for card in addressbook.$filter($viewValue, {dry: true, excludeLists: true})" data-typeahead-on-select="card.$updateMember($index, $model, $item)" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button outline secondary tiny" data-ng-click="addMember()">
|
||||
<i class="icon-plus"><!-- new --></i>
|
||||
<var:string label:value="Add Member" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</md-content>
|
||||
|
||||
<!-- birthday -->
|
||||
<div class="PseudoField">
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="Birthday"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="date" data-ng-model="card.birthday"/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- categories -->
|
||||
<div class="PseudoField">
|
||||
|
||||
<!-- if there's some categories, here they are (this is sort of a template) -->
|
||||
<div class="attr" data-ng-repeat="category in card.categories">
|
||||
|
||||
<div class="PseudoField">
|
||||
<i class="md-icon-remove-circle md-flex"
|
||||
data-ng-click="card.$delete('categories', $index)"><!-- remove --></i>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label" class="md-flex">
|
||||
<var:string label:value="Category"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="category" data-ng-model="category.value"
|
||||
data-sg-focus-on="category_{{$index}}" />
|
||||
<!--data-typeahead="cat for cat in card.allCategories | filter:$viewValue"/>-->
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- New category button-group -->
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addCategory()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="New Category"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- emails -->
|
||||
<div class="PseudoField">
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="email in card.emails">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('emails', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="email.type" data-ng-options="type for type in allEmailTypes">
|
||||
<!-- email types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="email" label:placeholder="email address" data-ng-model="email.value"
|
||||
data-sg-focus-on="email_{{$index}}"/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addEmail()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="New Email Address"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- phones -->
|
||||
<div class="PseudoField">
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="phone in card.phones">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('phones', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="phone.type" data-ng-options="type for type in allTelTypes">
|
||||
<!-- phone types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="phone number" data-ng-model="phone.value"
|
||||
data-sg-focus-on="phone_{{$index}}"/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addPhone()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="New Phone Number"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- urls -->
|
||||
<div class="PseudoField">
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="url in card.urls">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('urls', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="url.type" data-ng-options="type for type in allUrlTypes">
|
||||
<!-- url types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="url" label:placeholder="URL" data-ng-model="url.value" data-sg-focus-on="url_{{$index}}"/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addUrl()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="New URL"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- addresses -->
|
||||
<div class="PseudoField">
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="address in card.addresses">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('addresses', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<select class="text-right" data-ng-model="address.type" data-ng-options="type for type in allAddressTypes">
|
||||
<!-- address types -->
|
||||
</select>
|
||||
</div>
|
||||
<div class="value compact">
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="street" data-ng-model="address.street"
|
||||
data-sg-focus-on="address_{{$index}}"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" data-ng-model="address.street2"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="Postoffice" data-ng-model="address.postoffice"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="City" data-ng-model="address.locality"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="Region" data-ng-model="address.region"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="Country" data-ng-model="address.country"/>
|
||||
</p>
|
||||
|
||||
<p class="PseudoField-inputLike--underline">
|
||||
<input type="text" label:placeholder="Postal Code" data-ng-model="address.postalcode"/>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button secondary outline tiny" data-ng-click="addAddress()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="New Address"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- note -->
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label" class="right inline">
|
||||
<var:string label:value="Note"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<textarea data-ng-model="card.note"><!-- note --></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="sg-buttongroup">
|
||||
<span class="button tiny radius secondary" data-ng-click="cancel()">
|
||||
<i class="icon-arrow-left"><!-- cancel --></i>
|
||||
<var:string label:value="Cancel"/>
|
||||
</span>
|
||||
<span class="button tiny radius secondary" data-ng-click="reset()">
|
||||
<i class="icon-undo"><!-- reset --></i>
|
||||
<var:string label:value="Reset"/>
|
||||
</span>
|
||||
<md-button class="button tiny radius" type="submit">
|
||||
<i class="icon-checkmark"><!-- save --></i>
|
||||
<var:string label:value="Save"/>
|
||||
</md-button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<form name="listForm" data-ng-show="card.$isList()" data-ng-submit="save(listForm)">
|
||||
<div class="buttonsToolbar">
|
||||
<span class="button tiny radius secondary" data-ng-click="cancel()">
|
||||
<i class="icon-arrow-left"><!-- cancel --></i>
|
||||
<var:string label:value="Cancel"/>
|
||||
</span>
|
||||
<span class="button tiny radius secondary" data-ng-click="reset()">
|
||||
<i class="icon-undo"><!-- reset --></i>
|
||||
<var:string label:value="Reset"/>
|
||||
</span>
|
||||
<button class="button tiny radius" type="submit">
|
||||
<i class="icon-checkmark"><!-- save --></i>
|
||||
<var:string label:value="Save"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label" class="right inline">
|
||||
<var:string label:value="Display"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" data-ng-model="card.fn"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="action">
|
||||
<var:entity const:name="nbsp"/>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label" class="right inline">
|
||||
<var:string label:value="Nickname"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" data-ng-model="card.nickname"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- list members -->
|
||||
<div class="section">
|
||||
<div class="attr" data-ng-repeat="ref in card.refs">
|
||||
<div class="action">
|
||||
<span class="button alert icon" data-ng-click="card.$delete('refs', $index)">
|
||||
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="key">
|
||||
<label class="PseudoField-label" class="right inline">
|
||||
<var:string label:value="Member"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="value">
|
||||
<input type="text" label:placeholder="email address" data-ng-model="ref.email"
|
||||
data-sg-focus-on="ref_{{$index}}"
|
||||
data-typeahead="card.$preferredEmail($viewValue) as card.$shortFormat($viewValue) for card in addressbook.$filter($viewValue, {dry: true, excludeLists: true})"
|
||||
data-typeahead-on-select="card.$updateMember($index, $model, $item)"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attr">
|
||||
<div class="value single">
|
||||
<span class="button outline secondary tiny" data-ng-click="addMember()">
|
||||
<i class="md-icon-add-circle-outline"><!-- new --></i>
|
||||
<var:string label:value="Add Member"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</md-content>
|
||||
|
||||
</container>
|
||||
|
||||
@@ -146,13 +146,14 @@
|
||||
data-sg-subscribe-on-select="subscribeToFolder">!- subscription dropdown -</div>
|
||||
-->
|
||||
<!-- Sidenav -->
|
||||
<md-sidenav class = "md-sidenav-left md-whiteframe-z1" md-component-id = "left" md-is-locked-open = "$media('gt-md')" layout = "column">
|
||||
<md-toolbar class = "md-tall" layout-align = "end start">
|
||||
<h2 class = "md-toolbar-tools md-toolbar-tools-bottom">
|
||||
<span class = "md-flex">{{activeUser.identification}}</span>
|
||||
<md-sidenav class="md-sidenav-left" md-component-id="left" md-is-locked-open="$media('gt-md')" layout="column">
|
||||
<md-toolbar class="md-tall" layout-align="end start">
|
||||
<span class="sg-logo"> </span>
|
||||
<h2 class="md-toolbar-tools md-toolbar-tools-bottom">
|
||||
<span class="sg-md-title md-flex">{{activeUser.identification}}</span>
|
||||
</h2>
|
||||
</md-toolbar>
|
||||
<md-content md-scroll-y="md-scroll-y" class="md-padding md-flex" ng-controller="LeftCtrl">
|
||||
<md-content md-scroll-y="md-scroll-y" class="md-flex" ng-controller="LeftCtrl">
|
||||
<md-button ng-click="close()" class="md-primary md-hide-gt-md">Close</md-button>
|
||||
<md-list>
|
||||
<md-item ng-repeat = "folder in addressbooks track by folder.id"
|
||||
@@ -189,68 +190,89 @@
|
||||
</md-sidenav>
|
||||
|
||||
<section layout="column" class="md-layout-fill">
|
||||
<md-toolbar layout="row" layout-align="space-between start" class="md-tall">
|
||||
<div class="md-toolbar-tools" ng-controller="toggleCtrl">
|
||||
<span flex="flex">
|
||||
<md-button ng-click="toggleLeft()" class="md-primary" hide-gt-md="hide-gt-md">
|
||||
<span class="icon-ic_menu_24px"></span>
|
||||
</md-button>
|
||||
<div class="display-1" style="font-size: 2em; font-weight: 300">
|
||||
[[Contacts]]
|
||||
<md-toolbar layout="column" layout-align="space-between start" class="md-tall toolbar-main">
|
||||
<div class="md-toolbar-tools" layout="row" layout-align="space-between start" ng-controller="toggleCtrl">
|
||||
<div class="sg-toolbar-group-1">
|
||||
<md-button ng-click="toggleLeft()" class="md-hide-gt-md">
|
||||
<span class="md-icon-menu"></span>
|
||||
</md-button>
|
||||
|
||||
<div class="sg-md-display-3">
|
||||
15
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
<span class="sd-toolbar-tools">
|
||||
<span>search</span>
|
||||
</span>
|
||||
<div class="sg-toolbar-group-2">
|
||||
<span class="md-icon-search"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-toolbar-tools md-toolbar-tools-bottom" layout="row" layout-align="space-between center">
|
||||
<div class="cols-7" layout="row" layout-align="space-between center" style="padding-right: 16px">
|
||||
<div class="md-icon-search"><!-- search-field --></div>
|
||||
<div class="sg-toolbar-group">
|
||||
<span>ALL
|
||||
<span class="md-icon-arrow-drop-down"><!-- sort drop-down --></span>
|
||||
</span>
|
||||
<span class="md-icon-create"><!-- icon --></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer cols-8"><!-- spacer --></div>
|
||||
</div>
|
||||
</md-toolbar>
|
||||
|
||||
<div layout="row" class="md-flex" layout-align="space-between">
|
||||
|
||||
<md-content style="position: relative;" id="contactsList">
|
||||
<style>
|
||||
.vs-repeat-repeated-element {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
<header class="sg-md-subheader">
|
||||
<h2 class="sg-md-subhead-solo fg-sogoBlue-700">Contacts</h2>
|
||||
</header>
|
||||
<!-- Search field & special results
|
||||
<input type="text" placeholder="Search" data-ng-model="search.filter" data-ng-keyup="doSearch($event)" />
|
||||
<div data-ng-switch="search.status">
|
||||
<div data-ng-switch-when="min-char" class="alert-bg">
|
||||
<i class="icon-warning"></i><var:string label:value="Please enter at least three characters"/>
|
||||
</div>
|
||||
<div data-ng-switch-when="no-result" class="alert-bg">
|
||||
<i class="icon-ion-search"></i><var:string label:value="No matching card"/>
|
||||
</div>
|
||||
<div data-ng-switch-when="remote-addressbook" data-ng-show="addressbook.cards.length == 0" class="alert-bg">
|
||||
<i class="icon-ion-search"></i><var:string label:value="Initiate a search"/>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<md-list data-vs-repeat="72" data-vs-scroll-parent="#contactsList">
|
||||
<md-item ng-repeat="currentCard in addressbook.cards track by currentCard.id"
|
||||
ng-class="{_selected: card.id == currentCard.id}">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<!--avatar--><!-- currentCard.tag = vcard || vlist -->
|
||||
</div>
|
||||
<div class="sg-tile-content">
|
||||
<a data-ui-sref="addressbook.card.view({addressbookId: addressbook.id, cardId: currentCard.id})">
|
||||
<div class="sg-md-body-multi contact-name" ng-bind-html="currentCard.$fullname()"><!-- cn --></div>
|
||||
<div class="sg-md-subhead-multi contact-email">{{currentCard.$preferredEmail()}}</div>
|
||||
</a>
|
||||
</div>
|
||||
</md-item-content>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</md-content>
|
||||
<md-content class="md-padding md-flex" data-ui-view="card"><!-- card view --></md-content>
|
||||
</div>
|
||||
</md-toolbar>
|
||||
<md-content layout="row" class="md-flex">
|
||||
<md-content md-scroll-y="md-scroll-y" class="md-flex" style="min-width: 300px;" id="contactsList">
|
||||
<!-- Search field & special results
|
||||
<input type="text" placeholder="Search" data-ng-model="search.filter" data-ng-keyup="doSearch($event)" />
|
||||
<div data-ng-switch="search.status">
|
||||
<div data-ng-switch-when="min-char" class="alert-bg">
|
||||
<i class="icon-warning"></i><var:string label:value="Please enter at least three characters"/>
|
||||
</div>
|
||||
<div data-ng-switch-when="no-result" class="alert-bg">
|
||||
<i class="icon-ion-search"></i><var:string label:value="No matching card"/>
|
||||
</div>
|
||||
<div data-ng-switch-when="remote-addressbook" data-ng-show="addressbook.cards.length == 0" class="alert-bg">
|
||||
<i class="icon-ion-search"></i><var:string label:value="Initiate a search"/>
|
||||
</div>
|
||||
</div>
|
||||
--><!--dirty fix for vs-repeat-->
|
||||
<style>
|
||||
.vs-repeat-repeated-element { width: 100%; }
|
||||
</style>
|
||||
<md-list data-vs-repeat="72" data-vs-scroll-parent="#contactsList">
|
||||
<md-item ng-repeat="currentCard in addressbook.cards track by currentCard.id" ng-class="{_selected: card.id == currentCard.id}">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<!--avatar--><!-- currentCard.tag = vcard || vlist -->
|
||||
</div>
|
||||
<div class="sg-tile-content">
|
||||
<a data-ui-sref="addressbook.card.view({addressbookId: addressbook.id, cardId: currentCard.id})">
|
||||
<div class="name" ng-bind-html="currentCard.$fullname()"><!-- cn --></div>
|
||||
<div class="subject">{{currentCard.$preferredEmail()}}</div>
|
||||
</a>
|
||||
</div>
|
||||
</md-item-content>
|
||||
<md-divider md-inset="true" ng-if="!$last"><!--divider--></md-divider>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</md-content>
|
||||
<md-content class="md-padding md-flex" data-ui-view="card"><!-- card view --></md-content>
|
||||
</md-content>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</script>
|
||||
<!-- modal for addressbook sharing options -->
|
||||
<script type = "text/ng-template" id = "UIxUserRightsEditor">
|
||||
<var:component className = "UIxContactsUserRightsEditor" />
|
||||
<script type = "text/ng-template" id="UIxUserRightsEditor">
|
||||
<var:component className="UIxContactsUserRightsEditor" />
|
||||
</script>
|
||||
<script type = "text/ng-template" id = "UIxContactViewTemplate">
|
||||
<var:component className = "UIxContactViewTemplate" />
|
||||
<var:component className="UIxContactViewTemplate" />
|
||||
</script>
|
||||
|
||||
<var:string value = "errorAlertJavaScript" const:escapeHTML = "NO" />
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<md-card class="viewer">
|
||||
<md-card-content>
|
||||
<header>
|
||||
<h1 data-ng-bind-html="card.$fullname()"><!-- fullname --></h1>
|
||||
<h6>{{card.$description()}}
|
||||
<h1 class="sg-md-display-1" data-ng-bind-html="card.$fullname()"><!-- fullname --></h1>
|
||||
<h6 class="sg-md-subheader-1">{{card.$description()}}
|
||||
<span class="label radius" data-ng-repeat="category in card.categories">{{category.value}}</span>
|
||||
</h6>
|
||||
</header>
|
||||
@@ -17,10 +17,10 @@
|
||||
<div class="buttonsToolbar">
|
||||
<span data-ng-show="addressbook.isEditable">
|
||||
<a class="button tiny radius" data-ui-sref="addressbook.card.editor({addressbookId: addressbook.id, cardId: card.id})">
|
||||
<i class="icon-pencil"><!-- edit --></i>
|
||||
<i class="md-icon-create"><!-- edit --></i>
|
||||
</a>
|
||||
<span class="button tiny radius alert" data-ng-click="confirmDelete(card)">
|
||||
<i class="icon-trash"><!-- delete --></i>
|
||||
<i class="md-icon-delete"><!-- delete --></i>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -13,11 +13,12 @@
|
||||
<label class="PseudoField-label">
|
||||
<var:string label:value="From"/>
|
||||
</label>
|
||||
<div class="PseudoField-inputLike">
|
||||
<select name="from"
|
||||
data-ng-model="message.editable.from"
|
||||
data-ng-options="identity for identity in identities"><!-- from --></select>
|
||||
</div>
|
||||
<!--<div class="PseudoField-inputLike">-->
|
||||
<md-select name="from"
|
||||
data-ng-model="message.editable.from">
|
||||
<md-option ng-value="identity" data-ng-repeat="identity in identities">{{identity}}</md-option>
|
||||
</md-select>
|
||||
<!--</div>-->
|
||||
|
||||
</div>
|
||||
|
||||
@@ -28,7 +29,8 @@
|
||||
|
||||
<tags-input type="text" name="to"
|
||||
ng-model="message.editable.to"
|
||||
label:placeholder="Add a recipient">
|
||||
label:placeholder="Add a recipient"
|
||||
ng-focus="angular.element().triggerHandler('focus')">
|
||||
<auto-complete data-source="userFilter($query)"><!-- to --></auto-complete>
|
||||
</tags-input>
|
||||
|
||||
@@ -80,7 +82,7 @@
|
||||
data-ng-click="message.$save()">
|
||||
<var:string label:value="Save"/>
|
||||
</md-button>
|
||||
<md-button class="fg-sogoBlue-700"
|
||||
<md-button class="fg-sogoBlue-700 md-primary md-hue-3"
|
||||
data-ng-click="send(message)">
|
||||
<var:string label:value="Send"/>
|
||||
</md-button>
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
</md-sidenav>
|
||||
|
||||
<!-- Main section -->
|
||||
<section layout="column" layout-fill="layout-fill">
|
||||
<section layout="column" class="md-layout-fill">
|
||||
<md-toolbar layout="column" layout-align="space-between start" class="md-tall toolbar-main">
|
||||
<div class="md-toolbar-tools" layout="row" layout-align="space-between start" ng-controller="toggleCtrl">
|
||||
<div class="sg-toolbar-group-1">
|
||||
|
||||
@@ -15,11 +15,11 @@ module.exports = function(grunt) {
|
||||
},
|
||||
postcss: {
|
||||
options: {
|
||||
map: false,
|
||||
map: true,
|
||||
processors: [
|
||||
require('autoprefixer-core')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}).postcss
|
||||
require('autoprefixer-core')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}).postcss,
|
||||
// We may consider using css grace (https://github.com/cssdream/cssgrace) for larger support
|
||||
//require('csswring').postcss
|
||||
require('csswring').postcss
|
||||
]
|
||||
},
|
||||
dist: {
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
'default': '300',
|
||||
'hue-1': '100',
|
||||
'hue-2': '400',
|
||||
'hue-3': '700'
|
||||
'hue-3': 'A700'
|
||||
})
|
||||
.accentColor('sogo-green')
|
||||
.backgroundColor('paper', {
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
// avoid overspecifying
|
||||
// todo: create new classes and refactor templates markup
|
||||
// ----------------------------------------------------------------------------
|
||||
[id='messagesList'] {
|
||||
[id='messagesList'],
|
||||
[id='contactsList'] {
|
||||
border-top: 44px solid transparent; // padding for the header.subheader,
|
||||
border-bottom: 2px solid transparent; //close to a hack
|
||||
z-index: 10;
|
||||
@@ -41,12 +42,14 @@
|
||||
.sg {
|
||||
&-tile-content {
|
||||
@extend .md-tile-content;
|
||||
.name {
|
||||
.name,
|
||||
.contact-email {
|
||||
font-weight: $sg-font-light;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.subject {
|
||||
.subject,
|
||||
.contact-name {
|
||||
font-weight: $sg-font-medium;
|
||||
// dirty fix for vs-repeat damages
|
||||
max-width: 75%;
|
||||
|
||||
@@ -7,6 +7,7 @@ md-card {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: sg-color($sogoPaper, 50);
|
||||
|
||||
box-shadow: $card-box-shadow;
|
||||
|
||||
|
||||
@@ -96,4 +96,21 @@ md-input-container .bgroup {
|
||||
}
|
||||
.bgroup b {
|
||||
left-margin: -1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.PseudoField input {
|
||||
flex: 1;
|
||||
order: 2;
|
||||
display: block;
|
||||
|
||||
background: none;
|
||||
padding-top: $input-padding-top;
|
||||
padding-bottom: 0;
|
||||
border-width: 0 0 $input-border-width-default 0;
|
||||
line-height: $input-line-height;
|
||||
-ms-flex-preferred-size: $input-line-height; //IE fix
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,7 @@
|
||||
background-color: transparent;
|
||||
z-index: auto;
|
||||
}
|
||||
// WIdth for message list
|
||||
// ----------------------------------------------------------------------------
|
||||
[id = "messagesList"] .sg-md-subheader {
|
||||
transform: translateY(-100%); // Compensate the container top-margin
|
||||
}
|
||||
|
||||
.sg-md-subheader {
|
||||
font-size: $sg-font-size-2;
|
||||
font-weight: $sg-font-medium;
|
||||
|
||||
@@ -10,6 +10,7 @@ md-toolbar {
|
||||
}
|
||||
header {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
align-items: stretch;
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
|
||||
@@ -221,23 +221,48 @@ $sg-font-bold: $sg-font-medium;
|
||||
|
||||
// h elements definitions
|
||||
// ----------------------------------------------------------------------------
|
||||
$h1-font-size-Base: $sg-font-size-9;
|
||||
$h1-margin-Base: 0;
|
||||
$h1-font-size-base: $sg-font-size-9;
|
||||
$h1-margin-base: 0;
|
||||
|
||||
$h2-font-size-Base: $sg-font-size-8;
|
||||
$h2-margin-Base: 0;
|
||||
$h2-font-size-base: $sg-font-size-8;
|
||||
$h2-margin-base: 0;
|
||||
|
||||
$h3-font-size-Base: $sg-font-size-7;
|
||||
$h3-margin-Base: 0;
|
||||
$h3-font-size-base: $sg-font-size-7;
|
||||
$h3-margin-base: 0;
|
||||
|
||||
$h4-font-size-Base: $sg-font-size-6;
|
||||
$h4-margin-Base: 0;
|
||||
$h4-font-size-base: $sg-font-size-6;
|
||||
$h4-margin-base: 0;
|
||||
|
||||
$h5-font-size-Base: $sg-font-size-5;
|
||||
$h5-margin-Base: 0;
|
||||
$h5-font-size-base: $sg-font-size-5;
|
||||
$h5-margin-base: 0;
|
||||
|
||||
$h6-font-size-Base: $sg-font-size-4;
|
||||
$h6-margin-Base: 0;
|
||||
$h6-font-size-base: $sg-font-size-4;
|
||||
$h6-margin-base: 0;
|
||||
|
||||
h1 {
|
||||
font-size: $h1-font-size-base;
|
||||
margin: $h1-margin-base;
|
||||
}
|
||||
h2 {
|
||||
font-size: $h2-font-size-base;
|
||||
margin: $h2-margin-base;
|
||||
}
|
||||
h3 {
|
||||
font-size: $h3-font-size-base;
|
||||
margin: $h3-margin-base;
|
||||
}
|
||||
h4 {
|
||||
font-size: $h4-font-size-base;
|
||||
margin: $h4-margin-base;
|
||||
}
|
||||
h5 {
|
||||
font-size: $h5-font-size-base;
|
||||
margin: $h5-margin-base;
|
||||
}
|
||||
h6 {
|
||||
font-size: $h6-font-size-base;
|
||||
margin: $h6-margin-base;
|
||||
}
|
||||
|
||||
/// Gogle Material Design Standard styles
|
||||
/// as specified (http://www.google.com/design/spec/style/typography.html#typography-standard-styles)
|
||||
|
||||
@@ -1,691 +1,15 @@
|
||||
@import "../core/functions";
|
||||
/*! ContactUI.scss */
|
||||
|
||||
//$primary-color: #75B4BF;
|
||||
//$topbar-link-bg-active: #75B4BF;
|
||||
//$topbar-bg-color: $primary-color;
|
||||
$module-color: #75B4BF;
|
||||
$module-color: #C6C543;
|
||||
$module-color: #6F5A73; // purple
|
||||
$module-secondary-color: #8EC588; // light green
|
||||
$module-secondary-color: #3D792A; // green
|
||||
$module-secondary-color: #B996BF;
|
||||
$module-secondary-color: #B59BB9; // light purple
|
||||
$module-light-color: #F7ECFF;
|
||||
$topbar-bg-color: $module-color;
|
||||
$topbar-link-bg-active-hover: scale-color($module-secondary-color, $lightness: -14%);
|
||||
$topbar-link-bg-active: $module-secondary-color;
|
||||
$topbar-link-bg-hover: scale-color($module-color, $lightness: -14%);
|
||||
//$topbar-link-font-size: rem-calc(12);
|
||||
|
||||
//$off-canvas-link-text-size: rem-calc(12);
|
||||
|
||||
//$table-head-font-size: rem-calc(12);
|
||||
//$table-row-font-size: rem-calc(12);
|
||||
|
||||
@import "foundation";
|
||||
//@import "foundation/components/grid";
|
||||
//@import "foundation/components/dropdown", "foundation/components/offcanvas", "foundation/components/top-bar";
|
||||
//@import "toolbars";
|
||||
|
||||
@mixin off-canvas-list {
|
||||
list-style-type: none;
|
||||
padding:0;
|
||||
margin:0;
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
li {
|
||||
/*
|
||||
+-----------------------------------------------+
|
||||
+ li |
|
||||
|+------+-----------------------------+--------+|
|
||||
|| i | form | span ||
|
||||
|+------+-----------------------------+--------+|
|
||||
+-----------------------------------------------+
|
||||
*/
|
||||
display: table-row;
|
||||
transition: background 300ms ease;
|
||||
width: 100%;
|
||||
label {
|
||||
display: block;
|
||||
padding: $off-canvas-label-padding;
|
||||
color: $off-canvas-label-color;
|
||||
text-transform: $off-canvas-label-text-transform;
|
||||
font-size: $off-canvas-label-font-size;
|
||||
font-weight: $off-canvas-label-font-weight;
|
||||
background: $off-canvas-label-bg;
|
||||
border-top: $off-canvas-label-border-top;
|
||||
border-bottom: $off-canvas-label-border-bottom;
|
||||
margin: $off-canvas-label-margin;
|
||||
}
|
||||
>* {
|
||||
display: table-cell;
|
||||
padding: $off-canvas-link-padding;
|
||||
color: $off-canvas-link-color;
|
||||
}
|
||||
>i,
|
||||
>.icon {
|
||||
//vertical-align: middle; // causes glitch when selecting row
|
||||
border-left: 3px solid transparent;
|
||||
width: 1px;
|
||||
}
|
||||
form {
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
* {
|
||||
color: $off-canvas-link-color;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
//padding-left: $off-canvas-link-padding;
|
||||
}
|
||||
input {
|
||||
border: 0;
|
||||
color: #333 !important;
|
||||
font-size: 1rem;
|
||||
height: $off-canvas-link-padding/2+1rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background: scale-color($tabbar-bg, $lightness: -30%);
|
||||
}
|
||||
&._selected {
|
||||
border: 0 !important;
|
||||
>i {
|
||||
border-left-color: $primary-color;
|
||||
}
|
||||
* {
|
||||
color: #eee;
|
||||
}
|
||||
}
|
||||
}
|
||||
[id="contactsList"] {
|
||||
width: $messageList-width;
|
||||
max-width:$messageList-width;
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
$total-columns: 13;
|
||||
$column-gutter: 0;
|
||||
|
||||
.folders-list {
|
||||
@include off-canvas-wrap();
|
||||
ul {
|
||||
@include off-canvas-list();
|
||||
}
|
||||
[id = "contactsList"] .sg-md-subheader {
|
||||
transform: translateY(-100%); // Compensate the container top-margin
|
||||
}
|
||||
|
||||
.card-picture {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 20px;
|
||||
color: $input-disabled-bg;
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
border: 1px solid $input-disabled-bg;
|
||||
margin-right: 1em;
|
||||
margin-left: 5px;
|
||||
i {
|
||||
font-size: 42px;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
#pageContent {
|
||||
@include grid-row($behavior: nest);
|
||||
|
||||
#newListDrop {
|
||||
a {
|
||||
text-transform: uppercase;
|
||||
&.tiny {
|
||||
@include button-size($padding:$button-tny);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#addressbooksList {
|
||||
position: absolute;
|
||||
top: $topbar-height;
|
||||
bottom: 0;
|
||||
background-color: #333;
|
||||
@include grid-column($columns:13); //, $collapse:true);
|
||||
@media #{$medium-up} {
|
||||
@include grid-column($columns:3);
|
||||
}
|
||||
.newItemsToolbar {
|
||||
margin-top: rem-calc(6);
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.scrollview {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
top: $topbar-height;
|
||||
bottom: $topbar-height;
|
||||
right: 0;
|
||||
left: 0;
|
||||
}
|
||||
.buttonsToolbar {
|
||||
border-top: $off-canvas-link-border-bottom;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#rightPanel {
|
||||
#contactsList {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
top: $topbar-height;
|
||||
bottom: 0;
|
||||
left: 23.07692%;
|
||||
background-color: $f-dropdown-list-hover-bg;
|
||||
@include grid-column($columns:13);
|
||||
@media #{$medium-up} {
|
||||
@include grid-column($columns:5);
|
||||
}
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
list-style-type: none;
|
||||
//border-bottom: $topbar-divider-border-bottom;
|
||||
width: 100%;
|
||||
float: left;
|
||||
clear: left;
|
||||
//border: 2px solid #fff;
|
||||
//-webkit-border-radius: 4px;
|
||||
//-moz-border-radius: 4px;
|
||||
//border-radius: 4px;
|
||||
//transition: all 300ms ease;
|
||||
background-color: $f-dropdown-list-hover-bg;
|
||||
transition: background 300ms ease;
|
||||
a {
|
||||
display: block;
|
||||
color: #666;
|
||||
//border-bottom: 1px dotted #ddd;
|
||||
//width: 100%;
|
||||
//font-size: $table-row-font-size;
|
||||
//line-height: $table-line-height;
|
||||
line-height: rem-calc(24);
|
||||
padding: $table-head-padding;
|
||||
//padding: rem-calc(8 10 18);
|
||||
//margin: 0 rem-calc(12);
|
||||
.name {
|
||||
margin: 0;
|
||||
//font-size: $table-head-font-size;
|
||||
color: $table-head-font-color;
|
||||
font-weight: $table-head-font-weight;
|
||||
}
|
||||
}
|
||||
&:hover, &:active {
|
||||
background-color: $f-dropdown-list-hover-bg;
|
||||
//background-color: scale-color($f-dropdown-list-hover-bg, $lightness: 28%);
|
||||
background-color: #fff;
|
||||
}
|
||||
&._selected, &._selected span {
|
||||
//background-color: $module-light-color;
|
||||
//background-color: $sub-nav-active-bg-hover;
|
||||
//background-color: $f-dropdown-list-hover-bg;
|
||||
background-color: $module-color;
|
||||
background-color: #fff;
|
||||
//color: $module-color;
|
||||
//color: $module-secondary-color;
|
||||
.name {
|
||||
//color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#contactView {
|
||||
position: absolute;
|
||||
top: $topbar-height;
|
||||
bottom: 0;
|
||||
left: 61.53846%;
|
||||
overflow: auto;
|
||||
overflow-x: hidden;
|
||||
border-left: $topbar-divider-border-bottom;
|
||||
padding: $table-head-padding;
|
||||
padding-top: 0;
|
||||
@include grid-column($columns:13);
|
||||
@media #{$medium-up} {
|
||||
@include grid-column($columns:5);
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-left: rem-calc(12);
|
||||
margin-top: 0;
|
||||
}
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
ul {
|
||||
font-size: $form-label-font-size;
|
||||
}
|
||||
.label {
|
||||
margin-left: rem-calc(3);
|
||||
}
|
||||
.header {
|
||||
background-color: $secondary-color;
|
||||
padding-bottom: 0.2em;
|
||||
h1, h6 {
|
||||
color: #fff;
|
||||
}
|
||||
.label {
|
||||
background-color: transparent;
|
||||
border: 1px solid $primary-color;
|
||||
border: 1px solid scale-color($primary-color, $lightness: 52%);
|
||||
color: $primary-color;
|
||||
color: scale-color($primary-color, $lightness: 52%);
|
||||
}
|
||||
}
|
||||
.section {
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin: 0 rem-calc(12) rem-calc(12) rem-calc(12);
|
||||
padding-bottom: rem-calc(12);
|
||||
}
|
||||
/*
|
||||
+-----------------------------------------------+
|
||||
+ .attr (13) |
|
||||
|+-------------+-------------------------------+|
|
||||
|| .key (4) | .value (9) ||
|
||||
|+-------------+-------------------------------+|
|
||||
+-----------------------------------------------+
|
||||
*/
|
||||
.attr {
|
||||
@include grid-row($behavior:collapse);
|
||||
.key {
|
||||
@include grid-column($columns:4);
|
||||
label {
|
||||
color: #999;
|
||||
margin-right: rem-calc(12);
|
||||
}
|
||||
}
|
||||
.value {
|
||||
@include grid-column($columns:9);
|
||||
&.single {
|
||||
@include grid-column($offset: 4, $columns:9);
|
||||
}
|
||||
div {
|
||||
a {
|
||||
color: #666;
|
||||
margin-left: 0.2em;
|
||||
&:hover {
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.buttonsToolbar {
|
||||
margin-bottom: rem-calc(12);
|
||||
background-color: #eee;
|
||||
border-top: 2px solid #ddd;
|
||||
.button {
|
||||
margin: 0.4em;
|
||||
&.alert {
|
||||
//display: $button-display;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.viewer {
|
||||
.value {
|
||||
div, a, address, ul, span {
|
||||
line-height: $form-label-line-height;
|
||||
margin-left: rem-calc(12);
|
||||
}
|
||||
}
|
||||
}
|
||||
.editor {
|
||||
.section {
|
||||
border-bottom: 0;
|
||||
}
|
||||
/*
|
||||
+-----------------------------------------------+
|
||||
+ .attr (13) |
|
||||
|+-------------+-------------------------------+|
|
||||
|+ .action (1) | .key (4) | .value (8) ||
|
||||
|+-------------+-------------------------------+|
|
||||
+-----------------------------------------------+
|
||||
*/
|
||||
.attr {
|
||||
.action {
|
||||
@include grid-column($columns:1);
|
||||
padding-left: rem-calc(6);
|
||||
}
|
||||
.key {
|
||||
@include grid-column($columns:4);
|
||||
}
|
||||
.value {
|
||||
@include grid-column($columns:8);
|
||||
padding-right: rem-calc(6);
|
||||
&.compact {
|
||||
margin-bottom: $form-spacing;
|
||||
input {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
&.single {
|
||||
@include grid-column($offset: 5, $columns:8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#modalACL {
|
||||
height: 60vh;
|
||||
>ul {
|
||||
@include block-grid(2);
|
||||
}
|
||||
padding: 0;
|
||||
ul.aclUsers {
|
||||
@include block-grid(
|
||||
$per-row: 1,
|
||||
$spacing: $block-grid-default-spacing,
|
||||
$base-style: false
|
||||
);
|
||||
height: 85%;
|
||||
border-top: 1px solid black;
|
||||
border-bottom: 1px solid black;
|
||||
border-left: 1px solid black;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
li {
|
||||
padding: 0;
|
||||
padding-top: 5px;
|
||||
line-height: 45px;
|
||||
background-color: $f-dropdown-list-hover-bg;
|
||||
transition: background 300ms ease;
|
||||
&:hover, &:active {
|
||||
background-color: $f-dropdown-list-hover-bg;
|
||||
background-color: #fff;
|
||||
}
|
||||
&._selected, &._selected span {
|
||||
background-color: $module-color;
|
||||
background-color: #fff;
|
||||
}
|
||||
.subscriptionArea {
|
||||
float: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#bottomTable {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
border: none;
|
||||
#td_1 {
|
||||
padding: 0;
|
||||
width:100%;
|
||||
i {
|
||||
position: absolute;
|
||||
padding-top: 10px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
input {
|
||||
padding-left: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
#td_2 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
float: right;
|
||||
white-space: nowrap;
|
||||
button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#AccessRightList {
|
||||
border: 1px solid black;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
.title {
|
||||
background-color: #54B948;
|
||||
line-height: 75px;
|
||||
color: white;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
ul {
|
||||
@include block-grid(
|
||||
$per-row: 1,
|
||||
$spacing: $block-grid-default-spacing,
|
||||
$base-style: false
|
||||
);
|
||||
li {
|
||||
padding: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#aclButtons {
|
||||
margin: 0px;
|
||||
padding:0;
|
||||
float: right;
|
||||
button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#folderSubscribe {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
#addressbookLinks {
|
||||
background-color: #fff;
|
||||
width: 450px;
|
||||
height: 135px;
|
||||
cursor: none;
|
||||
|
||||
.title {
|
||||
background-color: $secondary-color;
|
||||
padding: $f-dropdown-list-padding;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
background-color: #6F5A73;
|
||||
padding: $f-dropdown-list-padding;
|
||||
}
|
||||
|
||||
.value {
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.buttonsToolbar {
|
||||
text-align: right;
|
||||
.button {
|
||||
margin-bottom: 0;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
.folders-list & {
|
||||
background-color: $tabbar-bg;
|
||||
background-color: $off-canvas-bg;
|
||||
text-align: center;
|
||||
.button {
|
||||
background-color: $tabbar-bg;
|
||||
font-size: 1.5em;
|
||||
transition: color 300ms ease;
|
||||
color: scale-color($tabbar-bg, $lightness: 52%);
|
||||
&:focus, &:hover {
|
||||
color: $primary-color;
|
||||
color: #fff;
|
||||
//background-color: scale-color($tabbar-bg, $lightness: 13%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.searchToolbar {
|
||||
@include grid-row($behavior:collapse);
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: scale-color($f-dropdown-list-hover-bg, $lightness: -20%);
|
||||
.input-content {
|
||||
@include grid-column($offset:0, $columns:13);
|
||||
.input-search {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
i {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 0px;
|
||||
width: rem-calc(24);
|
||||
color: $clearing-caption-font-color;
|
||||
font-size: rem-calc(18);
|
||||
line-height: rem-calc(32);
|
||||
padding-left: $form-spacing;
|
||||
vertical-align: middle;
|
||||
}
|
||||
input {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
margin-bottom: 0;
|
||||
padding-left: 24px;
|
||||
-webkit-transition: all 200ms linear;
|
||||
-moz-transition: all 200ms linear;
|
||||
transition: all 200ms linear;
|
||||
&:focus {
|
||||
background-color: $input-bg-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.input-options {
|
||||
@include grid-column($columns:2);
|
||||
.button {
|
||||
color: $input-disabled-bg;
|
||||
background-color: transparent;
|
||||
//line-height: 3.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.alert-bg {
|
||||
color: #ccc;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
i {
|
||||
display: block;
|
||||
font-size: 48px;
|
||||
margin: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
&.icon {
|
||||
background-color: transparent;
|
||||
color: $primary-color;
|
||||
padding: 0;
|
||||
@include button-size($padding:$button-tny,$full-width:true);
|
||||
}
|
||||
&.alert {
|
||||
color: $alert-color;
|
||||
}
|
||||
&.outline {
|
||||
background-color: transparent;
|
||||
border-width: 1px;
|
||||
&.secondary {
|
||||
color: $secondary-color;
|
||||
&:hover {
|
||||
color: $button-font-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.f-dropdown {
|
||||
width: auto;
|
||||
max-width: 300px;
|
||||
white-space: nowrap;
|
||||
&.icons-dropdown {
|
||||
height: inherit;
|
||||
//background-color: $primary-color;
|
||||
.button {
|
||||
margin: 0;
|
||||
padding: $f-dropdown-list-padding;
|
||||
border-color: $primary-color;
|
||||
//color: scale-color($secondary-color, $lightness: 52%);
|
||||
color: #fff;
|
||||
}
|
||||
background-color: $primary-color;
|
||||
border-color: $primary-color;
|
||||
&:before {
|
||||
border-color: transparent transparent $primary-color transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sg-dropdown-content {
|
||||
background-color: #fff;
|
||||
height: 300px;
|
||||
&.joyride-tip-guide {
|
||||
.joyride-nub {
|
||||
&.left {
|
||||
border-color: white !important;
|
||||
border-top-color: transparent !important;
|
||||
border-left-color: transparent !important;
|
||||
border-bottom-color: transparent !important;
|
||||
}
|
||||
}
|
||||
.joyride-content-wrapper {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
padding: 0;
|
||||
ul {
|
||||
margin-left: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
li {
|
||||
&.title {
|
||||
background-color: $secondary-color;
|
||||
padding: $f-dropdown-list-padding;
|
||||
text-transform: uppercase;
|
||||
&:hover {
|
||||
background-color: $secondary-color;
|
||||
}
|
||||
}
|
||||
&.item {
|
||||
margin: 0 5px;
|
||||
@include radius($input-border-radius);
|
||||
.disabled {
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
@include dropdown-style();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
address {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
input.ng-dirty.ng-invalid {
|
||||
border-color: $alert-color !important;
|
||||
color: $alert-color !important;
|
||||
}
|
||||
|
||||
// md is overqualifying, we have to do the same to override
|
||||
md-content[data-ui-view="card"] {
|
||||
background-color: sg-color($sogoPaper, 200);
|
||||
}
|
||||
@@ -1,11 +1,13 @@
|
||||
|
||||
[id="messagesList"] {
|
||||
width:$messageList-width;
|
||||
max-width:$messageList-width;
|
||||
flex: 1 1 auto;
|
||||
|
||||
}
|
||||
[data-ui-view="message"] {
|
||||
max-width: grid-step(8);
|
||||
width: grid-step(9);
|
||||
max-width: grid-step(9);
|
||||
}
|
||||
|
||||
// Message view header
|
||||
@@ -15,6 +17,10 @@
|
||||
// padding-bottom: $mg; We should add a padding class to preserve genericity
|
||||
}
|
||||
|
||||
[id = "messagesList"] .sg-md-subheader {
|
||||
transform: translateY(-100%); // Compensate the container top-margin
|
||||
}
|
||||
|
||||
.msg-header-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -56,6 +62,8 @@
|
||||
|
||||
.PseudoField {
|
||||
display: block; // Should be (reset to ?) a plain block element
|
||||
padding: 0 2px;
|
||||
|
||||
}
|
||||
.PseudoField-label {
|
||||
display: inline-block;
|
||||
@@ -67,7 +75,7 @@
|
||||
}
|
||||
.PseudoField-inputLike {
|
||||
display: block;
|
||||
padding: $line 0;
|
||||
padding: $line 0 0 0;
|
||||
margin-bottom: $line;
|
||||
font-size: sg-size(subhead);
|
||||
line-height: 1;
|
||||
@@ -75,6 +83,12 @@
|
||||
.PseudoField-inputLike--underline {
|
||||
@extend .PseudoField-inputLike;
|
||||
border-bottom: 1px solid $colorGrayLight;
|
||||
&:focus,
|
||||
&:active,
|
||||
&:hover {
|
||||
margin-bottom: ($line - 1);
|
||||
border-bottom: 2px solid sg-color($sogoBlue, 700);
|
||||
}
|
||||
}
|
||||
// The specs dimensions are too large to fit with angular-material
|
||||
// Here's a modifier
|
||||
@@ -84,6 +98,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
input/deep/#inner-editor {
|
||||
color: $colorGrayLight;
|
||||
line-height: inherit;
|
||||
}
|
||||
:root/deep/#placeholder,
|
||||
:root/deep/[pseudo="-webkit-input-placeholder"] {
|
||||
color: $colorGrayLight;
|
||||
height: $mg;
|
||||
font: inherit;
|
||||
line-height: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
.mailer_mailcontent {
|
||||
@extend .sg-md-body-multi;
|
||||
}
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
}
|
||||
}
|
||||
// CKE is overqualifying... let's use an ID
|
||||
#cke_content {
|
||||
#cke_content,
|
||||
textarea.ck-editor{
|
||||
margin-top: $mg;
|
||||
}
|
||||
// Plain text editor
|
||||
textarea.ck-editor {
|
||||
width: 100%;
|
||||
min-height: 320px;
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
///
|
||||
|
||||
@import 'MailerUI.scss';
|
||||
// @import 'ContactsUI.scss';
|
||||
@import 'ContactsUI.scss';
|
||||
@import 'MessageEditorUI';
|
||||
|
||||
.view[layout=row] {
|
||||
|
||||
Reference in New Issue
Block a user