-
Notifications
You must be signed in to change notification settings - Fork 9
/
brainy-tr-detail.html
executable file
·46 lines (42 loc) · 1.22 KB
/
brainy-tr-detail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<link rel="import" href="brainy-table-templatizer-behavior.html">
<dom-module id="brainy-tr-detail">
<template>
<style>
:host {
display: flex;
align-items: center;
padding: 24px;
font: 400 13px/1.1 Roboto, sans-serif;
background: #fff;
color: rgba(0, 0, 0, 0.87);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: default;
box-shadow:
inset 1px 0 0 #e2e2e2,
inset -1px 0 0 #e2e2e2;
}
</style>
<content></content>
</template>
<script>
(function() {
'use strict';
Polymer({
is: 'brainy-tr-detail',
behaviors: [
Brainy.TableTemplatizerBehavior
],
attached: function() {
if (!Polymer.Settings.useNativeShadow) {
// details is supposed to be placed outside the local dom of brainy-table.
Polymer.StyleTransformer.dom(this, 'brainy-table', this._scopeCssViaAttr, true);
if (this.domHost) {
Polymer.StyleTransformer.dom(this, this.domHost.tagName.toLowerCase(), this._scopeCssViaAttr, false);
}
}
}
});
})();
</script>
</dom-module>