@mixin linked_styles() {
  .linked, .linked .osd, .primary-toolbar .linked {
    button, .raised button { -gtk-outline-radius: 0;
      &:first-child { -gtk-outline-radius: $button_radius 0 0 $button_radius; }
      &:last-child { -gtk-outline-radius: 0 $button_radius $button_radius 0; }
      &:only-child { -gtk-outline-radius: $button_radius; }
    }
  
    entry {
      &:focus, &:last-child:focus { box-shadow: inset 0 0 1px 3px gtkshade($selected_bg_color, 1.25), -1px 0 gtkshade($borders, 0.85); }
      &:first-child:focus, &:only-child:focus { box-shadow: inset 0 0 1px 3px gtkshade($selected_bg_color, 1.25); }
    }

    &.vertical {
      button { -gtk-outline-radius: 0;
        &:first-child { -gtk-outline-radius: $button_radius $button_radius 0 0; }
        &:last-child { -gtk-outline-radius: 0 0 $button_radius $button_radius; }
        &:only-child { -gtk-outline-radius: $button_radius; }
      }
    
      entry {
        &:focus, &:last-child:focus { box-shadow: inset 0 0 1px 3px gtkshade($selected_bg_color, 1.25), 0 -1px gtkshade($borders, 0.85); }
        &:first-child:focus, &:only-child:focus { box-shadow: inset 0 0 1px 3px gtkshade($selected_bg_color, 1.25); }
      }
    }
  }

  stackswitcher button.text-button { min-width: 80px; }
}
