summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/page_bundles/jira_connect.scss
blob: 25401a161da200ffe1987c2e70516353a7d15772 (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
@import 'mixins_and_variables_and_functions';

@import '@gitlab/ui/src/scss/bootstrap';
@import 'bootstrap-vue/src/index';

@import '@gitlab/ui/src/scss/utilities';
@import '@gitlab/ui/src/components/base/alert/alert';

// We should only import styles that we actually use.
@import '@gitlab/ui/src/components/base/alert/alert';
@import '@gitlab/ui/src/components/base/avatar/avatar';
@import '@gitlab/ui/src/components/base/badge/badge';
@import '@gitlab/ui/src/components/base/button/button';
@import '@gitlab/ui/src/components/base/icon/icon';
@import '@gitlab/ui/src/components/base/link/link';
@import '@gitlab/ui/src/components/base/loading_icon/loading_icon';
@import '@gitlab/ui/src/components/base/modal/modal';
@import '@gitlab/ui/src/components/base/pagination/pagination';
@import '@gitlab/ui/src/components/base/tabs/tabs/tabs';
@import '@gitlab/ui/src/components/base/tooltip/tooltip';

$atlaskit-border-color: #dfe1e6;

.ac-content {
  margin: 20px;

  .subscription-form {
    margin-bottom: 20px;

    .field-group-input {
      display: flex;
      padding-top: $gl-padding-4;

      .ak-button {
        align-items: center;
        height: auto;
        margin-left: $btn-margin-5;
      }
    }
  }
}

$header-height: 40px;

.jira-connect-header {
  border-bottom: 1px solid $gray-100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: $header-height;
  padding-left: 16px;
  padding-right: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.jira-connect-user {
  font-size: $gl-font-size;
  position: fixed;
  top: 10px;
  right: 20px;
}

.jira-connect-app {
  margin-top: $header-height;
  max-width: 600px;
  min-height: 95vh;
  padding-top: 48px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gl-mt-5 {
  margin-top: 16px;
}

svg {
  fill: currentColor;

  &.s16 {
    height: 16px;
    width: 16px;
  }
}

.ak-field-group label {
  text-align: left;
}

.ak-button__appearance-primary {
  &:hover {
    color: $white;
    text-decoration: none;
  }

  svg {
    align-self: center;
    margin-left: 4px;
  }
}

.subscriptions {
  tbody {
    tr {
      border-bottom: 1px solid $atlaskit-border-color;
    }

    td {
      padding: $gl-padding-8;
    }
  }
}

.empty-subscriptions {
  color: $gray-900;
}

.browser-limitations-notice {
  font-size: $gl-font-size;
  margin-top: 32px;
}