Skip to content

Commit d37e6f2

Browse files
authored
Merge pull request #1094 from ElixirTeSS/spaces-themes
Spaces
2 parents b038ec1 + 6fd918c commit d37e6f2

101 files changed

Lines changed: 1668 additions & 407 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ See [here](docs/customization.md) for an overview of how you can customize your
5757
## API
5858

5959
See [here](docs/api.md) for details on programmatic access to TeSS via its API.
60+
61+
## Multi-space TeSS
62+
63+
See [here](docs/spaces.md) for details on configuring a multi-space TeSS.

app/assets/config/manifest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
//= link_tree ../images
2-
//= link application.css
2+
//= link_directory ../stylesheets/themes .css
33
//= link application.js

app/assets/images/themes/blue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modern

app/assets/images/themes/default

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modern

app/assets/images/themes/green

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modern

app/assets/images/themes/space

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modern
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<li data-id="{{ item.id }}">
2+
<input type="hidden" name="{{ prefix }}[]" value="{{ item.id }}" />
3+
{{ item.name }}
4+
<a href="#" class="delete-list-item btn btn-icon">
5+
<i class="icon cross-icon icon-sm icon-greyscale"></i>
6+
</a>
7+
</li>

app/assets/stylesheets/application.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
*/
1414
// "bootstrap-sprockets" must be imported before "bootstrap" and "bootstrap/variables"
1515
@import "bootstrap-sprockets";
16-
@import "mixins/variables";
17-
// *** Colour changes can be done here! ***
16+
@import "bootstrap/variables";
1817
@import "bootstrap";
1918
@import "font-awesome-sprockets";
2019
@import "font-awesome";
@@ -123,7 +122,7 @@ div.wrapper {
123122
flex-shrink: 0;
124123

125124
.sidebar-group {
126-
background: #FFFFFF;
125+
background: $panel-bg;
127126
@include floating-card;
128127
border-radius: 6px;
129128
> ul {
@@ -144,8 +143,8 @@ div.wrapper {
144143
width: calc(100% - 40px);
145144
position: absolute;
146145
z-index: $zindex-modal;
147-
background: white;
148-
border-bottom: 1px solid #ccc;
146+
background: $panel-bg;
147+
border-bottom: 1px solid $panel-default-border;
149148
border-radius: $border-radius-large;
150149
top: 0;
151150
left: 20px;

app/assets/stylesheets/bootstrap-tweaks.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,25 @@ a.btn {
4141

4242
li.prev {
4343
span, a {
44-
background-image: image-url("modern/icons/chevron-left-icon.svg");
44+
background-image: image-url("#{$theme-base}/icons/chevron-left-icon.svg");
4545
}
4646
}
4747

4848
li.next {
4949
span, a {
50-
background-image: image-url("modern/icons/chevron-right-icon.svg");
50+
background-image: image-url("#{$theme-base}/icons/chevron-right-icon.svg");
5151
}
5252
}
5353

5454
li.first {
5555
span, a {
56-
background-image: image-url("modern/icons/double-left-icon.svg");
56+
background-image: image-url("#{$theme-base}/icons/double-left-icon.svg");
5757
}
5858
}
5959

6060
li.last {
6161
span, a {
62-
background-image: image-url("modern/icons/double-right-icon.svg");
62+
background-image: image-url("#{$theme-base}/icons/double-right-icon.svg");
6363
}
6464
}
6565

app/assets/stylesheets/home.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ ul.content-providers-grid {
377377
}
378378

379379
.home-title-link {
380-
color: $primary-color;
380+
color: unset;
381381
text-decoration: none;
382382
&:hover{
383-
color: $primary-color;
383+
color: unset;
384384
text-decoration: none;
385385
}
386386
}

0 commit comments

Comments
 (0)