Questions tagged [scss-lint]

scss-lint is a tool to help keep your SCSS files clean and readable. This tag should be used only in case of problems with the tool itself and not in case of SASS / SCSS problems

177 questions
1
vote
1 answer

Modifying font size of post title

I want to lower down the post title's font size(of latest post) and continue displaying it in center for my jekyll based blog. I tried modifying https://github.com/x0v/x0v.github.io/blob/master/_sass/atoms/_feature-title.scss like adding font-size:…
prashantitis
  • 1,797
  • 3
  • 23
  • 52
1
vote
1 answer

Aligning Angular ICON and HTML Text

Here is my HTML code
doctore
  • 324
  • 1
  • 3
  • 14
1
vote
2 answers

Dynamically Creating a Radio Button name in Angular 8(Typescript, HTML, SCSS)

I am having some challenges creating a radio button name Dynamically. How can I Dynamically generate a radio button name. Here is my html code
doctore
  • 324
  • 1
  • 3
  • 14
1
vote
3 answers

How I can pass environment variables to scss/ sass file using laravel mix and webpack?

I have an environment variable CDN_URL and I want to send this variable to the SCSS file. I am also tried prependData of sass-loader. I have to use Laravel 5.7, Laravel Mix 4.1.2 and webpack 4.27.1 error: Invalid CSS after "...load the styles":…
1
vote
0 answers

How to manage rails style.css and style.scss both present in rails project

Hi My I am using the Rails 5.2.1 ruby 2.4.0 I have style.scss and style.css both files present in the rails project. The application is working fine on the Development environment. But in the production on Nginx server after precompiling the assets…
vidur punj
  • 5,019
  • 4
  • 46
  • 65
1
vote
1 answer

SCSS. "#" deprecation in Chrome

I'm using something like this in my index.scss: .some-class { content: url("data:image/svg+xml;utf8,
user4412054
1
vote
1 answer

Mergeable selector SCSS-lint

I'm a beginner in CSS and I'm working on a project that has scss-lint to validate stylesheets formats. I have the following classes: .arrow--right { border-bottom: 12px solid transparent; border-left: 12px solid $border-color; border-top: 12px…
Franch
  • 621
  • 4
  • 9
  • 22
1
vote
1 answer

Atom/Sass-lint: Regex for sass-lint.yml class-name

I have a sass-lint.yml file with the following rule: class-name-format: - 1 - convention: '^([a-zA-Z]*)(__[a-z]+)?(-[a-z]*)*(--[a-z]+)?$' The regex can be checked here: https://regex101.com/r/SsVde6/2 Unfortunately I can't get it to work…
Merc
  • 4,241
  • 8
  • 52
  • 81
1
vote
0 answers

How to override Bootstrap style in local SCSS file?

I'm trying to override the ngxTypeahead bootstrap styles locally in my SCSS file. http://run.plnkr.co/preview/cjdla5ty8000cfilltbx80wpz/ Here in this plunker if we inspect the style of typeahead result, we can see this They have it in this…
Ramya S
  • 2,954
  • 5
  • 14
  • 24
1
vote
0 answers

Scss map for animation

Help pleath, how to mate loop on scss for that HTML code .pot_st0 { fill: #15630D; } .pot_st1 { fill: #012D3F; } .pot_st2 { fill: #013D51; } .pot_st3 { fill: #01445F; } .pot_st4 { fill: none; stroke: #011F2B; …
BlackStar
  • 15
  • 3
1
vote
1 answer

How to apply CSS to specific children of an element

I have this CSS and looking for a smarter/better way to write…
Shay
  • 407
  • 2
  • 8
  • 15
1
vote
0 answers

SASS Scout app File to import not found or unreadable

I successfully installed sass and started work on it everything was ok an then this happened File to import not found or unreadable: layout/_blog.scss Parent style sheet: main.scss 29: @import 'layout/_footer.scss'; 30: @import…
1
vote
0 answers

SCSS Breakpoints correction

I have structured my breakpoints like this, i need 1024 break point. i already max-width 1199 getting conflict can some one please help me out with this. // break-point // ------------------------------ /* Portrait phones and smaller */ @mixin…
Durgesh
  • 33
  • 6
1
vote
1 answer

SCSS Referencing a Particular Instance of an Element

Very new to Scss/Sass Elsewhere in my mod.scss file, have coded the style of Ul > li that I reuse quite frequently. However, in another mod.scss file, I need a change this code for a single particular instance. Is it possible to essentially create…
Theodore Steiner
  • 1,553
  • 2
  • 23
  • 34
1
vote
1 answer

Scss Mixin Not Recognized

New to Scss/Sass I am attempting to use a mixin to structure a media query on the fly. I am doing this more as a test to pass the variable later in the particular module.scss file, but I am getting a strange error. Here is my mixin code: @mixin…
Theodore Steiner
  • 1,553
  • 2
  • 23
  • 34