Some more CSS variables

pull/5178/head
Wieland Lindenthal 8 years ago committed by Oliver Günther
parent 5fcd520ef1
commit 1895fc4d3f
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      app/assets/stylesheets/content/_forms.sass
  2. 7
      app/assets/stylesheets/content/_links.sass
  3. 2
      app/assets/stylesheets/layout/_work_package_mobile.sass
  4. 1
      app/assets/stylesheets/timelines.css.sass
  5. 2
      app/views/custom_styles/_inline_css.erb

@ -373,6 +373,7 @@ fieldset.form--fieldset
.form--label-required
@include default-transition
color: $primary-color-dark
color: var(--primary-color-dark)
padding: 0 0.325rem
.form--label.-error &
@ -660,9 +661,11 @@ input[readonly].-clickable
@include default-transition
content: '*'
color: $primary-color-dark
color: var(--primary-color-dark)
padding: 0 0.325rem
&:hover::after
color: $primary-color
color: var(--primary-color)
> a
display: block

@ -28,12 +28,18 @@
a, a:link
color: $content-link-color
color: var(--content-link-color)
text-decoration: none
a:hover, a:active
color: $content-link-hover-active-color
color: var(--content-link-hover-active-color)
text-decoration: underline
a:focus
color: $content-link-hover-active-color
color: var(--content-link-hover-active-color)
a
img
border: 0
@ -70,6 +76,7 @@ a.icon, a.icon-context
font-weight: normal
&.external
color: $content-link-color
color: var(--content-link-color)
a.icon:hover, a.icon-context:hover
text-decoration: none

@ -79,6 +79,7 @@
a
color: $content-link-color
color: var(--content-link-color)
li
border-top: 2px solid $gray
@ -89,6 +90,7 @@
&.selected
border-bottom: 2px solid $content-link-color
border-bottom: 2px solid var(--content-link-color)
.work-packages--left-panel,
.work-packages--right-panel

@ -147,6 +147,7 @@ a.tl-discreet-link, input.tl-discreet-link
a.tl-discreet-link:hover, input.icon:hover
color: $primary-color-dark
color: var(--primary-color-dark)
text-decoration: underline
#content .timeline

@ -50,6 +50,7 @@ See doc/COPYRIGHT.rdoc for more details.
--footer-bg-color: <%= design_color.hexcode %>;
--drop-down-selected-bg-color: <%= design_color.hexcode %>;
--button--highlight-background-color: <%= design_color.hexcode %>;
--slider-thumb-color: <%= design_color.hexcode %>;
<% end %>
<% if design_color.variable == "primary-color-dark" %>
@ -60,6 +61,7 @@ See doc/COPYRIGHT.rdoc for more details.
--main-menu-bg-hover-selected-background: url() no-repeat <%= design_color.hexcode %>;
--content-link-color: <%= design_color.hexcode %>;
--content-icon-color: <%= design_color.hexcode %>;
--content-link-hover-active-color: <%= design_color.hexcode %>;
<% end %>
<% if design_color.variable == "alternative-color" %>

Loading…
Cancel
Save