summaryrefslogtreecommitdiff
path: root/app/views/layouts/oauth_error.html.haml
blob: 8d241dfd20731dc391a6862efbb6d8467fbb5169 (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
!!! 5
%html{ lang: "en" }
  %head
    %meta{ :content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport" }
    %title= yield(:title)
    = stylesheet_link_tag 'application_utilities'
    %style
      = Rails.application.assets_manifest.find_sources('errors.css').first.to_s.html_safe
    :css
      svg {
        width: 280px;
        height: 280px;
        display: block;
        margin: 40px auto;
      }

      .tv-screen path {
        animation: move-lines 1s linear infinite;
      }


      @keyframes move-lines {
        0% {transform: translateY(0)}
        50% {transform: translateY(-10px)}
        100% {transform: translateY(-20px)}
      }

      .tv-screen path:nth-child(1) {
        animation-delay: .2s
      }

      .tv-screen path:nth-child(2) {
        animation-delay: .4s
      }

      .tv-screen path:nth-child(3) {
        animation-delay: .6s
      }

      .tv-screen path:nth-child(4) {
        animation-delay: .8s
      }

      .tv-screen path:nth-child(5) {
        animation-delay: 2s
      }

      .text-422 {
        animation: flicker 1s infinite;
      }

      @keyframes flicker {
        0% {opacity: 0.3;}
        10% {opacity: 1;}
        15% {opacity: .3;}
        20% {opacity: .5;}
        25% {opacity: 1;}
      }

%body
  = yield