Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_brand.scss « scss « assets « 4.3 « docs « site - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3ba73c3e3a67990c9de6e2dd91c13844077e509 (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
//
// Brand guidelines
//

// Logo series wrapper
.bd-brand-logos {
  display: table;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  color: $bd-purple;
  background-color: #f9f9f9;
  @include border-radius();

  .inverse {
    color: $white;
    background-color: $bd-purple;
  }
}

// Individual items
.bd-brand-item {
  padding: 4rem 0;
  text-align: center;

  + .bd-brand-item {
    border-top: 1px solid $white;
  }

  // Heading content within
  h1,
  h3 {
    margin-top: 0;
    margin-bottom: 0;
  }

  @include media-breakpoint-up(md) {
    display: table-cell;
    width: 1%;

    + .bd-brand-item {
      border-top: 0;
      border-left: 1px solid $white;
    }

    h1 {
      @include font-size(4rem);
    }
  }
}


//
// Color swatches
//

.color-swatches {
  margin: 0 -5px;
  overflow: hidden; // clearfix

  // Docs colors
  .bd-purple {
    background-color: $bd-purple;
  }
  .bd-purple-light {
    background-color: $bd-purple-light;
  }
  .bd-purple-lighter {
    background-color: #e5e1ea;
  }
  .bd-gray {
    background-color: #f9f9f9;
  }
}

.color-swatch {
  float: left;
  width: 4rem;
  height: 4rem;
  margin-right: .25rem;
  margin-left: .25rem;
  @include border-radius();

  @include media-breakpoint-up(md) {
    width: 6rem;
    height: 6rem;
  }
}