-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspeakur-discussion.css
173 lines (139 loc) · 3.35 KB
/
speakur-discussion.css
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/**
* @license
* Copyright (c) 2015 Preston Landers. All rights reserved.
* This code may only be used under the BSD style license found at http://Preston-Landers.github.io/speakur-discussion/LICENSE.txt
* The complete set of authors may be found at http://Preston-Landers.github.io/speakur-discussion/AUTHORS.txt
* The complete set of contributors may be found at http://Preston-Landers.github.io/speakur-discussion/CONTRIBUTORS.txt
*
*/
/*
* TODO: we can probably just get rid of this file and fold it into speakur-theme.html
*/
:host {
display: block;
opacity: 1;
transition: opacity 300ms;
}
:host:unresolved {
opacity: 0;
}
/* To ensure your styling works under the Shadow DOM polyfill, see
www.polymer-project.org/docs/polymer/styling.html#directives */
polyfill-next-selector {
content: ':host > h2';
}
::content h2 {
color: blue;
}
.curved-small {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
:host .speakur-container {
border-color: black;
border-width: 3px;
border-style: solid;
max-width: 400px;
min-width: 200px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
paper-icon-button /deep/ core-icon[role=img] {
width: 18px;
height: 18px;
padding: 1px;
margin: 1px;
}
:host .speakur-body-container {
margin: 2px;
padding: 1px;
border-color: black;
border-width: 2px;
border-style: solid;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
}
@media only screen and (min-device-width : 800px) {
:host .speakur-body-container {
margin: 4px;
padding: 8px;
}
}
:host /deep/ paper-icon-button.toolbar-icon {
/*padding: 0;*/
margin-left: 4px;
}
:host /deep/ paper-icon-button.toolbar-icon /deep/ core-icon {
width: 24px;
height: 24px;
}
:host /deep/ .toolbar-icon-author {
margin: 2px 2px 0;
}
:host .admin-mode {
margin-right: 8px;
font-weight: bold;
}
:host speakur-login-button {
margin-right: 8px;
}
:host .toolbar-border {
margin: 2px;
border: 2px solid black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
:host .speakur-toolbar .speakur-toggle-link {
text-align: center;
}
:host .speakur-toolbar .speakur-toggle-link:hover {
text-decoration: underline;
}
:host .speakur-copyright {
opacity: 0.9;
margin-left: 0.5em;
margin-right: 0.5em;
text-align: right;
}
:host .powered-by-link {
font-weight: bold;
margin-left: 6px;
white-space: nowrap;
}
:host .powered-by-link A {
color: inherit;
text-decoration: none;
opacity: 0.9;
}
:host .powered-by-link A:visited {
color: inherit;
}
:host .powered-by-link:visited {
color: inherit;
}
:host .powered-by-link:hover {
text-decoration: underline;
}
:host /deep/ article,
:host /deep/ aside,
:host /deep/ figure,
:host /deep/ figcaption,
:host /deep/ footer,
:host /deep/ header,
:host /deep/ main,
:host /deep/ nav,
:host /deep/ section,
:host /deep/ summary {
display: block;
}
/* http://stackoverflow.com/questions/25556640/paper-menu-buttons-dropdown-has-scrollbars */
:host /deep/ core-menu {
overflow: hidden !important;
}