styles.less 2.87 KB
Newer Older
Eric Poirier's avatar
Eric Poirier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*!
 * Copyright (c) 2020 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Eric Poirier <eric.poirier@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

@import '~eclipsefdn-solstice-assets/less/quicksilver/styles.less';
Eric Poirier's avatar
Eric Poirier committed
15
@import '_variables.less'; 
Eric Poirier's avatar
Eric Poirier committed
16
17
18
19
20
21
22
23
24

@import '_components/quicksilver/featured-eclipsefdn.less';
@import '_components/quicksilver/featured-events.less';
@import '_components/quicksilver/featured-members.less';
@import '_components/quicksilver/featured-news.less';
@import '_components/quicksilver/featured-newsletter.less';
@import '_components/quicksilver/featured-stats.less';
@import '_components/quicksilver/featured-testimonials.less';
@import '_components/quicksilver/featured-timeline.less';
Eric Poirier's avatar
Eric Poirier committed
25
@import '_components/quicksilver/featured-resources.less';
Eric Poirier's avatar
Eric Poirier committed
26
@import '_components/quicksilver/featured-highlights.less';
Eric Poirier's avatar
Eric Poirier committed
27
28
29
@import '_components/header.less';
@import '_components/homepage.less';
@import '_components/sidebar.less';
30
31
32
33
@import '_components/buttons.less';
@import '_components/classes-typography.less';

main {
Eric Poirier's avatar
Eric Poirier committed
34
  padding-top:10px;
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
}

#project-list {
  .media-left {
    max-width: 150px;
    min-width: 150px;
    padding-right:30px;
  }
  .media {
    padding:20px 0;
  }
  .labels {
    margin-bottom:15px;
    display:block;
  }
  .search-and-sort {
    text-align:center;
  }
}

.openiot-challenge {
  .header {
    background-image: url(images/iot-challenge-header-bg.jpg);
    background-size: cover;
    background-position: top center;
    text-align: center;
    padding: 40px 0;
    padding-bottom: 10px !important;
    font-size: 2em;
    color: #fff;
  }
}

img[src*="#img-responsive"] {
  .img-responsive;
Eric Poirier's avatar
Eric Poirier committed
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
}

.adopters {
  @media screen and (max-width: 767px) {
    text-align:center;
  }
  ul {
    li {
      @media screen and (max-width: 767px) {
        &:first-child {
          margin-top:20px;
        }
      }
      margin-bottom:20px;
    }
  }
Eric Poirier's avatar
Eric Poirier committed
86
87
88
89
90
  h2 {
    border-bottom:1px solid #999;
    padding-bottom:10px;
    margin-bottom:20px;
  }
Eric Poirier's avatar
Eric Poirier committed
91
92
93
94
95
96
97
98
99
100
}

.adopters-img {
  max-height: 95px;
  padding: 10px;
  min-width: 180px;
  max-width: 180px;
}

#project-list {
Eric Poirier's avatar
Eric Poirier committed
101
102
103
104
  hr {
    margin-top:30px;
    margin-bottom:30px;
  }
Eric Poirier's avatar
Eric Poirier committed
105
106
107
108
109
  .logo {
    max-width:150px;
    max-height:80px;
    margin-bottom:30px;
  }
Eric Poirier's avatar
Eric Poirier committed
110
111
112
113
114
115
116
  .media p {
    margin-bottom:10px;
    font-size:16px;
    .badge {
      font-size:12px;
    }
  }
Eric Poirier's avatar
Eric Poirier committed
117
}
Eric Poirier's avatar
Eric Poirier committed
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

.button-variant(@color; @background; @border) {
  &:focus,
  &.focus {
    background-color: darken(@background, 15%);
  }
  &:hover {
    background-color: darken(@background, 15%);
  }
  &:active,
  &.active,
  .open > .dropdown-toggle& {
    background-color: darken(@background, 15%);

    &:hover,
    &:focus,
    &.focus {
      background-color: darken(@background, 25%);
    }
  }
}