Blame view

bower_components/polymer-element-catalog/app/elements/package-tile/package-tile.css 2.02 KB
07d13c9c   isisadmin   polymer catalog
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  :host {
    display: block;
    transition: var(--material-curve-320);
    transform: translate(0, 60px);
    opacity: 0;
  }
  
  :host(.active) {
    transform: translate(0, 0);
    opacity: 1;
  }
  
  #content {
    display: block;
    position: relative;
    width: 100%;
    background: #fafafa;
    border-radius: 2px;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 200ms;
    transition-timing-function: var(--material-curve);
    color: #606060;
    border: none;
    padding: 16px;
  }
  
  :host(:hover) #content {
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
  }
  
  h2 {
    font-weight: 400;
    font-size: 48px;
    margin: 20px 0;
    transform: translate(-50px, 0);
    opacity: 0;
    transition: all 500ms 320ms;
    transition-timing-function: var(--material-curve-320);
  }
  
  :host(.active) h2 {
    transform: translate(0, 0);
    opacity: 1;
  }
  
  h3 {
    transform: translate(-50px, 0);
    opacity: 0;
    transition: all 600ms 320ms;
    transition-timing-function: var(--material-curve-320);
  }
  
  :host(.active) h3 {
    transform: translate(0, 0);
    opacity: 1;
  }
  
  hr {
    border: 0;
    background: #fff;
    width: 0;
    height: 1px;
    opacity: 0.2;
    margin: 0;
    transition: width 400ms 320ms;
    transition-timing-function: var(--material-curve-320);
  }
  
  :host(.active) hr {
    width: 100%;
    background: #606060;
    opacity: 1;
  }
  
  .version {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 13px;
    transition: all 400ms 320ms;
    transition-timing-function: var(--material-curve-320);
    transform: translate(50px, 0);
    opacity: 0;
  }
  
  :host(.active) .version {
    transform: translate(0, 0);
    opacity: 0.8;
  }
  
  .title {
    display: table-caption;
    margin: 0 0 15px;
    height: 64px;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
  }
  
  .title[extended] {
    display: block;
  }
  
  .tagline {
    transition: all 700ms 320ms;
    transition-timing-function: var(--material-curve-320);
    transform: translate(-50px, 0);
    opacity: 0;
    font-size: 13px;
    margin: 10px 0 0 0;
    line-height: 20px;
    height: 40px;
  }
  
  :host(.active) .tagline {
    transform: translate(0, 0);
    opacity: 1;
  }