css – Change the color of menu items when hovering over the mouse

d & # 39; right?

I have a problem with CSS, which is as follows:
enter description of image here

When I hover over other menu items, I need the font color to turn white, and also when the menu is selected, the currently selected item turns white.

I am using WordPress and I am a bit confused with their CSS, but I organized to show you here.

 #wrapper .fusion-tabs.fusion-tabs-1.clean .nav-tabs li a.tab-link{
    border-color:#ebeaea;
}
.fusion-tabs.fusion-tabs-1 .nav-tabs li a.tab-link{
    background-color:#f6f6f6;
}
.fusion-tabs.fusion-tabs-1 .nav-tabs li.active a.tab-link,.fusion-tabs.fusion-tabs-1 .nav-tabs li.active a.tab-link:hover,.fusion-tabs.fusion-tabs-1 .nav-tabs li.active a.tab-link:focus{
    background-color:#2e3c70;
  color:white;

}
.fusion-tabs.fusion-tabs-1 .nav-tabs li a:hover{
    background-color:#2e3c70;
    border-top-color:#2e3c70;
}
.fusion-tabs.fusion-tabs-1 .tab-pane{
    background-color:#2e3c70;
}
.fusion-tabs.fusion-tabs-1 .nav,.fusion-tabs.fusion-tabs-1 .nav-tabs,.fusion-tabs.fusion-tabs-1 .tab-content .tab-pane{
    border-color:#ebeaea;
}

CSS UP

HTML BELOW


I have already declared the color in class but nothing is happening, can you help me? grateful!

movement – Source overview state does not change

i am currently following this book "develop 2d games with unity" by jared halpern.
I hope you know him or that you can help me anyway.

Currently I am trying to make the movement of my character work. (chapter 3)

I have configured the animator with a default state and each transition in each direction that the character will go through.
The problem is that the transition always chooses "the character goes east" as the previous source state instead of my default state (which it should be according to the book).

I'm new to this, please tell me what information I need to provide to resolve this issue.

greetings from switzerland
Chris

[ Politics ] Open question: Who knows more about climate change, Greta or AOC?

[Politics] Open question: Who knows more about climate change, Greta or AOC?

Unable to change Group Policy – "The setting is incorrect" Registration failed

I have an SBS2011 server which is a single server domain, which will not allow me to change the default domain policy. When i tried to increase the maximum password age and then press OK, i get this alert box:

Alert box named "Security Templates"

The parameter is incorrect.
Failed to save \(DC)sysvol(DC)Policies{31B2F340-016D-11D2-945F-00C04FB984F9}MachineMicrosoftWindowsNTSeceditGptTmpl.inf. 
Make sure that this object exists.

Then I click OK several times and it looks like it was accepted as a change, but when you close GPMC and then come back to it, the changes were not saved.

I have browsed the location under Sysvol and I can open the GptTmpl.inf file. I can also create a test file in the same folder, then edit and delete it, so my access there seems OK. I'm using a domain administrator login.

To test, I created a new Group Policy object and tried to define certain strategies and I got the same kind of error.

I ran Best Practice Analyzer and DCDIAG but they did not help.

I don't know how to do it. Anyone have a suggestion on how to fix this problem?

magento2.2 – Change the default behavior of clicking on any element in Pages, Blocks, Products, etc. in Admin

I would like to change the default behavior when you click on any item on any page that provides you with a list to edit that page. For example, when you go to Content> Pages, it populates a list of all of your pages.

enter description of image here

When you click on any of the items in the list, it opens an editable form in which you can edit the page items directly from there instead of opening the edit page.

enter description of image here

It does this for blocks and product lists as well. I really don't like this because I think it slows down any development process and opens the door to errors for the page title and identifier for low-skilled users. Is there a way to change that to what we had in magento 1 where when you click on a page to edit it it immediately took you to the edit page for that item?

Thank you

magento2 – Change the logic of Grid sort orders in the product tab of the Magento 2 category

On the category pages when sorting by position on the frontend, the 0 comes after the positive numbers. However, on the admin, if the category products tab when sorting by positions, my 0 comes before the 1, which is logical, but it is a little painful in a different order at frontend.

I want to change the logic of this so that it matches the interface and the 0s come after any number> 0. This will make it easier to organize the products if sorting by position at 0 is considered undefined and should therefore arrive last.

So far, I have set the default sort order at the position below:

    $this->setDefaultSort('position');
    $this->setDefaultDir('ASC');

However, you do not know how to modify the logic of -> setDefaultSort (& # 39; position & # 39;) in order to achieve the above objectives. How can I modify this logic because it just seems to define them, then the renderer gets this sort order and applies the logic, but can't find where this logic is applied.

Does anyone know how to replace this behavior only for the Category -> Products Category tab in admin?

user interface – how to change view in Swift from a button (action: {}) {} or DispatchQueue.main.asyncAfter () or others?

I am trying to modify the views programmatically in my macOS application. I
I have found stuff like NavigationLink and others but I am not allowed to use them. The code to change must be in the Button action, because that way I know I can quickly pass code, even if it is not in button format. How can I do this?

Button in ContentView.swift:

Button(action: {
    //What goes here. Tried Settings(), didn't work          
}) {
    Text("Settings")
}.buttonStyle(PlainButtonStyle())

Settings.swift:

import SwiftUI

struct Settings: View {
    var body: some View {
        Text("Hello, world!")
    }
}

No NavigationLink, no NavigationView or anything, no shit. I'm looking for a way to do this only in the context of the button action. Really a very simple question, so I don't see why it takes a long time to answer. Someone heLP MEEEE!

In addition, how can I start the program on one screen and switch to another in 2 seconds WITH animation?
I have tried this and it works … but it is not an animation. Can anyone help do this functionality but with the added functionality of withAnimation {}

// in application delegate
window.contentView = NSHostingView(rootView: StartupScreen())
    DispatchQueue.main.asyncAfter(deadline: .now()+2) {
        self.window.contentView = NSHostingView(rootView: MainMenu())
    }

But to get there, here is what I tried:

import SwiftUI

struct Content: View {
    @State var ShowMainMenu = false
    var body: some View {
        VStack {
            if (ShowMainMenu) {
                MainMenu()
            } else {
                ContentView(ToMainMenu: $ShowMainMenu)
            }
        }
    }
}

struct ContentView: View {
    @Binding var ToMainMenu:Bool
    var body: some View {
        GeometryReader { geometry in
            VStack {
                Text("Tiemann Games")
                    //.font(.system(size: geometry.size.width/8))
                DispatchQueue.main.asyncAfter(deadline: .now()+1.5) {//Error Argument type '()' does not conform to expected type 'View'
                    withAnimation {
                        self.ToMainMenu.toggle()
                    }
                }
            }
        }
    }
}

#if DEBUG
struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        Content()
    }
}
#endif

Based on this, I guess you notice which approach I am trying to take. So, can anyone help me?

So basically I want a way to switch views in a way that would work in the action of a button or in DispatchQueue.main.asyncAfter () or anywhere. So I'm sorry I haven't been clear, but could I have some help on this

how to change view in Swift from a button (action: {}) {} or DispatchQueue.main.asyncAfter () or others?

I am trying to modify the views programmatically in my macOS application. I
I have found stuff like NavigationLink and others but I am not allowed to use them. The code to change must be in the Button action, because that way I know I can quickly pass code, even if it is not in button format. How can I do this?

Button in ContentView.swift:

Button(action: {
    //What goes here. Tried Settings(), didn't work          
}) {
    Text("Settings")
}.buttonStyle(PlainButtonStyle())

Settings.swift:

import SwiftUI

struct Settings: View {
    var body: some View {
        Text("Hello, world!")
    }
}

No NavigationLink, no NavigationView or anything, no shit. I'm looking for a way to do this only in the context of the button action. Really a very simple question, so I don't see why it takes a long time to answer. Someone heLP MEEEE!

In addition, how can I start the program on one screen and switch to another in 2 seconds WITH animation?
I have tried this and it works … but it is not an animation. Can anyone help do this functionality but with the added functionality of withAnimation {}

// in application delegate
window.contentView = NSHostingView(rootView: StartupScreen())
    DispatchQueue.main.asyncAfter(deadline: .now()+2) {
        self.window.contentView = NSHostingView(rootView: MainMenu())
    }

But to get there, here is what I tried:

import SwiftUI

struct Content: View {
    @State var ShowMainMenu = false
    var body: some View {
        VStack {
            if (ShowMainMenu) {
                MainMenu()
            } else {
                ContentView(ToMainMenu: $ShowMainMenu)
            }
        }
    }
}

struct ContentView: View {
    @Binding var ToMainMenu:Bool
    var body: some View {
        GeometryReader { geometry in
            VStack {
                Text("Tiemann Games")
                    //.font(.system(size: geometry.size.width/8))
                DispatchQueue.main.asyncAfter(deadline: .now()+1.5) {//Error Argument type '()' does not conform to expected type 'View'
                    withAnimation {
                        self.ToMainMenu.toggle()
                    }
                }
            }
        }
    }
}

#if DEBUG
struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        Content()
    }
}
#endif

Based on this, I guess you notice which approach I am trying to take. So, can anyone help me?

So basically I want a way to switch views in a way that would work in the action of a button or in DispatchQueue.main.asyncAfter () or anywhere. So I'm sorry I haven't been clear, but could I have some help on this

8 – SetError and change the value in hook_inline_entity_form_entity_form_validate_alter

I'm trying to do a validation on a nested content type in a main content type.

Validation works (if no date of birth or age is entered, an error message is displayed) but the borders of the field are not in red … what is the appropriate syntax for do it in an online entity form validation?

Also, if the date of birth is entered, I want to calculate the age and set the value in the age field … what is the syntax to do it?

Here is my code so far …

function gosr_mod_inline_entity_form_entity_form_validate_alter(&$entity_form, &$form_state) {

  if ($entity_form('#bundle') == 'person') {
    $birthdate = $entity_form('field_birthdate')('widget')(0)('value')('#value')('date');
    $age = $entity_form('field_age')('widget')(0)('value')('#value');

    // if no birthdate or age entered, error
    if ($birthdate == "" && $age == "") {
      $form_state->setError($entity_form('field_birthdate'), 'You must enter the birthdate or the age of the person.');
    }
    else {
      // if birthdate entered, calculate age and set value in field_age
      if ($birthdate != "") {
      $from = new DateTime($birthdate );
      $to = new DateTime('today');
      $calculatedAge= $from->diff($to)->y;
      $entity_form('field_age')('widget')(0)('value')('#value') = $calculatedAge; // does not work
    }
  }
}

Thank you for your help!

I don't know if it's time to make a change

Quote Originally posted by gbtcloud_cody
See the article
My opinion – unless you have external backups and robust emergency plans, I don't know if saving $ 34 a month would justify losing RAID. For me it would be more important to know that I have protected discs.

With a fully managed server and a cPanel license, this adds costs to the machine you have found.

That's my conclusion the last 3 times I've had this conversation with them. At first glance, I save money, but I remember the days of "pre-raid", and every 2-3 months it was something. Since I had RAID, there has literally been no downtime for a while as far as I know. I'm a little superstitious …. when something works, I hate playing with it!

My catch is that I am semi-retired, that I have been successful in my rental business, and therefore get my head out of my "you know what" and simply increase my clients. accommodation is not really what I want to do. Despite the proliferation of almost free hosting, I manage to keep my 60+ customers who stay away from loyalty and probably inertia! (i.e. to change, they have to research, weigh the pros and cons, etc.), and I only do 2-3 hours a week, so really I have it good. I'm just going to keep going until something gives … maybe it's time to raise my prices up a bit or at least the customers who are using up a lot of space.

Thank you again for your wise advice. (and maybe I would have more customers if I followed the advice of our sneaky friend and updated my website, haha! It's a horror … the shoemaker shoe theory fits here)