summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reader/content/aboutReader.html
blob: d1c9164d423391ec6ceda4258f296dc037d97a64 (plain)
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
   - You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html>
<html>
  <head>
    <title id="reader-title"></title>
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src chrome:; img-src data: *; media-src *; object-src 'none'"
    />
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
    <meta name="viewport" content="width=device-width; user-scalable=0" />
    <link
      rel="stylesheet"
      href="chrome://global/skin/design-system/tokens-brand.css"
    />
    <link
      rel="stylesheet"
      href="chrome://global/skin/aboutReader.css"
      type="text/css"
    />
    <link rel="localization" href="toolkit/about/aboutReader.ftl" />
    <link rel="localization" href="toolkit/branding/brandings.ftl" />
    <script
      type="module"
      src="chrome://global/content/reader/color-input.mjs"
    ></script>
    <script
      type="module"
      src="chrome://global/content/elements/named-deck.js"
    ></script>
  </head>

  <body>
    <div class="top-anchor"></div>

    <div id="toolbar" class="toolbar-container">
      <div class="toolbar reader-toolbar">
        <div class="reader-controls">
          <button
            class="close-button toolbar-button"
            aria-labelledby="toolbar-close"
            data-telemetry-id="reader-close"
          >
            <span
              class="hover-label"
              id="toolbar-close"
              data-l10n-id="about-reader-toolbar-close"
            ></span>
          </button>
          <ul class="dropdown style-dropdown">
            <li>
              <button
                class="dropdown-toggle toolbar-button style-button"
                aria-labelledby="toolbar-type-controls"
                data-telemetry-id="reader-type-controls"
              >
                <span
                  class="hover-label"
                  id="toolbar-type-controls"
                  data-l10n-id="about-reader-toolbar-type-controls"
                ></span>
              </button>
            </li>
            <li class="dropdown-popup">
              <div class="font-type-buttons radiorow"></div>
              <div class="font-size-buttons buttonrow">
                <button
                  class="minus-button"
                  data-l10n-id="about-reader-toolbar-minus"
                ></button>
                <span class="font-size-value"></span>
                <button
                  class="plus-button"
                  data-l10n-id="about-reader-toolbar-plus"
                ></button>
              </div>
              <div class="content-width-buttons buttonrow">
                <button
                  class="content-width-minus-button"
                  data-l10n-id="about-reader-toolbar-contentwidthminus"
                ></button>
                <span class="content-width-value"></span>
                <button
                  class="content-width-plus-button"
                  data-l10n-id="about-reader-toolbar-contentwidthplus"
                ></button>
              </div>
              <div class="line-height-buttons buttonrow">
                <button
                  class="line-height-minus-button"
                  data-l10n-id="about-reader-toolbar-lineheightminus"
                ></button>
                <span class="line-height-value"></span>
                <button
                  class="line-height-plus-button"
                  data-l10n-id="about-reader-toolbar-lineheightplus"
                ></button>
              </div>
              <div
                class="color-scheme-buttons radiorow"
                id="regular-color-scheme"
                hidden="false"
              ></div>
            </li>
          </ul>
          <ul
            class="dropdown colors-dropdown"
            id="custom-colors-color-scheme"
            hidden="true"
          >
            <li>
              <button
                class="dropdown-toggle toolbar-button colors-button"
                aria-labelledby="toolbar-color-controls"
                data-telemetry-id="reader-color-controls"
              >
                <span
                  class="hover-label"
                  id="toolbar-color-controls"
                  data-l10n-id="about-reader-toolbar-color-controls"
                ></span>
              </button>
            </li>
            <li class="dropdown-popup" id="color-controls">
              <h2
                data-l10n-id="about-reader-colors-menu-header"
                id="about-reader-colors-menu-header"
              ></h2>
              <button-group aria-labelledby="about-reader-colors-menu-header">
                <button
                  is="named-deck-button"
                  deck="tabs-deck"
                  name="fxtheme"
                  data-l10n-id="about-reader-fxtheme-tab"
                ></button>
                <button
                  is="named-deck-button"
                  deck="tabs-deck"
                  name="customtheme"
                  data-l10n-id="about-reader-customtheme-tab"
                ></button>
              </button-group>
              <named-deck id="tabs-deck" is-tabbed>
                <div
                  name="fxtheme"
                  class="colors-menu-color-scheme-buttons radiorow"
                ></div>
                <div name="customtheme">
                  <ul class="custom-colors-selection"></ul>
                  <button
                    class="custom-colors-reset-button"
                    data-l10n-id="about-reader-custom-colors-reset-button"
                  ></button>
                </div>
              </named-deck>
            </li>
          </ul>
        </div>
      </div>
    </div>

    <div class="container">
      <div class="header reader-header">
        <a class="domain reader-domain"></a>
        <div class="domain-border"></div>
        <h1 class="reader-title"></h1>
        <div class="credits reader-credits"></div>
        <div class="meta-data">
          <div class="reader-estimated-time"></div>
        </div>
      </div>

      <hr />

      <div class="content">
        <div class="moz-reader-content"></div>
      </div>

      <div>
        <div class="reader-message"></div>
      </div>
      <div aria-owns="toolbar"></div>
    </div>
  </body>
</html>