summaryrefslogtreecommitdiff
path: root/tests/html/styles/top.css
blob: 203011c57e382640db783ff87f290ac8674105ed (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
189
190
191
192
/* Font for the whole document */
* {
  font-family: "Courier New", Courier, monospace;
}
/* Sprite image in the table */
#sprite { 
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated;                 /* Chrome */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
    width: 100%;
    height: auto;
}
/* Table style for the list view */
table {
  border-collapse: collapse;
  border: none;
  position: relative;
  width: 100%;
}
th,
td {
  border: 1px solid black;
  padding: 4px 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  text-align: left;
}
th {
  background-color: #C8C8C8;
  cursor: pointer;
}
/* Image column in a row */
#image_row{
  width: 50%;
  height: auto;
}
/* Go to top button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  background-color: #555;
  color: white;
}

/* Top Page styling begins */
#frame_1{
  width:49%;
  height:500px;
  align-self: right;
}
#frame_2{
  width:49%;
  height:500px;
  align-self: left;
}
/* Animation select buttons*/
#select_animation{
  margin-left: 50%;
}
.select {
  font-size: 16px;
  text-align: left;
}
/* Pause/Play Button */
#pause_btn{
  float: right;
}
/* Animation div on the right iframe */
.animation {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;

  margin: auto;
  display: block;
  background: url("");
  background-repeat: no-repeat;
  background-size: cover;
  /* Nominal Width on load */
  width: 120px;
  height: 130px;
}
/*Animations*/
/* Transition between 1st and the 2nd sub-image */
.one_two {
    -webkit-animation: one_two 2s steps(2) infinite;
       -moz-animation: one_two 2s steps(2) infinite;
        -ms-animation: one_two 2s steps(2) infinite;
         -o-animation: one_two 2s steps(2) infinite;
            animation: one_two 2s steps(2) infinite;
}
/* Transition between 1st and the 2nd sub-image */
.one_three {
    -webkit-animation: one_three 2s steps(2) infinite;
       -moz-animation: one_three 2s steps(2) infinite;
        -ms-animation: one_three 2s steps(2) infinite;
         -o-animation: one_three 2s steps(2) infinite;
            animation: one_three 2s steps(2) infinite;
}
/* Transition between 1st and the 2nd sub-image */
.one_four {
    -webkit-animation: one_four 2s steps(2) infinite;
       -moz-animation: one_four 2s steps(2) infinite;
        -ms-animation: one_four 2s steps(2) infinite;
         -o-animation: one_four 2s steps(2) infinite;
            animation: one_four 2s steps(2) infinite;
}
/* Pause/Play the animation */
.pause {
  animation-play-state: paused;
  -o-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -webkit-animation-play-state: paused;
}
@-webkit-keyframes one_two {
   from { background-position:      0px; }
     to { background-position:   66.66%; } /* Goes to 2nd sub-image */
}
@-webkit-keyframes one_three {
   from { background-position:      0px; }
     to { background-position:  133.33%; } /* Goes to 3rd sub-image */
}
@-webkit-keyframes one_four {
   from { background-position:      0px; }
     to { background-position:     200%; } /* Goes to 4rd sub-image */
}

@-moz-keyframes one_two {
   from { background-position:      0px; }
     to { background-position:   66.66%; }
}
@-moz-keyframes one_three {
   from { background-position:      0px; }
     to { background-position:  133.33%; }
}@-moz-keyframes one_four {
   from { background-position:      0px; }
     to { background-position:     200%; }
}

@-ms-keyframes one_two {
   from { background-position:      0px; }
     to { background-position:   66.66%; }
}
@-ms-keyframes one_three {
   from { background-position:      0px; }
     to { background-position:  133.33%; }
}
@-ms-keyframes one_four {
   from { background-position:      0px; }
     to { background-position:     200%; }
}

@-o-keyframes one_two {
   from { background-position:      0px; }
     to { background-position:   66.66%; }
}
@-o-keyframes one_three {
   from { background-position:      0px; }
     to { background-position:  133.33%; }
}
@-o-keyframes one_four {
   from { background-position:      0px; }
     to { background-position:     200%; }
}

@keyframes one_two {
   from { background-position:      0px; }
     to { background-position:   66.66%; }
}
@keyframes one_three {
   from { background-position:      0px; }
     to { background-position:  133.33%; }
}
@keyframes one_four {
   from { background-position:      0px; }
     to { background-position:     200%; }
}