0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

Simplify css file requiring

Dieser Commit ist enthalten in:
Angus McLeod 2019-07-31 13:39:53 +10:00
Ursprung 0c61a9b5dc
Commit 67074e975b
2 geänderte Dateien mit 5 neuen und 22 gelöschten Zeilen

Datei anzeigen

@ -1,8 +1,5 @@
@import 'wizard_variables';
// Category badges
// --------------------------------------------------
.badge-wrapper {
font-size: $font-down-1;
font-weight: bold;
@ -26,8 +23,6 @@
}
}
// ----- Bullet
&.bullet {
margin-right: 12px;
span.badge-category {
@ -47,7 +42,6 @@
display: inline-block;
}
.badge-category-parent-bg {
// Subcategories
width: 5px;
margin-right: 0;
+ .badge-category-bg {
@ -59,8 +53,6 @@
}
}
// ----- Box
&.box {
margin-right: 5px;
padding: 2px 4px 2px 4px;
@ -78,7 +70,6 @@
}
&.badge-category-parent-bg {
// Subcategories
width: calc(100% - 5px);
& + .badge-category-bg {
left: 5px;
@ -98,8 +89,6 @@
}
}
// ----- Bar
&.bar {
margin-right: 5px;
@ -116,7 +105,6 @@
.badge-category-parent-bg,
.badge-category-bg {
// Subcategories
display: inline-block;
padding: 0 1px;
@ -126,17 +114,12 @@
}
}
// ----- No category style
&.none {
color: $primary-high;
margin-right: 5px;
}
}
// Category badge dropdown
// --------------------------------------------------
.list-controls {
.category-breadcrumb {
a.badge-category {

Datei anzeigen

@ -1,11 +1,11 @@
<html>
<head>
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
<%= stylesheet_link_tag "wizard_custom", media: "all", "data-turbolinks-track" => "reload" %>
<%= stylesheet_link_tag "wizard_composer", media: "all", "data-turbolinks-track" => "reload" %>
<%= stylesheet_link_tag "wizard_variables", media: "all", "data-turbolinks-track" => "reload" %>
<%= stylesheet_link_tag "wizard_badges", media: "all", "data-turbolinks-track" => "reload" %>
<%= stylesheet_link_tag "wizard_custom_mobile", media: "all", "data-turbolinks-track" => "reload" if mobile_view?%>
<%= stylesheet_link_tag "wizard_custom" %>
<%= stylesheet_link_tag "wizard_composer" %>
<%= stylesheet_link_tag "wizard_variables" %>
<%= stylesheet_link_tag "wizard_badges" %>
<%= stylesheet_link_tag "wizard_custom_mobile" %>
<%- if theme_ids %>
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
<%- end %>