dvla_internal_frontend_toolkit 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,6 +97,23 @@
97
97
  }
98
98
  }
99
99
 
100
+ .btn-search {
101
+ position: relative;
102
+ padding-left: 26px;
103
+
104
+ &:before {
105
+ font-family: $icon-font;
106
+ content: "\e908";
107
+ font-size: 24px;
108
+ position: absolute;
109
+ left: 8px;
110
+ right: 8px;
111
+ top: 8px;
112
+ width: 24px;
113
+ height: 24px;
114
+ }
115
+ }
116
+
100
117
  .btn-spacer-right{
101
118
  margin-right: 32px;
102
119
  }
@@ -11,6 +11,71 @@
11
11
  }
12
12
  }
13
13
 
14
+ .input-group {
15
+ position: relative;
16
+ display: -ms-flexbox;
17
+ display: flex;
18
+ -ms-flex-align: stretch;
19
+ align-items: stretch;
20
+ width: 100%;
21
+
22
+ .form-control {
23
+ position: relative;
24
+ -ms-flex: 1 1 auto;
25
+ flex: 1 1 auto;
26
+ width: 1%;
27
+ margin-bottom: 0;
28
+ }
29
+
30
+ &.input-group-1-4 {
31
+ width: 25%;
32
+ }
33
+
34
+ &.input-group-1-3 {
35
+ width: 33.333%;
36
+ }
37
+
38
+ &.input-group-1-2 {
39
+ width: 50%;
40
+ }
41
+
42
+ &.input-group-2-3 {
43
+ width: 66.666%;
44
+ }
45
+
46
+ &.input-group-3-4 {
47
+ width: 75%;
48
+ }
49
+ }
50
+
51
+ .input-group .form-control, .input-group-btn {
52
+ display: -ms-flexbox;
53
+ display: flex;
54
+ -ms-flex-align: center;
55
+ align-items: center;
56
+ }
57
+
58
+ .input-group-btn {
59
+ position: relative;
60
+ -ms-flex-align: stretch;
61
+ align-items: stretch;
62
+ font-size: 0;
63
+ white-space: nowrap;
64
+ z-index: 2;
65
+ }
66
+
67
+ .input-group-btn>.btn {
68
+ position: relative;
69
+ }
70
+
71
+ .input-group-btn:not(:last-child)>.btn, .input-group-btn:not(:last-child)>.btn-group {
72
+ margin-right: -2px;
73
+ }
74
+
75
+ .input-group-btn:not(:first-child)>.btn-group:first-child, .input-group-btn:not(:first-child)>.btn:first-child {
76
+ margin-left: -2px;
77
+ }
78
+
14
79
  .form-control {
15
80
  width: 100%;
16
81
  border-radius: 0;
@@ -1,3 +1,3 @@
1
1
  module DvlaInternalFrontendToolkit
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvla_internal_frontend_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Betsworth