aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/generic/index.scss
blob: d1c65afedaf6f7d7227a73e0fd8f64d72839e862 (plain) (blame)
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
/*
  Generic
 */

@import './reset.scss';

* {
  box-sizing: border-box;
}

html,
body {
  font-family: Roboto, Arial;
  color: #4d4d4d;
  font-weight: 400;
  background: #f7f7f7;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  min-height: 500px;
}

.app-root {
  overflow: hidden;
  position: relative;
}

.app-primary {
  display: flex;
}

input:focus,
textarea:focus {
  outline: none;
}

/* stylelint-disable */
#app-content {
  overflow-x: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;

  @media screen and (max-width: $break-small) {
    background-color: $white;
  }
}
/* stylelint-enable */

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #df6b0e;
}

input.large-input,
textarea.large-input {
  padding: 8px;
}

input.large-input {
  height: 36px;
}

.allcaps {
  text-transform: uppercase;
}

.input-label {
  padding-bottom: 10px;
  font-weight: 400;
  display: inline-block;
}

input.form-control {
  padding-left: 10px;
  font-size: 14px;
  height: 40px;
  border: 1px solid $alto;
  border-radius: 3px;
  width: 100%;

  &::-webkit-input-placeholder {
    font-weight: 100;
    color: $dusty-gray;
  }

  &::-moz-placeholder {
    font-weight: 100;
    color: $dusty-gray;
  }

  &:-ms-input-placeholder {
    font-weight: 100;
    color: $dusty-gray;
  }

  &:-moz-placeholder {
    font-weight: 100;
    color: $dusty-gray;
  }

  &--error {
    border: 1px solid $monzo;
  }
}

.hide-text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}