Questions tagged [styles]
DO NOT USE THIS TAG. This tag does not currently have a single, well-defined meaning. It is often used in place of, or in conjunction with, [css]. It is also used on questions about the appearance of user interfaces and questions about source code formatting.
8,780
questions
0
votes
0
answers
8
views
Refused to apply css styles in my Django App, because its MIME type its not supported
I have a serious problem with my Django application and is that I do not load the styles in my app, the error I get in console is as follows:
"It has been rejected to apply the style of 'http://...
0
votes
1
answer
24
views
How to save a css change made dynamically with user input?
I am building an e-commerece site. And I'm using a heart font icon which acts as a tool which users can use to favorite an item in the site. So when a user clicks on the icon, it changes it color to ...
0
votes
1
answer
35
views
Why does my form look so different after publish vs release?
I've went to publish my first vb.net windows form and was surprised the format I meticulously combed over became all skewed after publishing.
Why did the controls change to older style '3d' and the ...
-1
votes
1
answer
45
views
How do I prevent the anchor tag from overwriting my CSS style
I'm very new to all this. I'm trying to make my image into a link using the anchor tag but doing so seems to ignore the previous style I had for the image and I'm not sure why. In short: why does ...
0
votes
0
answers
8
views
AttributeError: 'Styler' object has no attribute 'plot'
I worked on a database of skill workers in different courses and now I want to evaluate success in three different courses. After group by on databaase I get the below result:
Courses:
1 0....
0
votes
0
answers
21
views
CKEditor 4 : how to apply via API a style to current text
I am fighting with CKEditor in order that after CKEditor is loaded with a content and without selecting any style from toolbar, the changes (new text) made from an user, are automatically set in bold ...
0
votes
0
answers
12
views
Cut, Paste, Shift and Style Rows in Pandas read_csv
I'm reading a CSV via pandas. How can we change the color of text and strikethrough the text in the rows where column S is not equal to -1.
Also, can we shift those rows by 5 columns so they are like ...
0
votes
0
answers
7
views
how to apply out line without inner line use dataframe style?
I try apply multiple out-line block in dataframe.
I'd like make this.
enter image description here
but I still have not it.
I have this now(use set_table_styles)
how to modify this?
enter image ...
-1
votes
1
answer
17
views
Border does not change color when mouse over [duplicate]
The Border does not change background color when mouse over.
<Border x:Name="border"
CornerRadius="3"
Margin="5"
Background="PaleGreen&...
0
votes
0
answers
14
views
How to override mui nested component styles in a theme?
I created a mui DataGrid with editable cells. When in edit mode, the input's padding is 0 16px by default as seen by this style that mui generated:
.css-jqsvr8-MuiInputBase-root-MuiDataGrid-...
0
votes
0
answers
27
views
CSS - How can I fix style on Angular Tooltip text?
I am using Tooltip to display text when hover over exclamation symbol as shown in the video. Problem is I see orange border appears when I click on the component.
How can I get rid of that border and ...
1
vote
1
answer
29
views
CSS select either <thead> or <tbody> from <table>
I have the following problem. I have plenty of tables, but they all have different structure: one have <table><thead><tbody> type, while the others have <table><tbody> ...
0
votes
0
answers
34
views
Nested modal is not working in tailwind css
I am using tailwind css for styles. Below is the html file.
HTML File
//modal 1
<div
class="modal fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 z-50 "
>
<div ...
0
votes
2
answers
25
views
element::after z-index not working for it [duplicate]
hey i have a problem with this code:
#selector{
width:100%;
height:100px;
background-color:#333;
position: fixed;
transform: translate(50%);
right: 50%;
top: 10px;
width: 95%;
z-...
-1
votes
0
answers
10
views
Why is a MapBox Map a circular structure?
A MapBox Map contains a Style, which contains a Map. It's circular structure. As a result, I can't JSON.stringify a Map. I also can't store a copy in the Vuex state. Attempting either results in ...
0
votes
1
answer
17
views
css style not getting applied to guid css class selector
Im trying to have some backend code generate some styling for me, and it prints the css class and style just fine.
following style is printed at the top of the page.
.655c6933-5ae9-4089-a576-...
0
votes
1
answer
31
views
React native array of string to align in horizontal (Please see the below image)
I want to create something like this 👇
The data I am getting from backend is like this 👇
[
"C",
"C++",
//So on
]
0
votes
0
answers
5
views
why i cant display the imges on the background when i click
let img = document.querySelector('.bag');
let btn = document.querySelector('.next');
btn.addEventListener('click' , function(){
img.style.body.backgroundImage= "file:///D:/front%20end%20project/...
0
votes
1
answer
18
views
remove highlight color when choosing a combobox value tkinter python
Is there an option to remove the color highlighting when the user chooses the value from the combo box drop down? I'm using the theme "clam" and tried other themes with different ideas but ...
0
votes
3
answers
33
views
Do I put this inline style in head or external stylesheet?
I have an a.nav-link.active element
I tried this way but it didn't work
a.nav-link.active {
background-color: rgb(0, 0, 0);
}
<a href="#" class="nav-link active" style="background-color:rgb(...
0
votes
1
answer
11
views
React MUI: theme color custom prop not applied
I have 2 themes, dark mode and light mode:
import { styled, alpha, ThemeProvider, createTheme } from '@mui/material/styles';
//I use the dark theme only
const themeLight = createTheme({
...
})
...
0
votes
1
answer
34
views
i am so bad with styling in flutter.. what to do?
I tried to build a small application with flutter.
I know how all the log things work in flutter I understand the logical concepts really good (state, context, route).
But I'm really bad at styling, ...
0
votes
0
answers
24
views
How to write style object to excel along with formatting using pandas dataframe in python
I have question further to question # 71499830.
import pandas as pd
def hl(d):
df = pd.DataFrame(columns=d.columns, index=d.index)
df.loc[d['BOX'].ne(d['BOX2']), ['BOX', 'BOX2']] = '...
0
votes
1
answer
43
views
React Native Restyle by shopify
Is there a way to access colours outside of components? It appears that any access to the styles is through hooks. I am using react-native-snackbar that accepts colours but runs through my middle ...
-1
votes
0
answers
30
views
How to create this inner curve in react native with css
How to create this inner curve in react native with css https://i.stack.imgur.com/JX6TW.png
0
votes
0
answers
16
views
How do I make a certain div scrollable if overflow-y: scroll is not working?
So I'm doing a part of an app for my job and after figuring out all the programming part with ease, I've been stuck on its CSS for about 3hours now, and I can't figure out where the problem is. The ...
0
votes
0
answers
42
views
Add styles to icon of react-native-paper button element
I use button in react-native-paper with icon. I need to add a shadow style only to the icon of the button. The only available option I found was to add an elevation to the button. But it is applied to ...
0
votes
0
answers
15
views
Disable HTML 3.2 headers and footers
There are many answers explaining how to disable headers and footers in HTML5 and CSS3:
<style type="text/css" media="print">
@page {
size: auto;
margin:...
0
votes
0
answers
6
views
Customize text and style in messages from a Django app
I have a form in django, and when submitting I get a message "Complete this field", how can I customize the text and style of it.
forms.py:
class ClientesForm(forms.ModelForm):
class Meta:
...
0
votes
0
answers
22
views
Downloading the HTML and CSS of Angular Template Reference
Is there a way that I can get a downloadable HTML file (w/ stylings) from a template reference in Angular? I think I saw there were ways I can get this to be as a PDF and image, but I need the raw ...
0
votes
0
answers
28
views
Changing padding of input:focus via js
I am using a plugin which is setting css styles to input fields like so:
setupStyle = function () {
if (debug) console.log('setupStyle');
MP.style('font-size', '.9em');
MP.style('width', '100%'); // ...
-4
votes
1
answer
48
views
How to add font family in variable which prints current date [closed]
How to add font family to my current date
$html = 'Date: '.date("d-m-Y").'
0
votes
0
answers
8
views
nodmon: The term 'nodmon' is not recognized as a name of a cmdlet
The term 'Set-AzureADGroup' is not recognized as a name of a cmdlet
I am trying to use a powershell command Set-AzureADGroup from AzureAD
1
vote
1
answer
31
views
R: how to add borders to multiple data frames?
I have a problem with adding style to multiple dataframes in one Excel sheet. I want to draw borders separately for every table in one sheet.
I already have a code which automatically adds multiple ...
1
vote
2
answers
27
views
Add custom theme in application?
I am building an android application. Where I am adding custom theme Color(Blue, Red, Yellow ETC) which can be choose by users.
I am able to apply custom theme for my view, text and icon. The ...
0
votes
0
answers
11
views
MUI Discrete Slider dynamic styles
const CustomizedSlider = withStyles((theme) => ({
track: {
//styles the line between thumbs
height: 4,
backgroundColor: theme.palette.warning.main, // we can manipulate color here
},...
0
votes
0
answers
17
views
Cannot resolve directory '~bootstrap'
I did npm install in terminal. I downloaded bootstrap. Currently, the codes I wrote over styles.css do not work.
@import "~bootstrap/dist/css/bootstrap.min.css";
@import "~font-awesome/...
-1
votes
2
answers
123
views
Javafx - change Theme (CSS) on active window
I want a Button that allows me to switch between Dark/Light-mode.
But I have the problem If I switch, the active windows will not change their Style.
First of the Code snippets to easy recreate the ...
0
votes
1
answer
28
views
How to find index of previous active class
I am trying to make a slider. Most of it is working till here, but I am not getting further as I want to find the index of the item which I removed the class as last from.(before the click)
So when I ...
1
vote
1
answer
33
views
Paint selected row vue js
Below I show what I want to achieve. I have a button in a simple-table. That its function is to select the row in which I am standing. Look for some information, but the only thing I get is that I ...
0
votes
1
answer
15
views
Using SCSS, How can I give CSS style to a specific element among the elements with the same node position?
First, please check my code.
<div className={styles.settingInfo}>
<header>
<h1>User ID</h1>
<p>this is for user ID</p>
&...
0
votes
0
answers
11
views
How to get a style node bound to an Angular component?
I'd like to export Angular component HTML together with its styles.
I see that component styles are placed in the HTML head in a separate node.
Is it possible to get reference to this node from ...
-1
votes
1
answer
31
views
How can we use style prop in TouchableWithoutFeedback or TouchableWithNativeFeedback?
I want to give some style to the TouchableWithNativeFeedback , The style prop doesnot work although it works fine with the TouchableOpacity but it wont work with the native feedback. Is there any way ...
0
votes
1
answer
45
views
How can I bind source of static resource in styles.xaml which is in Resources folders as Stringresources are in?
I tried to put static resource in styles.xaml which is in Resources folders as Stringresources are in.
i had binded static resoure as same way before in other pages, and it worked well.
and now ...
0
votes
2
answers
33
views
Can't apply dynamic styles to element using computed property or method
Trying to use spread operator in dynamic styles (not useful in this simplified example but important in my real case with multiple style objects). In addition I need to use a method with a parameter, ...
0
votes
0
answers
30
views
Modify style files links from the subfolder blade file, extended from master layout file - Laravel
I'm new to laravel. I use master.blade as the main layout of my website. Just wondering if there is any way to add an extra word with CSS links written inside master.blade from the child class.
For ...
-1
votes
0
answers
24
views
How do I make TypeScript styles and types available without explicit import?
I'm a bit new to the TypeScript (JavaScript, React Native, etc.) ecosystem and am having trouble figuring out what some current best practices are. I'm especially unsure about the best way to organize ...
0
votes
0
answers
23
views
Why does child's width and height relative to grandparent not work?
I'm working on a react app and facing some issues with css.
This is my setup:
Router
class App extends Component {
render() {
return (
<HashRouter>
<...
-2
votes
0
answers
26
views
how to change the styles of windows and buttons of my application in .net
I want to give options of styles of windows and buttons to the users who use my application made in vb.Net
I understand that there are dlls like Codejock and Skincrafter but they use Activex, to ...
-1
votes
0
answers
18
views
I made a sidebar on Bootstrap , but don't know how to make the same style as in the layout
This is my first project ) Does anyone know how to make this menu style ? image