govuk_admin_template 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 086395f5d61163aa132bd6e88495e739e8f6ad54
4
- data.tar.gz: 6138b0c58218d2bd668de2857ff0dbe8a4ee650a
3
+ metadata.gz: 1ef36e25f58cbe51f261b5d2f1cb3490051cfb92
4
+ data.tar.gz: 590744304685cc985627c467ddddd60f6d88d9ee
5
5
  SHA512:
6
- metadata.gz: a427008b3af32df427b0fcfe42d0e82a385b915451e866d3fe37a5f4db927416c77c78bd47e5e8cc5d6c2cb791a7585e1001ed048fce2dc63b30dbdfad0e7468
7
- data.tar.gz: 5773035ab83cb91fee1df7649cd2b6a200e98a7a5ef0bc0eb3ceb58f3522c44758a4d17e1cf13ef449dc89393fdbfd583e9751fdbaccca9ac14992d3b56921d0
6
+ metadata.gz: def00a1a7fc47f09339a49ac3e04a8dcbb7f3de63bd870de15d4dbd11ccebdae5133851c8411c64c48ab75f6aa856e01c3e39d606da4368ff8e48e70f771dd52
7
+ data.tar.gz: ae13c7fa6d9fb50d21edfd0cc2ec00f850f3e8a88f19d12a2e8d0aa052d0c0b78669b757189d8456d0be06b0bbb690e2162364b94fb1ade9596c9696a505197d
@@ -1,3 +1,7 @@
1
+ # 1.4.1
2
+
3
+ * Prevent wrapping of environment label
4
+
1
5
  # 1.4.0
2
6
 
3
7
  * Upgrade to Bootstrap 3.3
@@ -11,17 +11,28 @@
11
11
  margin-left: 0;
12
12
  padding-left: 2.3em;
13
13
  min-height: 37px;
14
+ display: inline-block;
15
+ vertical-align: top;
16
+ float: none;
14
17
 
15
18
  .ie8 &,
16
19
  .lte-ie7 & {
17
20
  min-height: 20px;
18
21
  }
22
+
23
+ .lte-ie7 & {
24
+ display: inline;
25
+ padding-left: 60px;
26
+ background-position: 15px 0.67em;
27
+ height: auto;
28
+ }
29
+
19
30
  }
20
31
 
21
32
  // Prevent navbar height from collapsing when there's
22
33
  // no navbar_right or navbar_items
23
34
  header .navbar-header {
24
- min-height: 50px;
35
+ min-height: 52px;
25
36
  }
26
37
 
27
38
  @media (max-width: 768px) {
@@ -49,8 +60,7 @@ header .navbar-header {
49
60
  color: #fff;
50
61
  }
51
62
 
52
- .ie8 .navbar .container,
53
- .lte-ie7 .navbar .container {
63
+ .ie8 .navbar .container {
54
64
  padding-left: 30px;
55
65
  padding-right: 0;
56
66
  }
@@ -81,7 +91,18 @@ header .navbar-header {
81
91
  font-weight: bold;
82
92
  margin-top: 13px;
83
93
  margin-right: 10px;
84
- float: left;
94
+ display: inline-block;
95
+
96
+ .lte-ie7 & {
97
+ display: inline;
98
+ margin-bottom: 13px;
99
+ }
100
+ }
101
+
102
+ @media (max-width: 500px) {
103
+ .environment-label {
104
+ display: none;
105
+ }
85
106
  }
86
107
 
87
108
  .environment-production .environment-label {
@@ -1,3 +1,3 @@
1
1
  module GovukAdminTemplate
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_admin_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-24 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails