summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/cycle_analytics.scss
blob: 572e1e7d558c4c7e65ccc99d14b90a1c26b2e541 (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
#cycle-analytics {
  margin: 24px auto 0;
  max-width: 800px;
  position: relative;

  .panel {

    .content-block {
      padding: 24px 0;
      border-bottom: none;
      position: relative;

      @media (max-width: $screen-sm-min) {
        padding: 6px 0 24px;
      }
    }

    .column {
      text-align: center;

      @media (max-width: $screen-sm-min) {
        padding: 15px 0;
      }

      .header {
        font-size: 30px;
        line-height: 38px;
        font-weight: normal;
        margin: 0;
      }

      .text {
        color: $layout-link-gray;
        margin: 0;
      }

      &:last-child {
        text-align: right;

        @media (max-width: $screen-sm-min) {
          text-align: center;
        }
      }
    }

    .dropdown {
      top: 13px;
    }
  }

  .bordered-box {
    border: 1px solid $border-color;
    border-radius: $border-radius-default;

  }

  .content-list {
    li {
      padding: 18px $gl-padding $gl-padding;

      .container-fluid {
        padding: 0;
      }
    }

    .title-col {
      p {
        margin: 0;

        &.title {
          line-height: 19px;
          font-size: 15px;
          font-weight: 600;
          color: $gl-title-color;
        }

        &.text {
          color: $layout-link-gray;

          &.value-col {
            color: $gl-title-color;
          }
        }
      }
    }

    .value-col {
      text-align: right;

      span {
        position: relative;
        vertical-align: middle;
        top: 3px;
      }
    }
  }

  .landing {
    margin-bottom: $gl-padding;
    overflow: hidden;

    .dismiss-icon {
      position: absolute;
      right: $cycle-analytics-box-padding;
      cursor: pointer;
      color: #b2b2b2;
    }

    .svg-container {
      text-align: center;

      svg {
        width: 136px;
        height: 136px;
      }
    }

    .inner-content {
      @media (max-width: $screen-sm-min) {
        padding: 0 28px;
        text-align: center;
      }

      h4 {
        color: $gl-text-color;
        font-size: 17px;
      }

      p {
        color: $cycle-analytics-box-text-color;
        margin-bottom: $gl-padding;
      }
    }
  }

  .fa-spinner {
    font-size: 28px;
    position: relative;
    margin-left: -20px;
    left: 50%;
    margin-top: 36px;
  }

}